Cancels an active export task. The command 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.
Declaration Syntax
C# |
public CancelExportTaskResponse CancelExportTask( CancelExportTaskRequest request )
Parameters
- request (CancelExportTaskRequest)
- Cancel Export Task request
Return Value
Cancel Export Task response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |