Reputation: 1
I was trying to download the file using Lambda NodeJS.
It is working fine.. but when ever we download a file which is in a GLACIER storage class it ends up having an error..
I have been looking on how to get the attributes of the object from lambda, so that we could do logic if we find the file is in what time of storage class..
Upvotes: 0
Views: 910
Reputation: 1461
Files in Glacier cannot be retrieved in real time, once they're in Glacier they're archived.
To retrieve these files you first need to restore them.
Restoring archived objects: https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html
Upvotes: 0