aws-sdk-geoplaces 1.21.0 → 1.22.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 +145 -52
- data/lib/aws-sdk-geoplaces/client_api.rb +7 -7
- data/lib/aws-sdk-geoplaces/endpoint_provider.rb +8 -8
- data/lib/aws-sdk-geoplaces/types.rb +376 -89
- data/lib/aws-sdk-geoplaces/waiters.rb +15 -0
- data/lib/aws-sdk-geoplaces.rb +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e89d3cbaebb39e6d19ba686e83791b36fd6bbc9eabde029e61458ed8bc2d3d
|
|
4
|
+
data.tar.gz: 69533408b0207a38439e01c896b7372e4715c01a06c0760cbfe0e887640567e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49d4a9dbc4a1b32d4e5e50fb6cf255962c1dca1abd6a4fd0d805460eda920cac55bc5863a57317c8b05b0e8794f43fa693e513c9861cd9bdc8da8483c4481f45
|
|
7
|
+
data.tar.gz: fc2fd87e31b65c69a6f30a0a540262b412bf4786b4d188345e83f6cd3fc2a4c22a768071de9b57aec00dd559b6e3675b9ac6ab2e25fc5e532311c67e6b2d5c36
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.22.0 (2026-04-02)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release updates API reference documentation for Amazon Location Service Places APIs to reflect regional restrictions for Grab Maps users in ReverseGeocode, Suggest, SearchText, and GetPlace operations
|
|
8
|
+
|
|
4
9
|
1.21.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.22.0
|
|
@@ -581,8 +581,9 @@ module Aws::GeoPlaces
|
|
|
581
581
|
# * `VNM`: Vietnam's view on the Paracel Islands and Spratly Islands
|
|
582
582
|
#
|
|
583
583
|
# @option params [String] :intended_use
|
|
584
|
-
# Indicates if the results will be
|
|
585
|
-
#
|
|
584
|
+
# Indicates if the query results will be persisted in customer
|
|
585
|
+
# infrastructure. Defaults to `SingleUse` (not stored). Currently,
|
|
586
|
+
# `Autocomplete` does not support storage of results.
|
|
586
587
|
#
|
|
587
588
|
# @option params [String] :key
|
|
588
589
|
# Optional: The API key to be used for authorization. Either an API key
|
|
@@ -798,20 +799,24 @@ module Aws::GeoPlaces
|
|
|
798
799
|
# the specified country.
|
|
799
800
|
#
|
|
800
801
|
# @option params [String] :intended_use
|
|
801
|
-
# Indicates if the results will be
|
|
802
|
-
#
|
|
802
|
+
# Indicates if the query results will be persisted in customer
|
|
803
|
+
# infrastructure. Defaults to `SingleUse` (not stored). Not supported in
|
|
804
|
+
# `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps][1]
|
|
805
|
+
# customers.
|
|
803
806
|
#
|
|
804
|
-
# <note markdown="1">
|
|
805
|
-
#
|
|
806
|
-
# the [user agreement][
|
|
807
|
-
# determine the correct setting for
|
|
807
|
+
# <note markdown="1"> When storing `Geocode` responses, you *must* set this field to
|
|
808
|
+
# `Storage` to comply with the terms of service. These requests will be
|
|
809
|
+
# charged at a higher rate. Please review the [user agreement][2] and
|
|
810
|
+
# [service pricing structure][3] to determine the correct setting for
|
|
811
|
+
# your use case.
|
|
808
812
|
#
|
|
809
813
|
# </note>
|
|
810
814
|
#
|
|
811
815
|
#
|
|
812
816
|
#
|
|
813
|
-
# [1]: https://aws.amazon.com/location/
|
|
814
|
-
# [2]: https://aws.amazon.com/location/
|
|
817
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
818
|
+
# [2]: https://aws.amazon.com/location/sla/
|
|
819
|
+
# [3]: https://aws.amazon.com/location/pricing/
|
|
815
820
|
#
|
|
816
821
|
# @option params [String] :key
|
|
817
822
|
# Optional: The API key to be used for authorization. Either an API key
|
|
@@ -1150,38 +1155,57 @@ module Aws::GeoPlaces
|
|
|
1150
1155
|
#
|
|
1151
1156
|
# @option params [Array<String>] :additional_features
|
|
1152
1157
|
# A list of optional additional parameters such as time zone that can be
|
|
1153
|
-
# requested for each result.
|
|
1158
|
+
# requested for each result. For [GrabMaps][1] customers,
|
|
1159
|
+
# `ap-southeast-1` and `ap-southeast-5` regions support only the
|
|
1160
|
+
# `TimeZone` value.
|
|
1161
|
+
#
|
|
1162
|
+
#
|
|
1163
|
+
#
|
|
1164
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1154
1165
|
#
|
|
1155
1166
|
# @option params [String] :language
|
|
1156
1167
|
# A list of [BCP 47][1] compliant language codes for the results to be
|
|
1157
1168
|
# rendered in. If there is no data for the result in the requested
|
|
1158
1169
|
# language, data will be returned in the default language for the entry.
|
|
1170
|
+
# For [GrabMaps][2] customers, `ap-southeast-1` and `ap-southeast-5`
|
|
1171
|
+
# regions support only the following codes: `en, id, km, lo, ms, my, pt,
|
|
1172
|
+
# th, tl, vi, zh`
|
|
1159
1173
|
#
|
|
1160
1174
|
#
|
|
1161
1175
|
#
|
|
1162
1176
|
# [1]: https://en.wikipedia.org/wiki/IETF_language_tag
|
|
1177
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1163
1178
|
#
|
|
1164
1179
|
# @option params [String] :political_view
|
|
1165
1180
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
1166
1181
|
# country. The political view applies to the results of the request to
|
|
1167
1182
|
# represent unresolved territorial claims through the point of view of
|
|
1168
|
-
# the specified country.
|
|
1183
|
+
# the specified country. Not supported in `ap-southeast-1` and
|
|
1184
|
+
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
1185
|
+
#
|
|
1186
|
+
#
|
|
1187
|
+
#
|
|
1188
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1169
1189
|
#
|
|
1170
1190
|
# @option params [String] :intended_use
|
|
1171
|
-
# Indicates if the results will be
|
|
1172
|
-
#
|
|
1191
|
+
# Indicates if the query results will be persisted in customer
|
|
1192
|
+
# infrastructure. Defaults to `SingleUse` (not stored). Not supported in
|
|
1193
|
+
# `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps][1]
|
|
1194
|
+
# customers.
|
|
1173
1195
|
#
|
|
1174
|
-
# <note markdown="1">
|
|
1175
|
-
#
|
|
1176
|
-
# the [user agreement][
|
|
1177
|
-
# determine the correct setting for
|
|
1196
|
+
# <note markdown="1"> When storing `GetPlace` responses, you *must* set this field to
|
|
1197
|
+
# `Storage` to comply with the terms of service. These requests will be
|
|
1198
|
+
# charged at a higher rate. Please review the [user agreement][2] and
|
|
1199
|
+
# [service pricing structure][3] to determine the correct setting for
|
|
1200
|
+
# your use case.
|
|
1178
1201
|
#
|
|
1179
1202
|
# </note>
|
|
1180
1203
|
#
|
|
1181
1204
|
#
|
|
1182
1205
|
#
|
|
1183
|
-
# [1]: https://aws.amazon.com/location/
|
|
1184
|
-
# [2]: https://aws.amazon.com/location/
|
|
1206
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1207
|
+
# [2]: https://aws.amazon.com/location/sla/
|
|
1208
|
+
# [3]: https://aws.amazon.com/location/pricing/
|
|
1185
1209
|
#
|
|
1186
1210
|
# @option params [String] :key
|
|
1187
1211
|
# Optional: The API key to be used for authorization. Either an API key
|
|
@@ -1493,7 +1517,13 @@ module Aws::GeoPlaces
|
|
|
1493
1517
|
#
|
|
1494
1518
|
# @option params [Integer] :query_radius
|
|
1495
1519
|
# The maximum distance in meters from the QueryPosition from which a
|
|
1496
|
-
# result will be returned.
|
|
1520
|
+
# result will be returned. For [GrabMaps][1] customers, `ap-southeast-1`
|
|
1521
|
+
# and `ap-southeast-5` regions support only up to a maximum value of
|
|
1522
|
+
# 100,000.
|
|
1523
|
+
#
|
|
1524
|
+
#
|
|
1525
|
+
#
|
|
1526
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1497
1527
|
#
|
|
1498
1528
|
# @option params [Integer] :max_results
|
|
1499
1529
|
# An optional limit for the number of results returned in a single call.
|
|
@@ -1506,31 +1536,47 @@ module Aws::GeoPlaces
|
|
|
1506
1536
|
#
|
|
1507
1537
|
# @option params [Array<String>] :additional_features
|
|
1508
1538
|
# A list of optional additional parameters, such as time zone that can
|
|
1509
|
-
# be requested for each result.
|
|
1539
|
+
# be requested for each result. For [GrabMaps][1] customers,
|
|
1540
|
+
# `ap-southeast-1` and `ap-southeast-5` regions support only the
|
|
1541
|
+
# `TimeZone` value.
|
|
1542
|
+
#
|
|
1543
|
+
#
|
|
1544
|
+
#
|
|
1545
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1510
1546
|
#
|
|
1511
1547
|
# @option params [String] :language
|
|
1512
1548
|
# A list of [BCP 47][1] compliant language codes for the results to be
|
|
1513
1549
|
# rendered in. If there is no data for the result in the requested
|
|
1514
1550
|
# language, data will be returned in the default language for the entry.
|
|
1551
|
+
# For [GrabMaps][2] customers, `ap-southeast-1` and `ap-southeast-5`
|
|
1552
|
+
# regions support only the following codes: `en, id, km, lo, ms, my, pt,
|
|
1553
|
+
# th, tl, vi, zh`
|
|
1515
1554
|
#
|
|
1516
1555
|
#
|
|
1517
1556
|
#
|
|
1518
1557
|
# [1]: https://en.wikipedia.org/wiki/IETF_language_tag
|
|
1558
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1519
1559
|
#
|
|
1520
1560
|
# @option params [String] :political_view
|
|
1521
1561
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
1522
1562
|
# country. The political view applies to the results of the request to
|
|
1523
1563
|
# represent unresolved territorial claims through the point of view of
|
|
1524
|
-
# the specified country.
|
|
1564
|
+
# the specified country. Not supported in `ap-southeast-1` and
|
|
1565
|
+
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
1566
|
+
#
|
|
1567
|
+
#
|
|
1568
|
+
#
|
|
1569
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1525
1570
|
#
|
|
1526
1571
|
# @option params [String] :intended_use
|
|
1527
|
-
# Indicates if the results will be
|
|
1528
|
-
#
|
|
1572
|
+
# Indicates if the query results will be persisted in customer
|
|
1573
|
+
# infrastructure. Defaults to `SingleUse` (not stored).
|
|
1529
1574
|
#
|
|
1530
|
-
# <note markdown="1">
|
|
1531
|
-
#
|
|
1532
|
-
# review the [user agreement][1] and
|
|
1533
|
-
# determine the correct setting for
|
|
1575
|
+
# <note markdown="1"> When storing `ReverseGeocode` responses, you *must* set this field to
|
|
1576
|
+
# `Storage` to comply with the terms of service. These requests will be
|
|
1577
|
+
# charged at a higher rate. Please review the [user agreement][1] and
|
|
1578
|
+
# [service pricing structure][2] to determine the correct setting for
|
|
1579
|
+
# your use case.
|
|
1534
1580
|
#
|
|
1535
1581
|
# </note>
|
|
1536
1582
|
#
|
|
@@ -1748,20 +1794,24 @@ module Aws::GeoPlaces
|
|
|
1748
1794
|
# the specified country.
|
|
1749
1795
|
#
|
|
1750
1796
|
# @option params [String] :intended_use
|
|
1751
|
-
# Indicates if the results will be
|
|
1752
|
-
#
|
|
1797
|
+
# Indicates if the query results will be persisted in customer
|
|
1798
|
+
# infrastructure. Defaults to `SingleUse` (not stored). Not supported in
|
|
1799
|
+
# `ap-southeast-1` and `ap-southeast-5` regions for [GrabMaps][1]
|
|
1800
|
+
# customers.
|
|
1753
1801
|
#
|
|
1754
|
-
# <note markdown="1">
|
|
1755
|
-
#
|
|
1756
|
-
# review the [user agreement][
|
|
1757
|
-
# determine the correct setting for
|
|
1802
|
+
# <note markdown="1"> When storing `SearchNearby` responses, you *must* set this field to
|
|
1803
|
+
# `Storage` to comply with the terms of service. These requests will be
|
|
1804
|
+
# charged at a higher rate. Please review the [user agreement][2] and
|
|
1805
|
+
# [service pricing structure][3] to determine the correct setting for
|
|
1806
|
+
# your use case.
|
|
1758
1807
|
#
|
|
1759
1808
|
# </note>
|
|
1760
1809
|
#
|
|
1761
1810
|
#
|
|
1762
1811
|
#
|
|
1763
|
-
# [1]: https://aws.amazon.com/location/
|
|
1764
|
-
# [2]: https://aws.amazon.com/location/
|
|
1812
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
1813
|
+
# [2]: https://aws.amazon.com/location/sla/
|
|
1814
|
+
# [3]: https://aws.amazon.com/location/pricing/
|
|
1765
1815
|
#
|
|
1766
1816
|
# @option params [String] :next_token
|
|
1767
1817
|
# If `nextToken` is returned, there are more results available. The
|
|
@@ -1990,13 +2040,19 @@ module Aws::GeoPlaces
|
|
|
1990
2040
|
# @option params [String] :query_id
|
|
1991
2041
|
# The query Id returned by the suggest API. If passed in the request,
|
|
1992
2042
|
# the SearchText API will preform a SearchText query with the improved
|
|
1993
|
-
# query terms for the original query made to the suggest API.
|
|
2043
|
+
# query terms for the original query made to the suggest API. Not
|
|
2044
|
+
# available in `ap-southeast-1` and `ap-southeast-5` regions for
|
|
2045
|
+
# [GrabMaps][1] customers.
|
|
1994
2046
|
#
|
|
1995
2047
|
# <note markdown="1"> Exactly one of the following fields must be set: `QueryText` or
|
|
1996
2048
|
# `QueryId`.
|
|
1997
2049
|
#
|
|
1998
2050
|
# </note>
|
|
1999
2051
|
#
|
|
2052
|
+
#
|
|
2053
|
+
#
|
|
2054
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2055
|
+
#
|
|
2000
2056
|
# @option params [Integer] :max_results
|
|
2001
2057
|
# An optional limit for the number of results returned in a single call.
|
|
2002
2058
|
#
|
|
@@ -2019,31 +2075,47 @@ module Aws::GeoPlaces
|
|
|
2019
2075
|
#
|
|
2020
2076
|
# @option params [Array<String>] :additional_features
|
|
2021
2077
|
# A list of optional additional parameters, such as time zone, that can
|
|
2022
|
-
# be requested for each result.
|
|
2078
|
+
# be requested for each result. For [GrabMaps][1] customers,
|
|
2079
|
+
# `ap-southeast-1` and `ap-southeast-5` regions support only the
|
|
2080
|
+
# `TimeZone` value.
|
|
2081
|
+
#
|
|
2082
|
+
#
|
|
2083
|
+
#
|
|
2084
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2023
2085
|
#
|
|
2024
2086
|
# @option params [String] :language
|
|
2025
2087
|
# A list of [BCP 47][1] compliant language codes for the results to be
|
|
2026
2088
|
# rendered in. If there is no data for the result in the requested
|
|
2027
2089
|
# language, data will be returned in the default language for the entry.
|
|
2090
|
+
# For [GrabMaps][2] customers, `ap-southeast-1` and `ap-southeast-5`
|
|
2091
|
+
# regions support only the following codes: `en, id, km, lo, ms, my, pt,
|
|
2092
|
+
# th, tl, vi, zh`
|
|
2028
2093
|
#
|
|
2029
2094
|
#
|
|
2030
2095
|
#
|
|
2031
2096
|
# [1]: https://en.wikipedia.org/wiki/IETF_language_tag
|
|
2097
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2032
2098
|
#
|
|
2033
2099
|
# @option params [String] :political_view
|
|
2034
2100
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
2035
2101
|
# country. The political view applies to the results of the request to
|
|
2036
2102
|
# represent unresolved territorial claims through the point of view of
|
|
2037
|
-
# the specified country.
|
|
2103
|
+
# the specified country. Not available in `ap-southeast-1` and
|
|
2104
|
+
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
2105
|
+
#
|
|
2106
|
+
#
|
|
2107
|
+
#
|
|
2108
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2038
2109
|
#
|
|
2039
2110
|
# @option params [String] :intended_use
|
|
2040
|
-
# Indicates if the results will be
|
|
2041
|
-
#
|
|
2111
|
+
# Indicates if the query results will be persisted in customer
|
|
2112
|
+
# infrastructure. Defaults to `SingleUse` (not stored).
|
|
2042
2113
|
#
|
|
2043
|
-
# <note markdown="1">
|
|
2044
|
-
#
|
|
2045
|
-
# the [user agreement][1] and
|
|
2046
|
-
# determine the correct setting for
|
|
2114
|
+
# <note markdown="1"> When storing `SearchText` responses, you *must* set this field to
|
|
2115
|
+
# `Storage` to comply with the terms of service. These requests will be
|
|
2116
|
+
# charged at a higher rate. Please review the [user agreement][1] and
|
|
2117
|
+
# [service pricing structure][2] to determine the correct setting for
|
|
2118
|
+
# your use case.
|
|
2047
2119
|
#
|
|
2048
2120
|
# </note>
|
|
2049
2121
|
#
|
|
@@ -2289,7 +2361,12 @@ module Aws::GeoPlaces
|
|
|
2289
2361
|
#
|
|
2290
2362
|
# @option params [Integer] :max_query_refinements
|
|
2291
2363
|
# Maximum number of query terms to be returned for use with a search
|
|
2292
|
-
# text query.
|
|
2364
|
+
# text query. Not supported in `ap-southeast-1` and `ap-southeast-5`
|
|
2365
|
+
# regions for [GrabMaps][1] customers.
|
|
2366
|
+
#
|
|
2367
|
+
#
|
|
2368
|
+
#
|
|
2369
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2293
2370
|
#
|
|
2294
2371
|
# @option params [Array<Float>] :bias_position
|
|
2295
2372
|
# The position, in longitude and latitude, that the results should be
|
|
@@ -2308,26 +2385,42 @@ module Aws::GeoPlaces
|
|
|
2308
2385
|
#
|
|
2309
2386
|
# @option params [Array<String>] :additional_features
|
|
2310
2387
|
# A list of optional additional parameters, such as time zone, that can
|
|
2311
|
-
# be requested for each result.
|
|
2388
|
+
# be requested for each result. For [GrabMaps][1] customers,
|
|
2389
|
+
# `ap-southeast-1` and `ap-southeast-5` regions support only the `Core`
|
|
2390
|
+
# and `TimeZone` values.
|
|
2391
|
+
#
|
|
2392
|
+
#
|
|
2393
|
+
#
|
|
2394
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2312
2395
|
#
|
|
2313
2396
|
# @option params [String] :language
|
|
2314
2397
|
# A list of [BCP 47][1] compliant language codes for the results to be
|
|
2315
2398
|
# rendered in. If there is no data for the result in the requested
|
|
2316
2399
|
# language, data will be returned in the default language for the entry.
|
|
2400
|
+
# For [GrabMaps][2] customers, `ap-southeast-1` and `ap-southeast-5`
|
|
2401
|
+
# regions support only the following codes: `en, id, km, lo, ms, my, pt,
|
|
2402
|
+
# th, tl, vi, zh`
|
|
2317
2403
|
#
|
|
2318
2404
|
#
|
|
2319
2405
|
#
|
|
2320
2406
|
# [1]: https://en.wikipedia.org/wiki/IETF_language_tag
|
|
2407
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2321
2408
|
#
|
|
2322
2409
|
# @option params [String] :political_view
|
|
2323
2410
|
# The alpha-2 or alpha-3 character code for the political view of a
|
|
2324
2411
|
# country. The political view applies to the results of the request to
|
|
2325
2412
|
# represent unresolved territorial claims through the point of view of
|
|
2326
|
-
# the specified country.
|
|
2413
|
+
# the specified country. Not supported in `ap-southeast-1` and
|
|
2414
|
+
# `ap-southeast-5` regions for [GrabMaps][1] customers.
|
|
2415
|
+
#
|
|
2416
|
+
#
|
|
2417
|
+
#
|
|
2418
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/GrabMaps.html
|
|
2327
2419
|
#
|
|
2328
2420
|
# @option params [String] :intended_use
|
|
2329
|
-
# Indicates if the results will be
|
|
2330
|
-
#
|
|
2421
|
+
# Indicates if the query results will be persisted in customer
|
|
2422
|
+
# infrastructure. Defaults to `SingleUse` (not stored). Currently,
|
|
2423
|
+
# `Suggest` does not support storage of results.
|
|
2331
2424
|
#
|
|
2332
2425
|
# @option params [String] :key
|
|
2333
2426
|
# Optional: The API key to be used for authorization. Either an API key
|
|
@@ -2514,7 +2607,7 @@ module Aws::GeoPlaces
|
|
|
2514
2607
|
tracer: tracer
|
|
2515
2608
|
)
|
|
2516
2609
|
context[:gem_name] = 'aws-sdk-geoplaces'
|
|
2517
|
-
context[:gem_version] = '1.
|
|
2610
|
+
context[:gem_version] = '1.22.0'
|
|
2518
2611
|
Seahorse::Client::Request.new(handlers, context)
|
|
2519
2612
|
end
|
|
2520
2613
|
|
|
@@ -958,7 +958,7 @@ module Aws::GeoPlaces
|
|
|
958
958
|
api.add_operation(:autocomplete, Seahorse::Model::Operation.new.tap do |o|
|
|
959
959
|
o.name = "Autocomplete"
|
|
960
960
|
o.http_method = "POST"
|
|
961
|
-
o.http_request_uri = "/autocomplete"
|
|
961
|
+
o.http_request_uri = "/v2/autocomplete"
|
|
962
962
|
o.input = Shapes::ShapeRef.new(shape: AutocompleteRequest)
|
|
963
963
|
o.output = Shapes::ShapeRef.new(shape: AutocompleteResponse)
|
|
964
964
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -970,7 +970,7 @@ module Aws::GeoPlaces
|
|
|
970
970
|
api.add_operation(:geocode, Seahorse::Model::Operation.new.tap do |o|
|
|
971
971
|
o.name = "Geocode"
|
|
972
972
|
o.http_method = "POST"
|
|
973
|
-
o.http_request_uri = "/geocode"
|
|
973
|
+
o.http_request_uri = "/v2/geocode"
|
|
974
974
|
o.input = Shapes::ShapeRef.new(shape: GeocodeRequest)
|
|
975
975
|
o.output = Shapes::ShapeRef.new(shape: GeocodeResponse)
|
|
976
976
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -982,7 +982,7 @@ module Aws::GeoPlaces
|
|
|
982
982
|
api.add_operation(:get_place, Seahorse::Model::Operation.new.tap do |o|
|
|
983
983
|
o.name = "GetPlace"
|
|
984
984
|
o.http_method = "GET"
|
|
985
|
-
o.http_request_uri = "/place/{PlaceId}"
|
|
985
|
+
o.http_request_uri = "/v2/place/{PlaceId}"
|
|
986
986
|
o.input = Shapes::ShapeRef.new(shape: GetPlaceRequest)
|
|
987
987
|
o.output = Shapes::ShapeRef.new(shape: GetPlaceResponse)
|
|
988
988
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -994,7 +994,7 @@ module Aws::GeoPlaces
|
|
|
994
994
|
api.add_operation(:reverse_geocode, Seahorse::Model::Operation.new.tap do |o|
|
|
995
995
|
o.name = "ReverseGeocode"
|
|
996
996
|
o.http_method = "POST"
|
|
997
|
-
o.http_request_uri = "/reverse-geocode"
|
|
997
|
+
o.http_request_uri = "/v2/reverse-geocode"
|
|
998
998
|
o.input = Shapes::ShapeRef.new(shape: ReverseGeocodeRequest)
|
|
999
999
|
o.output = Shapes::ShapeRef.new(shape: ReverseGeocodeResponse)
|
|
1000
1000
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -1006,7 +1006,7 @@ module Aws::GeoPlaces
|
|
|
1006
1006
|
api.add_operation(:search_nearby, Seahorse::Model::Operation.new.tap do |o|
|
|
1007
1007
|
o.name = "SearchNearby"
|
|
1008
1008
|
o.http_method = "POST"
|
|
1009
|
-
o.http_request_uri = "/search-nearby"
|
|
1009
|
+
o.http_request_uri = "/v2/search-nearby"
|
|
1010
1010
|
o.input = Shapes::ShapeRef.new(shape: SearchNearbyRequest)
|
|
1011
1011
|
o.output = Shapes::ShapeRef.new(shape: SearchNearbyResponse)
|
|
1012
1012
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -1018,7 +1018,7 @@ module Aws::GeoPlaces
|
|
|
1018
1018
|
api.add_operation(:search_text, Seahorse::Model::Operation.new.tap do |o|
|
|
1019
1019
|
o.name = "SearchText"
|
|
1020
1020
|
o.http_method = "POST"
|
|
1021
|
-
o.http_request_uri = "/search-text"
|
|
1021
|
+
o.http_request_uri = "/v2/search-text"
|
|
1022
1022
|
o.input = Shapes::ShapeRef.new(shape: SearchTextRequest)
|
|
1023
1023
|
o.output = Shapes::ShapeRef.new(shape: SearchTextResponse)
|
|
1024
1024
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -1030,7 +1030,7 @@ module Aws::GeoPlaces
|
|
|
1030
1030
|
api.add_operation(:suggest, Seahorse::Model::Operation.new.tap do |o|
|
|
1031
1031
|
o.name = "Suggest"
|
|
1032
1032
|
o.http_method = "POST"
|
|
1033
|
-
o.http_request_uri = "/suggest"
|
|
1033
|
+
o.http_request_uri = "/v2/suggest"
|
|
1034
1034
|
o.input = Shapes::ShapeRef.new(shape: SuggestRequest)
|
|
1035
1035
|
o.output = Shapes::ShapeRef.new(shape: SuggestResponse)
|
|
1036
1036
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
@@ -22,28 +22,28 @@ module Aws::GeoPlaces
|
|
|
22
22
|
if Aws::Endpoints::Matchers.set?(parameters.region)
|
|
23
23
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
|
|
24
24
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
26
26
|
end
|
|
27
27
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
28
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
28
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
29
29
|
end
|
|
30
30
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
31
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
31
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
32
32
|
end
|
|
33
33
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
34
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
34
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
35
35
|
end
|
|
36
36
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
38
38
|
end
|
|
39
39
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
41
41
|
end
|
|
42
42
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}
|
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
44
|
end
|
|
45
45
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
47
47
|
end
|
|
48
48
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
|
49
49
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|