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 |
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.
CancelExportTask' | |
|
Instances
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.
Instances
Generic CancelExportTaskResponse Source # | |
Defined in Amazonka.EC2.CancelExportTask type Rep CancelExportTaskResponse :: Type -> Type # | |
Read CancelExportTaskResponse Source # | |
Show CancelExportTaskResponse Source # | |
Defined in Amazonka.EC2.CancelExportTask showsPrec :: Int -> CancelExportTaskResponse -> ShowS # show :: CancelExportTaskResponse -> String # showList :: [CancelExportTaskResponse] -> ShowS # | |
NFData CancelExportTaskResponse Source # | |
Defined in Amazonka.EC2.CancelExportTask rnf :: CancelExportTaskResponse -> () # | |
Eq CancelExportTaskResponse Source # | |
Defined in Amazonka.EC2.CancelExportTask | |
type Rep CancelExportTaskResponse Source # | |
newCancelExportTaskResponse :: CancelExportTaskResponse Source #
Create a value of CancelExportTaskResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.