Class: Aws::Plugins::S3RequestSigner::BucketRegionErrorHandler Private
- Inherits:
- 
      Handler
      
        - Object
- Seahorse::Client::Handler
- Handler
- Aws::Plugins::S3RequestSigner::BucketRegionErrorHandler
 
- 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 of a mismatched bucket region. It follows up by making a request to determine the correct region, then finally a version 4 signed request against the correct regional endpoint.
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.
| 87 88 89 90 | # File 'lib/aws-sdk-core/plugins/s3_request_signer.rb', line 87 def call(context) response = @handler.call(context) handle_region_errors(response) end |