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

Class: Aws::Route53::Types::GeoLocation

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

Overview

Note:

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

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

A complex type that contains information about a geo location.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#continent_codeString

The two-letter code for the continent.

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

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

Returns:

  • (String)

    The two-letter code for the continent.

#country_codeString

The two-letter code for the country.

Returns:

  • (String)

    The two-letter code for the country.

#subdivision_codeString

The code for the subdivision, for example, a state in the United States or a province in Canada.

Returns:

  • (String)

    The code for the subdivision, for example, a state in the United States or a province in Canada.