Extracts the B2 S3 region from a standard B2 S3 endpoint.
Custom endpoints cannot be inferred safely. Pass region explicitly to createS3ClientConfig, presignS3GetObjectUrl, or presignS3PutObjectUrl when this returns null.
region
null
The S3 endpoint URL.
The derived region, or null when the endpoint is not a standard B2 S3 URL.
Extracts the B2 S3 region from a standard B2 S3 endpoint.
Custom endpoints cannot be inferred safely. Pass
regionexplicitly to createS3ClientConfig, presignS3GetObjectUrl, or presignS3PutObjectUrl when this returnsnull.