AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Container for the parameters to the GetGeoLocation operation. To retrieve a single geo location, send a GET request to the
            53 API version/geolocation
resource with one of these options: continentcode | countrycode | countrycode and subdivisioncode.

Inheritance Hierarchy


Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class GetGeoLocationRequest : AmazonRoute53Request

The GetGeoLocationRequest type exposes the following members


Public Method GetGeoLocationRequest()


Public Property ContinentCode System.String Gets and sets the property ContinentCode.

The code for a continent geo location. Note: only continent locations have a continent code.

Valid values: AF | AN | AS | EU | OC | NA | SA

Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

Public Property CountryCode System.String Gets and sets the property CountryCode.

The code for a country geo location. The default location uses '*' for the country code and will match all locations that are not matched by a geo location.

The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

Public Property SubdivisionCode System.String Gets and sets the property SubdivisionCode.

The code for a country's subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.

Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8