You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Plugins::RequestSigner
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::Plugins::RequestSigner
- Defined in:
- aws-sdk-core/lib/aws-sdk-core/plugins/request_signer.rb
Defined Under Namespace
Classes: Handler
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
135 136 137 138 139 140 141 142 143 144 145 146 |
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/request_signer.rb', line 135 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 |