Class: Aws::Plugins::EndpointPattern
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::Plugins::EndpointPattern
- Defined in:
- lib/aws-sdk-core/plugins/endpoint_pattern.rb
Overview
Disable host prefix per operation when available
Defined Under Namespace
Classes: Handler
Instance Method Summary collapse
Methods inherited from Seahorse::Client::Plugin
#add_options, #after_initialize, 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
14 15 16 17 18 |
# File 'lib/aws-sdk-core/plugins/endpoint_pattern.rb', line 14 def add_handlers(handlers, config) if config.regional_endpoint && !config.disable_host_prefix_injection handlers.add(Handler, priority: 90) end end |