Class: Aws::Plugins::STSRegionalEndpoints
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::Plugins::STSRegionalEndpoints
- Defined in:
- lib/aws-sdk-core/plugins/sts_regional_endpoints.rb
Class Method Summary collapse
Methods inherited from Seahorse::Client::Plugin
#add_handlers, #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
Class Method Details
.resolve_sts_regional_endpoints(cfg) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/aws-sdk-core/plugins/sts_regional_endpoints.rb', line 19 def self.resolve_sts_regional_endpoints(cfg) env_mode = ENV['AWS_STS_REGIONAL_ENDPOINTS'] env_mode = nil if env_mode == '' cfg_mode = Aws.shared_config.sts_regional_endpoints( profile: cfg.profile) env_mode || cfg_mode || 'regional' end |