paws.storage (version 0.1.0)

storagegateway_cancel_retrieval: Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated

Description

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

Usage

storagegateway_cancel_retrieval(GatewayARN, TapeARN)

Arguments

GatewayARN

[required]

TapeARN

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

Request syntax

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

Examples

Run this code
# NOT RUN {
# Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to
# a gateway after the retrieval process is initiated.
# }
# NOT RUN {
svc$cancel_retrieval(
  GatewayARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B",
  TapeARN = "arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace