AWS Import/Export
Developer Guide (API Version 2010-06-03)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

Listing Your Jobs

You use ListJobs to list jobs. You can only list jobs created by users under your AWS account. You might list jobs so that you can then get their status.

To list your jobs using the command line client

Use the ListJobs command.

> java -jar lib\AWSImportExportWebServiceTool-1.0.jar ListJobs 

To list your jobs using REST

Submit a ListJobs request.

POST / HTTP/1.1
content-type:application/x-www-form-urlencoded;charset=utf-8
host: https://importexport.amazonaws.com
content-length:155
Action=ListJobs&SignatureVersion=2 
&SignatureMethod=HmacSHA256&Version=2010-06-01&Signature=%2FVfkltRBOoSUi1sWxRzN8rw%3D

You can limit the responses you get by using the MaxJobs parameter. The following example shows how to list up to 25 import jobs. These jobs are listed from newest to oldest.

POST / HTTP/1.1
content-type:application/x-www-form-urlencoded;charset=utf-8
host: https://importexport.amazonaws.com
content-length:163

Action=ListJobs&MaxJobs=25&SignatureVersion=2 
&SignatureMethod=HmacSHA256&Version=2010-06-01&Signature=%2FVfkltRBOoSUi1sWxRzN8rw%3D