Class: Aws::SQS::Plugins::Md5s

Inherits:
Seahorse::Client::Plugin show all
Defined in:
gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/md5s.rb

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

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

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



156
157
158
159
160
161
162
163
164
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/md5s.rb', line 156

def add_handlers(handlers, config)
  if config.verify_checksums
    handlers.add(Handler, {
      priority: 10 ,
      step: :validate,
      operations: [:send_message, :send_message_batch]
    })
  end
end