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