Lists objects in a bucket.
Usage
list-objects-v2 --bucket <value>
Supported Options
--bucket: Bucket name
--delimiter: Separator for object path
--prefix: Prefix of object name
--starting-token: Starting point of listing (exclusive, obfuscated, could be an actual object key or a non-existent key; all listing results will be larger than this parameter)
--start-after: Same as --starting-token
--pages-size: Pagination size
--max-items: Total object number to retrieve for this command’s output
Example
aws s3api list-objects-v2 --endpoint http://<hostname>:<port_number> --profile testuser1 --bucket example_bucket --prefix abc --starting-token abcd