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