Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GeoLocation

import type { GeoLocation } from "https://aws-api.deno.dev/v0.4/services/route53.ts?docs=full";

A complex type that contains information about a geographic location.

interface GeoLocation {
ContinentCode?: string | null;
CountryCode?: string | null;
SubdivisionCode?: string | null;
}

§Properties

§
ContinentCode?: string | null
[src]

The two-letter code for the continent.

Amazon Route 53 supports the following continent codes:

  • AF: Africa
  • AN: Antarctica
  • AS: Asia
  • EU: Europe
  • OC: Oceania
  • NA: North America
  • SA: South America

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

§
CountryCode?: string | null
[src]

For geolocation resource record sets, the two-letter code for a country.

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.

§
SubdivisionCode?: string | null
[src]

For geolocation resource record sets, the two-letter code for a state of the United States. Route 53 doesn't support any other values for SubdivisionCode. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.

If you specify subdivisioncode, you must also specify US for CountryCode.