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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




Cancels an active export task. The request removes all artifacts of the export, including any partially-created Amazon S3 objects. If the export task is complete or is in the process of transferring the final disk image, the command fails and returns an error.

See: AWS API Reference for CancelExportTask.


Creating a Request

cancelExportTask Source

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

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

Request Lenses

cetExportTaskId :: Lens' CancelExportTask Text Source

The ID of the export task. This is the ID returned by CreateInstanceExportTask.

Destructuring the Response

cancelExportTaskResponse :: CancelExportTaskResponse Source

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