class Aws::S3::AccessPointARN
def host_url(region, fips = false, dualstack = false, custom_endpoint = nil)
def host_url(region, fips = false, dualstack = false, custom_endpoint = nil) pfx = "#{@access_point_name}-#{@account_id}" if custom_endpoint "#{pfx}.#{custom_endpoint}" else sfx = Aws::Partitions::EndpointProvider.dns_suffix_for(region) "#{pfx}.s3-accesspoint#{'-fips' if fips}#{'.dualstack' if dualstack}.#{region}.#{sfx}" end end