Class AWS::Core::Options::JSONSerializer
In: lib/aws/core/options/json_serializer.rb
Parent: Object

Given a hash of serialization rules, a JSONSerializer can convert a hash of request options into a JSON document. The request options are validated before returning JSON.

Methods

Attributes

namespace  [R]  @return [String]
operation_name  [R]  @return [String] Returns the name of the API operation.
rules  [R]  @return [Hash]

Public Class methods

@param [Hash] rules A hash of option rules to validate against. @param [String,nil] payload_param

Public Instance methods

@overload serialize!(request_options)

  @param [Hash] request_options A hash of already validated
    request options with normalized values.
  @return [String] Returns an string of the request parameters
    serialized into XML.

Protected Instance methods

[Validate]