-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 dynamodb query
and aws dynamodb scan
commands are missing docs for the --limit
parameter
#8859
Comments
Hey @dead10ck, thanks for reaching out. AWS CLI obscures service pagination parameters like |
But pagination doesn't serve the same purpose as limiting the results of a scan or query. When you |
You should be able to accomplish the same thing using a combination of
If using only
Using both
|
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. |
Ah, you are right, thanks! Is that documented anywhere? That doesn't seem like an obvious way to use query limits with the CLI. |
It's explained a bit in the description for
|
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. |
Describe the bug
The
dynamodb query
anddynamodb scan
subcommands both seem to respond to a--limit
parameter by setting theLimit
query parameter as expected; however,--limit
is not documented at all in the help pages.Expected Behavior
--limit
should be documentedCurrent Behavior
It is not
Reproduction Steps
Run
aws dynamodb query help
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.17.26 Python/3.11.9 Linux/6.5.0-45-generic exe/x86_64.ubuntu.22
Environment details (OS name and version, etc.)
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: