static void LoadEndpointDefinitionFromFilePath(string path)
{
if (!System.IO.File.Exists(path))
throw new AmazonServiceException(string.Format(CultureInfo.InvariantCulture, "Local endpoint configuration file {0} override was not found.", path));
using (var stream = File.OpenRead(path))
{
ReadEndpointFile(stream);
}
}
#endif