@Override
    public CancelConversionTaskResult cancelConversionTask(CancelConversionTaskRequest request) {
        request = beforeClientExecution(request);
        return executeCancelConversionTask(request);
    }
<p>
Cancels an active conversion task. The task can be the import of an instance or volume. The action 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.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ec2-cli-vmimport-export.html">Importing a
Virtual Machine Using the Amazon EC2 CLI</a>.
</p>

@param cancelConversionTaskRequest
@return Result of the CancelConversionTask operation returned by the service.
@sample AmazonEC2.CancelConversionTask
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/CancelConversionTask" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java