| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
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.
For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide.
ConversionTaskIdThe ID of the task.
Type: String
Default: None
Required: Yes
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example cancels the conversion task with ID import-i-fh95npoc.
https://ec2.amazonaws.com/?Action=CancelConversionTask &ConversionTaskId=import-i-fh95npoc &AUTHPARAMS
<CancelConversionTaskResponse xmlns="http://ec2.amazonaws.com/doc/2013-02-01/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </CancelConversionTaskResponse>