Describe Bundle Tasks operation


The Describe Bundle Tasks operation describes the current bundling tasks. Bundling enables AMIs to become the basic unit of deployment that allow you to rapidly boot new custom instances as you need them.

The following figure shows a sample <items> XML element for the Describe Bundle Tasks operation. 

Sample <items> XML element for the Describe Bundle Tasks operation

<items>
   <item>
       <parameters>
           <bundles-set>
               <!--Zero or more repetition-->
               <item>
                   <bundle-id></bundle-id>
               </item>
           </bundles-set>
       </parameters>
   </item>
</items>

The following table describes the adapter request elements for this request. 

Adapter request elements for the Describe Bundle Tasks operation

Element

Definition

Required

<wsdl-location>

Specifies the target Web Service Description Language (WSDL) URL for Amazon EC2

Examples:

Conditional:

  • Required if not specified in the request
  • If specified in the configuration and request, the value in the request overrides the value in the configuration
<endpoint-address>

Specifies the web service endpoint for the adapter to use while performing operations on Amazon EC2 instances across different regions
Default value: US East region: http://us-east-1.ec2.amazonaws.com/

No

<signature-properties>

Specifies the mode for signing the adapter request

Failed to execute the [panel] macro.

Conditional:

  • Required if not specified in the configuration
  • If <signature-properties mode = "key-files">, requires <private-key-file>
     and <certificate-file>
  • If <signature-properties mode = "key-data">, requires <private-key-data> and <certificate-data> 

    Failed to execute the [panel] macro.

<operation-name>

Contains the name of the operation: describe-bundle-tasks

Yes

<bundles-set>

Specifies the set of bundle tasks to be described

Yes

The following figure shows a sample adapter request for the Describe Bundle Tasks operation. 

Sample adapter request for the Describe Bundle Tasks operation

<amazon-ec2-request>
   <wsdl-location>http://ec2.amazonaws.com/doc/2009-11-30/</wsdl-location>
   <endpoint-address>http://us-east-1.ec2.amazonaws.com/</endpoint-address>
   <signature-properties mode = "key-files">
       <private-key-file>C:\Security\
pk-MJ5GIUNLM2XJ3VRJSYTKOFDWILELDQHB.PEM</private-key-file>
       <certificate-file>C:\Security\
cert-MJ5GIUNLM2XJ3VRJSYTKOFDWILELDQHB.PEM</certificate-file>
   </signature-properties>
   <operation-name>describe-bundle-tasks</operation-name>
   <parameters>
       <bundles-set>
           <item>
               <bundle-id>bun-bb1ffbd2</bundle-id>
           </item>
       </bundles-set>
   </parameters>
</amazon-ec2-request>

The following figure shows the response for the sample adapter request for the Describe Bundle Tasks operation. 

Sample adapter response for the Describe Bundle Tasks operation

<amazon-ec2-response>
   <metadata>
       <status>success</status>
   </metadata>
   <DescribeBundleTasksResponse>
       <requestId>1def3bdc-b523-452f-a656-4ff6c770db66</requestId>
       <bundleInstanceTasksSet>
           <item>
               <instanceId>i-91462efa</instanceId>
               <bundleId>bun-bb1ffbd2</bundleId>
               <state>bundling</state>
               <startTime>2010-04-20T06:33:57.000Z</startTime>
               <updateTime>2010-04-20T06:34:18.000Z</updateTime>
               <storage>
                   <S3>
                       <bucket>kbundle</bucket>
                       <prefix>kbundle</prefix>
                   </S3>
               </storage>
               <progress>3%</progress>
           </item>
       </bundleInstanceTasksSet>
   </DescribeBundleTasksResponse>
</amazon-ec2-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*