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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/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.

Instance Attribute Summary collapse

Instance Attribute Details

#continent_codeString

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)


1858
1859
1860
1861
1862
1863
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1858

class GetGeoLocationRequest < Struct.new(
  :continent_code,
  :country_code,
  :subdivision_code)
  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.

Returns:

  • (String)


1858
1859
1860
1861
1862
1863
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1858

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

#subdivision_codeString

Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in ISO standard 3166-1 alpha-2. Amazon Route 53 doesn't support subdivision codes for all countries. If you specify SubdivisionCode, you must also specify CountryCode.

Returns:

  • (String)


1858
1859
1860
1861
1862
1863
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1858

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