AWS Import/Export
Developer Guide (API Version 2014-12-18)
Did this page help you?  Yes | No |  Tell us about it...
« 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.

Canceling a Job

You use CancelJob to cancel a job. You specify the job to cancel using the job ID returned in the CreateJob response. The operation fails if the job is already complete. We can, however, cancel a job in progress. You can only cancel jobs created by users under your AWS account.

To cancel a job using the command line client

Use the CancelJob command.

The following command cancels the job JOBID.

> java -jar lib\AWSImportExportWebServiceTool-1.0.jar CancelJob JOBID

To cancel a job using REST

Submit a CancelJob request.



Amazon Import/Export returns a response to notify you whether we were able to cancel your job. For more information about the API operation, go to CancelJob.