Skip to content

/AWS1/CL_EC2=>CANCELEXPORTTASK()

About CancelExportTask

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.

Method Signature

IMPORTING

Required arguments:

IV_EXPORTTASKID TYPE /AWS1/EC2EXPORTVMTASKID /AWS1/EC2EXPORTVMTASKID

The ID of the export task. This is the ID returned by the CreateInstanceExportTask and ExportImage operations.