Class: Aws::GeoPlaces::Types::Address
- Inherits:
-
Struct
- Object
- Struct
- Aws::GeoPlaces::Types::Address
- Defined in:
- gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb
Overview
The place address.
Constant Summary collapse
- SENSITIVE =
[:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building]
Instance Attribute Summary collapse
-
#address_number ⇒ String
The number that identifies an address within a street.
-
#block ⇒ String
Name of the block.
-
#building ⇒ String
The name of the building at the address.
-
#country ⇒ Types::Country
The country component of the address.
-
#district ⇒ String
The district or division of a locality associated with this address.
-
#intersection ⇒ Array<String>
Name of the streets in the intersection.
-
#label ⇒ String
Assembled address value built out of the address components, according to the regional postal rules.
-
#locality ⇒ String
The city or locality of the address.
-
#postal_code ⇒ String
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
-
#region ⇒ Types::Region
The region or state results should be present in.
-
#secondary_address_components ⇒ Array<Types::SecondaryAddressComponent>
Components that correspond to secondary identifiers on an Address.
-
#street ⇒ String
The name of the street results should be present in.
-
#street_components ⇒ Array<Types::StreetComponents>
Components of the street.
-
#sub_block ⇒ String
Name of sub-block.
-
#sub_district ⇒ String
A subdivision of a district.
-
#sub_region ⇒ Types::SubRegion
The sub-region or county for which results should be present in.
Instance Attribute Details
#address_number ⇒ String
The number that identifies an address within a street.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#block ⇒ String
Name of the block.
Example: Sunny Mansion 203 block: 2 Chome
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#building ⇒ String
The name of the building at the address.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#country ⇒ Types::Country
The country component of the address.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#district ⇒ String
The district or division of a locality associated with this address.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#intersection ⇒ Array<String>
Name of the streets in the intersection.
Example: ["Friedrichstraße","Unter den Linden"]
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#label ⇒ String
Assembled address value built out of the address components, according to the regional postal rules. This is the correctly formatted address.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#locality ⇒ String
The city or locality of the address.
Example: Vancouver.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#postal_code ⇒ String
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code, for which the result should possess.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#region ⇒ Types::Region
The region or state results should be present in.
Example: North Rhine-Westphalia.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#secondary_address_components ⇒ Array<Types::SecondaryAddressComponent>
Components that correspond to secondary identifiers on an Address. Secondary address components include information such as Suite or Unit Number, Building, or Floor.
Address.SecondaryAddressComponents is available in
the following countries:
AUS, CAN, NZL, USA, PRI
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#street ⇒ String
The name of the street results should be present in.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#street_components ⇒ Array<Types::StreetComponents>
Components of the street.
Example: Younge from the "Younge street".
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#sub_block ⇒ String
Name of sub-block.
Example: Sunny Mansion 203 sub-block: 4
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#sub_district ⇒ String
A subdivision of a district.
Example: Minden-Lübbecke.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |
#sub_region ⇒ Types::SubRegion
The sub-region or county for which results should be present in.
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 |
# File 'gems/aws-sdk-geoplaces/lib/aws-sdk-geoplaces/types.rb', line 158 class Address < Struct.new( :label, :country, :region, :sub_region, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :intersection, :street, :street_components, :address_number, :building, :secondary_address_components) SENSITIVE = [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building] include Aws::Structure end |