Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.
For more information about required and optional parameters that are common to all actions, see Common Query Parameters.
The ID of the export task. This is the ID returned by
The following elements are returned by the service.
The ID of the request.
trueif the request succeeds, and an error otherwise.
For information about the errors that are common to all actions, see Common Errors.
This example request cancels the export task with the ID
https://ec2.amazonaws.com/?Action=CancelExportTask &exportTaskId=export-i-1234wxyz &AUTHPARAMS
<CancelExportTask xmlns="http://ec2.amazonaws.com/doc/2016-11-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </CancelExportTask>
For more information about using this API in one of the language-specific AWS SDKs, see the following: