Class: Aws::S3::Plugins::S3Signer::BucketRegionErrorHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::Plugins::S3Signer::BucketRegionErrorHandler
- Defined in:
- lib/aws-sdk-s3/plugins/s3_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 Method Summary collapse
- #call(context) ⇒ Object private
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.
108 109 110 111 |
# File 'lib/aws-sdk-s3/plugins/s3_signer.rb', line 108 def call(context) response = @handler.call(context) handle_region_errors(response) end |