AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ListGeoLocationsInput

import "github.com/aws/aws-sdk-go/service/route53"

type ListGeoLocationsInput struct { MaxItems *string `location:"querystring" locationName:"maxitems" type:"string"` StartContinentCode *string `location:"querystring" locationName:"startcontinentcode" min:"2" type:"string"` StartCountryCode *string `location:"querystring" locationName:"startcountrycode" min:"1" type:"string"` StartSubdivisionCode *string `location:"querystring" locationName:"startsubdivisioncode" min:"1" type:"string"` }

A request to get a list of geographic locations that Amazon Route 53 supports for geolocation resource record sets.

MaxItems

Type: *string

(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 the IsTruncated element in the response is true.

StartContinentCode

Type: *string

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 if NextContinentCode from the previous response has a value, enter that value in startcontinentcode to return the next page of results.

Include startcontinentcode only if you want to list continents. Don't include startcontinentcode when you're listing countries or countries with their subdivisions.

StartCountryCode

Type: *string

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 is true, and if NextCountryCode from the previous response has a value, enter that value in startcountrycode to return the next page of results.

Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2).

StartSubdivisionCode

Type: *string

The code for the subdivision (for example, state or province) 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 if NextSubdivisionCode from the previous response has a value, enter that value in startsubdivisioncode to return the next page of results.

To list subdivisions of a country, you must include both startcountrycode and startsubdivisioncode.

Method

GoString

func (s ListGeoLocationsInput) GoString() string

GoString returns the string representation

SetMaxItems

func (s *ListGeoLocationsInput) SetMaxItems(v string) *ListGeoLocationsInput

SetMaxItems sets the MaxItems field's value.

SetStartContinentCode

func (s *ListGeoLocationsInput) SetStartContinentCode(v string) *ListGeoLocationsInput

SetStartContinentCode sets the StartContinentCode field's value.

SetStartCountryCode

func (s *ListGeoLocationsInput) SetStartCountryCode(v string) *ListGeoLocationsInput

SetStartCountryCode sets the StartCountryCode field's value.

SetStartSubdivisionCode

func (s *ListGeoLocationsInput) SetStartSubdivisionCode(v string) *ListGeoLocationsInput

SetStartSubdivisionCode sets the StartSubdivisionCode field's value.

String

func (s ListGeoLocationsInput) String() string

String returns the string representation

Validate

func (s *ListGeoLocationsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: