Skip to content

Delete Tape

storagegateway_delete_tape R Documentation

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)

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 Amazon Web Services 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.

Value

A list with the following syntax:

list(
  TapeARN = "string"
)

Request syntax

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

Examples

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

## End(Not run)