Class: Aws::Plugins::S3RequestSigner::BucketSigningErrorHandler Private
- Inherits:
-
Handler
- Object
- Seahorse::Client::Handler
- Handler
- Aws::Plugins::S3RequestSigner::BucketSigningErrorHandler
- Defined in:
- lib/aws-sdk-core/plugins/s3_request_signer.rb
Overview
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.
This handler detects when a request fails because signature version 4 is required but not used. It follows up by making a request to determine the correct region, then finally a version 4 signed request against the regional endpoint.
Constant Summary collapse
- SIGV4_MSG =
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.
/(Please use AWS4-HMAC-SHA256|AWS Signature Version 4)/
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.
148 149 150 151 |
# File 'lib/aws-sdk-core/plugins/s3_request_signer.rb', line 148 def call(context) response = @handler.call(context) handle_region_errors(response) end |