Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.
If a specific TapeARN
is not specified, AWS Storage Gateway returns a
description of all virtual tapes found in the VTS associated with your
account.
storagegateway_describe_tape_archives(TapeARNs, Marker, Limit)
A list with the following syntax:
list(
TapeArchives = list(
list(
TapeARN = "string",
TapeBarcode = "string",
TapeCreatedDate = as.POSIXct(
"2015-01-01"
),
TapeSizeInBytes = 123,
CompletionTime = as.POSIXct(
"2015-01-01"
),
RetrievedTo = "string",
TapeStatus = "string",
TapeUsedInBytes = 123,
KMSKey = "string",
PoolId = "string",
Worm = TRUE|FALSE,
RetentionStartDate = as.POSIXct(
"2015-01-01"
),
PoolEntryDate = as.POSIXct(
"2015-01-01"
)
)
),
Marker = "string"
)
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
An opaque string that indicates the position at which to begin describing virtual tapes.
Specifies that the number of virtual tapes described be limited to the specified number.
svc$describe_tape_archives(
TapeARNs = list(
"string"
),
Marker = "string",
Limit = 123
)
if (FALSE) {
# Returns a description of specified virtual tapes in the virtual tape
# shelf (VTS).
svc$describe_tape_archives(
Limit = 123L,
Marker = "1",
TapeARNs = list(
"arn:aws:storagegateway:us-east-1:999999999999:tape/AM08A1AD",
"arn:aws:storagegateway:us-east-1:999999999999:tape/AMZN01A2A4"
)
)
}
Run the code above in your browser using DataLab