List Geo Locations
route53_list_geo_locations | R Documentation |
Retrieves a list of supported geographic locations¶
Description¶
Retrieves a list of supported geographic locations.
Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country.
Route 53 does not perform authorization for this API because it retrieves information that is already available to the public.
For a list of supported geolocation codes, see the GeoLocation data type.
Usage¶
Arguments¶
StartContinentCode
The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncated
is true, and ifNextContinentCode
from the previous response has a value, enter that value instartcontinentcode
to return the next page of results.Include
startcontinentcode
only if you want to list continents. Don't includestartcontinentcode
when you're listing countries or countries with their subdivisions.StartCountryCode
The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncated
istrue
, and ifNextCountryCode
from the previous response has a value, enter that value instartcountrycode
to return the next page of results.StartSubdivisionCode
The code for the state of the United States with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if
IsTruncated
istrue
, and ifNextSubdivisionCode
from the previous response has a value, enter that value instartsubdivisioncode
to return the next page of results.To list subdivisions (U.S. states), you must include both
startcountrycode
andstartsubdivisioncode
.MaxItems
(Optional) The maximum number of geolocations to be included in the response body for this request. If more than
maxitems
geolocations remain to be listed, then the value of theIsTruncated
element in the response istrue
.
Value¶
A list with the following syntax:
list(
GeoLocationDetailsList = list(
list(
ContinentCode = "string",
ContinentName = "string",
CountryCode = "string",
CountryName = "string",
SubdivisionCode = "string",
SubdivisionName = "string"
)
),
IsTruncated = TRUE|FALSE,
NextContinentCode = "string",
NextCountryCode = "string",
NextSubdivisionCode = "string",
MaxItems = "string"
)