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