Class: Seahorse::Client::Plugins::ParamValidation

Inherits:
Seahorse::Client::Plugin show all
Defined in:
aws-sdk-core/lib/seahorse/client/plugins/param_validation.rb

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, #before_initialize, before_initialize, option

Methods included from HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details

#add_handlers(handlers, config) ⇒ Object


12
13
14
15
16
# File 'aws-sdk-core/lib/seahorse/client/plugins/param_validation.rb', line 12

def add_handlers(handlers, config)
  if config.validate_params
    handlers.add(Handler, step: :validate, priority: 50)
  end
end