public static RegionEndpoint GetBySystemName(string systemName)
{
RegionEndpoint region = null;
if (_hashBySystemName.TryGetValue(systemName, out region))
return region;
IRegionEndpoint regionEndpointFromProvider = RegionEndpointProvider.GetRegionEndpoint(systemName);
// We received an instance of IRegionEndpoint from a provider,
// now we should wrap it in RegionEndpoint before returning the data back to the client code.
// GetRegionEndpoint will always return a non-null value. If the the region(systemName) is unknown,
// the providers will create a fallback instance that will generate an endpoint to the best
// of its knowledge.
return NewEndpoint(systemName, regionEndpointFromProvider.DisplayName);
}