S3: unclear what storage class to use for "Glacier Flexible Retrieval"
Describe the issue
Hi,
I'm trying to upload files to S3 with the Glacier Flexible Retrieval (formerly Glacier) storage class (as named in the web UI)
However, looking through the StorageClass enum, it's not clear if I should be using GLACIER (as hinted by the "formerly" in the web UI) or if there should be a new enum?
Thank you.
Links
- https://github.com/aws/aws-sdk-java/blob/master/aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/StorageClass.java#L33-L97
- https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/s3/model/StorageClass.html
I'd say that you should use GLACIER, since the other two Glacier flavors are in the enum (GlacierInstantRetrieval and DeepArchive).
I'll reach out to the documentation team and ask to update the enum description with the same wording used in the documentation and UI.
@debora-ito Can I take up this issue if no one is working on it. I am getting started with first contribution and think this can be good start point.