aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

S3: unclear what storage class to use for "Glacier Flexible Retrieval"

Open emilburzo opened this issue 3 years ago • 2 comments

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

emilburzo avatar Jul 20 '22 14:07 emilburzo

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 avatar Jul 20 '22 17:07 debora-ito

@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.

mynkdsi1011 avatar Oct 19 '23 14:10 mynkdsi1011