S3Client.listBuckets() lists the buckets the authenticated user has access to in the region set by the S3Client instance's configuration.
Returns
Type | Description |
---|
Promise<Array<Bucket>> | A Promise that fulfills with an array of Bucket objects. |
Example