Class: Aws::S3::Plugins::Dualstack::DualstackHandler Private
- Inherits:
-
Seahorse::Client::Handler
- Object
- Seahorse::Client::Handler
- Aws::S3::Plugins::Dualstack::DualstackHandler
- Defined in:
- lib/aws-sdk-s3/plugins/dualstack.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.
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.
33 34 35 36 37 38 39 40 41 42 |
# File 'lib/aws-sdk-s3/plugins/dualstack.rb', line 33 def call(context) # only rewrite the endpoint if it's not a custom endpoint # accelerate/ARN already handle dualstack cases, so ignore these # check to see if dualstack is on but configured off via operation if context.config.regional_endpoint && use_dualstack_endpoint?(context) apply_dualstack_endpoint(context) end @handler.call(context) end |