class Aws::EndpointProvider

def expand_endpoint(pattern, options)

def expand_endpoint(pattern, options)
  pattern.gsub(/{\w+}/) { |match| options[match[1..-2].to_sym] }
end