Sha256: e0dd280c67a664c233374e227488f3e4bb18939302678f95d00e8722312764bb
Contents?: true
Size: 698 Bytes
Versions: 32
Compression:
Stored size: 698 Bytes
Contents
module Aws module Plugins # @seahorse.client.option [Boolean] :convert_params (true) # When `true`, an attempt is made to coerce request parameters # into the required types. class ParamConverter < Seahorse::Client::Plugin option(:convert_params, true) def add_handlers(handlers, config) handlers.add(Handler, step: :initialize) if config.convert_params end class Handler < Seahorse::Client::Handler def call(context) if input = context.operation.input context.params = Aws::ParamConverter.convert(input, context.params) end @handler.call(context) end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems