paws.compute (version 0.1.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.

Usage

ec2_cancel_import_task(CancelReason, DryRun, ImportTaskId)

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.

Request syntax

svc$cancel_import_task(
  CancelReason = "string",
  DryRun = TRUE|FALSE,
  ImportTaskId = "string"
)