aws.storagegateway.list_tapes
Example SQL Queries
SELECT * FROMaws.storagegateway.list_tapes;Description
Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS). You specify the tapes to list by specifying one or more tape Amazon Resource Names (ARNs). If you don't specify a tape ARN, the operation lists all virtual tapes in both your VTL and VTS.
This operation supports pagination. By default, the operation returns a maximum of up to 100 tapes. You can optionally specify the Limit parameter in the body to limit the number of tapes in the response. If the number of tapes returned in the response is truncated, the response includes a Marker element that you can use in your subsequent request to retrieve the next set of tapes. This operation is only supported in the tape gateway type.
Table Definition
| Column Name | Column Data Type |
|---|---|
| tape_ar_ns Input Column The Amazon Resource Name (ARN) of each of the tapes you want to list. If you don't specify a tape ARN, the response lists all tapes in both your VTL and VTS. | VARCHAR[] |
Show child fields
| |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| gateway_arn The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region. | VARCHAR |
| pool_entry_date The date that the tape entered the custom tape pool with tape retention lock enabled. | TIMESTAMP_S |
| pool_id The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool. | VARCHAR |
| retention_start_date The date that the tape became subject to tape retention lock. | TIMESTAMP_S |
| tape_arn The Amazon Resource Name (ARN) of a virtual tape. | VARCHAR |
| tape_barcode The barcode that identifies a specific virtual tape. | VARCHAR |
| tape_size_in_bytes The size, in bytes, of a virtual tape. | BIGINT |
| tape_status The status of the tape. | VARCHAR |