Sha256: a750f72bcd971a8b04612a1c6a0008b847e0d09916f94ac4a374fc5569dce3f2

Contents?: true

Size: 860 Bytes

Versions: 163

Compression:

Stored size: 860 Bytes

Contents

module Aws
  module Plugins
    module Protocols
      class JsonRpc < Seahorse::Client::Plugin

        option(:simple_json,
          default: false,
          doc_type: 'Boolean',
          docstring: <<-DOCS)
Disables request parameter conversion, validation, and formatting.
Also disable response data type conversions. This option is useful
when you want to ensure the highest level of performance by
avoiding overhead of walking request parameters and response data
structures.

When `:simple_json` is enabled, the request parameters hash must
be formatted exactly as the DynamoDB API expects.
          DOCS

        option(:validate_params) { |config| !config.simple_json }

        option(:convert_params) { |config| !config.simple_json }

        handler(Json::Handler)

        handler(Json::ErrorHandler, step: :sign)

      end
    end
  end
end

Version data entries

163 entries across 163 versions & 1 rubygems

Version Path
aws-sdk-core-3.100.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.99.2 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.99.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.99.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.98.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.97.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.97.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.96.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.96.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.95.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.94.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.94.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.93.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.92.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.91.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.91.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.90.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.90.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.89.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.89.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb