aws s3api list-objects-v2
Returns some or all (up to 1,000) of the objects in a bucket with each request. AWS CLI reference
11 options Its page in the AWS CLI reference
Options
--bucketDirectory buckets - When you use this operation with a directory bucket, you must use virtual-hosted-style requests in the format Bucket-name.s3express-zone-id.region-code.amazonaws.com.--continuation-tokenContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token.--delimiterA delimiter is a character that you use to group keys.--encoding-typeEncoding type used by Amazon S3 to encode the object keys in the response.--expected-bucket-ownerThe account ID of the expected bucket owner.--fetch-ownerThe owner field is not present in ListObjectsV2 by default.--max-keysSets the maximum number of keys returned in the response.--optional-object-attributesSpecifies the optional fields that you want returned in the response.--prefixLimits the response to keys that begin with the specified prefix.--request-payerConfirms that the requester knows that she or he will be charged for the list objects request in V2 style.--start-afterStartAfter is where you want Amazon S3 to start listing from.