Class AWS::Core::RESTRequestBuilder
In: lib/aws/core/rest_request_builder.rb
Parent: Object

Given a hash of request options, a REST::RequestHandler can populate a Core::Http::Request object.

Methods

Public Class methods

Public Instance methods

Populates a Http::Request with the following:

  * HTTP method
  * URI
  * headers
  * body

@param [Http::Request] request

@param [Hash] params The hash of request options provided

  to the client request method.  This will be used to populate
  the headers, uri and body.

@raise [ArgumentError] Raises ArgumentError when any of the

  request options are invalid (wrong type, missing, unknown, etc).

[Validate]