private RegionEndpoint.Endpoint CreateUnknownEndpoint(string serviceName, bool dualStack)
{
string template = (string)_partitionJsonData["defaults"]["hostname"];
if (dualStack)
{
template = template.Replace("{region}", "dualstack.{region}");
}
string hostname = template.Replace("{service}", serviceName)
.Replace("{region}", RegionName)
.Replace("{dnsSuffix}", (string)_partitionJsonData["dnsSuffix"]);
return new RegionEndpoint.Endpoint(hostname, null, null);
}