Skip to content

Cancel Archival

storagegateway_cancel_archival R Documentation

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]

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

## Not run: 
# 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"
)

## End(Not run)