Skip to content

Cancel Bundle Task

ec2_cancel_bundle_task R Documentation

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

Description

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

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

Request syntax

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