Replies: 2 comments
-
|
Hi @shirady thanks for reaching out. Here is the AWS CLI documentation for the The --max-items parameter is used for client-side pagination, so it doesn't affect the underlying API request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hi @tim-finnigan,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
A couple of questions about object list V2:
MaxKeybe equal to the integer that was sent with option--max-items?KeyCountbe equal to the number of keys in the reply inside content?EncodingTypebe in the response (although it was not specified in the command)?As I found the query params look the same when we send the command with or without the flag
--encoding-type url.For example I run this command in AWS CLI:
aws s3api list-objects-v2 --bucket shira-test-s3-3 --max-items 2 --debugThe response was with 2 keys only, but the
MaxKeyis still 1,000, and theKeyCountis the number of the keys in the bucket (4), but not the number of the keys in the content.EncodingTypeis url although we didn't specify it in the command.Beta Was this translation helpful? Give feedback.
All reactions