list-buckets
The aws s3api list-buckets
command is used for listing all the S3 buckets accessible to your AWS account. It provides a quick way to view all your S3 buckets.
aws s3api list-buckets
This command will return a list of all the S3 buckets.
Syntax
aws s3api list-buckets \
See also the original AWS documentation.