Class: Aws::LocationService::Types::Place

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

Overview

Contains details about addresses or points of interest that match the search criteria.

Not all details are included with all responses. Some details may only be returned by specific data partners.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#address_numberString

The numerical portion of an address, such as a building number.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#categoriesArray<String>

The Amazon Location categories that describe this Place.

For more information about using categories, including a list of Amazon Location categories, see [Categories and filtering], in the *Amazon Location Service Developer Guide*.

[1]: docs.aws.amazon.com/location/latest/developerguide/category-filtering.html

Returns:

  • (Array<String>)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#countryString

A country/region specified using [ISO 3166] 3-digit country/region code. For example, ‘CAN`.

[1]: www.iso.org/iso-3166-country-codes.html

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#geometryTypes::PlaceGeometry

Places uses a point geometry to specify a location or a Place.



5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#interpolatedBoolean

‘True` if the result is interpolated from other known places.

‘False` if the Place is a known place.

Not returned when the partner does not provide the information.

For example, returns ‘False` for an address location that is found in the partner data, but returns `True` if an address does not exist in the partner data and its location is calculated by interpolating between other known addresses.

Returns:

  • (Boolean)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#labelString

The full name and address of the point of interest such as a city, region, or country. For example, ‘123 Any Street, Any Town, USA`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#municipalityString

A name for a local area, such as a city or town name. For example, ‘Toronto`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#neighborhoodString

The name of a community district. For example, ‘Downtown`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#postal_codeString

A group of numbers and letters in a country-specific format, which accompanies the address for the purpose of identifying a location.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#regionString

A name for an area or geographical division, such as a province or state name. For example, ‘British Columbia`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#streetString

The name for a street or a road to identify a location. For example, ‘Main Street`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#sub_municipalityString

An area that’s part of a larger municipality. For example, ‘Blissville ` is a submunicipality in the Queen County in New York.

<note markdown=“1”> This property supported by Esri and OpenData. The Esri property is ‘district`, and the OpenData property is `borough`.

</note>

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#sub_regionString

A county, or an area that’s part of a larger region. For example, ‘Metro Vancouver`.

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#supplemental_categoriesArray<String>

Categories from the data provider that describe the Place that are not mapped to any Amazon Location categories.

Returns:

  • (Array<String>)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#time_zoneTypes::TimeZone

The time zone in which the ‘Place` is located. Returned only when using HERE or Grab as the selected partner.

Returns:



5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#unit_numberString

For addresses with multiple units, the unit identifier. Can include numbers and letters, for example ‘3B` or `Unit 123`.

<note markdown=“1”> Returned only for a place index that uses Esri or Grab as a data provider. Is not returned for ‘SearchPlaceIndexForPosition`.

</note>

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end

#unit_typeString

For addresses with a ‘UnitNumber`, the type of unit. For example, `Apartment`.

<note markdown=“1”> Returned only for a place index that uses Esri as a data provider.

</note>

Returns:

  • (String)


5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
# File 'lib/aws-sdk-locationservice/types.rb', line 5311

class Place < Struct.new(
  :label,
  :geometry,
  :address_number,
  :street,
  :neighborhood,
  :municipality,
  :sub_region,
  :region,
  :country,
  :postal_code,
  :interpolated,
  :time_zone,
  :unit_type,
  :unit_number,
  :categories,
  :supplemental_categories,
  :sub_municipality)
  SENSITIVE = []
  include Aws::Structure
end