'Is there an AWS API for getting list of all regions?

currently I am developing a form as below with Ember:

Ember form

My question is: Is there an API which helps me to fill in this select form ? Because I don't want to manually type in the code and then have to change it again if AWS add more regions in the future. Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source