Module: AWS::Core::Client::QueryJSON

Included in:
DynamoDB::Client, SimpleWorkflow::Client
Defined in:
lib/aws/core/client/query_json.rb

Overview

When a client class extends this module, its API configuration is parsed. For each operation in the API configuration, one client method is added.

Clients extending QueryJSON all have in common their method of serializing request (input) parameters and parsing response (output) JSON.

Defined Under Namespace

Modules: ErrorParser

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(base) ⇒ Object



28
29
30
31
# File 'lib/aws/core/client/query_json.rb', line 28

def self.extended base
  base.send(:include, ErrorParser)
  base.send(:define_client_methods)
end

Instance Method Details

#option_parsersHash<Symbol,OptionGrammar>

Returns a hash option parsers. Hash keys are client method names and hash values are OptionGrammar objects.

Returns:

  • (Hash<Symbol,OptionGrammar>)

    Returns a hash option parsers. Hash keys are client method names and hash values are OptionGrammar objects.



37
38
39
# File 'lib/aws/core/client/query_json.rb', line 37

def option_parsers
  @option_parsers ||= {}
end