Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

CancelBundleTask

Description

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

Request Parameters

BundleId

The ID of the bundle task.

Type: String

Default: None

Required: Yes

Response Elements

The following elements are returned in a CancelBundleTaskResponse element.

requestId

The ID of the request.

Type: xsd:string

bundleInstanceTask

The bundle task.

Type: BundleInstanceTaskType

Examples

Example Request

This example cancels the bun-cla322b9 bundle task.

https://ec2.amazonaws.com/?Action=CancelBundleTask
&BundleId=bun-cla322b9
&AUTHPARAMS

Example Response

<CancelBundleTaskResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/">
  <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId>
  <bundleInstanceTask>
      <instanceId>i-12345678</instanceId>
      <bundleId>bun-cla322b9</bundleId>
      <state>canceling</state>
      <startTime>2008-10-07T11:41:50.000Z</startTime>
      <updateTime>2008-10-07T11:51:50.000Z</updateTime>
      <progress>20%</progress>
      <storage>
        <S3>
          <bucket>myawsbucket</bucket>
          <prefix>my-new-image</prefix>
        </S3>
      </storage>
  </bundleInstanceTask>
</CancelBundleTaskResponse>