You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Route53::Types::GetGeoLocationRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing GetGeoLocationRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  continent_code: "GeoLocationContinentCode",
  country_code: "GeoLocationCountryCode",
  subdivision_code: "GeoLocationSubdivisionCode",
}

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

Instance Attribute Summary collapse

Instance Attribute Details

#continent_codeString

For geolocation resource record sets, a two-letter abbreviation that identifies a 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

Returns:

  • (String)

    For geolocation resource record sets, a two-letter abbreviation that identifies a continent.

#country_codeString

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

Returns:

  • (String)

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

#subdivision_codeString

For SubdivisionCode, Amazon Route 53 supports only states of the United States. 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.

Returns:

  • (String)

    For SubdivisionCode, Amazon Route 53 supports only states of the United States.