Cancels an active conversion task.
The task can be the import of an instance or volume.
Declaration Syntax
C# |
CancelConversionTaskResponse CancelConversionTask( CancelConversionTaskRequest request )
Parameters
- request (CancelConversionTaskRequest)
- Cancel Conversion Task request
Return Value
Cancel Conversion Task Response from the service
Remarks
The command removes all artifacts of the conversion, including a partially uploaded volume or instance.
If the conversion is complete or is in the process of transferring the final disk image,
the command fails and returns an exception.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |