class Aws::Plugins::S3RequestSigner::Handler
Abstract base class for the other two handlers
def new_hostname(context, region)
def new_hostname(context, region) bucket = context.params[:bucket] if region == 'us-east-1' "#{bucket}.s3.amazonaws.com" else bucket + '.' + URI.parse(EndpointProvider.resolve(region, 's3')).host end end