amazonka-ec2-1.6.1: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

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.

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

Synopsis

# Creating a Request

Arguments

 :: Text cctConversionTaskId -> CancelConversionTask

Creates a value of CancelConversionTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• cctReasonMessage - The reason for canceling the conversion task.
• cctDryRun - 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 .
• cctConversionTaskId - The ID of the conversion task.

See: cancelConversionTask smart constructor.

Instances

# Request Lenses

The reason for canceling the conversion task.

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 .

The ID of the conversion task.

# Destructuring the Response

Creates a value of CancelConversionTaskResponse with the minimum fields required to make a request.

See: cancelConversionTaskResponse smart constructor.

Instances