Sha256: 5442195de087bcbdd47687f2d64dc369c738d3385ae11cb94a9ad9758bf49e79

Contents?: true

Size: 891 Bytes

Versions: 166

Compression:

Stored size: 891 Bytes

Contents

# frozen_string_literal: true

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

166 entries across 166 versions & 1 rubygems

Version Path
aws-sdk-core-3.198.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.197.2 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.197.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.197.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.194.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.194.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.193.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.192.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.192.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.6 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.5 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.4 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.3 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.2 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.191.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.190.3 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.190.2 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.190.1 lib/aws-sdk-core/plugins/protocols/json_rpc.rb
aws-sdk-core-3.190.0 lib/aws-sdk-core/plugins/protocols/json_rpc.rb