Deprecate the region parameter and replaced with full s3 endpoint url