EC2 / Client / cancel_export_task
cancel_export_task#
- EC2.Client.cancel_export_task(**kwargs)#
- 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. - See also: AWS API Documentation - Request Syntax- response = client.cancel_export_task( ExportTaskId='string' ) - Parameters:
- ExportTaskId (string) – - [REQUIRED] - The ID of the export task. This is the ID returned by the - CreateInstanceExportTaskand- ExportImageoperations.
- Returns:
- None