Abstract base class for the other two handlers
# File lib/aws-sdk-core/plugins/s3_request_signer.rb, line 104 def new_hostname(context, region) bucket = context.params[:bucket] if region == 'us-east-1' "#{bucket}.s3-external-1.amazonaws.com" else bucket + '.' + URI.parse(EndpointProvider.resolve(region, 's3')).host end end