Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
See: AWS API Reference for CancelConversionTask.
- cancelConversionTask :: Text -> CancelConversionTask
- data CancelConversionTask
- cctReasonMessage :: Lens' CancelConversionTask (Maybe Text)
- cctDryRun :: Lens' CancelConversionTask (Maybe Bool)
- cctConversionTaskId :: Lens' CancelConversionTask Text
- cancelConversionTaskResponse :: CancelConversionTaskResponse
- data CancelConversionTaskResponse
Creating a Request
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:
data CancelConversionTask Source
See: cancelConversionTask
smart constructor.
Request Lenses
cctReasonMessage :: Lens' CancelConversionTask (Maybe Text) Source
The reason for canceling the conversion task.
cctDryRun :: Lens' CancelConversionTask (Maybe Bool) Source
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 :: Lens' CancelConversionTask Text Source
The ID of the conversion task.
Destructuring the Response
cancelConversionTaskResponse :: CancelConversionTaskResponse Source
Creates a value of CancelConversionTaskResponse
with the minimum fields required to make a request.
data CancelConversionTaskResponse Source
See: cancelConversionTaskResponse
smart constructor.