Skip to content

Delete Tape Archive

storagegateway_delete_tape_archive R Documentation

Deletes the specified virtual tape from the virtual tape shelf (VTS)

Description

Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.

Usage

storagegateway_delete_tape_archive(TapeARN, BypassGovernanceRetention)

Arguments

TapeARN

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

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_archive(
  TapeARN = "string",
  BypassGovernanceRetention = TRUE|FALSE
)

Examples

## Not run: 
# Deletes the specified virtual tape from the virtual tape shelf (VTS).
svc$delete_tape_archive(
  TapeARN = "arn:aws:storagegateway:us-east-1:204469490176:tape/TEST05A2A0"
)

## End(Not run)