Class: Aws::Plugins::S3Dualstack Private
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::Plugins::S3Dualstack
- Defined in:
- lib/aws-sdk-core/plugins/s3_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.
Defined Under Namespace
Classes: DualstackHandler, OptionHandler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Plugin
#add_options, after_initialize, after_initialize_hooks, before_initialize, #before_initialize, before_initialize_hooks, handlers, option, options
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response, #handler_for, #new_handler
Instance Method Details
#add_handlers(handlers, config) ⇒ 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.
12 13 14 15 |
# File 'lib/aws-sdk-core/plugins/s3_dualstack.rb', line 12 def add_handlers(handlers, config) handlers.add(OptionHandler, step: :initialize) handlers.add(DualstackHandler, step: :build, priority: 0) end |
#after_initialize(client) ⇒ 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.
60 61 62 63 64 65 66 67 |
# File 'lib/aws-sdk-core/plugins/s3_dualstack.rb', line 60 def after_initialize(client) cfg = client.config if cfg.use_accelerate_endpoint && cfg.use_dualstack_endpoint msg = "Use of the :use_accelerate_endpoint and :use_dualstack_endpoint"\ " options together is not currently supported." raise ArgumentError, msg end end |