Class: Aws::Plugins::RegionalEndpoint Private

Inherits:
Seahorse::Client::Plugin show all
Defined in:
lib/aws-sdk-core/plugins/regional_endpoint.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.

Constant Summary collapse

MISSING_REGION =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

raised when region is not configured

'missing required configuration option :region'

Instance Method Summary collapse

Methods inherited from Seahorse::Client::Plugin

#add_handlers, #add_options, after_initialize, after_initialize_hooks, before_initialize, #before_initialize, before_initialize_hooks, handlers, literal, option, options

Methods included from Seahorse::Client::HandlerBuilder

#handle, #handle_request, #handle_response, #handler_for, #new_handler

Instance Method Details

#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.



42
43
44
45
46
# File 'lib/aws-sdk-core/plugins/regional_endpoint.rb', line 42

def after_initialize(client)
  if client.config.region.nil? or client.config.region == ''
    raise Errors::MissingRegionError
  end
end