paws.compute (version 0.5.0)

ec2_cancel_import_task: Cancels an in-process import virtual machine or import snapshot task

Description

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.

Usage

ec2_cancel_import_task(CancelReason = NULL, DryRun = NULL, ImportTaskId = NULL)

Arguments

CancelReason

The reason for canceling the task.

DryRun

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.

ImportTaskId

The ID of the import image or import snapshot task to be canceled.