GetBucketLocation Method

Gets a bucket's location.

Syntax

async s3client.getBucketLocation(): Promise<string>

Remarks

This method retrieves and returns the location (i.e., region) of the bucket currently selected by Bucket.

Note: When ServiceProvider is spLinode (9), this method only considers buckets located in the currently-selected Region. Refer to the Linode section of the Region property's documentation for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks S3 2020 JS Edition - Version 20.0 [Build 8164]