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



204
205
206
207
208
209
210
211
212
213
# File 'gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/md5s.rb', line 204

def add_handlers(handlers, config)
  return unless config.verify_checksums

  handlers.add(
    Handler,
    priority: 10,
    step: :validate,
    operations: %i[send_message send_message_batch]
  )
end