aws-sdk-locationservice 1.78.0 → 1.79.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-locationservice/client.rb +746 -59
- data/lib/aws-sdk-locationservice/client_api.rb +47 -25
- data/lib/aws-sdk-locationservice/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-locationservice/types.rb +73 -22
- data/lib/aws-sdk-locationservice.rb +1 -1
- data/sig/client.rbs +24 -2
- data/sig/types.rbs +30 -17
- metadata +1 -1
|
@@ -872,21 +872,45 @@ module Aws::LocationService
|
|
|
872
872
|
req.send_request(options)
|
|
873
873
|
end
|
|
874
874
|
|
|
875
|
-
#
|
|
875
|
+
# This operation is no longer current and may be deprecated in the
|
|
876
|
+
# future. We recommend you upgrade to [ `CalculateRoutes`
|
|
877
|
+
# ](/location/latest/APIReference/API_CalculateRoutes.html) or [
|
|
878
|
+
# `CalculateIsolines`
|
|
879
|
+
# ](/location/latest/APIReference/API_CalculateIsolines.html) unless you
|
|
880
|
+
# require Grab data.
|
|
881
|
+
#
|
|
882
|
+
# * `CalculateRoute` is part of a previous Amazon Location Service
|
|
883
|
+
# Routes API (version 1) which has been superseded by a more
|
|
884
|
+
# intuitive, powerful, and complete API (version 2).
|
|
885
|
+
#
|
|
886
|
+
# * The version 2 `CalculateRoutes` operation gives better results for
|
|
887
|
+
# point-to-point routing, while the version 2 `CalculateIsolines`
|
|
888
|
+
# operation adds support for calculating service areas and travel time
|
|
889
|
+
# envelopes.
|
|
890
|
+
#
|
|
891
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
892
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
893
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
894
|
+
#
|
|
895
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
896
|
+
# recommend you continue using API version 1 when using Grab.
|
|
897
|
+
#
|
|
898
|
+
# [Calculates a route][1] given the following required parameters:
|
|
876
899
|
# `DeparturePosition` and `DestinationPosition`. Requires that you first
|
|
877
900
|
# [create a route calculator resource][2].
|
|
878
901
|
#
|
|
879
|
-
#
|
|
902
|
+
# By default, a request that doesn't specify a departure time uses the
|
|
880
903
|
# best time of day to travel with the best traffic conditions when
|
|
881
904
|
# calculating the route.
|
|
882
905
|
#
|
|
883
|
-
#
|
|
906
|
+
# Additional options include:
|
|
884
907
|
#
|
|
885
|
-
#
|
|
908
|
+
# * [Specifying a departure time][3] using either `DepartureTime` or
|
|
886
909
|
# `DepartNow`. This calculates a route based on predictive traffic
|
|
887
910
|
# data at the given time.
|
|
888
911
|
#
|
|
889
|
-
# <note markdown="1"> You can't specify both `DepartureTime` and
|
|
912
|
+
# <note markdown="1"> You can't specify both `DepartureTime` and
|
|
913
|
+
# `DepartNow` in a single
|
|
890
914
|
# request. Specifying both parameters returns a validation error.
|
|
891
915
|
#
|
|
892
916
|
# </note>
|
|
@@ -896,7 +920,8 @@ module Aws::LocationService
|
|
|
896
920
|
# specify additional route preferences in `CarModeOptions` if
|
|
897
921
|
# traveling by `Car`, or `TruckModeOptions` if traveling by `Truck`.
|
|
898
922
|
#
|
|
899
|
-
# <note markdown="1"> If you specify `walking` for the travel mode and
|
|
923
|
+
# <note markdown="1"> If you specify `walking` for the travel mode and
|
|
924
|
+
# your data provider
|
|
900
925
|
# is Esri, the start and destination must be within 40km.
|
|
901
926
|
#
|
|
902
927
|
# </note>
|
|
@@ -1159,7 +1184,32 @@ module Aws::LocationService
|
|
|
1159
1184
|
req.send_request(options)
|
|
1160
1185
|
end
|
|
1161
1186
|
|
|
1162
|
-
#
|
|
1187
|
+
# This operation is no longer current and may be deprecated in the
|
|
1188
|
+
# future. We recommend you upgrade to the [V2 `CalculateRouteMatrix`
|
|
1189
|
+
# ](/location/latest/APIReference/API_CalculateRouteMatrix.html) unless
|
|
1190
|
+
# you require Grab data.
|
|
1191
|
+
#
|
|
1192
|
+
# * This version of `CalculateRouteMatrix` is part of a previous Amazon
|
|
1193
|
+
# Location Service Routes API (version 1) which has been superseded by
|
|
1194
|
+
# a more intuitive, powerful, and complete API (version 2).
|
|
1195
|
+
#
|
|
1196
|
+
# * The version 2 `CalculateRouteMatrix` operation gives better results
|
|
1197
|
+
# for matrix routing calculations.
|
|
1198
|
+
#
|
|
1199
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
1200
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
1201
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
1202
|
+
#
|
|
1203
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
1204
|
+
# recommend you continue using API version 1 when using Grab.
|
|
1205
|
+
#
|
|
1206
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
1207
|
+
#
|
|
1208
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
1209
|
+
# or the [Developer
|
|
1210
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
1211
|
+
#
|
|
1212
|
+
# [ Calculates a route matrix][1] given the following required
|
|
1163
1213
|
# parameters: `DeparturePositions` and `DestinationPositions`.
|
|
1164
1214
|
# `CalculateRouteMatrix` calculates routes and returns the travel time
|
|
1165
1215
|
# and travel distance from each departure position to each destination
|
|
@@ -1170,24 +1220,26 @@ module Aws::LocationService
|
|
|
1170
1220
|
# calculated) will be the number of `DeparturePositions` times the
|
|
1171
1221
|
# number of `DestinationPositions`.
|
|
1172
1222
|
#
|
|
1173
|
-
#
|
|
1223
|
+
# <note markdown="1"> Your account is charged for each route
|
|
1224
|
+
# calculated, not the number of
|
|
1174
1225
|
# requests.
|
|
1175
1226
|
#
|
|
1176
1227
|
# </note>
|
|
1177
1228
|
#
|
|
1178
|
-
#
|
|
1229
|
+
# Requires that you first [create a route calculator resource][2].
|
|
1179
1230
|
#
|
|
1180
|
-
#
|
|
1231
|
+
# By default, a request that doesn't specify a departure time uses the
|
|
1181
1232
|
# best time of day to travel with the best traffic conditions when
|
|
1182
1233
|
# calculating routes.
|
|
1183
1234
|
#
|
|
1184
|
-
#
|
|
1235
|
+
# Additional options include:
|
|
1185
1236
|
#
|
|
1186
|
-
#
|
|
1237
|
+
# * [ Specifying a departure time][3] using either `DepartureTime` or
|
|
1187
1238
|
# `DepartNow`. This calculates routes based on predictive traffic data
|
|
1188
1239
|
# at the given time.
|
|
1189
1240
|
#
|
|
1190
|
-
# <note markdown="1"> You can't specify both `DepartureTime` and
|
|
1241
|
+
# <note markdown="1"> You can't specify both `DepartureTime` and
|
|
1242
|
+
# `DepartNow` in a single
|
|
1191
1243
|
# request. Specifying both parameters returns a validation error.
|
|
1192
1244
|
#
|
|
1193
1245
|
# </note>
|
|
@@ -1503,13 +1555,12 @@ module Aws::LocationService
|
|
|
1503
1555
|
# lets you grant actions for Amazon Location resources to the API key
|
|
1504
1556
|
# bearer.
|
|
1505
1557
|
#
|
|
1506
|
-
#
|
|
1507
|
-
#
|
|
1508
|
-
# </note>
|
|
1558
|
+
# For more information, see [Use API keys to authenticate][1] in the
|
|
1559
|
+
# *Amazon Location Service Developer Guide*.
|
|
1509
1560
|
#
|
|
1510
1561
|
#
|
|
1511
1562
|
#
|
|
1512
|
-
# [1]: https://docs.aws.amazon.com/location/
|
|
1563
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
|
|
1513
1564
|
#
|
|
1514
1565
|
# @option params [required, String] :key_name
|
|
1515
1566
|
# A custom name for the API key resource.
|
|
@@ -1579,6 +1630,17 @@ module Aws::LocationService
|
|
|
1579
1630
|
# allow_actions: ["ApiKeyAction"], # required
|
|
1580
1631
|
# allow_resources: ["GeoArnV2"], # required
|
|
1581
1632
|
# allow_referers: ["RefererPattern"],
|
|
1633
|
+
# allow_android_apps: [
|
|
1634
|
+
# {
|
|
1635
|
+
# package: "AndroidPackageName", # required
|
|
1636
|
+
# certificate_fingerprint: "Sha1CertificateFingerprint", # required
|
|
1637
|
+
# },
|
|
1638
|
+
# ],
|
|
1639
|
+
# allow_apple_apps: [
|
|
1640
|
+
# {
|
|
1641
|
+
# bundle_id: "AppleBundleId", # required
|
|
1642
|
+
# },
|
|
1643
|
+
# ],
|
|
1582
1644
|
# },
|
|
1583
1645
|
# description: "ResourceDescription",
|
|
1584
1646
|
# expire_time: Time.now,
|
|
@@ -1604,20 +1666,44 @@ module Aws::LocationService
|
|
|
1604
1666
|
req.send_request(options)
|
|
1605
1667
|
end
|
|
1606
1668
|
|
|
1607
|
-
#
|
|
1669
|
+
# This operation is no longer current and may be deprecated in the
|
|
1670
|
+
# future. We recommend upgrading to the Maps API V2 unless you require
|
|
1671
|
+
# `Grab` data.
|
|
1672
|
+
#
|
|
1673
|
+
# * `CreateMap` is part of a previous Amazon Location Service Maps API
|
|
1674
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
1675
|
+
# and complete API (version 2).
|
|
1676
|
+
#
|
|
1677
|
+
# * The Maps API version 2 has a simplified interface that can be used
|
|
1678
|
+
# without creating or managing map resources.
|
|
1679
|
+
#
|
|
1680
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
1681
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
1682
|
+
# `location`.
|
|
1683
|
+
#
|
|
1684
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
1685
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
1686
|
+
#
|
|
1687
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][1]
|
|
1688
|
+
# or the [Developer Guide][2].
|
|
1689
|
+
#
|
|
1690
|
+
# Creates a map resource in your Amazon Web Services account, which
|
|
1608
1691
|
# provides map tiles of different styles sourced from global location
|
|
1609
1692
|
# data providers.
|
|
1610
1693
|
#
|
|
1611
|
-
#
|
|
1694
|
+
# <note markdown="1"> If your application is tracking or routing assets
|
|
1695
|
+
# you use in your
|
|
1612
1696
|
# business, such as delivery vehicles or employees, you must not use
|
|
1613
1697
|
# Esri as your geolocation provider. See section 82 of the [Amazon Web
|
|
1614
|
-
# Services service terms][
|
|
1698
|
+
# Services service terms][3] for more details.
|
|
1615
1699
|
#
|
|
1616
1700
|
# </note>
|
|
1617
1701
|
#
|
|
1618
1702
|
#
|
|
1619
1703
|
#
|
|
1620
|
-
# [1]:
|
|
1704
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
1705
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
1706
|
+
# [3]: http://aws.amazon.com/service-terms
|
|
1621
1707
|
#
|
|
1622
1708
|
# @option params [required, String] :map_name
|
|
1623
1709
|
# The name for the map resource.
|
|
@@ -1702,14 +1788,39 @@ module Aws::LocationService
|
|
|
1702
1788
|
req.send_request(options)
|
|
1703
1789
|
end
|
|
1704
1790
|
|
|
1705
|
-
#
|
|
1791
|
+
# This operation is no longer current and may be deprecated in the
|
|
1792
|
+
# future. We recommend you upgrade to the Places API V2 unless you
|
|
1793
|
+
# require Grab data.
|
|
1794
|
+
#
|
|
1795
|
+
# * `CreatePlaceIndex` is part of a previous Amazon Location Service
|
|
1796
|
+
# Places API (version 1) which has been superseded by a more
|
|
1797
|
+
# intuitive, powerful, and complete API (version 2).
|
|
1798
|
+
#
|
|
1799
|
+
# * The Places API version 2 has a simplified interface that can be used
|
|
1800
|
+
# without creating or managing place index resources.
|
|
1801
|
+
#
|
|
1802
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
1803
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
1804
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
1805
|
+
#
|
|
1806
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
1807
|
+
# recommend you continue using API version 1 when using Grab.
|
|
1808
|
+
#
|
|
1809
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
1810
|
+
#
|
|
1811
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
1812
|
+
# or the [Developer
|
|
1813
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
1814
|
+
#
|
|
1815
|
+
# Creates a place index resource in your Amazon Web Services account.
|
|
1706
1816
|
# Use a place index resource to geocode addresses and other text queries
|
|
1707
1817
|
# by using the `SearchPlaceIndexForText` operation, and reverse geocode
|
|
1708
1818
|
# coordinates by using the `SearchPlaceIndexForPosition` operation, and
|
|
1709
1819
|
# enable autosuggestions by using the `SearchPlaceIndexForSuggestions`
|
|
1710
1820
|
# operation.
|
|
1711
1821
|
#
|
|
1712
|
-
#
|
|
1822
|
+
# <note markdown="1"> If your application is tracking or routing assets
|
|
1823
|
+
# you use in your
|
|
1713
1824
|
# business, such as delivery vehicles or employees, you must not use
|
|
1714
1825
|
# Esri as your geolocation provider. See section 82 of the [Amazon Web
|
|
1715
1826
|
# Services service terms][1] for more details.
|
|
@@ -1843,14 +1954,39 @@ module Aws::LocationService
|
|
|
1843
1954
|
req.send_request(options)
|
|
1844
1955
|
end
|
|
1845
1956
|
|
|
1846
|
-
#
|
|
1957
|
+
# This operation is no longer current and may be deprecated in the
|
|
1958
|
+
# future. We recommend you upgrade to the Routes API V2 unless you
|
|
1959
|
+
# require Grab data.
|
|
1960
|
+
#
|
|
1961
|
+
# * `CreateRouteCalculator` is part of a previous Amazon Location
|
|
1962
|
+
# Service Routes API (version 1) which has been superseded by a more
|
|
1963
|
+
# intuitive, powerful, and complete API (version 2).
|
|
1964
|
+
#
|
|
1965
|
+
# * The Routes API version 2 has a simplified interface that can be used
|
|
1966
|
+
# without creating or managing route calculator resources.
|
|
1967
|
+
#
|
|
1968
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
1969
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
1970
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
1971
|
+
#
|
|
1972
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
1973
|
+
# recommend you continue using API version 1 when using Grab.
|
|
1974
|
+
#
|
|
1975
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
1976
|
+
#
|
|
1977
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
1978
|
+
# or the [Developer
|
|
1979
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
1980
|
+
#
|
|
1981
|
+
# Creates a route calculator resource in your Amazon Web Services
|
|
1847
1982
|
# account.
|
|
1848
1983
|
#
|
|
1849
|
-
#
|
|
1984
|
+
# You can send requests to a route calculator resource to estimate
|
|
1850
1985
|
# travel time, distance, and get directions. A route calculator sources
|
|
1851
1986
|
# traffic and road network data from your chosen data provider.
|
|
1852
1987
|
#
|
|
1853
|
-
#
|
|
1988
|
+
# <note markdown="1"> If your application is tracking or routing assets
|
|
1989
|
+
# you use in your
|
|
1854
1990
|
# business, such as delivery vehicles or employees, you must not use
|
|
1855
1991
|
# Esri as your geolocation provider. See section 82 of the [Amazon Web
|
|
1856
1992
|
# Services service terms][1] for more details.
|
|
@@ -2166,6 +2302,13 @@ module Aws::LocationService
|
|
|
2166
2302
|
# Deletes the specified API key. The API key must have been deactivated
|
|
2167
2303
|
# more than 90 days previously.
|
|
2168
2304
|
#
|
|
2305
|
+
# For more information, see [Use API keys to authenticate][1] in the
|
|
2306
|
+
# *Amazon Location Service Developer Guide*.
|
|
2307
|
+
#
|
|
2308
|
+
#
|
|
2309
|
+
#
|
|
2310
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
|
|
2311
|
+
#
|
|
2169
2312
|
# @option params [required, String] :key_name
|
|
2170
2313
|
# The name of the API key to delete.
|
|
2171
2314
|
#
|
|
@@ -2201,13 +2344,40 @@ module Aws::LocationService
|
|
|
2201
2344
|
req.send_request(options)
|
|
2202
2345
|
end
|
|
2203
2346
|
|
|
2204
|
-
#
|
|
2347
|
+
# This operation is no longer current and may be deprecated in the
|
|
2348
|
+
# future. We recommend upgrading to the Maps API V2 unless you require
|
|
2349
|
+
# `Grab` data.
|
|
2350
|
+
#
|
|
2351
|
+
# * `DeleteMap` is part of a previous Amazon Location Service Maps API
|
|
2352
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
2353
|
+
# and complete API (version 2).
|
|
2205
2354
|
#
|
|
2206
|
-
#
|
|
2355
|
+
# * The Maps API version 2 has a simplified interface that can be used
|
|
2356
|
+
# without creating or managing map resources.
|
|
2357
|
+
#
|
|
2358
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
2359
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
2360
|
+
# `location`.
|
|
2361
|
+
#
|
|
2362
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
2363
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
2364
|
+
#
|
|
2365
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][1]
|
|
2366
|
+
# or the [Developer Guide][2].
|
|
2367
|
+
#
|
|
2368
|
+
# Deletes a map resource from your Amazon Web Services account.
|
|
2369
|
+
#
|
|
2370
|
+
# <note markdown="1"> This operation deletes the resource permanently.
|
|
2371
|
+
# If the map is being
|
|
2207
2372
|
# used in an application, the map may not render.
|
|
2208
2373
|
#
|
|
2209
2374
|
# </note>
|
|
2210
2375
|
#
|
|
2376
|
+
#
|
|
2377
|
+
#
|
|
2378
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
2379
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
2380
|
+
#
|
|
2211
2381
|
# @option params [required, String] :map_name
|
|
2212
2382
|
# The name of the map resource to be deleted.
|
|
2213
2383
|
#
|
|
@@ -2228,9 +2398,33 @@ module Aws::LocationService
|
|
|
2228
2398
|
req.send_request(options)
|
|
2229
2399
|
end
|
|
2230
2400
|
|
|
2231
|
-
#
|
|
2401
|
+
# This operation is no longer current and may be deprecated in the
|
|
2402
|
+
# future. We recommend you upgrade to the Places API V2 unless you
|
|
2403
|
+
# require Grab data.
|
|
2232
2404
|
#
|
|
2233
|
-
#
|
|
2405
|
+
# * `DeletePlaceIndex` is part of a previous Amazon Location Service
|
|
2406
|
+
# Places API (version 1) which has been superseded by a more
|
|
2407
|
+
# intuitive, powerful, and complete API (version 2).
|
|
2408
|
+
#
|
|
2409
|
+
# * The Places API version 2 has a simplified interface that can be used
|
|
2410
|
+
# without creating or managing place index resources.
|
|
2411
|
+
#
|
|
2412
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
2413
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
2414
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
2415
|
+
#
|
|
2416
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
2417
|
+
# recommend you continue using API version 1 when using Grab.
|
|
2418
|
+
#
|
|
2419
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
2420
|
+
#
|
|
2421
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
2422
|
+
# or the [Developer
|
|
2423
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
2424
|
+
#
|
|
2425
|
+
# Deletes a place index resource from your Amazon Web Services account.
|
|
2426
|
+
#
|
|
2427
|
+
# <note markdown="1"> This operation deletes the resource permanently.
|
|
2234
2428
|
#
|
|
2235
2429
|
# </note>
|
|
2236
2430
|
#
|
|
@@ -2254,10 +2448,34 @@ module Aws::LocationService
|
|
|
2254
2448
|
req.send_request(options)
|
|
2255
2449
|
end
|
|
2256
2450
|
|
|
2257
|
-
#
|
|
2451
|
+
# This operation is no longer current and may be deprecated in the
|
|
2452
|
+
# future. We recommend you upgrade to the Routes API V2 unless you
|
|
2453
|
+
# require Grab data.
|
|
2454
|
+
#
|
|
2455
|
+
# * `DeleteRouteCalculator` is part of a previous Amazon Location
|
|
2456
|
+
# Service Routes API (version 1) which has been superseded by a more
|
|
2457
|
+
# intuitive, powerful, and complete API (version 2).
|
|
2458
|
+
#
|
|
2459
|
+
# * The Routes API version 2 has a simplified interface that can be used
|
|
2460
|
+
# without creating or managing route calculator resources.
|
|
2461
|
+
#
|
|
2462
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
2463
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
2464
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
2465
|
+
#
|
|
2466
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
2467
|
+
# recommend you continue using API version 1 when using Grab.
|
|
2468
|
+
#
|
|
2469
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
2470
|
+
#
|
|
2471
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
2472
|
+
# or the [Developer
|
|
2473
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
2474
|
+
#
|
|
2475
|
+
# Deletes a route calculator resource from your Amazon Web Services
|
|
2258
2476
|
# account.
|
|
2259
2477
|
#
|
|
2260
|
-
#
|
|
2478
|
+
# <note markdown="1"> This operation deletes the resource permanently.
|
|
2261
2479
|
#
|
|
2262
2480
|
# </note>
|
|
2263
2481
|
#
|
|
@@ -2358,6 +2576,13 @@ module Aws::LocationService
|
|
|
2358
2576
|
|
|
2359
2577
|
# Retrieves the API key resource details.
|
|
2360
2578
|
#
|
|
2579
|
+
# For more information, see [Use API keys to authenticate][1] in the
|
|
2580
|
+
# *Amazon Location Service Developer Guide*.
|
|
2581
|
+
#
|
|
2582
|
+
#
|
|
2583
|
+
#
|
|
2584
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
|
|
2585
|
+
#
|
|
2361
2586
|
# @option params [required, String] :key_name
|
|
2362
2587
|
# The name of the API key resource.
|
|
2363
2588
|
#
|
|
@@ -2390,6 +2615,11 @@ module Aws::LocationService
|
|
|
2390
2615
|
# resp.restrictions.allow_resources[0] #=> String
|
|
2391
2616
|
# resp.restrictions.allow_referers #=> Array
|
|
2392
2617
|
# resp.restrictions.allow_referers[0] #=> String
|
|
2618
|
+
# resp.restrictions.allow_android_apps #=> Array
|
|
2619
|
+
# resp.restrictions.allow_android_apps[0].package #=> String
|
|
2620
|
+
# resp.restrictions.allow_android_apps[0].certificate_fingerprint #=> String
|
|
2621
|
+
# resp.restrictions.allow_apple_apps #=> Array
|
|
2622
|
+
# resp.restrictions.allow_apple_apps[0].bundle_id #=> String
|
|
2393
2623
|
# resp.create_time #=> Time
|
|
2394
2624
|
# resp.expire_time #=> Time
|
|
2395
2625
|
# resp.update_time #=> Time
|
|
@@ -2406,7 +2636,34 @@ module Aws::LocationService
|
|
|
2406
2636
|
req.send_request(options)
|
|
2407
2637
|
end
|
|
2408
2638
|
|
|
2409
|
-
#
|
|
2639
|
+
# This operation is no longer current and may be deprecated in the
|
|
2640
|
+
# future. We recommend upgrading to the Maps API V2 unless you require
|
|
2641
|
+
# `Grab` data.
|
|
2642
|
+
#
|
|
2643
|
+
# * `DescribeMap` is part of a previous Amazon Location Service Maps
|
|
2644
|
+
# API
|
|
2645
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
2646
|
+
# and complete API (version 2).
|
|
2647
|
+
#
|
|
2648
|
+
# * The Maps API version 2 has a simplified interface that can be used
|
|
2649
|
+
# without creating or managing map resources.
|
|
2650
|
+
#
|
|
2651
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
2652
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
2653
|
+
# `location`.
|
|
2654
|
+
#
|
|
2655
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
2656
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
2657
|
+
#
|
|
2658
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][1]
|
|
2659
|
+
# or the [Developer Guide][2].
|
|
2660
|
+
#
|
|
2661
|
+
# Retrieves the map resource details.
|
|
2662
|
+
#
|
|
2663
|
+
#
|
|
2664
|
+
#
|
|
2665
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
2666
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
2410
2667
|
#
|
|
2411
2668
|
# @option params [required, String] :map_name
|
|
2412
2669
|
# The name of the map resource.
|
|
@@ -2454,7 +2711,31 @@ module Aws::LocationService
|
|
|
2454
2711
|
req.send_request(options)
|
|
2455
2712
|
end
|
|
2456
2713
|
|
|
2457
|
-
#
|
|
2714
|
+
# This operation is no longer current and may be deprecated in the
|
|
2715
|
+
# future. We recommend you upgrade to the Places API V2 unless you
|
|
2716
|
+
# require Grab data.
|
|
2717
|
+
#
|
|
2718
|
+
# * `DescribePlaceIndex` is part of a previous Amazon Location Service
|
|
2719
|
+
# Places API (version 1) which has been superseded by a more
|
|
2720
|
+
# intuitive, powerful, and complete API (version 2).
|
|
2721
|
+
#
|
|
2722
|
+
# * The Places API version 2 has a simplified interface that can be used
|
|
2723
|
+
# without creating or managing place index resources.
|
|
2724
|
+
#
|
|
2725
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
2726
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
2727
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
2728
|
+
#
|
|
2729
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
2730
|
+
# recommend you continue using API version 1 when using Grab.
|
|
2731
|
+
#
|
|
2732
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
2733
|
+
#
|
|
2734
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
2735
|
+
# or the [Developer
|
|
2736
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
2737
|
+
#
|
|
2738
|
+
# Retrieves the place index resource details.
|
|
2458
2739
|
#
|
|
2459
2740
|
# @option params [required, String] :index_name
|
|
2460
2741
|
# The name of the place index resource.
|
|
@@ -2499,7 +2780,31 @@ module Aws::LocationService
|
|
|
2499
2780
|
req.send_request(options)
|
|
2500
2781
|
end
|
|
2501
2782
|
|
|
2502
|
-
#
|
|
2783
|
+
# This operation is no longer current and may be deprecated in the
|
|
2784
|
+
# future. We recommend you upgrade to the Routes API V2 unless you
|
|
2785
|
+
# require Grab data.
|
|
2786
|
+
#
|
|
2787
|
+
# * `DescribeRouteCalculator` is part of a previous Amazon Location
|
|
2788
|
+
# Service Routes API (version 1) which has been superseded by a more
|
|
2789
|
+
# intuitive, powerful, and complete API (version 2).
|
|
2790
|
+
#
|
|
2791
|
+
# * The Routes API version 2 has a simplified interface that can be used
|
|
2792
|
+
# without creating or managing route calculator resources.
|
|
2793
|
+
#
|
|
2794
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
2795
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
2796
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
2797
|
+
#
|
|
2798
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
2799
|
+
# recommend you continue using API version 1 when using Grab.
|
|
2800
|
+
#
|
|
2801
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
2802
|
+
#
|
|
2803
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
2804
|
+
# or the [Developer
|
|
2805
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
2806
|
+
#
|
|
2807
|
+
# Retrieves the route calculator resource details.
|
|
2503
2808
|
#
|
|
2504
2809
|
# @option params [required, String] :calculator_name
|
|
2505
2810
|
# The name of the route calculator resource.
|
|
@@ -2957,7 +3262,34 @@ module Aws::LocationService
|
|
|
2957
3262
|
req.send_request(options)
|
|
2958
3263
|
end
|
|
2959
3264
|
|
|
2960
|
-
#
|
|
3265
|
+
# This operation is no longer current and may be deprecated in the
|
|
3266
|
+
# future. We recommend upgrading to [ `GetGlyphs` ][1] unless you
|
|
3267
|
+
# require `Grab` data.
|
|
3268
|
+
#
|
|
3269
|
+
# * `GetMapGlyphs` is part of a previous Amazon Location Service Maps
|
|
3270
|
+
# API (version 1) which has been superseded by a more intuitive,
|
|
3271
|
+
# powerful, and complete API (version 2).
|
|
3272
|
+
#
|
|
3273
|
+
# * The version 2 `GetGlyphs` operation gives a better user experience
|
|
3274
|
+
# and is compatible with the remainder of the V2 Maps API.
|
|
3275
|
+
#
|
|
3276
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
3277
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
3278
|
+
# `location`.
|
|
3279
|
+
#
|
|
3280
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
3281
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
3282
|
+
#
|
|
3283
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][2]
|
|
3284
|
+
# or the [Developer Guide][3].
|
|
3285
|
+
#
|
|
3286
|
+
# Retrieves glyphs used to display labels on a map.
|
|
3287
|
+
#
|
|
3288
|
+
#
|
|
3289
|
+
#
|
|
3290
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetGlyphs.html
|
|
3291
|
+
# [2]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
3292
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
2961
3293
|
#
|
|
2962
3294
|
# @option params [required, String] :map_name
|
|
2963
3295
|
# The map resource associated with the glyph file.
|
|
@@ -3075,10 +3407,38 @@ module Aws::LocationService
|
|
|
3075
3407
|
req.send_request(options, &block)
|
|
3076
3408
|
end
|
|
3077
3409
|
|
|
3078
|
-
#
|
|
3410
|
+
# This operation is no longer current and may be deprecated in the
|
|
3411
|
+
# future. We recommend upgrading to [ `GetSprites` ][1] unless you
|
|
3412
|
+
# require `Grab` data.
|
|
3413
|
+
#
|
|
3414
|
+
# * `GetMapSprites` is part of a previous Amazon Location Service Maps
|
|
3415
|
+
# API (version 1) which has been superseded by a more intuitive,
|
|
3416
|
+
# powerful, and complete API (version 2).
|
|
3417
|
+
#
|
|
3418
|
+
# * The version 2 `GetSprites` operation gives a better user experience
|
|
3419
|
+
# and is compatible with the remainder of the V2 Maps API.
|
|
3420
|
+
#
|
|
3421
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
3422
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
3423
|
+
# `location`.
|
|
3424
|
+
#
|
|
3425
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
3426
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
3427
|
+
#
|
|
3428
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][2]
|
|
3429
|
+
# or the [Developer Guide][3].
|
|
3430
|
+
#
|
|
3431
|
+
# Retrieves the sprite sheet corresponding to a map resource. The
|
|
3432
|
+
# sprite
|
|
3079
3433
|
# sheet is a PNG image paired with a JSON document describing the
|
|
3080
3434
|
# offsets of individual icons that will be displayed on a rendered map.
|
|
3081
3435
|
#
|
|
3436
|
+
#
|
|
3437
|
+
#
|
|
3438
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetSprites.html
|
|
3439
|
+
# [2]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
3440
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
3441
|
+
#
|
|
3082
3442
|
# @option params [required, String] :map_name
|
|
3083
3443
|
# The map resource associated with the sprite file.
|
|
3084
3444
|
#
|
|
@@ -3133,13 +3493,40 @@ module Aws::LocationService
|
|
|
3133
3493
|
req.send_request(options, &block)
|
|
3134
3494
|
end
|
|
3135
3495
|
|
|
3136
|
-
#
|
|
3496
|
+
# This operation is no longer current and may be deprecated in the
|
|
3497
|
+
# future. We recommend upgrading to [ `GetStyleDescriptor` ][1] unless
|
|
3498
|
+
# you require `Grab` data.
|
|
3499
|
+
#
|
|
3500
|
+
# * `GetMapStyleDescriptor` is part of a previous Amazon Location
|
|
3501
|
+
# Service Maps API (version 1) which has been superseded by a more
|
|
3502
|
+
# intuitive, powerful, and complete API (version 2).
|
|
3503
|
+
#
|
|
3504
|
+
# * The version 2 `GetStyleDescriptor` operation gives a better user
|
|
3505
|
+
# experience and is compatible with the remainder of the V2 Maps API.
|
|
3506
|
+
#
|
|
3507
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
3508
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
3509
|
+
# `location`.
|
|
3137
3510
|
#
|
|
3138
|
-
#
|
|
3511
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
3512
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
3513
|
+
#
|
|
3514
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][2]
|
|
3515
|
+
# or the [Developer Guide][3].
|
|
3516
|
+
#
|
|
3517
|
+
# Retrieves the map style descriptor from a map resource.
|
|
3518
|
+
#
|
|
3519
|
+
# The style descriptor contains specifications on how features render on
|
|
3139
3520
|
# a map. For example, what data to display, what order to display the
|
|
3140
3521
|
# data in, and the style for the data. Style descriptors follow the
|
|
3141
3522
|
# Mapbox Style Specification.
|
|
3142
3523
|
#
|
|
3524
|
+
#
|
|
3525
|
+
#
|
|
3526
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetStyleDescriptor.html
|
|
3527
|
+
# [2]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
3528
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
3529
|
+
#
|
|
3143
3530
|
# @option params [required, String] :map_name
|
|
3144
3531
|
# The map resource to retrieve the style descriptor from.
|
|
3145
3532
|
#
|
|
@@ -3178,15 +3565,43 @@ module Aws::LocationService
|
|
|
3178
3565
|
req.send_request(options, &block)
|
|
3179
3566
|
end
|
|
3180
3567
|
|
|
3181
|
-
#
|
|
3568
|
+
# This operation is no longer current and may be deprecated in the
|
|
3569
|
+
# future. We recommend upgrading to [ `GetTile` ][1] unless you require
|
|
3570
|
+
# `Grab` data.
|
|
3571
|
+
#
|
|
3572
|
+
# * `GetMapTile` is part of a previous Amazon Location Service Maps API
|
|
3573
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
3574
|
+
# and complete API (version 2).
|
|
3575
|
+
#
|
|
3576
|
+
# * The version 2 `GetTile` operation gives a better user experience and
|
|
3577
|
+
# is compatible with the remainder of the V2 Maps API.
|
|
3578
|
+
#
|
|
3579
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
3580
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
3581
|
+
# `location`.
|
|
3582
|
+
#
|
|
3583
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
3584
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
3585
|
+
#
|
|
3586
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][2]
|
|
3587
|
+
# or the [Developer Guide][3].
|
|
3588
|
+
#
|
|
3589
|
+
# Retrieves a vector data tile from the map resource. Map tiles are
|
|
3590
|
+
# used
|
|
3182
3591
|
# by clients to render a map. they're addressed using a grid
|
|
3183
3592
|
# arrangement with an X coordinate, Y coordinate, and Z (zoom) level.
|
|
3184
3593
|
#
|
|
3185
|
-
#
|
|
3594
|
+
# The origin (0, 0) is the top left of the map. Increasing the zoom
|
|
3186
3595
|
# level by 1 doubles both the X and Y dimensions, so a tile containing
|
|
3187
3596
|
# data for the entire world at (0/0/0) will be split into 4 tiles at
|
|
3188
3597
|
# zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).
|
|
3189
3598
|
#
|
|
3599
|
+
#
|
|
3600
|
+
#
|
|
3601
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_geomaps_GetTile.html
|
|
3602
|
+
# [2]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
3603
|
+
# [3]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
3604
|
+
#
|
|
3190
3605
|
# @option params [required, String] :map_name
|
|
3191
3606
|
# The map resource to retrieve the map tiles from.
|
|
3192
3607
|
#
|
|
@@ -3237,10 +3652,36 @@ module Aws::LocationService
|
|
|
3237
3652
|
req.send_request(options, &block)
|
|
3238
3653
|
end
|
|
3239
3654
|
|
|
3240
|
-
#
|
|
3655
|
+
# This operation is no longer current and may be deprecated in the
|
|
3656
|
+
# future. We recommend you upgrade to the [V2 `GetPlace`
|
|
3657
|
+
# ](/location/latest/APIReference/API_geoplaces_GetPlace.html) operation
|
|
3658
|
+
# unless you require Grab data.
|
|
3659
|
+
#
|
|
3660
|
+
# * This version of `GetPlace` is part of a previous Amazon Location
|
|
3661
|
+
# Service Places API (version 1) which has been superseded by a more
|
|
3662
|
+
# intuitive, powerful, and complete API (version 2).
|
|
3663
|
+
#
|
|
3664
|
+
# * Version 2 of the `GetPlace` operation interoperates with the rest of
|
|
3665
|
+
# the Places V2 API, while this version does not.
|
|
3666
|
+
#
|
|
3667
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
3668
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
3669
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
3670
|
+
#
|
|
3671
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
3672
|
+
# recommend you continue using API version 1 when using Grab.
|
|
3673
|
+
#
|
|
3674
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
3675
|
+
#
|
|
3676
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
3677
|
+
# or the [Developer
|
|
3678
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
3679
|
+
#
|
|
3680
|
+
# Finds a place by its unique ID. A `PlaceId` is returned by other
|
|
3241
3681
|
# search operations.
|
|
3242
3682
|
#
|
|
3243
|
-
#
|
|
3683
|
+
# <note markdown="1"> A PlaceId is valid only if all of the following
|
|
3684
|
+
# are the same in the
|
|
3244
3685
|
# original search request and the call to `GetPlace`.
|
|
3245
3686
|
#
|
|
3246
3687
|
# * Customer Amazon Web Services account
|
|
@@ -3251,7 +3692,8 @@ module Aws::LocationService
|
|
|
3251
3692
|
#
|
|
3252
3693
|
# </note>
|
|
3253
3694
|
#
|
|
3254
|
-
#
|
|
3695
|
+
# <note markdown="1"> If your Place index resource is configured with
|
|
3696
|
+
# Grab as your
|
|
3255
3697
|
# geolocation provider and Storage as Intended use, the GetPlace
|
|
3256
3698
|
# operation is unavailable. For more information, see [AWS service
|
|
3257
3699
|
# terms][1].
|
|
@@ -3523,6 +3965,13 @@ module Aws::LocationService
|
|
|
3523
3965
|
|
|
3524
3966
|
# Lists API key resources in your Amazon Web Services account.
|
|
3525
3967
|
#
|
|
3968
|
+
# For more information, see [Use API keys to authenticate][1] in the
|
|
3969
|
+
# *Amazon Location Service Developer Guide*.
|
|
3970
|
+
#
|
|
3971
|
+
#
|
|
3972
|
+
#
|
|
3973
|
+
# [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
|
|
3974
|
+
#
|
|
3526
3975
|
# @option params [Integer] :max_results
|
|
3527
3976
|
# An optional limit for the number of resources returned in a single
|
|
3528
3977
|
# call.
|
|
@@ -3567,6 +4016,11 @@ module Aws::LocationService
|
|
|
3567
4016
|
# resp.data.entries[0].restrictions.allow_resources[0] #=> String
|
|
3568
4017
|
# resp.data.entries[0].restrictions.allow_referers #=> Array
|
|
3569
4018
|
# resp.data.entries[0].restrictions.allow_referers[0] #=> String
|
|
4019
|
+
# resp.data.entries[0].restrictions.allow_android_apps #=> Array
|
|
4020
|
+
# resp.data.entries[0].restrictions.allow_android_apps[0].package #=> String
|
|
4021
|
+
# resp.data.entries[0].restrictions.allow_android_apps[0].certificate_fingerprint #=> String
|
|
4022
|
+
# resp.data.entries[0].restrictions.allow_apple_apps #=> Array
|
|
4023
|
+
# resp.data.entries[0].restrictions.allow_apple_apps[0].bundle_id #=> String
|
|
3570
4024
|
# resp.data.entries[0].create_time #=> Time
|
|
3571
4025
|
# resp.data.entries[0].update_time #=> Time
|
|
3572
4026
|
# resp.next_token #=> String
|
|
@@ -3580,7 +4034,33 @@ module Aws::LocationService
|
|
|
3580
4034
|
req.send_request(options)
|
|
3581
4035
|
end
|
|
3582
4036
|
|
|
3583
|
-
#
|
|
4037
|
+
# This operation is no longer current and may be deprecated in the
|
|
4038
|
+
# future. We recommend upgrading to the Maps API V2 unless you require
|
|
4039
|
+
# `Grab` data.
|
|
4040
|
+
#
|
|
4041
|
+
# * `ListMaps` is part of a previous Amazon Location Service Maps API
|
|
4042
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
4043
|
+
# and complete API (version 2).
|
|
4044
|
+
#
|
|
4045
|
+
# * The Maps API version 2 has a simplified interface that can be used
|
|
4046
|
+
# without creating or managing map resources.
|
|
4047
|
+
#
|
|
4048
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
4049
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
4050
|
+
# `location`.
|
|
4051
|
+
#
|
|
4052
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
4053
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
4054
|
+
#
|
|
4055
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][1]
|
|
4056
|
+
# or the [Developer Guide][2].
|
|
4057
|
+
#
|
|
4058
|
+
# Lists map resources in your Amazon Web Services account.
|
|
4059
|
+
#
|
|
4060
|
+
#
|
|
4061
|
+
#
|
|
4062
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
4063
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
3584
4064
|
#
|
|
3585
4065
|
# @option params [Integer] :max_results
|
|
3586
4066
|
# An optional limit for the number of resources returned in a single
|
|
@@ -3628,7 +4108,31 @@ module Aws::LocationService
|
|
|
3628
4108
|
req.send_request(options)
|
|
3629
4109
|
end
|
|
3630
4110
|
|
|
3631
|
-
#
|
|
4111
|
+
# This operation is no longer current and may be deprecated in the
|
|
4112
|
+
# future. We recommend you upgrade to the Places API V2 unless you
|
|
4113
|
+
# require Grab data.
|
|
4114
|
+
#
|
|
4115
|
+
# * `ListPlaceIndexes` is part of a previous Amazon Location Service
|
|
4116
|
+
# Places API (version 1) which has been superseded by a more
|
|
4117
|
+
# intuitive, powerful, and complete API (version 2).
|
|
4118
|
+
#
|
|
4119
|
+
# * The Places API version 2 has a simplified interface that can be used
|
|
4120
|
+
# without creating or managing place index resources.
|
|
4121
|
+
#
|
|
4122
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
4123
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
4124
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
4125
|
+
#
|
|
4126
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
4127
|
+
# recommend you continue using API version 1 when using Grab.
|
|
4128
|
+
#
|
|
4129
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
4130
|
+
#
|
|
4131
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
4132
|
+
# or the [Developer
|
|
4133
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
4134
|
+
#
|
|
4135
|
+
# Lists place index resources in your Amazon Web Services account.
|
|
3632
4136
|
#
|
|
3633
4137
|
# @option params [Integer] :max_results
|
|
3634
4138
|
# An optional limit for the maximum number of results returned in a
|
|
@@ -3676,7 +4180,32 @@ module Aws::LocationService
|
|
|
3676
4180
|
req.send_request(options)
|
|
3677
4181
|
end
|
|
3678
4182
|
|
|
3679
|
-
#
|
|
4183
|
+
# This operation is no longer current and may be deprecated in the
|
|
4184
|
+
# future. We recommend you upgrade to the Routes API V2 unless you
|
|
4185
|
+
# require Grab data.
|
|
4186
|
+
#
|
|
4187
|
+
# * `ListRouteCalculators` is part of a previous Amazon Location
|
|
4188
|
+
# Service
|
|
4189
|
+
# Routes API (version 1) which has been superseded by a more
|
|
4190
|
+
# intuitive, powerful, and complete API (version 2).
|
|
4191
|
+
#
|
|
4192
|
+
# * The Routes API version 2 has a simplified interface that can be used
|
|
4193
|
+
# without creating or managing route calculator resources.
|
|
4194
|
+
#
|
|
4195
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
4196
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
4197
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
4198
|
+
#
|
|
4199
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
4200
|
+
# recommend you continue using API version 1 when using Grab.
|
|
4201
|
+
#
|
|
4202
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
4203
|
+
#
|
|
4204
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
4205
|
+
# or the [Developer
|
|
4206
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
4207
|
+
#
|
|
4208
|
+
# Lists route calculator resources in your Amazon Web Services account.
|
|
3680
4209
|
#
|
|
3681
4210
|
# @option params [Integer] :max_results
|
|
3682
4211
|
# An optional maximum number of results returned in a single call.
|
|
@@ -3937,7 +4466,30 @@ module Aws::LocationService
|
|
|
3937
4466
|
req.send_request(options)
|
|
3938
4467
|
end
|
|
3939
4468
|
|
|
3940
|
-
#
|
|
4469
|
+
# This operation is no longer current and may be deprecated in the
|
|
4470
|
+
# future. We recommend you upgrade to [ `ReverseGeocode`
|
|
4471
|
+
# ](/location/latest/APIReference/API_geoplaces_ReverseGeocode.html) or
|
|
4472
|
+
# [ `SearchNearby`
|
|
4473
|
+
# ](/location/latest/APIReference/API_geoplaces_SearchNearby.html)
|
|
4474
|
+
# unless you require Grab data.
|
|
4475
|
+
#
|
|
4476
|
+
# * `SearchPlaceIndexForPosition` is part of a previous Amazon Location
|
|
4477
|
+
# Service Places API (version 1) which has been superseded by a more
|
|
4478
|
+
# intuitive, powerful, and complete API (version 2).
|
|
4479
|
+
#
|
|
4480
|
+
# * The version 2 `ReverseGeocode` operation gives better results in the
|
|
4481
|
+
# address reverse-geocoding use case, while the version 2
|
|
4482
|
+
# `SearchNearby` operation gives better results when searching for
|
|
4483
|
+
# businesses and points of interest near a specific location.
|
|
4484
|
+
#
|
|
4485
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
4486
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
4487
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
4488
|
+
#
|
|
4489
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
4490
|
+
# recommend you continue using API version 1 when using Grab.
|
|
4491
|
+
#
|
|
4492
|
+
# Reverse geocodes a given coordinate and returns a legible address.
|
|
3941
4493
|
# Allows you to search for Places or points of interest near a given
|
|
3942
4494
|
# position.
|
|
3943
4495
|
#
|
|
@@ -4047,15 +4599,40 @@ module Aws::LocationService
|
|
|
4047
4599
|
req.send_request(options)
|
|
4048
4600
|
end
|
|
4049
4601
|
|
|
4050
|
-
#
|
|
4602
|
+
# This operation is no longer current and may be deprecated in the
|
|
4603
|
+
# future. We recommend you upgrade to [ `Suggest`
|
|
4604
|
+
# ](/location/latest/APIReference/API_geoplaces_Suggest.html) or [
|
|
4605
|
+
# `Autocomplete`
|
|
4606
|
+
# ](/location/latest/APIReference/API_geoplaces_Autocomplete.html)
|
|
4607
|
+
# unless you require Grab data.
|
|
4608
|
+
#
|
|
4609
|
+
# * `SearchPlaceIndexForSuggestions` is part of a previous Amazon
|
|
4610
|
+
# Location Service Places API (version 1) which has been superseded by
|
|
4611
|
+
# a more intuitive, powerful, and complete API (version 2).
|
|
4612
|
+
#
|
|
4613
|
+
# * The version 2 `Suggest` operation gives better results for typeahead
|
|
4614
|
+
# place search suggestions with fuzzy matching, while the version 2
|
|
4615
|
+
# `Autocomplete` operation gives better results for address completion
|
|
4616
|
+
# based on partial input.
|
|
4617
|
+
#
|
|
4618
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
4619
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
4620
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
4621
|
+
#
|
|
4622
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
4623
|
+
# recommend you continue using API version 1 when using Grab.
|
|
4624
|
+
#
|
|
4625
|
+
# Generates suggestions for addresses and points of interest based on
|
|
4051
4626
|
# partial or misspelled free-form text. This operation is also known as
|
|
4052
4627
|
# autocomplete, autosuggest, or fuzzy matching.
|
|
4053
4628
|
#
|
|
4054
|
-
#
|
|
4629
|
+
# Optional parameters let you narrow your search results by bounding
|
|
4630
|
+
# box
|
|
4055
4631
|
# or country, or bias your search toward a specific position on the
|
|
4056
4632
|
# globe.
|
|
4057
4633
|
#
|
|
4058
|
-
#
|
|
4634
|
+
# <note markdown="1"> You can search for suggested place names near a
|
|
4635
|
+
# specified position by
|
|
4059
4636
|
# using `BiasPosition`, or filter results within a bounding box by using
|
|
4060
4637
|
# `FilterBBox`. These parameters are mutually exclusive; using both
|
|
4061
4638
|
# `BiasPosition` and `FilterBBox` in the same command returns an error.
|
|
@@ -4217,20 +4794,45 @@ module Aws::LocationService
|
|
|
4217
4794
|
req.send_request(options)
|
|
4218
4795
|
end
|
|
4219
4796
|
|
|
4220
|
-
#
|
|
4797
|
+
# This operation is no longer current and may be deprecated in the
|
|
4798
|
+
# future. We recommend you upgrade to [ `Geocode`
|
|
4799
|
+
# ](/location/latest/APIReference/API_geoplaces_Geocode.html) or [
|
|
4800
|
+
# `SearchText`
|
|
4801
|
+
# ](/location/latest/APIReference/API_geoplaces_SearchText.html) unless
|
|
4802
|
+
# you require Grab data.
|
|
4803
|
+
#
|
|
4804
|
+
# * `SearchPlaceIndexForText` is part of a previous Amazon Location
|
|
4805
|
+
# Service Places API (version 1) which has been superseded by a more
|
|
4806
|
+
# intuitive, powerful, and complete API (version 2).
|
|
4807
|
+
#
|
|
4808
|
+
# * The version 2 `Geocode` operation gives better results in the
|
|
4809
|
+
# address geocoding use case, while the version 2 `SearchText`
|
|
4810
|
+
# operation gives better results when searching for businesses and
|
|
4811
|
+
# points of interest.
|
|
4812
|
+
#
|
|
4813
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
4814
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
4815
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
4816
|
+
#
|
|
4817
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
4818
|
+
# recommend you continue using API version 1 when using Grab.
|
|
4819
|
+
#
|
|
4820
|
+
# Geocodes free-form text, such as an address, name, city, or region to
|
|
4221
4821
|
# allow you to search for Places or points of interest.
|
|
4222
4822
|
#
|
|
4223
|
-
#
|
|
4823
|
+
# Optional parameters let you narrow your search results by bounding
|
|
4824
|
+
# box
|
|
4224
4825
|
# or country, or bias your search toward a specific position on the
|
|
4225
4826
|
# globe.
|
|
4226
4827
|
#
|
|
4227
|
-
#
|
|
4828
|
+
# <note markdown="1"> You can search for places near a given position
|
|
4829
|
+
# using `BiasPosition`,
|
|
4228
4830
|
# or filter results within a bounding box using `FilterBBox`. Providing
|
|
4229
4831
|
# both parameters simultaneously returns an error.
|
|
4230
4832
|
#
|
|
4231
4833
|
# </note>
|
|
4232
4834
|
#
|
|
4233
|
-
#
|
|
4835
|
+
# Search results are returned in order of highest to lowest relevance.
|
|
4234
4836
|
#
|
|
4235
4837
|
# @option params [required, String] :index_name
|
|
4236
4838
|
# The name of the place index resource you want to use for the search.
|
|
@@ -4605,6 +5207,17 @@ module Aws::LocationService
|
|
|
4605
5207
|
# allow_actions: ["ApiKeyAction"], # required
|
|
4606
5208
|
# allow_resources: ["GeoArnV2"], # required
|
|
4607
5209
|
# allow_referers: ["RefererPattern"],
|
|
5210
|
+
# allow_android_apps: [
|
|
5211
|
+
# {
|
|
5212
|
+
# package: "AndroidPackageName", # required
|
|
5213
|
+
# certificate_fingerprint: "Sha1CertificateFingerprint", # required
|
|
5214
|
+
# },
|
|
5215
|
+
# ],
|
|
5216
|
+
# allow_apple_apps: [
|
|
5217
|
+
# {
|
|
5218
|
+
# bundle_id: "AppleBundleId", # required
|
|
5219
|
+
# },
|
|
5220
|
+
# ],
|
|
4608
5221
|
# },
|
|
4609
5222
|
# })
|
|
4610
5223
|
#
|
|
@@ -4623,7 +5236,33 @@ module Aws::LocationService
|
|
|
4623
5236
|
req.send_request(options)
|
|
4624
5237
|
end
|
|
4625
5238
|
|
|
4626
|
-
#
|
|
5239
|
+
# This operation is no longer current and may be deprecated in the
|
|
5240
|
+
# future. We recommend upgrading to the Maps API V2 unless you require
|
|
5241
|
+
# `Grab` data.
|
|
5242
|
+
#
|
|
5243
|
+
# * `UpdateMap` is part of a previous Amazon Location Service Maps API
|
|
5244
|
+
# (version 1) which has been superseded by a more intuitive, powerful,
|
|
5245
|
+
# and complete API (version 2).
|
|
5246
|
+
#
|
|
5247
|
+
# * The Maps API version 2 has a simplified interface that can be used
|
|
5248
|
+
# without creating or managing map resources.
|
|
5249
|
+
#
|
|
5250
|
+
# * If you are using an AWS SDK or the AWS CLI, note that the Maps API
|
|
5251
|
+
# version 2 is found under `geo-maps` or `geo_maps`, not under
|
|
5252
|
+
# `location`.
|
|
5253
|
+
#
|
|
5254
|
+
# * Since `Grab` is not yet fully supported in Maps API version 2, we
|
|
5255
|
+
# recommend you continue using API version 1 when using `Grab`.
|
|
5256
|
+
#
|
|
5257
|
+
# * Start your version 2 API journey with the [Maps V2 API Reference][1]
|
|
5258
|
+
# or the [Developer Guide][2].
|
|
5259
|
+
#
|
|
5260
|
+
# Updates the specified properties of a given map resource.
|
|
5261
|
+
#
|
|
5262
|
+
#
|
|
5263
|
+
#
|
|
5264
|
+
# [1]: https://docs.aws.amazon.com/location/latest/APIReference/API_Operations_Amazon_Location_Service_Maps_V2.html
|
|
5265
|
+
# [2]: https://docs.aws.amazon.com/location/latest/developerguide/maps.html
|
|
4627
5266
|
#
|
|
4628
5267
|
# @option params [required, String] :map_name
|
|
4629
5268
|
# The name of the map resource to update.
|
|
@@ -4672,7 +5311,31 @@ module Aws::LocationService
|
|
|
4672
5311
|
req.send_request(options)
|
|
4673
5312
|
end
|
|
4674
5313
|
|
|
4675
|
-
#
|
|
5314
|
+
# This operation is no longer current and may be deprecated in the
|
|
5315
|
+
# future. We recommend you upgrade to the Places API V2 unless you
|
|
5316
|
+
# require Grab data.
|
|
5317
|
+
#
|
|
5318
|
+
# * `UpdatePlaceIndex` is part of a previous Amazon Location Service
|
|
5319
|
+
# Places API (version 1) which has been superseded by a more
|
|
5320
|
+
# intuitive, powerful, and complete API (version 2).
|
|
5321
|
+
#
|
|
5322
|
+
# * The Places API version 2 has a simplified interface that can be used
|
|
5323
|
+
# without creating or managing place index resources.
|
|
5324
|
+
#
|
|
5325
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
5326
|
+
# Services CLI, note that the Places API version 2 is found under
|
|
5327
|
+
# `geo-places` or `geo_places`, not under `location`.
|
|
5328
|
+
#
|
|
5329
|
+
# * Since Grab is not yet fully supported in Places API version 2, we
|
|
5330
|
+
# recommend you continue using API version 1 when using Grab.
|
|
5331
|
+
#
|
|
5332
|
+
# * Start your version 2 API journey with the Places V2 [API
|
|
5333
|
+
#
|
|
5334
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Places_V2.html)
|
|
5335
|
+
# or the [Developer
|
|
5336
|
+
# Guide](/location/latest/developerguide/places.html).
|
|
5337
|
+
#
|
|
5338
|
+
# Updates the specified properties of a given place index resource.
|
|
4676
5339
|
#
|
|
4677
5340
|
# @option params [required, String] :index_name
|
|
4678
5341
|
# The name of the place index resource to update.
|
|
@@ -4719,7 +5382,31 @@ module Aws::LocationService
|
|
|
4719
5382
|
req.send_request(options)
|
|
4720
5383
|
end
|
|
4721
5384
|
|
|
4722
|
-
#
|
|
5385
|
+
# This operation is no longer current and may be deprecated in the
|
|
5386
|
+
# future. We recommend you upgrade to the Routes API V2 unless you
|
|
5387
|
+
# require Grab data.
|
|
5388
|
+
#
|
|
5389
|
+
# * `UpdateRouteCalculator` is part of a previous Amazon Location
|
|
5390
|
+
# Service Routes API (version 1) which has been superseded by a more
|
|
5391
|
+
# intuitive, powerful, and complete API (version 2).
|
|
5392
|
+
#
|
|
5393
|
+
# * The Routes API version 2 has a simplified interface that can be used
|
|
5394
|
+
# without creating or managing route calculator resources.
|
|
5395
|
+
#
|
|
5396
|
+
# * If you are using an Amazon Web Services SDK or the Amazon Web
|
|
5397
|
+
# Services CLI, note that the Routes API version 2 is found under
|
|
5398
|
+
# `geo-routes` or `geo_routes`, not under `location`.
|
|
5399
|
+
#
|
|
5400
|
+
# * Since Grab is not yet fully supported in Routes API version 2, we
|
|
5401
|
+
# recommend you continue using API version 1 when using Grab.
|
|
5402
|
+
#
|
|
5403
|
+
# * Start your version 2 API journey with the Routes V2 [API
|
|
5404
|
+
#
|
|
5405
|
+
# Reference](/location/latest/APIReference/API_Operations_Amazon_Location_Service_Routes_V2.html)
|
|
5406
|
+
# or the [Developer
|
|
5407
|
+
# Guide](/location/latest/developerguide/routes.html).
|
|
5408
|
+
#
|
|
5409
|
+
# Updates the specified properties for a given route calculator
|
|
4723
5410
|
# resource.
|
|
4724
5411
|
#
|
|
4725
5412
|
# @option params [required, String] :calculator_name
|
|
@@ -4981,7 +5668,7 @@ module Aws::LocationService
|
|
|
4981
5668
|
tracer: tracer
|
|
4982
5669
|
)
|
|
4983
5670
|
context[:gem_name] = 'aws-sdk-locationservice'
|
|
4984
|
-
context[:gem_version] = '1.
|
|
5671
|
+
context[:gem_version] = '1.79.0'
|
|
4985
5672
|
Seahorse::Client::Request.new(handlers, context)
|
|
4986
5673
|
end
|
|
4987
5674
|
|