class Aws::Plugins::RegionalEndpoint

def resolve_custom_config_endpoint(cfg)

get a custom configured endpoint from ENV or configuration
def resolve_custom_config_endpoint(cfg)
  return if cfg.ignore_configured_endpoint_urls
  env_service_endpoint(cfg) || env_global_endpoint(cfg) || shared_config_endpoint(cfg)
end