Cancels an active conversion task.
The task can be the import of an instance or volume.
| C# |
public CancelConversionTaskResponse CancelConversionTask( CancelConversionTaskRequest request )
- request (CancelConversionTaskRequest)
- Cancel Conversion Task request
Cancel Conversion Task Response from the service
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.
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |