| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.CancelExportTask
Description
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.
Creating a Request
data CancelExportTask Source #
See: newCancelExportTask smart constructor.
Constructors
| CancelExportTask' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CancelExportTask |
Create a value of CancelExportTask with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CancelExportTask, cancelExportTask_exportTaskId - The ID of the export task. This is the ID returned by
CreateInstanceExportTask.
Request Lenses
cancelExportTask_exportTaskId :: Lens' CancelExportTask Text Source #
The ID of the export task. This is the ID returned by
CreateInstanceExportTask.
Destructuring the Response
data CancelExportTaskResponse Source #
See: newCancelExportTaskResponse smart constructor.
Constructors
| CancelExportTaskResponse' | |
Instances
newCancelExportTaskResponse :: CancelExportTaskResponse Source #
Create a value of CancelExportTaskResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.