Class: Aws::GeoPlaces::Types::SubRegion

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

Overview

The sub-region.

Constant Summary collapse

SENSITIVE =
[:code, :name]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

Abbreviated code for the county or sub-region. Not available in ‘ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps] customers.

[1]: docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html

Returns:

  • (String)


3150
3151
3152
3153
3154
3155
# File 'lib/aws-sdk-geoplaces/types.rb', line 3150

class SubRegion < Struct.new(
  :code,
  :name)
  SENSITIVE = [:code, :name]
  include Aws::Structure
end

#nameString

Name for the county or sub-region.

Returns:

  • (String)


3150
3151
3152
3153
3154
3155
# File 'lib/aws-sdk-geoplaces/types.rb', line 3150

class SubRegion < Struct.new(
  :code,
  :name)
  SENSITIVE = [:code, :name]
  include Aws::Structure
end