Amazon Elastic Compute Cloud
API Reference (API Version 2011-12-15)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

CancelBundleTask

Description

Cancels a bundling operation for an Amazon S3-backed Windows instance (see BundleInstance).

Request Parameters

NameDescriptionRequired

BundleId

The ID of the bundle task to cancel.

Type: String

Default: None

Yes

Response Elements

The elements in the following table are wrapped in a CancelBundleTaskResponse structure.

NameDescription

requestId

The ID of the request.

Type: xsd:string

bundleInstanceTask

Bundle task to cancel.

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/2011-12-15/">
  <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>my-bucket</bucket>
          <prefix>my-new-image</prefix>
        </S3>
      </storage>
  </bundleInstanceTask>
</CancelBundleTaskResponse>