Comments (2)
Hi @iainelder, thanks for reaching out. There's a few different things going on here to result in this behavior.
The AWS CLI documentation generally will hide service pagination parameters in favor of its own parameters ( --max-items
being one such parameter). There are plenty of examples of this, such as describe-instances hiding max-results
, or list-roles hiding marker
. This is done so that pagination using the CLI is normalized across services. However, the CLI doesn't actually stop those parameters from being sent, hence why max-keys
is functional for the S3 operations.
As I'm sure you saw in the issues you linked, there's some weird behavior around operations with multiple paginatable keys. list-object-versions
has three, seen here. In the event of multiple paginatable keys, --max-items
only applies to the first in that list. So that's why we're in situation where this undocumented parameter is sometimes more useful than the pagination parameters we replaced it with.
We do already have a backlog item to better document this behavior by clarifying which response element is affected by --max-items
. I've raised this issue with the team. Given that this is a duplicate issue, I'm going to close this in favor of the older issue (#2555). Hope that helps, and please let me know if you have any further questions.
from aws-cli.
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
from aws-cli.
Related Issues (20)
- CLI completely ignoring `--profile` flag HOT 2
- An error occurred (Throttling) when calling the DescribeDBInstances operation HOT 2
- CLI - Redshift: Example broken & text incorrect HOT 3
- old cloudwatch logs are not visible HOT 1
- Extend the AWS CodeArtifact login command to support multiple namespaces HOT 2
- Ambiguous JSON object required for `ecr put-image` HOT 2
- Error when trying to update stage variable HOT 1
- get-resource-lf-tags shows list-lf-tags example HOT 1
- WPS Note Inheririting party of the Corporation showing the LLC grantor Misty Dawn Hilton in the US Treasury Department of the Google LLC Grantor and the right website is the SAM HOT 2
- Tests of TestCLITimestampParser failing, maybe due to DST HOT 6
- Auto-update functionality for the AWS CLI MSI installer for Windows (64-bit) HOT 2
- The --boot-mode is lacking "uefi-preferred" option HOT 4
- Local environment variables interfere with tests HOT 1
- create fsx lustre file system is not working HOT 4
- AWS Chatbot commands not working yet? Could not connect to the endpoint URL HOT 5
- "aws ecr describe-image-scan-findings --max-items" does not work for enhanced image scan configuration HOT 4
- aws s3 recursive copy errors out HOT 2
- Packaging of AWS::CloudFormation::Stackset resource using AWS CLI clouformation package command HOT 2
- sso_region is ignored when region differs in profile HOT 4
- aws ecr describe-image-scan-findings with no recommendations HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-cli.