s3 ls List AWS S3 buckets, folders (prefixes), and files…
List AWS S3 buckets, folders (prefixes), and files (objects). More information: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/ls.html.
aws s3 ls
s3://
is optional):aws s3 ls s3://{{bucket_name}}
aws s3 ls {{bucket_name}}/{{path/to/directory}}/
aws s3 ls --recursive {{bucket_name}}
aws s3 ls --recursive {{bucket_name}}/{{path/to/directory/}}{{prefix}}
aws s3 ls help