s3 list all buckets code example Example: aws cli s3 list buckets aws s3api list-buckets --query "Buckets[].Name"