paws.storage (version 0.1.0)

storagegateway_delete_tape: Deletes the specified virtual tape

Description

Deletes the specified virtual tape. This operation is only supported in the tape gateway type.

Usage

storagegateway_delete_tape(GatewayARN, TapeARN)

Arguments

GatewayARN

[required] The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

TapeARN

[required] The Amazon Resource Name (ARN) of the virtual tape to delete.

Request syntax

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

Examples

Run this code
# NOT RUN {
# This example deletes the specified virtual tape.
# }
# NOT RUN {
svc$delete_tape(
  GatewayARN = "arn:aws:storagegateway:us-east-1:204469490176:gateway/sgw-12A3456B",
  TapeARN = "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab