There is no AWS API method to call this information.
Some SDKs, such as the AWS SDK for .NET, have this information baked in the SDK. For example, in C #:
var regions = Amazon.RegionEndpoint.EnumerableAllRegions;
foreach (var r in regions)
{
Console.WriteLine("{0} -> {1}", r.SystemName, r.DisplayName);
}
Looking through documents for AWS SDK for Java , I do not find an equivalent. If he were there, I would think that this should be in the classroom com.amazonaws.regions.Region.
, .