-
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
Only display --page-size when operation is paginated #956
Conversation
d1e885b
to
96f3fa1
Compare
The only comment I have is would it make sense to include Otherwise, it looks good. 🚢 Thanks for running the integration tests. |
Makes sense. I'll update this to include |
This moves the --page-size CLI option to the pagination customization. Before adding the argument, we first verify that not only can the operation be paginated, but also that the pagination configuration supports a limit key. This also means that the --page-size argument is now documented on the man/html page for each operation that supports pagination, making it more clear when this argument can be used. The only other update was that I had to add a page size to the S3 plugin as well.
The rm command does make a ListObjects call in the recursive case, so it makes sense to be consistent and support the --page-size argument for aws s3 rm.
96f3fa1
to
15d8f4a
Compare
@kyleknap Added |
Thanks looks good. 🚢 |
Merged via accc815 |
* release-1.5.5: (28 commits) Bumping version to 1.5.5 [EMR] Update create-cluster synopsis [EMR] Update the EMRFS bootstrap action name to be 'Setup EMRFS' [EMR] Remove create-cluster --applications default value and update EMRFS bootstrap action name [EMR] Correct MapR AMI version in create-cluster examples Update docs with shared credentials changes Rename aws_security_token to aws_session_token Fix integration test Update changelog with fix for #956 Add --page-size argument to the aws s3 rm command Only display --page-size when operation is paginated Updated CHANGELOG add frankfurt region Fix typo in error message Updated the travis yml for unittest2 Refactor the clidriver event system Unit and integration test pass for json skeleton Fix arguments with no required setters Accepts input shape of None Add generate skeleton integ test ...
This moves the --page-size CLI option to the pagination customization.
Before adding the argument, we first verify that not only can the
operation be paginated, but also that the pagination configuration
supports a limit key. This also means that the --page-size argument
is now documented on the man/html page for each operation that supports
pagination, making it more clear when this argument can be used.
The only other update was that I had to add a page size to the
S3 plugin as well.
cc @danielgtaylor @kyleknap