Skip to content

Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated

Description

Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway type.

Usage

storagegateway_cancel_archival(GatewayARN, TapeARN)

Arguments

  • GatewayARN

    [required] The Amazon Resource Name (ARN) of the gateway. Use the list_gateways operation to return a list of gateways for your account and Amazon Web Services Region.

  • TapeARN

    [required] The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.

Value

A list with the following syntax:

list(
  TapeARN = "string"
)

Request syntax

svc$cancel_archival(
  GatewayARN = "string",
  TapeARN = "string"
)

Examples

# Cancels archiving of a virtual tape to the virtual tape shelf (VTS)
# after the archiving process is initiated.
svc$cancel_archival(
  GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
  TapeARN = "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
)