aws-sdk-locationservice 1.72.0 → 1.73.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 +129 -68
- data/lib/aws-sdk-locationservice/client_api.rb +10 -2
- data/lib/aws-sdk-locationservice/types.rb +296 -168
- data/lib/aws-sdk-locationservice.rb +1 -1
- data/sig/client.rbs +16 -2
- data/sig/types.rbs +47 -46
- 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: 153a5052bf53a21ab036411f0888df33b49b22b67430086b7a3c2fcbe4b43541
|
4
|
+
data.tar.gz: b211c3bd92955b795131a1fb66a02d9c42fcd277bcabfcfc1c062cb344d65b13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a61d1e219cffc040ecb7b5ebd40fb9078ee19401a9f3217b24b9c5343373e4c057cee8b832cba072d62b32ee6ad28e41ce5ec2d016b1fc350ba8a4475be71f31
|
7
|
+
data.tar.gz: 16b8c291f88b5bc165edc090653952fbbcac31cf373b1fbf750887be148338c49c83f17be6949eecb6e6947d928051f2f2d80a38bc28fc336ce2d13932a9ead7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.73.0 (2025-07-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release 1) adds support for multi-polygon geofences with disconnected territories, and 2) enables polygon exclusion zones within geofences for more accurate representation of real-world boundaries.
|
8
|
+
|
4
9
|
1.72.0 (2025-07-21)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -764,6 +764,13 @@ module Aws::LocationService
|
|
764
764
|
# radius: 1.0, # required
|
765
765
|
# },
|
766
766
|
# geobuf: "data",
|
767
|
+
# multi_polygon: [
|
768
|
+
# [
|
769
|
+
# [
|
770
|
+
# [1.0],
|
771
|
+
# ],
|
772
|
+
# ],
|
773
|
+
# ],
|
767
774
|
# },
|
768
775
|
# geofence_properties: {
|
769
776
|
# "PropertyMapKeyString" => "PropertyMapValueString",
|
@@ -899,10 +906,10 @@ module Aws::LocationService
|
|
899
906
|
#
|
900
907
|
#
|
901
908
|
#
|
902
|
-
# [1]: https://docs.aws.amazon.com/location/
|
909
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route.html
|
903
910
|
# [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
|
904
|
-
# [3]: https://docs.aws.amazon.com/location/
|
905
|
-
# [4]: https://docs.aws.amazon.com/location/
|
911
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/departure-time.html
|
912
|
+
# [4]: https://docs.aws.amazon.com/location/previous/developerguide/travel-mode.html
|
906
913
|
#
|
907
914
|
# @option params [required, String] :calculator_name
|
908
915
|
# The name of the route calculator resource that you want to use to
|
@@ -928,7 +935,7 @@ module Aws::LocationService
|
|
928
935
|
#
|
929
936
|
#
|
930
937
|
# [1]: https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84
|
931
|
-
# [2]: https://docs.aws.amazon.com/location/
|
938
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
932
939
|
#
|
933
940
|
# @option params [required, Array<Float>] :destination_position
|
934
941
|
# The finish position for the route. Defined in [World Geodetic System
|
@@ -948,7 +955,7 @@ module Aws::LocationService
|
|
948
955
|
#
|
949
956
|
#
|
950
957
|
# [1]: https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84
|
951
|
-
# [2]: https://docs.aws.amazon.com/location/
|
958
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
952
959
|
#
|
953
960
|
# @option params [Array<Array>] :waypoint_positions
|
954
961
|
# Specifies an ordered list of up to 23 intermediate positions to
|
@@ -977,7 +984,7 @@ module Aws::LocationService
|
|
977
984
|
#
|
978
985
|
#
|
979
986
|
#
|
980
|
-
# [1]: https://docs.aws.amazon.com/location/
|
987
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
981
988
|
#
|
982
989
|
# @option params [String] :travel_mode
|
983
990
|
# Specifies the mode of transport when calculating a route. Used in
|
@@ -1007,7 +1014,7 @@ module Aws::LocationService
|
|
1007
1014
|
#
|
1008
1015
|
#
|
1009
1016
|
#
|
1010
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1017
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1011
1018
|
#
|
1012
1019
|
# @option params [Time,DateTime,Date,Integer,String] :departure_time
|
1013
1020
|
# Specifies the desired time of departure. Uses the given time to
|
@@ -1075,7 +1082,7 @@ module Aws::LocationService
|
|
1075
1082
|
#
|
1076
1083
|
#
|
1077
1084
|
#
|
1078
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1085
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1079
1086
|
#
|
1080
1087
|
# @return [Types::CalculateRouteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1081
1088
|
#
|
@@ -1195,10 +1202,10 @@ module Aws::LocationService
|
|
1195
1202
|
#
|
1196
1203
|
#
|
1197
1204
|
#
|
1198
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1205
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route-matrix.html
|
1199
1206
|
# [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
|
1200
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1201
|
-
# [4]: https://docs.aws.amazon.com/location/
|
1207
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/departure-time.html
|
1208
|
+
# [4]: https://docs.aws.amazon.com/location/previous/developerguide/travel-mode.html
|
1202
1209
|
#
|
1203
1210
|
# @option params [required, String] :calculator_name
|
1204
1211
|
# The name of the route calculator resource that you want to use to
|
@@ -1227,8 +1234,8 @@ module Aws::LocationService
|
|
1227
1234
|
#
|
1228
1235
|
#
|
1229
1236
|
# [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
|
1230
|
-
# [2]: https://docs.aws.amazon.com/location/
|
1231
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1237
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route-matrix.html#matrix-routing-position-limits
|
1238
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
1232
1239
|
#
|
1233
1240
|
# @option params [required, Array<Array>] :destination_positions
|
1234
1241
|
# The list of destination positions for the route matrix. An array of
|
@@ -1252,8 +1259,8 @@ module Aws::LocationService
|
|
1252
1259
|
#
|
1253
1260
|
#
|
1254
1261
|
# [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
|
1255
|
-
# [2]: https://docs.aws.amazon.com/location/
|
1256
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1262
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route-matrix.html#matrix-routing-position-limits
|
1263
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
1257
1264
|
#
|
1258
1265
|
# @option params [String] :travel_mode
|
1259
1266
|
# Specifies the mode of transport when calculating a route. Used in
|
@@ -1280,7 +1287,7 @@ module Aws::LocationService
|
|
1280
1287
|
#
|
1281
1288
|
#
|
1282
1289
|
#
|
1283
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1290
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1284
1291
|
#
|
1285
1292
|
# @option params [Time,DateTime,Date,Integer,String] :departure_time
|
1286
1293
|
# Specifies the desired time of departure. Uses the given time to
|
@@ -1335,7 +1342,7 @@ module Aws::LocationService
|
|
1335
1342
|
#
|
1336
1343
|
#
|
1337
1344
|
#
|
1338
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1345
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1339
1346
|
#
|
1340
1347
|
# @return [Types::CalculateRouteMatrixResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1341
1348
|
#
|
@@ -1505,7 +1512,7 @@ module Aws::LocationService
|
|
1505
1512
|
#
|
1506
1513
|
#
|
1507
1514
|
#
|
1508
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1515
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1509
1516
|
#
|
1510
1517
|
# @option params [required, String] :key_name
|
1511
1518
|
# A custom name for the API key resource.
|
@@ -1752,23 +1759,23 @@ module Aws::LocationService
|
|
1752
1759
|
#
|
1753
1760
|
# If you specify HERE Technologies (`Here`) as the data provider, you
|
1754
1761
|
# may not [store results][7] for locations in Japan. For more
|
1755
|
-
# information, see the [Amazon Web Services
|
1762
|
+
# information, see the [Amazon Web Services service terms][8] for
|
1756
1763
|
# Amazon Location Service.
|
1757
1764
|
#
|
1758
1765
|
# For additional information , see [Data providers][9] on the *Amazon
|
1759
|
-
# Location Service
|
1766
|
+
# Location Service developer guide*.
|
1760
1767
|
#
|
1761
1768
|
#
|
1762
1769
|
#
|
1763
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1770
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/esri.html
|
1764
1771
|
# [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
|
1765
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1766
|
-
# [4]: https://docs.aws.amazon.com/location/
|
1767
|
-
# [5]: https://docs.aws.amazon.com/location/
|
1772
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1773
|
+
# [4]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area
|
1774
|
+
# [5]: https://docs.aws.amazon.com/location/previous/developerguide/HERE.html
|
1768
1775
|
# [6]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
|
1769
1776
|
# [7]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
|
1770
1777
|
# [8]: http://aws.amazon.com/service-terms/
|
1771
|
-
# [9]: https://docs.aws.amazon.com/location/
|
1778
|
+
# [9]: https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html
|
1772
1779
|
#
|
1773
1780
|
# @option params [String] :pricing_plan
|
1774
1781
|
# No longer used. If included, the only allowed value is
|
@@ -1899,14 +1906,14 @@ module Aws::LocationService
|
|
1899
1906
|
#
|
1900
1907
|
#
|
1901
1908
|
#
|
1902
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1909
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/esri.html
|
1903
1910
|
# [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
|
1904
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1905
|
-
# [4]: https://docs.aws.amazon.com/location/
|
1906
|
-
# [5]: https://docs.aws.amazon.com/location/
|
1911
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1912
|
+
# [4]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html#grab-coverage-area
|
1913
|
+
# [5]: https://docs.aws.amazon.com/location/previous/developerguide/HERE.html
|
1907
1914
|
# [6]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
|
1908
1915
|
# [7]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
|
1909
|
-
# [8]: https://docs.aws.amazon.com/location/
|
1916
|
+
# [8]: https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html
|
1910
1917
|
#
|
1911
1918
|
# @option params [String] :pricing_plan
|
1912
1919
|
# No longer used. If included, the only allowed value is
|
@@ -2629,29 +2636,46 @@ module Aws::LocationService
|
|
2629
2636
|
req.send_request(options)
|
2630
2637
|
end
|
2631
2638
|
|
2632
|
-
#
|
2633
|
-
#
|
2634
|
-
#
|
2639
|
+
# This action forecasts future geofence events that are likely to occur
|
2640
|
+
# within a specified time horizon if a device continues moving at its
|
2641
|
+
# current speed. Each forecasted event is associated with a geofence
|
2642
|
+
# from a provided geofence collection. A forecast event can have one of
|
2643
|
+
# the following states:
|
2635
2644
|
#
|
2636
|
-
# `ENTER`:
|
2637
|
-
#
|
2638
|
-
#
|
2645
|
+
# `ENTER`: The device position is outside the referenced geofence, but
|
2646
|
+
# the device may cross into the geofence during the forecasting time
|
2647
|
+
# horizon if it maintains its current speed.
|
2639
2648
|
#
|
2640
|
-
# `EXIT`:
|
2641
|
-
#
|
2642
|
-
#
|
2649
|
+
# `EXIT`: The device position is inside the referenced geofence, but the
|
2650
|
+
# device may leave the geofence during the forecasted time horizon if
|
2651
|
+
# the device maintains it's current speed.
|
2643
2652
|
#
|
2644
|
-
# `IDLE`:
|
2645
|
-
#
|
2653
|
+
# `IDLE`:The device is inside the geofence, and it will remain inside
|
2654
|
+
# the geofence through the end of the time horizon if the device
|
2655
|
+
# maintains it's current speed.
|
2656
|
+
#
|
2657
|
+
# <note markdown="1"> Heading direction is not considered in the current version. The API
|
2658
|
+
# takes a conservative approach and includes events that can occur for
|
2659
|
+
# any heading.
|
2660
|
+
#
|
2661
|
+
# </note>
|
2646
2662
|
#
|
2647
2663
|
# @option params [required, String] :collection_name
|
2648
2664
|
# The name of the geofence collection.
|
2649
2665
|
#
|
2650
2666
|
# @option params [required, Types::ForecastGeofenceEventsDeviceState] :device_state
|
2651
|
-
#
|
2667
|
+
# Represents the device's state, including its current position and
|
2668
|
+
# speed. When speed is omitted, this API performs a *containment check*.
|
2669
|
+
# The *containment check* operation returns `IDLE` events for geofences
|
2670
|
+
# where the device is currently inside of, but no other events.
|
2652
2671
|
#
|
2653
2672
|
# @option params [Float] :time_horizon_minutes
|
2654
|
-
#
|
2673
|
+
# The forward-looking time window for forecasting, specified in minutes.
|
2674
|
+
# The API only returns events that are predicted to occur within this
|
2675
|
+
# time horizon. When no value is specified, this API performs a
|
2676
|
+
# *containment check*. The *containment check* operation returns `IDLE`
|
2677
|
+
# events for geofences where the device is currently inside of, but no
|
2678
|
+
# other events.
|
2655
2679
|
#
|
2656
2680
|
# @option params [String] :distance_unit
|
2657
2681
|
# The distance unit used for the `NearestDistance` property returned in
|
@@ -2916,6 +2940,11 @@ module Aws::LocationService
|
|
2916
2940
|
# resp.geometry.circle.center[0] #=> Float
|
2917
2941
|
# resp.geometry.circle.radius #=> Float
|
2918
2942
|
# resp.geometry.geobuf #=> String
|
2943
|
+
# resp.geometry.multi_polygon #=> Array
|
2944
|
+
# resp.geometry.multi_polygon[0] #=> Array
|
2945
|
+
# resp.geometry.multi_polygon[0][0] #=> Array
|
2946
|
+
# resp.geometry.multi_polygon[0][0][0] #=> Array
|
2947
|
+
# resp.geometry.multi_polygon[0][0][0][0] #=> Float
|
2919
2948
|
# resp.status #=> String
|
2920
2949
|
# resp.create_time #=> Time
|
2921
2950
|
# resp.update_time #=> Time
|
@@ -3001,10 +3030,10 @@ module Aws::LocationService
|
|
3001
3030
|
#
|
3002
3031
|
#
|
3003
3032
|
#
|
3004
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3005
|
-
# [2]: https://docs.aws.amazon.com/location/
|
3006
|
-
# [3]: https://docs.aws.amazon.com/location/
|
3007
|
-
# [4]: https://docs.aws.amazon.com/location/
|
3033
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/esri.html
|
3034
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/HERE.html
|
3035
|
+
# [3]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
3036
|
+
# [4]: https://docs.aws.amazon.com/location/previous/developerguide/open-data.html
|
3008
3037
|
#
|
3009
3038
|
# @option params [required, String] :font_unicode_range
|
3010
3039
|
# A Unicode range of characters to download glyphs for. Each response
|
@@ -3017,7 +3046,7 @@ module Aws::LocationService
|
|
3017
3046
|
#
|
3018
3047
|
#
|
3019
3048
|
#
|
3020
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3049
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3021
3050
|
#
|
3022
3051
|
# @return [Types::GetMapGlyphsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3023
3052
|
#
|
@@ -3076,7 +3105,7 @@ module Aws::LocationService
|
|
3076
3105
|
#
|
3077
3106
|
#
|
3078
3107
|
#
|
3079
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3108
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3080
3109
|
#
|
3081
3110
|
# @return [Types::GetMapSpritesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3082
3111
|
#
|
@@ -3122,7 +3151,7 @@ module Aws::LocationService
|
|
3122
3151
|
#
|
3123
3152
|
#
|
3124
3153
|
#
|
3125
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3154
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3126
3155
|
#
|
3127
3156
|
# @return [Types::GetMapStyleDescriptorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3128
3157
|
#
|
@@ -3178,7 +3207,7 @@ module Aws::LocationService
|
|
3178
3207
|
#
|
3179
3208
|
#
|
3180
3209
|
#
|
3181
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3210
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3182
3211
|
#
|
3183
3212
|
# @return [Types::GetMapTileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3184
3213
|
#
|
@@ -3225,6 +3254,17 @@ module Aws::LocationService
|
|
3225
3254
|
#
|
3226
3255
|
# </note>
|
3227
3256
|
#
|
3257
|
+
# <note markdown="1"> If your Place index resource is configured with Grab as your
|
3258
|
+
# geolocation provider and Storage as Intended use, the GetPlace
|
3259
|
+
# operation is unavailable. For more information, see [AWS service
|
3260
|
+
# terms][1].
|
3261
|
+
#
|
3262
|
+
# </note>
|
3263
|
+
#
|
3264
|
+
#
|
3265
|
+
#
|
3266
|
+
# [1]: http://aws.amazon.com/service-terms
|
3267
|
+
#
|
3228
3268
|
# @option params [required, String] :index_name
|
3229
3269
|
# The name of the place index resource that you want to use for the
|
3230
3270
|
# search.
|
@@ -3261,7 +3301,7 @@ module Aws::LocationService
|
|
3261
3301
|
#
|
3262
3302
|
#
|
3263
3303
|
#
|
3264
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3304
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3265
3305
|
#
|
3266
3306
|
# @return [Types::GetPlaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3267
3307
|
#
|
@@ -3463,6 +3503,11 @@ module Aws::LocationService
|
|
3463
3503
|
# resp.data.entries[0].geometry.circle.center[0] #=> Float
|
3464
3504
|
# resp.data.entries[0].geometry.circle.radius #=> Float
|
3465
3505
|
# resp.data.entries[0].geometry.geobuf #=> String
|
3506
|
+
# resp.data.entries[0].geometry.multi_polygon #=> Array
|
3507
|
+
# resp.data.entries[0].geometry.multi_polygon[0] #=> Array
|
3508
|
+
# resp.data.entries[0].geometry.multi_polygon[0][0] #=> Array
|
3509
|
+
# resp.data.entries[0].geometry.multi_polygon[0][0][0] #=> Array
|
3510
|
+
# resp.data.entries[0].geometry.multi_polygon[0][0][0][0] #=> Float
|
3466
3511
|
# resp.data.entries[0].status #=> String
|
3467
3512
|
# resp.data.entries[0].create_time #=> Time
|
3468
3513
|
# resp.data.entries[0].update_time #=> Time
|
@@ -3826,19 +3871,18 @@ module Aws::LocationService
|
|
3826
3871
|
#
|
3827
3872
|
# @option params [required, Types::GeofenceGeometry] :geometry
|
3828
3873
|
# Contains the details to specify the position of the geofence. Can be a
|
3829
|
-
#
|
3830
|
-
#
|
3874
|
+
# circle, a polygon, or a multipolygon. `Polygon` and `MultiPolygon`
|
3875
|
+
# geometries can be defined using their respective parameters, or
|
3876
|
+
# encoded in Geobuf format using the `Geobuf` parameter. Including
|
3877
|
+
# multiple geometry types in the same request will return a validation
|
3878
|
+
# error.
|
3831
3879
|
#
|
3832
|
-
# <note markdown="1"> The
|
3833
|
-
# vertices. The
|
3880
|
+
# <note markdown="1"> The geofence `Polygon` and `MultiPolygon` formats support a maximum of
|
3881
|
+
# 1,000 total vertices. The `Geobuf` format supports a maximum of
|
3834
3882
|
# 100,000 vertices.
|
3835
3883
|
#
|
3836
3884
|
# </note>
|
3837
3885
|
#
|
3838
|
-
#
|
3839
|
-
#
|
3840
|
-
# [1]: https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html
|
3841
|
-
#
|
3842
3886
|
# @option params [Hash<String,String>] :geofence_properties
|
3843
3887
|
# Associates one of more properties with the geofence. A property is a
|
3844
3888
|
# key-value pair stored with the geofence and added to any geofence
|
@@ -3868,6 +3912,13 @@ module Aws::LocationService
|
|
3868
3912
|
# radius: 1.0, # required
|
3869
3913
|
# },
|
3870
3914
|
# geobuf: "data",
|
3915
|
+
# multi_polygon: [
|
3916
|
+
# [
|
3917
|
+
# [
|
3918
|
+
# [1.0],
|
3919
|
+
# ],
|
3920
|
+
# ],
|
3921
|
+
# ],
|
3871
3922
|
# },
|
3872
3923
|
# geofence_properties: {
|
3873
3924
|
# "PropertyMapKeyString" => "PropertyMapValueString",
|
@@ -3941,7 +3992,7 @@ module Aws::LocationService
|
|
3941
3992
|
#
|
3942
3993
|
#
|
3943
3994
|
#
|
3944
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3995
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3945
3996
|
#
|
3946
3997
|
# @return [Types::SearchPlaceIndexForPositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3947
3998
|
#
|
@@ -4106,18 +4157,18 @@ module Aws::LocationService
|
|
4106
4157
|
#
|
4107
4158
|
# For more information about using categories, including a list of
|
4108
4159
|
# Amazon Location categories, see [Categories and filtering][1], in the
|
4109
|
-
# *Amazon Location Service
|
4160
|
+
# *Amazon Location Service developer guide*.
|
4110
4161
|
#
|
4111
4162
|
#
|
4112
4163
|
#
|
4113
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4164
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/category-filtering.html
|
4114
4165
|
#
|
4115
4166
|
# @option params [String] :key
|
4116
4167
|
# The optional [API key][1] to authorize the request.
|
4117
4168
|
#
|
4118
4169
|
#
|
4119
4170
|
#
|
4120
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4171
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
4121
4172
|
#
|
4122
4173
|
# @return [Types::SearchPlaceIndexForSuggestionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4123
4174
|
#
|
@@ -4277,18 +4328,18 @@ module Aws::LocationService
|
|
4277
4328
|
#
|
4278
4329
|
# For more information about using categories, including a list of
|
4279
4330
|
# Amazon Location categories, see [Categories and filtering][1], in the
|
4280
|
-
# *Amazon Location Service
|
4331
|
+
# *Amazon Location Service developer guide*.
|
4281
4332
|
#
|
4282
4333
|
#
|
4283
4334
|
#
|
4284
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4335
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/category-filtering.html
|
4285
4336
|
#
|
4286
4337
|
# @option params [String] :key
|
4287
4338
|
# The optional [API key][1] to authorize the request.
|
4288
4339
|
#
|
4289
4340
|
#
|
4290
4341
|
#
|
4291
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4342
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
4292
4343
|
#
|
4293
4344
|
# @return [Types::SearchPlaceIndexForTextResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4294
4345
|
#
|
@@ -4814,6 +4865,16 @@ module Aws::LocationService
|
|
4814
4865
|
# was reported behind a proxy, and by comparing it to an inferred
|
4815
4866
|
# position estimated based on the device's state.
|
4816
4867
|
#
|
4868
|
+
# <note markdown="1"> The Location Integrity SDK provides enhanced features related to
|
4869
|
+
# device verification, and it is available for use by request. To get
|
4870
|
+
# access to the SDK, contact [Sales Support][1].
|
4871
|
+
#
|
4872
|
+
# </note>
|
4873
|
+
#
|
4874
|
+
#
|
4875
|
+
#
|
4876
|
+
# [1]: https://aws.amazon.com/contact-us/sales-support/?pg=locationprice&cta=herobtn
|
4877
|
+
#
|
4817
4878
|
# @option params [required, String] :tracker_name
|
4818
4879
|
# The name of the tracker resource to be associated with verification
|
4819
4880
|
# request.
|
@@ -4923,7 +4984,7 @@ module Aws::LocationService
|
|
4923
4984
|
tracer: tracer
|
4924
4985
|
)
|
4925
4986
|
context[:gem_name] = 'aws-sdk-locationservice'
|
4926
|
-
context[:gem_version] = '1.
|
4987
|
+
context[:gem_version] = '1.73.0'
|
4927
4988
|
Seahorse::Client::Request.new(handlers, context)
|
4928
4989
|
end
|
4929
4990
|
|
@@ -155,6 +155,8 @@ module Aws::LocationService
|
|
155
155
|
GeoArn = Shapes::StringShape.new(name: 'GeoArn')
|
156
156
|
GeoArnV2 = Shapes::StringShape.new(name: 'GeoArnV2')
|
157
157
|
GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
|
158
|
+
GeofenceGeometryMultiPolygonList = Shapes::ListShape.new(name: 'GeofenceGeometryMultiPolygonList')
|
159
|
+
GeofenceGeometryPolygonList = Shapes::ListShape.new(name: 'GeofenceGeometryPolygonList')
|
158
160
|
GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
|
159
161
|
GetDevicePositionHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetDevicePositionHistoryRequestMaxResultsInteger')
|
160
162
|
GetDevicePositionHistoryResponse = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryResponse')
|
@@ -307,6 +309,7 @@ module Aws::LocationService
|
|
307
309
|
SearchPlaceIndexForTextRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForTextRequestTextString')
|
308
310
|
SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
|
309
311
|
SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
|
312
|
+
SensitiveDouble = Shapes::FloatShape.new(name: 'SensitiveDouble')
|
310
313
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
311
314
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
312
315
|
SpeedUnit = Shapes::StringShape.new(name: 'SpeedUnit')
|
@@ -576,7 +579,7 @@ module Aws::LocationService
|
|
576
579
|
CellSignalsLteCellDetailsList.member = Shapes::ShapeRef.new(shape: LteCellDetails)
|
577
580
|
|
578
581
|
Circle.add_member(:center, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Center"))
|
579
|
-
Circle.add_member(:radius, Shapes::ShapeRef.new(shape:
|
582
|
+
Circle.add_member(:radius, Shapes::ShapeRef.new(shape: SensitiveDouble, required: true, location_name: "Radius"))
|
580
583
|
Circle.struct_class = Types::Circle
|
581
584
|
|
582
585
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -851,11 +854,16 @@ module Aws::LocationService
|
|
851
854
|
|
852
855
|
ForecastedEventsList.member = Shapes::ShapeRef.new(shape: ForecastedEvent)
|
853
856
|
|
854
|
-
GeofenceGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape:
|
857
|
+
GeofenceGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape: GeofenceGeometryPolygonList, location_name: "Polygon"))
|
855
858
|
GeofenceGeometry.add_member(:circle, Shapes::ShapeRef.new(shape: Circle, location_name: "Circle"))
|
856
859
|
GeofenceGeometry.add_member(:geobuf, Shapes::ShapeRef.new(shape: Base64EncodedGeobuf, location_name: "Geobuf"))
|
860
|
+
GeofenceGeometry.add_member(:multi_polygon, Shapes::ShapeRef.new(shape: GeofenceGeometryMultiPolygonList, location_name: "MultiPolygon"))
|
857
861
|
GeofenceGeometry.struct_class = Types::GeofenceGeometry
|
858
862
|
|
863
|
+
GeofenceGeometryMultiPolygonList.member = Shapes::ShapeRef.new(shape: LinearRings)
|
864
|
+
|
865
|
+
GeofenceGeometryPolygonList.member = Shapes::ShapeRef.new(shape: LinearRing)
|
866
|
+
|
859
867
|
GetDevicePositionHistoryRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
860
868
|
GetDevicePositionHistoryRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "DeviceId"))
|
861
869
|
GetDevicePositionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|