class Aws::Plugins::S3RequestSigner::Handler
Abstract base class for the other two handlers
Private Instance Methods
new_hostname(context, region)
click to toggle source
# File lib/aws-sdk-core/plugins/s3_request_signer.rb, line 105 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