list bucket contents s3 cli code example
Example 1: aws cli s3 bucket list
aws s3api list-buckets --query "Buckets[].Name"
Example 2: aws cli s3 list buckets
aws s3api list-buckets --query "Buckets[].Name"
aws s3api list-buckets --query "Buckets[].Name"
aws s3api list-buckets --query "Buckets[].Name"