Skip to content

Cancels an active export task

Description

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.

Usage

ec2_cancel_export_task(ExportTaskId)

Arguments

Value

An empty list.

Request syntax

svc$cancel_export_task(
  ExportTaskId = "string"
)