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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass GetGeoLocationRequest data as a 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.

Constant Summary collapse

SENSITIVE =
[]

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)

2711
2712
2713
2714
2715
2716
2717
# File 'lib/aws-sdk-route53/types.rb', line 2711

class GetGeoLocationRequest < Struct.new(
  :continent_code,
  :country_code,
  :subdivision_code)
  SENSITIVE = []
  include Aws::Structure
end

#country_codeString

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

[1]: en.wikipedia.org/wiki/ISO_3166-1_alpha-2

Returns:

  • (String)

2711
2712
2713
2714
2715
2716
2717
# File 'lib/aws-sdk-route53/types.rb', line 2711

class GetGeoLocationRequest < Struct.new(
  :continent_code,
  :country_code,
  :subdivision_code)
  SENSITIVE = []
  include Aws::Structure
end

#subdivision_codeString

The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see [Appendix B: Two–Letter State and Possession Abbreviations] on the United States Postal Service website. For a list of all supported subdivision codes, use the [ListGeoLocations] API.

[1]: pe.usps.com/text/pub28/28apb.htm [2]: docs.aws.amazon.com/Route53/latest/APIReference/API_ListGeoLocations.html

Returns:

  • (String)

2711
2712
2713
2714
2715
2716
2717
# File 'lib/aws-sdk-route53/types.rb', line 2711

class GetGeoLocationRequest < Struct.new(
  :continent_code,
  :country_code,
  :subdivision_code)
  SENSITIVE = []
  include Aws::Structure
end