aws-sdk-locationservice 1.71.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +147 -76
- 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 +17 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +47 -46
- metadata +3 -3
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,16 @@
|
|
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
|
+
|
9
|
+
1.72.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.71.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.73.0
|
@@ -95,7 +95,7 @@ module Aws::LocationService
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::LocationService
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::LocationService
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::LocationService
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -367,7 +377,7 @@ module Aws::LocationService
|
|
367
377
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
368
378
|
#
|
369
379
|
# @option options [Aws::TokenProvider] :token_provider
|
370
|
-
#
|
380
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
371
381
|
# following classes:
|
372
382
|
#
|
373
383
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -754,6 +764,13 @@ module Aws::LocationService
|
|
754
764
|
# radius: 1.0, # required
|
755
765
|
# },
|
756
766
|
# geobuf: "data",
|
767
|
+
# multi_polygon: [
|
768
|
+
# [
|
769
|
+
# [
|
770
|
+
# [1.0],
|
771
|
+
# ],
|
772
|
+
# ],
|
773
|
+
# ],
|
757
774
|
# },
|
758
775
|
# geofence_properties: {
|
759
776
|
# "PropertyMapKeyString" => "PropertyMapValueString",
|
@@ -889,10 +906,10 @@ module Aws::LocationService
|
|
889
906
|
#
|
890
907
|
#
|
891
908
|
#
|
892
|
-
# [1]: https://docs.aws.amazon.com/location/
|
909
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route.html
|
893
910
|
# [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
|
894
|
-
# [3]: https://docs.aws.amazon.com/location/
|
895
|
-
# [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
|
896
913
|
#
|
897
914
|
# @option params [required, String] :calculator_name
|
898
915
|
# The name of the route calculator resource that you want to use to
|
@@ -918,7 +935,7 @@ module Aws::LocationService
|
|
918
935
|
#
|
919
936
|
#
|
920
937
|
# [1]: https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84
|
921
|
-
# [2]: https://docs.aws.amazon.com/location/
|
938
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
922
939
|
#
|
923
940
|
# @option params [required, Array<Float>] :destination_position
|
924
941
|
# The finish position for the route. Defined in [World Geodetic System
|
@@ -938,7 +955,7 @@ module Aws::LocationService
|
|
938
955
|
#
|
939
956
|
#
|
940
957
|
# [1]: https://earth-info.nga.mil/index.php?dir=wgs84&action=wgs84
|
941
|
-
# [2]: https://docs.aws.amazon.com/location/
|
958
|
+
# [2]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
942
959
|
#
|
943
960
|
# @option params [Array<Array>] :waypoint_positions
|
944
961
|
# Specifies an ordered list of up to 23 intermediate positions to
|
@@ -967,7 +984,7 @@ module Aws::LocationService
|
|
967
984
|
#
|
968
985
|
#
|
969
986
|
#
|
970
|
-
# [1]: https://docs.aws.amazon.com/location/
|
987
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/snap-to-nearby-road.html
|
971
988
|
#
|
972
989
|
# @option params [String] :travel_mode
|
973
990
|
# Specifies the mode of transport when calculating a route. Used in
|
@@ -997,7 +1014,7 @@ module Aws::LocationService
|
|
997
1014
|
#
|
998
1015
|
#
|
999
1016
|
#
|
1000
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1017
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1001
1018
|
#
|
1002
1019
|
# @option params [Time,DateTime,Date,Integer,String] :departure_time
|
1003
1020
|
# Specifies the desired time of departure. Uses the given time to
|
@@ -1065,7 +1082,7 @@ module Aws::LocationService
|
|
1065
1082
|
#
|
1066
1083
|
#
|
1067
1084
|
#
|
1068
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1085
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1069
1086
|
#
|
1070
1087
|
# @return [Types::CalculateRouteResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1071
1088
|
#
|
@@ -1185,10 +1202,10 @@ module Aws::LocationService
|
|
1185
1202
|
#
|
1186
1203
|
#
|
1187
1204
|
#
|
1188
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1205
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/calculate-route-matrix.html
|
1189
1206
|
# [2]: https://docs.aws.amazon.com/location-routes/latest/APIReference/API_CreateRouteCalculator.html
|
1190
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1191
|
-
# [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
|
1192
1209
|
#
|
1193
1210
|
# @option params [required, String] :calculator_name
|
1194
1211
|
# The name of the route calculator resource that you want to use to
|
@@ -1217,8 +1234,8 @@ module Aws::LocationService
|
|
1217
1234
|
#
|
1218
1235
|
#
|
1219
1236
|
# [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
|
1220
|
-
# [2]: https://docs.aws.amazon.com/location/
|
1221
|
-
# [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
|
1222
1239
|
#
|
1223
1240
|
# @option params [required, Array<Array>] :destination_positions
|
1224
1241
|
# The list of destination positions for the route matrix. An array of
|
@@ -1242,8 +1259,8 @@ module Aws::LocationService
|
|
1242
1259
|
#
|
1243
1260
|
#
|
1244
1261
|
# [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
|
1245
|
-
# [2]: https://docs.aws.amazon.com/location/
|
1246
|
-
# [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
|
1247
1264
|
#
|
1248
1265
|
# @option params [String] :travel_mode
|
1249
1266
|
# Specifies the mode of transport when calculating a route. Used in
|
@@ -1270,7 +1287,7 @@ module Aws::LocationService
|
|
1270
1287
|
#
|
1271
1288
|
#
|
1272
1289
|
#
|
1273
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1290
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/grab.html
|
1274
1291
|
#
|
1275
1292
|
# @option params [Time,DateTime,Date,Integer,String] :departure_time
|
1276
1293
|
# Specifies the desired time of departure. Uses the given time to
|
@@ -1325,7 +1342,7 @@ module Aws::LocationService
|
|
1325
1342
|
#
|
1326
1343
|
#
|
1327
1344
|
#
|
1328
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1345
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1329
1346
|
#
|
1330
1347
|
# @return [Types::CalculateRouteMatrixResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1331
1348
|
#
|
@@ -1495,7 +1512,7 @@ module Aws::LocationService
|
|
1495
1512
|
#
|
1496
1513
|
#
|
1497
1514
|
#
|
1498
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1515
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
1499
1516
|
#
|
1500
1517
|
# @option params [required, String] :key_name
|
1501
1518
|
# A custom name for the API key resource.
|
@@ -1742,23 +1759,23 @@ module Aws::LocationService
|
|
1742
1759
|
#
|
1743
1760
|
# If you specify HERE Technologies (`Here`) as the data provider, you
|
1744
1761
|
# may not [store results][7] for locations in Japan. For more
|
1745
|
-
# information, see the [Amazon Web Services
|
1762
|
+
# information, see the [Amazon Web Services service terms][8] for
|
1746
1763
|
# Amazon Location Service.
|
1747
1764
|
#
|
1748
1765
|
# For additional information , see [Data providers][9] on the *Amazon
|
1749
|
-
# Location Service
|
1766
|
+
# Location Service developer guide*.
|
1750
1767
|
#
|
1751
1768
|
#
|
1752
1769
|
#
|
1753
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1770
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/esri.html
|
1754
1771
|
# [2]: https://developers.arcgis.com/rest/geocode/api-reference/geocode-coverage.htm
|
1755
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1756
|
-
# [4]: https://docs.aws.amazon.com/location/
|
1757
|
-
# [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
|
1758
1775
|
# [6]: https://developer.here.com/documentation/geocoder/dev_guide/topics/coverage-geocoder.html
|
1759
1776
|
# [7]: https://docs.aws.amazon.com/location-places/latest/APIReference/API_DataSourceConfiguration.html
|
1760
1777
|
# [8]: http://aws.amazon.com/service-terms/
|
1761
|
-
# [9]: https://docs.aws.amazon.com/location/
|
1778
|
+
# [9]: https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html
|
1762
1779
|
#
|
1763
1780
|
# @option params [String] :pricing_plan
|
1764
1781
|
# No longer used. If included, the only allowed value is
|
@@ -1889,14 +1906,14 @@ module Aws::LocationService
|
|
1889
1906
|
#
|
1890
1907
|
#
|
1891
1908
|
#
|
1892
|
-
# [1]: https://docs.aws.amazon.com/location/
|
1909
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/esri.html
|
1893
1910
|
# [2]: https://doc.arcgis.com/en/arcgis-online/reference/network-coverage.htm
|
1894
|
-
# [3]: https://docs.aws.amazon.com/location/
|
1895
|
-
# [4]: https://docs.aws.amazon.com/location/
|
1896
|
-
# [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
|
1897
1914
|
# [6]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/car-routing.html
|
1898
1915
|
# [7]: https://developer.here.com/documentation/routing-api/dev_guide/topics/coverage/truck-routing.html
|
1899
|
-
# [8]: https://docs.aws.amazon.com/location/
|
1916
|
+
# [8]: https://docs.aws.amazon.com/location/previous/developerguide/what-is-data-provider.html
|
1900
1917
|
#
|
1901
1918
|
# @option params [String] :pricing_plan
|
1902
1919
|
# No longer used. If included, the only allowed value is
|
@@ -2619,29 +2636,46 @@ module Aws::LocationService
|
|
2619
2636
|
req.send_request(options)
|
2620
2637
|
end
|
2621
2638
|
|
2622
|
-
#
|
2623
|
-
#
|
2624
|
-
#
|
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:
|
2644
|
+
#
|
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.
|
2625
2648
|
#
|
2626
|
-
# `
|
2627
|
-
#
|
2628
|
-
#
|
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.
|
2629
2652
|
#
|
2630
|
-
# `
|
2631
|
-
#
|
2632
|
-
#
|
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.
|
2633
2656
|
#
|
2634
|
-
#
|
2635
|
-
#
|
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>
|
2636
2662
|
#
|
2637
2663
|
# @option params [required, String] :collection_name
|
2638
2664
|
# The name of the geofence collection.
|
2639
2665
|
#
|
2640
2666
|
# @option params [required, Types::ForecastGeofenceEventsDeviceState] :device_state
|
2641
|
-
#
|
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.
|
2642
2671
|
#
|
2643
2672
|
# @option params [Float] :time_horizon_minutes
|
2644
|
-
#
|
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.
|
2645
2679
|
#
|
2646
2680
|
# @option params [String] :distance_unit
|
2647
2681
|
# The distance unit used for the `NearestDistance` property returned in
|
@@ -2906,6 +2940,11 @@ module Aws::LocationService
|
|
2906
2940
|
# resp.geometry.circle.center[0] #=> Float
|
2907
2941
|
# resp.geometry.circle.radius #=> Float
|
2908
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
|
2909
2948
|
# resp.status #=> String
|
2910
2949
|
# resp.create_time #=> Time
|
2911
2950
|
# resp.update_time #=> Time
|
@@ -2991,10 +3030,10 @@ module Aws::LocationService
|
|
2991
3030
|
#
|
2992
3031
|
#
|
2993
3032
|
#
|
2994
|
-
# [1]: https://docs.aws.amazon.com/location/
|
2995
|
-
# [2]: https://docs.aws.amazon.com/location/
|
2996
|
-
# [3]: https://docs.aws.amazon.com/location/
|
2997
|
-
# [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
|
2998
3037
|
#
|
2999
3038
|
# @option params [required, String] :font_unicode_range
|
3000
3039
|
# A Unicode range of characters to download glyphs for. Each response
|
@@ -3007,7 +3046,7 @@ module Aws::LocationService
|
|
3007
3046
|
#
|
3008
3047
|
#
|
3009
3048
|
#
|
3010
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3049
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3011
3050
|
#
|
3012
3051
|
# @return [Types::GetMapGlyphsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3013
3052
|
#
|
@@ -3066,7 +3105,7 @@ module Aws::LocationService
|
|
3066
3105
|
#
|
3067
3106
|
#
|
3068
3107
|
#
|
3069
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3108
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3070
3109
|
#
|
3071
3110
|
# @return [Types::GetMapSpritesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3072
3111
|
#
|
@@ -3112,7 +3151,7 @@ module Aws::LocationService
|
|
3112
3151
|
#
|
3113
3152
|
#
|
3114
3153
|
#
|
3115
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3154
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3116
3155
|
#
|
3117
3156
|
# @return [Types::GetMapStyleDescriptorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3118
3157
|
#
|
@@ -3168,7 +3207,7 @@ module Aws::LocationService
|
|
3168
3207
|
#
|
3169
3208
|
#
|
3170
3209
|
#
|
3171
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3210
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3172
3211
|
#
|
3173
3212
|
# @return [Types::GetMapTileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3174
3213
|
#
|
@@ -3215,6 +3254,17 @@ module Aws::LocationService
|
|
3215
3254
|
#
|
3216
3255
|
# </note>
|
3217
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
|
+
#
|
3218
3268
|
# @option params [required, String] :index_name
|
3219
3269
|
# The name of the place index resource that you want to use for the
|
3220
3270
|
# search.
|
@@ -3251,7 +3301,7 @@ module Aws::LocationService
|
|
3251
3301
|
#
|
3252
3302
|
#
|
3253
3303
|
#
|
3254
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3304
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3255
3305
|
#
|
3256
3306
|
# @return [Types::GetPlaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3257
3307
|
#
|
@@ -3453,6 +3503,11 @@ module Aws::LocationService
|
|
3453
3503
|
# resp.data.entries[0].geometry.circle.center[0] #=> Float
|
3454
3504
|
# resp.data.entries[0].geometry.circle.radius #=> Float
|
3455
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
|
3456
3511
|
# resp.data.entries[0].status #=> String
|
3457
3512
|
# resp.data.entries[0].create_time #=> Time
|
3458
3513
|
# resp.data.entries[0].update_time #=> Time
|
@@ -3816,19 +3871,18 @@ module Aws::LocationService
|
|
3816
3871
|
#
|
3817
3872
|
# @option params [required, Types::GeofenceGeometry] :geometry
|
3818
3873
|
# Contains the details to specify the position of the geofence. Can be a
|
3819
|
-
#
|
3820
|
-
#
|
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.
|
3821
3879
|
#
|
3822
|
-
# <note markdown="1"> The
|
3823
|
-
# 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
|
3824
3882
|
# 100,000 vertices.
|
3825
3883
|
#
|
3826
3884
|
# </note>
|
3827
3885
|
#
|
3828
|
-
#
|
3829
|
-
#
|
3830
|
-
# [1]: https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html
|
3831
|
-
#
|
3832
3886
|
# @option params [Hash<String,String>] :geofence_properties
|
3833
3887
|
# Associates one of more properties with the geofence. A property is a
|
3834
3888
|
# key-value pair stored with the geofence and added to any geofence
|
@@ -3858,6 +3912,13 @@ module Aws::LocationService
|
|
3858
3912
|
# radius: 1.0, # required
|
3859
3913
|
# },
|
3860
3914
|
# geobuf: "data",
|
3915
|
+
# multi_polygon: [
|
3916
|
+
# [
|
3917
|
+
# [
|
3918
|
+
# [1.0],
|
3919
|
+
# ],
|
3920
|
+
# ],
|
3921
|
+
# ],
|
3861
3922
|
# },
|
3862
3923
|
# geofence_properties: {
|
3863
3924
|
# "PropertyMapKeyString" => "PropertyMapValueString",
|
@@ -3931,7 +3992,7 @@ module Aws::LocationService
|
|
3931
3992
|
#
|
3932
3993
|
#
|
3933
3994
|
#
|
3934
|
-
# [1]: https://docs.aws.amazon.com/location/
|
3995
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
3935
3996
|
#
|
3936
3997
|
# @return [Types::SearchPlaceIndexForPositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3937
3998
|
#
|
@@ -4096,18 +4157,18 @@ module Aws::LocationService
|
|
4096
4157
|
#
|
4097
4158
|
# For more information about using categories, including a list of
|
4098
4159
|
# Amazon Location categories, see [Categories and filtering][1], in the
|
4099
|
-
# *Amazon Location Service
|
4160
|
+
# *Amazon Location Service developer guide*.
|
4100
4161
|
#
|
4101
4162
|
#
|
4102
4163
|
#
|
4103
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4164
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/category-filtering.html
|
4104
4165
|
#
|
4105
4166
|
# @option params [String] :key
|
4106
4167
|
# The optional [API key][1] to authorize the request.
|
4107
4168
|
#
|
4108
4169
|
#
|
4109
4170
|
#
|
4110
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4171
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
4111
4172
|
#
|
4112
4173
|
# @return [Types::SearchPlaceIndexForSuggestionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4113
4174
|
#
|
@@ -4267,18 +4328,18 @@ module Aws::LocationService
|
|
4267
4328
|
#
|
4268
4329
|
# For more information about using categories, including a list of
|
4269
4330
|
# Amazon Location categories, see [Categories and filtering][1], in the
|
4270
|
-
# *Amazon Location Service
|
4331
|
+
# *Amazon Location Service developer guide*.
|
4271
4332
|
#
|
4272
4333
|
#
|
4273
4334
|
#
|
4274
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4335
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/category-filtering.html
|
4275
4336
|
#
|
4276
4337
|
# @option params [String] :key
|
4277
4338
|
# The optional [API key][1] to authorize the request.
|
4278
4339
|
#
|
4279
4340
|
#
|
4280
4341
|
#
|
4281
|
-
# [1]: https://docs.aws.amazon.com/location/
|
4342
|
+
# [1]: https://docs.aws.amazon.com/location/previous/developerguide/using-apikeys.html
|
4282
4343
|
#
|
4283
4344
|
# @return [Types::SearchPlaceIndexForTextResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4284
4345
|
#
|
@@ -4804,6 +4865,16 @@ module Aws::LocationService
|
|
4804
4865
|
# was reported behind a proxy, and by comparing it to an inferred
|
4805
4866
|
# position estimated based on the device's state.
|
4806
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
|
+
#
|
4807
4878
|
# @option params [required, String] :tracker_name
|
4808
4879
|
# The name of the tracker resource to be associated with verification
|
4809
4880
|
# request.
|
@@ -4913,7 +4984,7 @@ module Aws::LocationService
|
|
4913
4984
|
tracer: tracer
|
4914
4985
|
)
|
4915
4986
|
context[:gem_name] = 'aws-sdk-locationservice'
|
4916
|
-
context[:gem_version] = '1.
|
4987
|
+
context[:gem_version] = '1.73.0'
|
4917
4988
|
Seahorse::Client::Request.new(handlers, context)
|
4918
4989
|
end
|
4919
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"))
|