-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AWS help + docs.aws.amazon.com - --storage-class options should be sorted #6608
Comments
Hi @uri-rodberg, Thanks for the suggestion! This specific parameter is configured manually. I think for consistency we would need to apply to all parameters that have a limited set of options (they're an |
I think we may be able to change this specific parameter after consulting with the docs team. For a more general solution, we'd need to do some more research. First, the default parameter should probably be listed first. Second, we would need to confirm that the values are not manually ordered with some other intention by service team doc writers. |
Yes. I agree. In this case the default storage-class ( |
I think the source code for this feature is here: |
Yep! We just added Looks like it needs to be changed in two places there (the list and the string). Feel free to open a PR for that - I'll still need to discuss with the S3 docs team, so no guarantees on when it could be merged, but we would appreciate your contribution. |
When editing storage class in S3 console, this is the order of classes: Standard |
Hi @uri-rodberg, Thanks again for your patience. After review and conversations with the S3 team, we decided not to make this change here. We want to avoid the scenario where other storage classes are added in the future and reordering is necessary again. The change should be made in the API model, and the order in the model is the same as we currently list: The S3 documentation team would also like consistency between the order in the documentation and the model, so we'll work internally to try and change the ordering, but I don't have a timeline when that would occur. After that, we'd look at how to make sure the high level S3 commands also use that ordering and add some testing around it. Again, thanks for bringing this to our attention and I apologize for not coming to a decision sooner. We are currently working on improving our process around community contributions with a public proposal here. You can leave any feedback you have about your experience or the proposed process on this pull request. Thanks! |
|
OK, thank you. |
When typing
aws s3 cp help
withaws-cli/2.4.6
I receive the following text:A similar text also appears on https://docs.aws.amazon.com/cli/latest/reference/s3/cp.html
I think the storage classes options should be sorted according to their order on https://aws.amazon.com/s3/storage-classes/?nc=sn&loc=3, and not as they are currently sorted. Specifically,
GLACIER_IR
should come beforeGLACIER
.Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Describe alternatives you've considered
Additional context
This text should appear both on
aws s3 cp help
and on https://docs.aws.amazon.com/cli/latest/reference/s3/cp.htmlAlso
aws s3 sync help
, https://docs.aws.amazon.com/cli/latest/reference/s3/sync.html etc.The text was updated successfully, but these errors were encountered: