Posted On: Jun 29, 2023
Amazon S3 now provides the restore status of objects stored in Amazon S3 Glacier Flexible Retrieval and Amazon S3 Glacier Deep Archive using the S3 LIST API. This new information in S3 LIST API responses can be integrated into your applications, helping you identify and access restored objects from S3 Glacier. For example, S3 Glacier restore status is now integrated into Amazon Athena, so you can run queries against your restored data from low-cost S3 Glacier storage classes.
To get started, use the S3 LIST API with the new optional header x-amz-optional-object-attributes: RestoreStatus. For any ongoing or recently restored object, the S3 LIST response will show restore status either as in progress or complete. If the restore is already complete, you will also see the expiry date that was specified in your restore request.
Amazon S3 LIST API support for restore status of objects in S3 Glacier is available in all commercial AWS Regions, including the AWS GovCloud (US) Regions, the AWS China (Beijing) Region, operated by Sinnet, and the AWS China (Ningxia) Region, operated by NWCD.
You can use the AWS SDK, API, or CLI to get the S3 Glacier restore status of objects using the S3 List API. To learn more about S3 LIST API, visit the documentation.