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

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

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



204
205
206
207
208
209
210
211
212
213
# File '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