Method: Aws::S3::Client#build_request

Defined in:
lib/aws-sdk-s3/client.rb

#build_request(operation_name, params = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • params ({}) (defaults to: {})


18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
# File 'lib/aws-sdk-s3/client.rb', line 18825

def build_request(operation_name, params = {})
  handlers = @handlers.for(operation_name)
  context = Seahorse::Client::RequestContext.new(
    operation_name: operation_name,
    operation: config.api.operation(operation_name),
    client: self,
    params: params,
    config: config)
  context[:gem_name] = 'aws-sdk-s3'
  context[:gem_version] = '1.153.0'
  Seahorse::Client::Request.new(handlers, context)
end