cancel_export_task¶
Operation¶
cancel_export_task
async
¶
cancel_export_task(request: CancelExportTaskInput | CancelExportTaskInputDict, /, *, plugins: list[Plugin] | None = None) -> CancelExportTaskOutput
cancel_export_task(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[CancelExportTaskInputDict]) -> CancelExportTaskOutput
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.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CancelExportTaskOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
CancelExportTaskInput
dataclass
¶
Dictionaries¶
CancelExportTaskInputDict
¶
Output¶
CancelExportTaskOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for CancelExportTaskOutput structure.