DescribeBundleTasks - Amazon Elastic Compute Cloud


Describes the specified bundle tasks or all of your bundle tasks.


Completed bundle tasks are listed for only a limited time. If your bundle task is no longer in the list, you can still register an AMI from it. Just use RegisterImage with the Amazon S3 bucket name and image manifest name you provided to the bundle task.


The order of the elements in the response, including those within nested structures, might vary. Applications should not assume the elements appear in a particular order.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.


The bundle task IDs.

Default: Describes all your bundle tasks.

Type: Array of strings

Required: No


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.

Type: Boolean

Required: No


The filters.

  • bundle-id - The ID of the bundle task.

  • error-code - If the task failed, the error code returned.

  • error-message - If the task failed, the error message returned.

  • instance-id - The ID of the instance.

  • progress - The level of task completion, as a percentage (for example, 20%).

  • s3-bucket - The Amazon S3 bucket to store the AMI.

  • s3-prefix - The beginning of the AMI name.

  • start-time - The time the task started (for example, 2013-09-15T17:15:20.000Z).

  • state - The state of the task (pending | waiting-for-shutdown | bundling | storing | cancelling | complete | failed).

  • update-time - The time of the most recent update for the task.

Type: Array of Filter objects

Required: No

Response Elements

The following elements are returned by the service.


Information about the bundle tasks.

Type: Array of BundleTask objects


The ID of the request.

Type: String


For information about the errors that are common to all actions, see Common client error codes.


Example 1

This example describes the status of the specified bundle task.

Sample Request &bundleId.1=bun-c1a540a8 &AUTHPARAMS

Sample Response

<DescribeBundleTasksResponse xmlns=""> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <bundleInstanceTasksSet> <item> <instanceId>i-1234567890abcdef0</instanceId> <bundleId>bun-c1a540a8</bundleId> <state>cancelling</state> <startTime>2008-10-07T11:41:50.000Z</startTime> <updateTime>2008-10-07T11:51:50.000Z</updateTime> <storage> <S3> <bucket>myawsbucket</bucket> <prefix>winami</prefix> </S3> </storage> <progress>20%</progress> </item> <bundleInstanceTasksSet> </DescribeBundleTasksResponse>

Example 2

This example filters the response to include only bundle tasks whose state is either complete or failed, and in addition are targeted for the Amazon S3 bucket named myawsbucket.

Sample Request &Filter.1.Name=s3-bucket &Filter.1.Value.1=myawsbucket &Filter.2.Name=state &Filter.2.Name.1=complete &Filter.2.Name.2=failed &AUTHPARAMS

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: