head_object request on S3 object after restore still shows old storage class

0

I'm trying to dynamically determine the storage class of an object that was restored from GLACIER to STANDARD. But when i make this request from boto3's head_object i still keep getting the old storage class of the object. I've verified the restore completion from the url (version:null)

1개 답변
0

When you restore an object to from Glacier Flexible Retrieval (GFC) or Glacier Deep Archive (GDA) to S3 Standard, a temporary copy is stored in S3 standard and will remain there for the number of days you specified when you restored the object. The storage class will remain in Glacier, but will be made available for you to GET as you would any other S3 object. To determine if an object stored is available for GET using the S3 api, you can use the head-object api call which will tell you if the restore is on-going and when the restored object will expire out of S3 Standard. If there is no expiry time, the object must first be restored.

Restoring an archived object

profile pictureAWS
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠