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

EndpointLocation

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

Specifies geographic information about an endpoint.

interface EndpointLocation {
City?: string | null;
Country?: string | null;
Latitude?: number | null;
Longitude?: number | null;
PostalCode?: string | null;
Region?: string | null;
}

§Properties

§
City?: string | null
[src]

The name of the city where the endpoint is located.

§
Country?: string | null
[src]

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region where the endpoint is located. For example, US for the United States.

§
Latitude?: number | null
[src]

The latitude coordinate of the endpoint location, rounded to one decimal place.

§
Longitude?: number | null
[src]

The longitude coordinate of the endpoint location, rounded to one decimal place.

§
PostalCode?: string | null
[src]

The postal or ZIP code for the area where the endpoint is located.

§
Region?: string | null
[src]

The name of the region where the endpoint is located. For locations in the United States, this value is the name of a state.