pyarrow.fs.resolve_s3_region#

pyarrow.fs.resolve_s3_region(bucket)#

Resolve the S3 region of a bucket.

Parameters:
bucketstr

A S3 bucket name

Returns:
regionstr

A S3 region name

Examples

>>> fs.resolve_s3_region('voltrondata-labs-datasets')
'us-east-2'