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

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

Overview

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

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)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#countryString

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

Returns:

  • (String)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#geometryTypes::PlaceGeometry

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



4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

class Place < Struct.new(
  :address_number,
  :country,
  :geometry,
  :label,
  :municipality,
  :neighborhood,
  :postal_code,
  :region,
  :street,
  :sub_region)
  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)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#municipalityString

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

Returns:

  • (String)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#neighborhoodString

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

Returns:

  • (String)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

class Place < Struct.new(
  :address_number,
  :country,
  :geometry,
  :label,
  :municipality,
  :neighborhood,
  :postal_code,
  :region,
  :street,
  :sub_region)
  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)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

class Place < Struct.new(
  :address_number,
  :country,
  :geometry,
  :label,
  :municipality,
  :neighborhood,
  :postal_code,
  :region,
  :street,
  :sub_region)
  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)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#streetString

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

Returns:

  • (String)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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

#sub_regionString

A country, or an area that's part of a larger region . For example, Metro Vancouver.

Returns:

  • (String)


4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 4149

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