Skip to content

Cancels a bundling operation for an instance store-backed Windows instance

Description

Cancels a bundling operation for an instance store-backed Windows instance.

CancelBundleTask is no longer supported because bundle_instance, the operation it cancels, is no longer supported.

Usage

ec2_cancel_bundle_task(BundleId, DryRun)

Arguments

  • BundleId

    [required] The ID of the bundle task.

  • DryRun

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

list(
  BundleTask = list(
    InstanceId = "string",
    BundleId = "string",
    State = "pending"|"waiting-for-shutdown"|"bundling"|"storing"|"cancelling"|"complete"|"failed",
    StartTime = as.POSIXct(
      "2015-01-01"
    ),
    UpdateTime = as.POSIXct(
      "2015-01-01"
    ),
    Storage = list(
      S3 = list(
        AWSAccessKeyId = "string",
        Bucket = "string",
        Prefix = "string",
        UploadPolicy = raw,
        UploadPolicySignature = "string"
      )
    ),
    Progress = "string",
    BundleTaskError = list(
      Code = "string",
      Message = "string"
    )
  )
)

Request syntax

svc$cancel_bundle_task(
  BundleId = "string",
  DryRun = TRUE|FALSE
)