Learn R Programming

paws.storage (version 0.1.12)

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,
  BypassGovernanceRetention)

Value

A list with the following syntax:

list(
  TapeARN = "string"
)

Arguments

GatewayARN

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

TapeARN

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

BypassGovernanceRetention

Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

Request syntax

svc$delete_tape(
  GatewayARN = "string",
  TapeARN = "string",
  BypassGovernanceRetention = TRUE|FALSE
)

Examples

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

Run the code above in your browser using DataLab