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.

GetGeoLocationInput

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

type GetGeoLocationInput struct { ContinentCode *string `location:"querystring" locationName:"continentcode" min:"2" type:"string"` CountryCode *string `location:"querystring" locationName:"countrycode" min:"1" type:"string"` SubdivisionCode *string `location:"querystring" locationName:"subdivisioncode" min:"1" type:"string"` }

A request for information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.

ContinentCode

Type: *string

Amazon Route 53 supports the following continent codes:

  • AF: Africa

  • AN: Antarctica

  • AS: Asia

  • EU: Europe

  • OC: Oceania

  • NA: North America

  • SA: South America

CountryCode

Type: *string

Amazon 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).

SubdivisionCode

Type: *string

Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in ISO standard 3166-1 alpha-2 (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2). Route 53 doesn't support subdivision codes for all countries. If you specify subdivisioncode, you must also specify countrycode.

Method

GoString

func (s GetGeoLocationInput) GoString() string

GoString returns the string representation

SetContinentCode

func (s *GetGeoLocationInput) SetContinentCode(v string) *GetGeoLocationInput

SetContinentCode sets the ContinentCode field's value.

SetCountryCode

func (s *GetGeoLocationInput) SetCountryCode(v string) *GetGeoLocationInput

SetCountryCode sets the CountryCode field's value.

SetSubdivisionCode

func (s *GetGeoLocationInput) SetSubdivisionCode(v string) *GetGeoLocationInput

SetSubdivisionCode sets the SubdivisionCode field's value.

String

func (s GetGeoLocationInput) String() string

String returns the string representation

Validate

func (s *GetGeoLocationInput) Validate() error

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

On this page: