class Aws::Plugins::RequestSigner

def add_handlers(handlers, config)

def add_handlers(handlers, config)
  # See the S3RequestSignerPlugin for Amazon S3 signature logic
  unless config.sigv4_name == 's3'
    operations = []
    config.api.operation_names.each do |operation_name|
      if config.api.operation(operation_name)['authtype'] != 'none'
        operations << operation_name
      end
    end
    handlers.add(Handler, step: :sign, operations: operations)
  end
end