aws-sdk-geoplaces 1.25.0 → 1.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-geoplaces/client.rb +250 -26
- data/lib/aws-sdk-geoplaces/client_api.rb +80 -0
- data/lib/aws-sdk-geoplaces/types.rb +332 -32
- data/lib/aws-sdk-geoplaces.rb +1 -1
- data/sig/client.rbs +21 -11
- data/sig/types.rbs +68 -13
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 13112af015c273719070ee4a500650ffe89f642c2cef52b62e013ce6b9044478
|
|
4
|
+
data.tar.gz: 4be853bc949b9e0d09eab692f0b87e494e0408f78fc3cfe1fab6c0cce84a379f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd2436082218d4357c5e2528686aa693213aa9417c218e71ac9a2af595948b41246148e6242eb913d3f03e02a8182a16f5f62b69034a1fd30c0b916944aae6b2
|
|
7
|
+
data.tar.gz: f53e64cddb14b534c603ede2b4127b7ae5c75f1b756fca34e9fe3c22bcc12a143d437835535ed86d8d30dbb840a68a2b84fc42287b39a3789b73faf33d9462b3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.26.0 (2026-07-08)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added AddressNamesMode, AddressNameTranslations, MobilityMode, PostalCodeMode, SecondaryAddresses, and DriveThrough features across Places V2 APIs to support address name formatting, multilingual translations, travel-aware search, multi-city postal codes, and unit-level address resolution.
|
|
8
|
+
|
|
4
9
|
1.25.0 (2026-05-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.26.0
|
|
@@ -481,14 +481,16 @@ module Aws::GeoPlaces
|
|
|
481
481
|
# address completion. Also, the API supports the filtering of results
|
|
482
482
|
# based on geographic location, country, or specific place types, and
|
|
483
483
|
# can be tailored using optional parameters like language and political
|
|
484
|
-
# views.
|
|
484
|
+
# views. Not supported in `ap-southeast-1` and `ap-southeast-5` regions
|
|
485
|
+
# for [GrabMaps][1] customers.
|
|
485
486
|
#
|
|
486
|
-
# For more information, see [Autocomplete][
|
|
487
|
+
# For more information, see [Autocomplete][2] in the *Amazon Location
|
|
487
488
|
# Service Developer Guide*.
|
|
488
489
|
#
|
|
489
490
|
#
|
|
490
491
|
#
|
|
491
|
-
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/
|
|
492
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
493
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/autocomplete.html
|
|
492
494
|
#
|
|
493
495
|
# @option params [required, String] :query_text
|
|
494
496
|
# The free-form text query to match addresses against. This is usually a
|
|
@@ -524,7 +526,9 @@ module Aws::GeoPlaces
|
|
|
524
526
|
# partial district or locality information may be returned under a
|
|
525
527
|
# single postal code result entry. If it's populated with the value
|
|
526
528
|
# `EnumerateSpannedLocalities`, all cities in that postal code are
|
|
527
|
-
# returned.
|
|
529
|
+
# returned. If it's populated with the value
|
|
530
|
+
# `EnumerateSpannedDistricts`, all combinations of the postal code with
|
|
531
|
+
# the corresponding district and city names are returned.
|
|
528
532
|
#
|
|
529
533
|
# @option params [Array<String>] :additional_features
|
|
530
534
|
# A list of optional additional parameters that can be requested for
|
|
@@ -537,7 +541,7 @@ module Aws::GeoPlaces
|
|
|
537
541
|
#
|
|
538
542
|
#
|
|
539
543
|
#
|
|
540
|
-
# [1]: https://
|
|
544
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
541
545
|
#
|
|
542
546
|
# @option params [String] :political_view
|
|
543
547
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
@@ -605,9 +609,9 @@ module Aws::GeoPlaces
|
|
|
605
609
|
# radius: 1, # required
|
|
606
610
|
# },
|
|
607
611
|
# include_countries: ["CountryCode"],
|
|
608
|
-
# include_place_types: ["Locality"], # accepts Locality, PostalCode
|
|
612
|
+
# include_place_types: ["Locality"], # accepts Locality, PostalCode, Street, Intersection, PointAddress, InterpolatedAddress, Country, Region
|
|
609
613
|
# },
|
|
610
|
-
# postal_code_mode: "MergeAllSpannedLocalities", # accepts MergeAllSpannedLocalities, EnumerateSpannedLocalities
|
|
614
|
+
# postal_code_mode: "MergeAllSpannedLocalities", # accepts MergeAllSpannedLocalities, EnumerateSpannedLocalities, EnumerateSpannedDistricts
|
|
611
615
|
# additional_features: ["Core"], # accepts Core
|
|
612
616
|
# language: "LanguageTag",
|
|
613
617
|
# political_view: "CountryCode",
|
|
@@ -729,6 +733,7 @@ module Aws::GeoPlaces
|
|
|
729
733
|
# resp.result_items[0].highlights.address.building[0].start_index #=> Integer
|
|
730
734
|
# resp.result_items[0].highlights.address.building[0].end_index #=> Integer
|
|
731
735
|
# resp.result_items[0].highlights.address.building[0].value #=> String
|
|
736
|
+
# resp.result_items[0].estimated_point_address #=> Boolean
|
|
732
737
|
#
|
|
733
738
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/Autocomplete AWS API Documentation
|
|
734
739
|
#
|
|
@@ -745,14 +750,16 @@ module Aws::GeoPlaces
|
|
|
745
750
|
# free-form text or structured queries with components like street
|
|
746
751
|
# names, postal codes, and regions. The Geocode API can also provide
|
|
747
752
|
# additional features such as time zone information and the inclusion of
|
|
748
|
-
# political views.
|
|
753
|
+
# political views. Not supported in `ap-southeast-1` and
|
|
754
|
+
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
749
755
|
#
|
|
750
|
-
# For more information, see [Geocode][
|
|
756
|
+
# For more information, see [Geocode][2] in the *Amazon Location Service
|
|
751
757
|
# Developer Guide*.
|
|
752
758
|
#
|
|
753
759
|
#
|
|
754
760
|
#
|
|
755
|
-
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/
|
|
761
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
762
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/geocode.html
|
|
756
763
|
#
|
|
757
764
|
# @option params [String] :query_text
|
|
758
765
|
# The free-form text query to match addresses against. This is usually a
|
|
@@ -788,7 +795,7 @@ module Aws::GeoPlaces
|
|
|
788
795
|
#
|
|
789
796
|
#
|
|
790
797
|
#
|
|
791
|
-
# [1]: https://
|
|
798
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
792
799
|
#
|
|
793
800
|
# @option params [String] :political_view
|
|
794
801
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
@@ -820,6 +827,30 @@ module Aws::GeoPlaces
|
|
|
820
827
|
# Optional: The API key to be used for authorization. Either an API key
|
|
821
828
|
# or valid SigV4 signature must be provided when making a request.
|
|
822
829
|
#
|
|
830
|
+
# @option params [String] :postal_code_mode
|
|
831
|
+
# The `PostalCodeMode` affects how postal code results are returned. If
|
|
832
|
+
# a postal code spans multiple localities and this value is empty,
|
|
833
|
+
# partial district or locality information may be returned under a
|
|
834
|
+
# single postal code result entry. If it's populated with the value
|
|
835
|
+
# `EnumerateSpannedLocalities`, all cities in that postal code are
|
|
836
|
+
# returned. If it's populated with the value
|
|
837
|
+
# `EnumerateSpannedDistricts`, all combinations of the postal code with
|
|
838
|
+
# the corresponding district and city names are returned.
|
|
839
|
+
#
|
|
840
|
+
# @option params [Array<String>] :address_translations
|
|
841
|
+
# Specifies which address components to include translations for.
|
|
842
|
+
# Translations include all name variants and alternative names for the
|
|
843
|
+
# requested fields in all available languages. Valid values are
|
|
844
|
+
# `District`, `Locality`, `Region`, and `SubRegion`.
|
|
845
|
+
#
|
|
846
|
+
# @option params [String] :address_names_mode
|
|
847
|
+
# Specifies how address names are returned. If not set, the service
|
|
848
|
+
# returns normalized (official) names by default. When set to `Matched`,
|
|
849
|
+
# address names in the response are based on the input query rather than
|
|
850
|
+
# official names. When set to `Administrative`, the service returns the
|
|
851
|
+
# official administrative names for address components. `Administrative`
|
|
852
|
+
# currently applies only to addresses in the United States.
|
|
853
|
+
#
|
|
823
854
|
# @return [Types::GeocodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
824
855
|
#
|
|
825
856
|
# * {Types::GeocodeResponse#pricing_bucket #pricing_bucket} => String
|
|
@@ -843,13 +874,16 @@ module Aws::GeoPlaces
|
|
|
843
874
|
# bias_position: [1.0],
|
|
844
875
|
# filter: {
|
|
845
876
|
# include_countries: ["CountryCode"],
|
|
846
|
-
# include_place_types: ["Locality"], # accepts Locality, PostalCode, Intersection, Street, PointAddress, InterpolatedAddress
|
|
877
|
+
# include_place_types: ["Locality"], # accepts Locality, PostalCode, Intersection, Street, PointAddress, InterpolatedAddress, SecondaryAddress, PointOfInterest, Country, Region
|
|
847
878
|
# },
|
|
848
879
|
# additional_features: ["TimeZone"], # accepts TimeZone, Access, SecondaryAddresses, Intersections
|
|
849
880
|
# language: "LanguageTag",
|
|
850
881
|
# political_view: "CountryCode",
|
|
851
882
|
# intended_use: "SingleUse", # accepts SingleUse, Storage
|
|
852
883
|
# key: "ApiKey",
|
|
884
|
+
# postal_code_mode: "MergeAllSpannedLocalities", # accepts MergeAllSpannedLocalities, EnumerateSpannedLocalities, EnumerateSpannedDistricts
|
|
885
|
+
# address_translations: ["District"], # accepts District, Locality, Region, SubRegion
|
|
886
|
+
# address_names_mode: "Matched", # accepts Matched, Administrative
|
|
853
887
|
# })
|
|
854
888
|
#
|
|
855
889
|
# @example Response structure
|
|
@@ -914,6 +948,9 @@ module Aws::GeoPlaces
|
|
|
914
948
|
# resp.result_items[0].access_points #=> Array
|
|
915
949
|
# resp.result_items[0].access_points[0].position #=> Array
|
|
916
950
|
# resp.result_items[0].access_points[0].position[0] #=> Float
|
|
951
|
+
# resp.result_items[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
952
|
+
# resp.result_items[0].access_points[0].primary #=> Boolean
|
|
953
|
+
# resp.result_items[0].access_points[0].label #=> String
|
|
917
954
|
# resp.result_items[0].time_zone.name #=> String
|
|
918
955
|
# resp.result_items[0].time_zone.offset #=> String
|
|
919
956
|
# resp.result_items[0].time_zone.offset_seconds #=> Integer
|
|
@@ -1006,6 +1043,11 @@ module Aws::GeoPlaces
|
|
|
1006
1043
|
# resp.result_items[0].parsed_query.address.secondary_address_components[0].value #=> String
|
|
1007
1044
|
# resp.result_items[0].parsed_query.address.secondary_address_components[0].number #=> String
|
|
1008
1045
|
# resp.result_items[0].parsed_query.address.secondary_address_components[0].designator #=> String
|
|
1046
|
+
# resp.result_items[0].parsed_query.address.other_components #=> Array
|
|
1047
|
+
# resp.result_items[0].parsed_query.address.other_components[0].start_index #=> Integer
|
|
1048
|
+
# resp.result_items[0].parsed_query.address.other_components[0].end_index #=> Integer
|
|
1049
|
+
# resp.result_items[0].parsed_query.address.other_components[0].value #=> String
|
|
1050
|
+
# resp.result_items[0].parsed_query.address.other_components[0].query_component #=> String
|
|
1009
1051
|
# resp.result_items[0].intersections #=> Array
|
|
1010
1052
|
# resp.result_items[0].intersections[0].place_id #=> String
|
|
1011
1053
|
# resp.result_items[0].intersections[0].title #=> String
|
|
@@ -1049,6 +1091,9 @@ module Aws::GeoPlaces
|
|
|
1049
1091
|
# resp.result_items[0].intersections[0].access_points #=> Array
|
|
1050
1092
|
# resp.result_items[0].intersections[0].access_points[0].position #=> Array
|
|
1051
1093
|
# resp.result_items[0].intersections[0].access_points[0].position[0] #=> Float
|
|
1094
|
+
# resp.result_items[0].intersections[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1095
|
+
# resp.result_items[0].intersections[0].access_points[0].primary #=> Boolean
|
|
1096
|
+
# resp.result_items[0].intersections[0].access_points[0].label #=> String
|
|
1052
1097
|
# resp.result_items[0].main_address.place_id #=> String
|
|
1053
1098
|
# resp.result_items[0].main_address.place_type #=> String, one of "Country", "Region", "SubRegion", "Locality", "District", "SubDistrict", "PostalCode", "Block", "SubBlock", "Intersection", "Street", "PointOfInterest", "PointAddress", "InterpolatedAddress", "SecondaryAddress", "InferredSecondaryAddress"
|
|
1054
1099
|
# resp.result_items[0].main_address.title #=> String
|
|
@@ -1088,6 +1133,9 @@ module Aws::GeoPlaces
|
|
|
1088
1133
|
# resp.result_items[0].main_address.access_points #=> Array
|
|
1089
1134
|
# resp.result_items[0].main_address.access_points[0].position #=> Array
|
|
1090
1135
|
# resp.result_items[0].main_address.access_points[0].position[0] #=> Float
|
|
1136
|
+
# resp.result_items[0].main_address.access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1137
|
+
# resp.result_items[0].main_address.access_points[0].primary #=> Boolean
|
|
1138
|
+
# resp.result_items[0].main_address.access_points[0].label #=> String
|
|
1091
1139
|
# resp.result_items[0].secondary_addresses #=> Array
|
|
1092
1140
|
# resp.result_items[0].secondary_addresses[0].place_id #=> String
|
|
1093
1141
|
# resp.result_items[0].secondary_addresses[0].place_type #=> String, one of "Country", "Region", "SubRegion", "Locality", "District", "SubDistrict", "PostalCode", "Block", "SubBlock", "Intersection", "Street", "PointOfInterest", "PointAddress", "InterpolatedAddress", "SecondaryAddress", "InferredSecondaryAddress"
|
|
@@ -1128,6 +1176,42 @@ module Aws::GeoPlaces
|
|
|
1128
1176
|
# resp.result_items[0].secondary_addresses[0].access_points #=> Array
|
|
1129
1177
|
# resp.result_items[0].secondary_addresses[0].access_points[0].position #=> Array
|
|
1130
1178
|
# resp.result_items[0].secondary_addresses[0].access_points[0].position[0] #=> Float
|
|
1179
|
+
# resp.result_items[0].secondary_addresses[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1180
|
+
# resp.result_items[0].secondary_addresses[0].access_points[0].primary #=> Boolean
|
|
1181
|
+
# resp.result_items[0].secondary_addresses[0].access_points[0].label #=> String
|
|
1182
|
+
# resp.result_items[0].translations.locality #=> Array
|
|
1183
|
+
# resp.result_items[0].translations.locality[0].names #=> Array
|
|
1184
|
+
# resp.result_items[0].translations.locality[0].names[0].value #=> String
|
|
1185
|
+
# resp.result_items[0].translations.locality[0].names[0].language #=> String
|
|
1186
|
+
# resp.result_items[0].translations.locality[0].names[0].type #=> String, one of "Abbreviation", "AreaCode", "BaseName", "Exonym", "Shortened", "Synonym"
|
|
1187
|
+
# resp.result_items[0].translations.locality[0].names[0].primary #=> Boolean
|
|
1188
|
+
# resp.result_items[0].translations.locality[0].names[0].transliterated #=> Boolean
|
|
1189
|
+
# resp.result_items[0].translations.locality[0].preference #=> String, one of "Alternative", "Primary"
|
|
1190
|
+
# resp.result_items[0].translations.region #=> Array
|
|
1191
|
+
# resp.result_items[0].translations.region[0].names #=> Array
|
|
1192
|
+
# resp.result_items[0].translations.region[0].names[0].value #=> String
|
|
1193
|
+
# resp.result_items[0].translations.region[0].names[0].language #=> String
|
|
1194
|
+
# resp.result_items[0].translations.region[0].names[0].type #=> String, one of "Abbreviation", "AreaCode", "BaseName", "Exonym", "Shortened", "Synonym"
|
|
1195
|
+
# resp.result_items[0].translations.region[0].names[0].primary #=> Boolean
|
|
1196
|
+
# resp.result_items[0].translations.region[0].names[0].transliterated #=> Boolean
|
|
1197
|
+
# resp.result_items[0].translations.region[0].preference #=> String, one of "Alternative", "Primary"
|
|
1198
|
+
# resp.result_items[0].translations.district #=> Array
|
|
1199
|
+
# resp.result_items[0].translations.district[0].names #=> Array
|
|
1200
|
+
# resp.result_items[0].translations.district[0].names[0].value #=> String
|
|
1201
|
+
# resp.result_items[0].translations.district[0].names[0].language #=> String
|
|
1202
|
+
# resp.result_items[0].translations.district[0].names[0].type #=> String, one of "Abbreviation", "AreaCode", "BaseName", "Exonym", "Shortened", "Synonym"
|
|
1203
|
+
# resp.result_items[0].translations.district[0].names[0].primary #=> Boolean
|
|
1204
|
+
# resp.result_items[0].translations.district[0].names[0].transliterated #=> Boolean
|
|
1205
|
+
# resp.result_items[0].translations.district[0].preference #=> String, one of "Alternative", "Primary"
|
|
1206
|
+
# resp.result_items[0].translations.sub_region #=> Array
|
|
1207
|
+
# resp.result_items[0].translations.sub_region[0].names #=> Array
|
|
1208
|
+
# resp.result_items[0].translations.sub_region[0].names[0].value #=> String
|
|
1209
|
+
# resp.result_items[0].translations.sub_region[0].names[0].language #=> String
|
|
1210
|
+
# resp.result_items[0].translations.sub_region[0].names[0].type #=> String, one of "Abbreviation", "AreaCode", "BaseName", "Exonym", "Shortened", "Synonym"
|
|
1211
|
+
# resp.result_items[0].translations.sub_region[0].names[0].primary #=> Boolean
|
|
1212
|
+
# resp.result_items[0].translations.sub_region[0].names[0].transliterated #=> Boolean
|
|
1213
|
+
# resp.result_items[0].translations.sub_region[0].preference #=> String, one of "Alternative", "Primary"
|
|
1214
|
+
# resp.result_items[0].estimated_point_address #=> Boolean
|
|
1131
1215
|
#
|
|
1132
1216
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/Geocode AWS API Documentation
|
|
1133
1217
|
#
|
|
@@ -1171,7 +1255,7 @@ module Aws::GeoPlaces
|
|
|
1171
1255
|
#
|
|
1172
1256
|
#
|
|
1173
1257
|
#
|
|
1174
|
-
# [1]: https://
|
|
1258
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
1175
1259
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1176
1260
|
#
|
|
1177
1261
|
# @option params [String] :political_view
|
|
@@ -1209,6 +1293,12 @@ module Aws::GeoPlaces
|
|
|
1209
1293
|
# Optional: The API key to be used for authorization. Either an API key
|
|
1210
1294
|
# or valid SigV4 signature must be provided when making a request.
|
|
1211
1295
|
#
|
|
1296
|
+
# @option params [String] :address_names_mode
|
|
1297
|
+
# Specifies how address names are returned. When set to
|
|
1298
|
+
# `Administrative`, the service returns the official administrative
|
|
1299
|
+
# names for address components. `Administrative` currently applies only
|
|
1300
|
+
# to addresses in the United States.
|
|
1301
|
+
#
|
|
1212
1302
|
# @return [Types::GetPlaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1213
1303
|
#
|
|
1214
1304
|
# * {Types::GetPlaceResponse#place_id #place_id} => String
|
|
@@ -1232,16 +1322,20 @@ module Aws::GeoPlaces
|
|
|
1232
1322
|
# * {Types::GetPlaceResponse#phonemes #phonemes} => Types::PhonemeDetails
|
|
1233
1323
|
# * {Types::GetPlaceResponse#main_address #main_address} => Types::RelatedPlace
|
|
1234
1324
|
# * {Types::GetPlaceResponse#secondary_addresses #secondary_addresses} => Array<Types::RelatedPlace>
|
|
1325
|
+
# * {Types::GetPlaceResponse#place_attributes #place_attributes} => Array<String>
|
|
1326
|
+
# * {Types::GetPlaceResponse#estimated_point_address #estimated_point_address} => Boolean
|
|
1327
|
+
# * {Types::GetPlaceResponse#cross_references #cross_references} => Array<Types::CrossReference>
|
|
1235
1328
|
#
|
|
1236
1329
|
# @example Request syntax with placeholder values
|
|
1237
1330
|
#
|
|
1238
1331
|
# resp = client.get_place({
|
|
1239
1332
|
# place_id: "GetPlaceRequestPlaceIdString", # required
|
|
1240
|
-
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact, SecondaryAddresses
|
|
1333
|
+
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact, SecondaryAddresses, CrossReferences
|
|
1241
1334
|
# language: "LanguageTag",
|
|
1242
1335
|
# political_view: "CountryCode",
|
|
1243
1336
|
# intended_use: "SingleUse", # accepts SingleUse, Storage
|
|
1244
1337
|
# key: "ApiKey",
|
|
1338
|
+
# address_names_mode: "Administrative", # accepts Administrative
|
|
1245
1339
|
# })
|
|
1246
1340
|
#
|
|
1247
1341
|
# @example Response structure
|
|
@@ -1352,6 +1446,9 @@ module Aws::GeoPlaces
|
|
|
1352
1446
|
# resp.access_points #=> Array
|
|
1353
1447
|
# resp.access_points[0].position #=> Array
|
|
1354
1448
|
# resp.access_points[0].position[0] #=> Float
|
|
1449
|
+
# resp.access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1450
|
+
# resp.access_points[0].primary #=> Boolean
|
|
1451
|
+
# resp.access_points[0].label #=> String
|
|
1355
1452
|
# resp.access_restrictions #=> Array
|
|
1356
1453
|
# resp.access_restrictions[0].restricted #=> Boolean
|
|
1357
1454
|
# resp.access_restrictions[0].categories #=> Array
|
|
@@ -1442,6 +1539,9 @@ module Aws::GeoPlaces
|
|
|
1442
1539
|
# resp.main_address.access_points #=> Array
|
|
1443
1540
|
# resp.main_address.access_points[0].position #=> Array
|
|
1444
1541
|
# resp.main_address.access_points[0].position[0] #=> Float
|
|
1542
|
+
# resp.main_address.access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1543
|
+
# resp.main_address.access_points[0].primary #=> Boolean
|
|
1544
|
+
# resp.main_address.access_points[0].label #=> String
|
|
1445
1545
|
# resp.secondary_addresses #=> Array
|
|
1446
1546
|
# resp.secondary_addresses[0].place_id #=> String
|
|
1447
1547
|
# resp.secondary_addresses[0].place_type #=> String, one of "Country", "Region", "SubRegion", "Locality", "District", "SubDistrict", "PostalCode", "Block", "SubBlock", "Intersection", "Street", "PointOfInterest", "PointAddress", "InterpolatedAddress", "SecondaryAddress", "InferredSecondaryAddress"
|
|
@@ -1482,6 +1582,20 @@ module Aws::GeoPlaces
|
|
|
1482
1582
|
# resp.secondary_addresses[0].access_points #=> Array
|
|
1483
1583
|
# resp.secondary_addresses[0].access_points[0].position #=> Array
|
|
1484
1584
|
# resp.secondary_addresses[0].access_points[0].position[0] #=> Float
|
|
1585
|
+
# resp.secondary_addresses[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1586
|
+
# resp.secondary_addresses[0].access_points[0].primary #=> Boolean
|
|
1587
|
+
# resp.secondary_addresses[0].access_points[0].label #=> String
|
|
1588
|
+
# resp.place_attributes #=> Array
|
|
1589
|
+
# resp.place_attributes[0] #=> String, one of "DriveThrough"
|
|
1590
|
+
# resp.estimated_point_address #=> Boolean
|
|
1591
|
+
# resp.cross_references #=> Array
|
|
1592
|
+
# resp.cross_references[0].source #=> String
|
|
1593
|
+
# resp.cross_references[0].source_place_id #=> String
|
|
1594
|
+
# resp.cross_references[0].source_categories #=> Array
|
|
1595
|
+
# resp.cross_references[0].source_categories[0].id #=> String
|
|
1596
|
+
# resp.cross_references[0].source_categories[0].name #=> String
|
|
1597
|
+
# resp.cross_references[0].source_categories[0].localized_name #=> String
|
|
1598
|
+
# resp.cross_references[0].source_categories[0].primary #=> Boolean
|
|
1485
1599
|
#
|
|
1486
1600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/GetPlace AWS API Documentation
|
|
1487
1601
|
#
|
|
@@ -1552,7 +1666,7 @@ module Aws::GeoPlaces
|
|
|
1552
1666
|
#
|
|
1553
1667
|
#
|
|
1554
1668
|
#
|
|
1555
|
-
# [1]: https://
|
|
1669
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
1556
1670
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1557
1671
|
#
|
|
1558
1672
|
# @option params [String] :political_view
|
|
@@ -1594,6 +1708,12 @@ module Aws::GeoPlaces
|
|
|
1594
1708
|
# Example: North is `0` degrees, East is `90` degrees, South is `180`
|
|
1595
1709
|
# degrees, and West is `270` degrees.
|
|
1596
1710
|
#
|
|
1711
|
+
# @option params [String] :address_names_mode
|
|
1712
|
+
# Specifies how address names are returned. When set to
|
|
1713
|
+
# `Administrative`, the service returns the official administrative
|
|
1714
|
+
# names for address components. `Administrative` currently applies only
|
|
1715
|
+
# to addresses in the United States.
|
|
1716
|
+
#
|
|
1597
1717
|
# @return [Types::ReverseGeocodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1598
1718
|
#
|
|
1599
1719
|
# * {Types::ReverseGeocodeResponse#pricing_bucket #pricing_bucket} => String
|
|
@@ -1606,7 +1726,7 @@ module Aws::GeoPlaces
|
|
|
1606
1726
|
# query_radius: 1,
|
|
1607
1727
|
# max_results: 1,
|
|
1608
1728
|
# filter: {
|
|
1609
|
-
# include_place_types: ["Locality"], # accepts Locality, Intersection, Street, PointAddress, InterpolatedAddress
|
|
1729
|
+
# include_place_types: ["Locality"], # accepts Locality, Intersection, Street, PointAddress, InterpolatedAddress, SecondaryAddress, PointOfInterest
|
|
1610
1730
|
# },
|
|
1611
1731
|
# additional_features: ["TimeZone"], # accepts TimeZone, Access, Intersections
|
|
1612
1732
|
# language: "LanguageTag",
|
|
@@ -1614,6 +1734,7 @@ module Aws::GeoPlaces
|
|
|
1614
1734
|
# intended_use: "SingleUse", # accepts SingleUse, Storage
|
|
1615
1735
|
# key: "ApiKey",
|
|
1616
1736
|
# heading: 1.0,
|
|
1737
|
+
# address_names_mode: "Administrative", # accepts Administrative
|
|
1617
1738
|
# })
|
|
1618
1739
|
#
|
|
1619
1740
|
# @example Response structure
|
|
@@ -1678,6 +1799,9 @@ module Aws::GeoPlaces
|
|
|
1678
1799
|
# resp.result_items[0].access_points #=> Array
|
|
1679
1800
|
# resp.result_items[0].access_points[0].position #=> Array
|
|
1680
1801
|
# resp.result_items[0].access_points[0].position[0] #=> Float
|
|
1802
|
+
# resp.result_items[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1803
|
+
# resp.result_items[0].access_points[0].primary #=> Boolean
|
|
1804
|
+
# resp.result_items[0].access_points[0].label #=> String
|
|
1681
1805
|
# resp.result_items[0].time_zone.name #=> String
|
|
1682
1806
|
# resp.result_items[0].time_zone.offset #=> String
|
|
1683
1807
|
# resp.result_items[0].time_zone.offset_seconds #=> Integer
|
|
@@ -1725,6 +1849,52 @@ module Aws::GeoPlaces
|
|
|
1725
1849
|
# resp.result_items[0].intersections[0].access_points #=> Array
|
|
1726
1850
|
# resp.result_items[0].intersections[0].access_points[0].position #=> Array
|
|
1727
1851
|
# resp.result_items[0].intersections[0].access_points[0].position[0] #=> Float
|
|
1852
|
+
# resp.result_items[0].intersections[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1853
|
+
# resp.result_items[0].intersections[0].access_points[0].primary #=> Boolean
|
|
1854
|
+
# resp.result_items[0].intersections[0].access_points[0].label #=> String
|
|
1855
|
+
# resp.result_items[0].main_address.place_id #=> String
|
|
1856
|
+
# resp.result_items[0].main_address.place_type #=> String, one of "Country", "Region", "SubRegion", "Locality", "District", "SubDistrict", "PostalCode", "Block", "SubBlock", "Intersection", "Street", "PointOfInterest", "PointAddress", "InterpolatedAddress", "SecondaryAddress", "InferredSecondaryAddress"
|
|
1857
|
+
# resp.result_items[0].main_address.title #=> String
|
|
1858
|
+
# resp.result_items[0].main_address.address.label #=> String
|
|
1859
|
+
# resp.result_items[0].main_address.address.country.code_2 #=> String
|
|
1860
|
+
# resp.result_items[0].main_address.address.country.code_3 #=> String
|
|
1861
|
+
# resp.result_items[0].main_address.address.country.name #=> String
|
|
1862
|
+
# resp.result_items[0].main_address.address.region.code #=> String
|
|
1863
|
+
# resp.result_items[0].main_address.address.region.name #=> String
|
|
1864
|
+
# resp.result_items[0].main_address.address.sub_region.code #=> String
|
|
1865
|
+
# resp.result_items[0].main_address.address.sub_region.name #=> String
|
|
1866
|
+
# resp.result_items[0].main_address.address.locality #=> String
|
|
1867
|
+
# resp.result_items[0].main_address.address.district #=> String
|
|
1868
|
+
# resp.result_items[0].main_address.address.sub_district #=> String
|
|
1869
|
+
# resp.result_items[0].main_address.address.postal_code #=> String
|
|
1870
|
+
# resp.result_items[0].main_address.address.block #=> String
|
|
1871
|
+
# resp.result_items[0].main_address.address.sub_block #=> String
|
|
1872
|
+
# resp.result_items[0].main_address.address.intersection #=> Array
|
|
1873
|
+
# resp.result_items[0].main_address.address.intersection[0] #=> String
|
|
1874
|
+
# resp.result_items[0].main_address.address.street #=> String
|
|
1875
|
+
# resp.result_items[0].main_address.address.street_components #=> Array
|
|
1876
|
+
# resp.result_items[0].main_address.address.street_components[0].base_name #=> String
|
|
1877
|
+
# resp.result_items[0].main_address.address.street_components[0].type #=> String
|
|
1878
|
+
# resp.result_items[0].main_address.address.street_components[0].type_placement #=> String, one of "BeforeBaseName", "AfterBaseName"
|
|
1879
|
+
# resp.result_items[0].main_address.address.street_components[0].type_separator #=> String
|
|
1880
|
+
# resp.result_items[0].main_address.address.street_components[0].prefix #=> String
|
|
1881
|
+
# resp.result_items[0].main_address.address.street_components[0].suffix #=> String
|
|
1882
|
+
# resp.result_items[0].main_address.address.street_components[0].direction #=> String
|
|
1883
|
+
# resp.result_items[0].main_address.address.street_components[0].language #=> String
|
|
1884
|
+
# resp.result_items[0].main_address.address.address_number #=> String
|
|
1885
|
+
# resp.result_items[0].main_address.address.building #=> String
|
|
1886
|
+
# resp.result_items[0].main_address.address.secondary_address_components #=> Array
|
|
1887
|
+
# resp.result_items[0].main_address.address.secondary_address_components[0].number #=> String
|
|
1888
|
+
# resp.result_items[0].main_address.address.secondary_address_components[0].designator #=> String
|
|
1889
|
+
# resp.result_items[0].main_address.position #=> Array
|
|
1890
|
+
# resp.result_items[0].main_address.position[0] #=> Float
|
|
1891
|
+
# resp.result_items[0].main_address.access_points #=> Array
|
|
1892
|
+
# resp.result_items[0].main_address.access_points[0].position #=> Array
|
|
1893
|
+
# resp.result_items[0].main_address.access_points[0].position[0] #=> Float
|
|
1894
|
+
# resp.result_items[0].main_address.access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
1895
|
+
# resp.result_items[0].main_address.access_points[0].primary #=> Boolean
|
|
1896
|
+
# resp.result_items[0].main_address.access_points[0].label #=> String
|
|
1897
|
+
# resp.result_items[0].estimated_point_address #=> Boolean
|
|
1728
1898
|
#
|
|
1729
1899
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/ReverseGeocode AWS API Documentation
|
|
1730
1900
|
#
|
|
@@ -1740,14 +1910,17 @@ module Aws::GeoPlaces
|
|
|
1740
1910
|
# such as categories, business chains, food types and more. The API
|
|
1741
1911
|
# returns details such as a place name, address, phone, category, food
|
|
1742
1912
|
# type, contact, opening hours. Also, the API can return phonemes, time
|
|
1743
|
-
# zones and more based on requested parameters.
|
|
1913
|
+
# zones and more based on requested parameters. Not supported in
|
|
1914
|
+
# `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps][1]
|
|
1915
|
+
# customers.
|
|
1744
1916
|
#
|
|
1745
|
-
# For more information, see [Search Nearby][
|
|
1917
|
+
# For more information, see [Search Nearby][2] in the *Amazon Location
|
|
1746
1918
|
# Service Developer Guide*.
|
|
1747
1919
|
#
|
|
1748
1920
|
#
|
|
1749
1921
|
#
|
|
1750
|
-
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/
|
|
1922
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1923
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/search-nearby.html
|
|
1751
1924
|
#
|
|
1752
1925
|
# @option params [required, Array<Float>] :query_position
|
|
1753
1926
|
# The position in World Geodetic System (WGS 84) format: \[longitude,
|
|
@@ -1783,7 +1956,7 @@ module Aws::GeoPlaces
|
|
|
1783
1956
|
#
|
|
1784
1957
|
#
|
|
1785
1958
|
#
|
|
1786
|
-
# [1]: https://
|
|
1959
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
1787
1960
|
#
|
|
1788
1961
|
# @option params [String] :political_view
|
|
1789
1962
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
@@ -1841,7 +2014,7 @@ module Aws::GeoPlaces
|
|
|
1841
2014
|
# include_food_types: ["FilterFoodTypeListMemberString"],
|
|
1842
2015
|
# exclude_food_types: ["FilterFoodTypeListMemberString"],
|
|
1843
2016
|
# },
|
|
1844
|
-
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact
|
|
2017
|
+
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact, CrossReferences
|
|
1845
2018
|
# language: "LanguageTag",
|
|
1846
2019
|
# political_view: "CountryCode",
|
|
1847
2020
|
# intended_use: "SingleUse", # accepts SingleUse, Storage
|
|
@@ -1953,6 +2126,9 @@ module Aws::GeoPlaces
|
|
|
1953
2126
|
# resp.result_items[0].access_points #=> Array
|
|
1954
2127
|
# resp.result_items[0].access_points[0].position #=> Array
|
|
1955
2128
|
# resp.result_items[0].access_points[0].position[0] #=> Float
|
|
2129
|
+
# resp.result_items[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
2130
|
+
# resp.result_items[0].access_points[0].primary #=> Boolean
|
|
2131
|
+
# resp.result_items[0].access_points[0].label #=> String
|
|
1956
2132
|
# resp.result_items[0].access_restrictions #=> Array
|
|
1957
2133
|
# resp.result_items[0].access_restrictions[0].restricted #=> Boolean
|
|
1958
2134
|
# resp.result_items[0].access_restrictions[0].categories #=> Array
|
|
@@ -2004,6 +2180,16 @@ module Aws::GeoPlaces
|
|
|
2004
2180
|
# resp.result_items[0].phonemes.address.street[0].value #=> String
|
|
2005
2181
|
# resp.result_items[0].phonemes.address.street[0].language #=> String
|
|
2006
2182
|
# resp.result_items[0].phonemes.address.street[0].preferred #=> Boolean
|
|
2183
|
+
# resp.result_items[0].place_attributes #=> Array
|
|
2184
|
+
# resp.result_items[0].place_attributes[0] #=> String, one of "DriveThrough"
|
|
2185
|
+
# resp.result_items[0].cross_references #=> Array
|
|
2186
|
+
# resp.result_items[0].cross_references[0].source #=> String
|
|
2187
|
+
# resp.result_items[0].cross_references[0].source_place_id #=> String
|
|
2188
|
+
# resp.result_items[0].cross_references[0].source_categories #=> Array
|
|
2189
|
+
# resp.result_items[0].cross_references[0].source_categories[0].id #=> String
|
|
2190
|
+
# resp.result_items[0].cross_references[0].source_categories[0].name #=> String
|
|
2191
|
+
# resp.result_items[0].cross_references[0].source_categories[0].localized_name #=> String
|
|
2192
|
+
# resp.result_items[0].cross_references[0].source_categories[0].primary #=> Boolean
|
|
2007
2193
|
# resp.next_token #=> String
|
|
2008
2194
|
#
|
|
2009
2195
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/SearchNearby AWS API Documentation
|
|
@@ -2091,7 +2277,7 @@ module Aws::GeoPlaces
|
|
|
2091
2277
|
#
|
|
2092
2278
|
#
|
|
2093
2279
|
#
|
|
2094
|
-
# [1]: https://
|
|
2280
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
2095
2281
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2096
2282
|
#
|
|
2097
2283
|
# @option params [String] :political_view
|
|
@@ -2126,6 +2312,11 @@ module Aws::GeoPlaces
|
|
|
2126
2312
|
# If `nextToken` is returned, there are more results available. The
|
|
2127
2313
|
# value of `nextToken` is a unique pagination token for each page.
|
|
2128
2314
|
#
|
|
2315
|
+
# @option params [String] :travel_mode
|
|
2316
|
+
# Indicates the mode of mobility used by the end user. This is used to
|
|
2317
|
+
# improve the relevance of search results. Valid values are `Car`,
|
|
2318
|
+
# `Scooter`, and `Truck`.
|
|
2319
|
+
#
|
|
2129
2320
|
# @option params [String] :key
|
|
2130
2321
|
# Optional: The API key to be used for authorization. Either an API key
|
|
2131
2322
|
# or valid SigV4 signature must be provided when making a request.
|
|
@@ -2151,11 +2342,12 @@ module Aws::GeoPlaces
|
|
|
2151
2342
|
# },
|
|
2152
2343
|
# include_countries: ["CountryCode"],
|
|
2153
2344
|
# },
|
|
2154
|
-
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact
|
|
2345
|
+
# additional_features: ["TimeZone"], # accepts TimeZone, Phonemes, Access, Contact, CrossReferences
|
|
2155
2346
|
# language: "LanguageTag",
|
|
2156
2347
|
# political_view: "CountryCode",
|
|
2157
2348
|
# intended_use: "SingleUse", # accepts SingleUse, Storage
|
|
2158
2349
|
# next_token: "Token",
|
|
2350
|
+
# travel_mode: "Car", # accepts Car, Scooter, Truck
|
|
2159
2351
|
# key: "ApiKey",
|
|
2160
2352
|
# })
|
|
2161
2353
|
#
|
|
@@ -2263,6 +2455,9 @@ module Aws::GeoPlaces
|
|
|
2263
2455
|
# resp.result_items[0].access_points #=> Array
|
|
2264
2456
|
# resp.result_items[0].access_points[0].position #=> Array
|
|
2265
2457
|
# resp.result_items[0].access_points[0].position[0] #=> Float
|
|
2458
|
+
# resp.result_items[0].access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
2459
|
+
# resp.result_items[0].access_points[0].primary #=> Boolean
|
|
2460
|
+
# resp.result_items[0].access_points[0].label #=> String
|
|
2266
2461
|
# resp.result_items[0].access_restrictions #=> Array
|
|
2267
2462
|
# resp.result_items[0].access_restrictions[0].restricted #=> Boolean
|
|
2268
2463
|
# resp.result_items[0].access_restrictions[0].categories #=> Array
|
|
@@ -2314,6 +2509,16 @@ module Aws::GeoPlaces
|
|
|
2314
2509
|
# resp.result_items[0].phonemes.address.street[0].value #=> String
|
|
2315
2510
|
# resp.result_items[0].phonemes.address.street[0].language #=> String
|
|
2316
2511
|
# resp.result_items[0].phonemes.address.street[0].preferred #=> Boolean
|
|
2512
|
+
# resp.result_items[0].place_attributes #=> Array
|
|
2513
|
+
# resp.result_items[0].place_attributes[0] #=> String, one of "DriveThrough"
|
|
2514
|
+
# resp.result_items[0].cross_references #=> Array
|
|
2515
|
+
# resp.result_items[0].cross_references[0].source #=> String
|
|
2516
|
+
# resp.result_items[0].cross_references[0].source_place_id #=> String
|
|
2517
|
+
# resp.result_items[0].cross_references[0].source_categories #=> Array
|
|
2518
|
+
# resp.result_items[0].cross_references[0].source_categories[0].id #=> String
|
|
2519
|
+
# resp.result_items[0].cross_references[0].source_categories[0].name #=> String
|
|
2520
|
+
# resp.result_items[0].cross_references[0].source_categories[0].localized_name #=> String
|
|
2521
|
+
# resp.result_items[0].cross_references[0].source_categories[0].primary #=> Boolean
|
|
2317
2522
|
# resp.next_token #=> String
|
|
2318
2523
|
#
|
|
2319
2524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/geo-places-2020-11-19/SearchText AWS API Documentation
|
|
@@ -2401,7 +2606,7 @@ module Aws::GeoPlaces
|
|
|
2401
2606
|
#
|
|
2402
2607
|
#
|
|
2403
2608
|
#
|
|
2404
|
-
# [1]: https://
|
|
2609
|
+
# [1]: https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
|
|
2405
2610
|
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2406
2611
|
#
|
|
2407
2612
|
# @option params [String] :political_view
|
|
@@ -2420,6 +2625,11 @@ module Aws::GeoPlaces
|
|
|
2420
2625
|
# infrastructure. Defaults to `SingleUse` (not stored). Currently,
|
|
2421
2626
|
# `Suggest` does not support storage of results.
|
|
2422
2627
|
#
|
|
2628
|
+
# @option params [String] :travel_mode
|
|
2629
|
+
# Indicates the mode of mobility used by the end user. This is used to
|
|
2630
|
+
# improve the relevance of search results. Valid values are `Car`,
|
|
2631
|
+
# `Scooter`, and `Truck`.
|
|
2632
|
+
#
|
|
2423
2633
|
# @option params [String] :key
|
|
2424
2634
|
# Optional: The API key to be used for authorization. Either an API key
|
|
2425
2635
|
# or valid SigV4 signature must be provided when making a request.
|
|
@@ -2445,10 +2655,11 @@ module Aws::GeoPlaces
|
|
|
2445
2655
|
# },
|
|
2446
2656
|
# include_countries: ["CountryCode"],
|
|
2447
2657
|
# },
|
|
2448
|
-
# additional_features: ["Core"], # accepts Core, TimeZone, Phonemes, Access
|
|
2658
|
+
# additional_features: ["Core"], # accepts Core, TimeZone, Phonemes, Access, CrossReferences
|
|
2449
2659
|
# language: "LanguageTag",
|
|
2450
2660
|
# political_view: "CountryCode",
|
|
2451
2661
|
# intended_use: "SingleUse", # accepts SingleUse
|
|
2662
|
+
# travel_mode: "Car", # accepts Car, Scooter, Truck
|
|
2452
2663
|
# key: "ApiKey",
|
|
2453
2664
|
# })
|
|
2454
2665
|
#
|
|
@@ -2511,6 +2722,9 @@ module Aws::GeoPlaces
|
|
|
2511
2722
|
# resp.result_items[0].place.access_points #=> Array
|
|
2512
2723
|
# resp.result_items[0].place.access_points[0].position #=> Array
|
|
2513
2724
|
# resp.result_items[0].place.access_points[0].position[0] #=> Float
|
|
2725
|
+
# resp.result_items[0].place.access_points[0].type #=> String, one of "Delivery", "Emergency", "Entrance", "Loading", "Other", "Parking", "Taxi"
|
|
2726
|
+
# resp.result_items[0].place.access_points[0].primary #=> Boolean
|
|
2727
|
+
# resp.result_items[0].place.access_points[0].label #=> String
|
|
2514
2728
|
# resp.result_items[0].place.access_restrictions #=> Array
|
|
2515
2729
|
# resp.result_items[0].place.access_restrictions[0].restricted #=> Boolean
|
|
2516
2730
|
# resp.result_items[0].place.access_restrictions[0].categories #=> Array
|
|
@@ -2562,6 +2776,16 @@ module Aws::GeoPlaces
|
|
|
2562
2776
|
# resp.result_items[0].place.phonemes.address.street[0].value #=> String
|
|
2563
2777
|
# resp.result_items[0].place.phonemes.address.street[0].language #=> String
|
|
2564
2778
|
# resp.result_items[0].place.phonemes.address.street[0].preferred #=> Boolean
|
|
2779
|
+
# resp.result_items[0].place.place_attributes #=> Array
|
|
2780
|
+
# resp.result_items[0].place.place_attributes[0] #=> String, one of "DriveThrough"
|
|
2781
|
+
# resp.result_items[0].place.cross_references #=> Array
|
|
2782
|
+
# resp.result_items[0].place.cross_references[0].source #=> String
|
|
2783
|
+
# resp.result_items[0].place.cross_references[0].source_place_id #=> String
|
|
2784
|
+
# resp.result_items[0].place.cross_references[0].source_categories #=> Array
|
|
2785
|
+
# resp.result_items[0].place.cross_references[0].source_categories[0].id #=> String
|
|
2786
|
+
# resp.result_items[0].place.cross_references[0].source_categories[0].name #=> String
|
|
2787
|
+
# resp.result_items[0].place.cross_references[0].source_categories[0].localized_name #=> String
|
|
2788
|
+
# resp.result_items[0].place.cross_references[0].source_categories[0].primary #=> Boolean
|
|
2565
2789
|
# resp.result_items[0].query.query_id #=> String
|
|
2566
2790
|
# resp.result_items[0].query.query_type #=> String, one of "Category", "BusinessChain"
|
|
2567
2791
|
# resp.result_items[0].highlights.title #=> Array
|
|
@@ -2605,7 +2829,7 @@ module Aws::GeoPlaces
|
|
|
2605
2829
|
tracer: tracer
|
|
2606
2830
|
)
|
|
2607
2831
|
context[:gem_name] = 'aws-sdk-geoplaces'
|
|
2608
|
-
context[:gem_version] = '1.
|
|
2832
|
+
context[:gem_version] = '1.26.0'
|
|
2609
2833
|
Seahorse::Client::Request.new(handlers, context)
|
|
2610
2834
|
end
|
|
2611
2835
|
|