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

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

Direct Known Subclasses

S3RequestSigner::SigningHandler

Constant Summary collapse

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



82
83
84
85
# File 'lib/aws-sdk-core/plugins/request_signer.rb', line 82

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