You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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



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

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