paws.compute (version 0.1.0)

ec2_cancel_conversion_task: Cancels an active conversion task

Description

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.

Usage

ec2_cancel_conversion_task(ConversionTaskId, DryRun, ReasonMessage)

Arguments

ConversionTaskId

[required] The ID of the conversion task.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

ReasonMessage

The reason for canceling the conversion task.

Request syntax

svc$cancel_conversion_task(
  ConversionTaskId = "string",
  DryRun = TRUE|FALSE,
  ReasonMessage = "string"
)

Details

For more information, see Importing a Virtual Machine Using the Amazon EC2 CLI.