Class: Aws::Plugins::S3RequestSigner::SigningHandler Private
- Inherits:
-
RequestSigner::Handler
- Object
- Seahorse::Client::Handler
- RequestSigner::Handler
- Aws::Plugins::S3RequestSigner::SigningHandler
- Defined in:
- lib/aws-sdk-core/plugins/s3_request_signer.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- V2_REGIONS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
List of regions that support older S3 signature versions. All new regions only support signature version 4.
Set.new(%w( us-east-1 us-west-1 us-west-2 ap-northeast-1 ap-southeast-1 ap-southeast-2 sa-east-1 eu-west-1 us-gov-west-1 ))
Constants inherited from RequestSigner::Handler
RequestSigner::Handler::COGNITO_IDENTITY_UNSIGNED_REQUESTS, RequestSigner::Handler::SIGNERS, RequestSigner::Handler::STS_UNSIGNED_REQUESTS
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Handler
Instance Method Summary collapse
- #call(context) ⇒ Object private
Methods inherited from Seahorse::Client::Handler
Constructor Details
This class inherits a constructor from Seahorse::Client::Handler
Instance Method Details
#call(context) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/aws-sdk-core/plugins/s3_request_signer.rb', line 25 def call(context) require_credentials(context) version = signature_version(context) case version when /v4/ then apply_v4_signature(context) when /s3/ then apply_v2_signature(context) else raise "unsupported signature version #{version.inspect}" end @handler.call(context) end |