You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Plugins::EndpointDiscovery

Inherits:
Seahorse::Client::Plugin show all
Defined in:
aws-sdk-core/lib/aws-sdk-core/plugins/endpoint_discovery.rb

Overview

Enables Endpoint Discovery per service when supported

Defined Under Namespace

Classes: Handler

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_options, #after_initialize, after_initialize, #before_initialize, before_initialize, option

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response

Instance Method Details

#add_handlers(handlers, config) ⇒ Object



47
48
49
# File 'aws-sdk-core/lib/aws-sdk-core/plugins/endpoint_discovery.rb', line 47

def add_handlers(handlers, config)
  handlers.add(Handler, priority: 90) if config.regional_endpoint
end