aws ec2 describe-snapshot-tier-status
Describes the storage tier status of one or more Amazon EBS snapshots. AWS CLI reference
1 example 4 options Its page in the AWS CLI reference
Examples
To view archival information about an archived snapshot
The following describe-snapshot-tier-status example provides archival information about an archived snapshot.
aws ec2 describe-snapshot-tier-status --filters "Name=snapshot-id, Values=snap-01234567890abcedf"Identify--filtersThe filters.Its output
{
"SnapshotTierStatuses": [
{
"Status": "completed",
"ArchivalCompleteTime": "2021-09-15T17:33:16.147Z",
"LastTieringProgress": 100,
"Tags": [],
"VolumeId": "vol-01234567890abcedf",
"LastTieringOperationStatus": "archival-completed",
"StorageTier": "archive",
"OwnerId": "123456789012",
"SnapshotId": "snap-01234567890abcedf",
"LastTieringStartTime": "2021-09-15T16:44:37.574Z"
}
]
}For more information, see View archived Amazon EBS snapshots in the Amazon EBS User Guide.
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--filtersThe filters.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.