List All Buckets on the Server

Prev Next

The list_buckets() method returns a list of all buckets owned by the authenticated sender of the request.

Example

response = s3_client.list_buckets()