public void TestExplicitlyDefinedEndpoint()
{
string hostname = RegionEndpoint.APNortheast2.GetEndpointForService("sts", true).Hostname;
Assert.AreEqual<string>("sts.dualstack.ap-northeast-2.amazonaws.com", hostname);
hostname = RegionEndpoint.CNNorth1.GetEndpointForService("iam", true).Hostname;
Assert.AreEqual<string>("iam.dualstack.cn-north-1.amazonaws.com.cn", hostname);
}
}