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

Class: Aws::Plugins::RequestSigner::Handler

Inherits:
Seahorse::Client::Handler show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/plugins/request_signer.rb

Constant Summary

SIGNERS =
{
  'v4'      => Signers::V4,
  'v3https' => Signers::V3,
  'v2'      => Signers::V2,
  's3'      => Signers::S3,
}
STS_UNSIGNED_REQUESTS =
Set.new(%w(
  AssumeRoleWithSAML
  AssumeRoleWithWebIdentity
))
COGNITO_IDENTITY_UNSIGNED_REQUESTS =
Set.new(%w(
  GetCredentialsForIdentity
  GetId
  GetOpenIdToken
  UnlinkIdentity
))

Instance Attribute Summary

Attributes inherited from Seahorse::Client::Handler

#handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Handler

#initialize, #inspect

Constructor Details

This class inherits a constructor from Seahorse::Client::Handler

Instance Method Details

#call(context) ⇒ Object



86
87
88
89
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/request_signer.rb', line 86

def call(context)
  sign_authenticated_requests(context) unless unsigned_request?(context)
  @handler.call(context)
end