Cancels an in-process import virtual machine or import snapshot task.
See https://www.paws-r-sdk.com/docs/ec2_cancel_import_task/ for full documentation.
ec2_cancel_import_task(CancelReason = NULL, DryRun = NULL, ImportTaskId = NULL)
The reason for canceling the task.
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
.
The ID of the import image or import snapshot task to be canceled.