CancelImportTaskRequest
¶
Source code in docs_src/capo_ec2/types/cancel_import_task_request.py
cancel_reason
instance-attribute
¶
cancel_reason: NotRequired[String]
The reason for canceling the task.
dry_run
instance-attribute
¶
dry_run: NotRequired[Boolean]
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.
import_task_id
instance-attribute
¶
import_task_id: NotRequired[ImportTaskId]
The ID of the import image or import snapshot task to be canceled.