Class: Aws::Plugins::ParamValidator

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

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, after_initialize_hooks, before_initialize, #before_initialize, before_initialize_hooks, handlers, option, options

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response, #handler_for, #new_handler

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



11
12
13
14
15
# File 'lib/aws-sdk-core/plugins/param_validator.rb', line 11

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