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
-
Hi,
A couple of questions about object list V2:
MaxKey
be equal to the integer that was sent with option--max-items
?KeyCount
be equal to the number of keys in the reply inside content?EncodingType
be 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 --debug
The response was with 2 keys only, but the
MaxKey
is still 1,000, and theKeyCount
is the number of the keys in the bucket (4), but not the number of the keys in the content.EncodingType
is url although we didn't specify it in the command.Beta Was this translation helpful? Give feedback.
All reactions