class Aws::S3::Plugins::ObjectLambdaEndpoint::Handler

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-s3/plugins/object_lambda_endpoint.rb, line 11
def call(context)
  if context.config.regional_endpoint
    host = context.http_request.endpoint.host
    host = host.sub('s3.', 's3-object-lambda.')
    context.http_request.endpoint.host = host
  end
  @handler.call(context)
end