aws-sdk-locationservice 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +77 -18
- data/lib/aws-sdk-locationservice/client_api.rb +4 -0
- data/lib/aws-sdk-locationservice/types.rb +94 -41
- data/lib/aws-sdk-locationservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c2652186ef59297e55ac14831c12384366a2c6eb3daba4b3646940829a45e82
|
4
|
+
data.tar.gz: 116faf2229c96679e030ec45ca858aa6c54c365232594d3ba7a2f52b8f9a1fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c818967f3c0d00158dc850b4dee6c2e4dea7f9090569c1b0a54020656d5ef3d1d0f056641d9d45aaf3e58cb7a21edc6a6d63212623f0a948eb5689ed1e7fbe0f
|
7
|
+
data.tar.gz: '0916ccd0676e1dfad621c82f5d504a9dd895b9d0acfac52a2cdf54705e600c1e335692f6aa541a3265b86854140d44c095768e3731de7e2eb066e88394467dc1'
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.9.0
|
@@ -614,12 +614,20 @@ module Aws::LocationService
|
|
614
614
|
end
|
615
615
|
|
616
616
|
# Uploads position update data for one or more devices to a tracker
|
617
|
-
# resource. Amazon Location uses the data when
|
618
|
-
# device position and position history.
|
619
|
-
#
|
620
|
-
#
|
621
|
-
#
|
622
|
-
#
|
617
|
+
# resource. Amazon Location uses the data when it reports the last known
|
618
|
+
# device position and position history. Amazon Location retains location
|
619
|
+
# data for 30 days.
|
620
|
+
#
|
621
|
+
# <note markdown="1"> Position updates are handled based on the `PositionFiltering` property
|
622
|
+
# of the tracker. When `PositionFiltering` is set to `TimeBased`,
|
623
|
+
# updates are evaluated against linked geofence collections, and
|
624
|
+
# location data is stored at a maximum of one position per 30 second
|
625
|
+
# interval. If your update frequency is more often than every 30
|
626
|
+
# seconds, only one update per 30 seconds is stored for each unique
|
627
|
+
# device ID. When `PositionFiltering` is set to `DistanceBased`
|
628
|
+
# filtering, location data is stored and evaluated against linked
|
629
|
+
# geofence collections only if the device has moved more than 30 m (98.4
|
630
|
+
# ft).
|
623
631
|
#
|
624
632
|
# </note>
|
625
633
|
#
|
@@ -723,7 +731,9 @@ module Aws::LocationService
|
|
723
731
|
# ^
|
724
732
|
#
|
725
733
|
# <note markdown="1"> If you specify a departure that's not located on a road, Amazon
|
726
|
-
# Location [moves the position to the nearest road][2].
|
734
|
+
# Location [moves the position to the nearest road][2]. If Esri is the
|
735
|
+
# provider for your route calculator, specifying a route that is longer
|
736
|
+
# than 400 km returns a `400 RoutesValidationException` error.
|
727
737
|
#
|
728
738
|
# </note>
|
729
739
|
#
|
@@ -823,6 +833,10 @@ module Aws::LocationService
|
|
823
833
|
# Specifying more than 23 waypoints returns a `400 ValidationException`
|
824
834
|
# error.
|
825
835
|
#
|
836
|
+
# If Esri is the provider for your route calculator, specifying a route
|
837
|
+
# that is longer than 400 km returns a `400 RoutesValidationException`
|
838
|
+
# error.
|
839
|
+
#
|
826
840
|
# </note>
|
827
841
|
#
|
828
842
|
# Valid Values: `[-180 to 180,-90 to 90]`
|
@@ -1045,7 +1059,7 @@ module Aws::LocationService
|
|
1045
1059
|
# Specifies the pricing plan for your map resource.
|
1046
1060
|
#
|
1047
1061
|
# For additional details and restrictions on each pricing plan option,
|
1048
|
-
# see
|
1062
|
+
# see [Amazon Location Service pricing][1].
|
1049
1063
|
#
|
1050
1064
|
#
|
1051
1065
|
#
|
@@ -1123,7 +1137,7 @@ module Aws::LocationService
|
|
1123
1137
|
# your region of interest, see [Esri details on geocoding
|
1124
1138
|
# coverage][2].
|
1125
1139
|
#
|
1126
|
-
# * `Here` – For additional information about [HERE Technologies][3]'
|
1140
|
+
# * `Here` – For additional information about [HERE Technologies][3]'
|
1127
1141
|
# coverage in your region of interest, see [HERE details on goecoding
|
1128
1142
|
# coverage][4].
|
1129
1143
|
#
|
@@ -1167,7 +1181,7 @@ module Aws::LocationService
|
|
1167
1181
|
# Specifies the pricing plan for your place index resource.
|
1168
1182
|
#
|
1169
1183
|
# For additional details and restrictions on each pricing plan option,
|
1170
|
-
# see
|
1184
|
+
# see [Amazon Location Service pricing][1].
|
1171
1185
|
#
|
1172
1186
|
#
|
1173
1187
|
#
|
@@ -1251,7 +1265,9 @@ module Aws::LocationService
|
|
1251
1265
|
# Specifies the data provider of traffic and road network data.
|
1252
1266
|
#
|
1253
1267
|
# <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
|
1254
|
-
# example, entering `HERE` returns an error.
|
1268
|
+
# example, entering `HERE` returns an error. Route calculators that use
|
1269
|
+
# Esri as a data source only calculate routes that are shorter than 400
|
1270
|
+
# km.
|
1255
1271
|
#
|
1256
1272
|
# </note>
|
1257
1273
|
#
|
@@ -1261,7 +1277,7 @@ module Aws::LocationService
|
|
1261
1277
|
# your region of interest, see [Esri details on street networks and
|
1262
1278
|
# traffic coverage][2].
|
1263
1279
|
#
|
1264
|
-
# * `Here` – For additional information about [HERE Technologies][3]'
|
1280
|
+
# * `Here` – For additional information about [HERE Technologies][3]'
|
1265
1281
|
# coverage in your region of interest, see [HERE car routing
|
1266
1282
|
# coverage][4] and [HERE truck routing coverage][5].
|
1267
1283
|
#
|
@@ -1361,11 +1377,32 @@ module Aws::LocationService
|
|
1361
1377
|
#
|
1362
1378
|
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
1363
1379
|
#
|
1380
|
+
# @option params [String] :position_filtering
|
1381
|
+
# Specifies the position filtering for the tracker resource.
|
1382
|
+
#
|
1383
|
+
# Valid values:
|
1384
|
+
#
|
1385
|
+
# * `TimeBased` - Location updates are evaluated against linked geofence
|
1386
|
+
# collections, but not every location update is stored. If your update
|
1387
|
+
# frequency is more often than 30 seconds, only one update per 30
|
1388
|
+
# seconds is stored for each unique device ID.
|
1389
|
+
#
|
1390
|
+
# * `DistanceBased` - If the device has moved less than 30 m (98.4 ft),
|
1391
|
+
# location updates are ignored. Location updates within this distance
|
1392
|
+
# are neither evaluated against linked geofence collections, nor
|
1393
|
+
# stored. This helps control costs by reducing the number of geofence
|
1394
|
+
# evaluations and device positions to retrieve. Distance-based
|
1395
|
+
# filtering can also reduce the jitter effect when displaying device
|
1396
|
+
# trajectory on a map.
|
1397
|
+
#
|
1398
|
+
# This field is optional. If not specified, the default value is
|
1399
|
+
# `TimeBased`.
|
1400
|
+
#
|
1364
1401
|
# @option params [required, String] :pricing_plan
|
1365
1402
|
# Specifies the pricing plan for the tracker resource.
|
1366
1403
|
#
|
1367
1404
|
# For additional details and restrictions on each pricing plan option,
|
1368
|
-
# see
|
1405
|
+
# see [Amazon Location Service pricing][1].
|
1369
1406
|
#
|
1370
1407
|
#
|
1371
1408
|
#
|
@@ -1389,7 +1426,7 @@ module Aws::LocationService
|
|
1389
1426
|
#
|
1390
1427
|
# </note>
|
1391
1428
|
#
|
1392
|
-
# Valid
|
1429
|
+
# Valid values: `Esri` \| `Here`
|
1393
1430
|
#
|
1394
1431
|
#
|
1395
1432
|
#
|
@@ -1439,6 +1476,7 @@ module Aws::LocationService
|
|
1439
1476
|
# resp = client.create_tracker({
|
1440
1477
|
# description: "ResourceDescription",
|
1441
1478
|
# kms_key_id: "KmsKeyId",
|
1479
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
1442
1480
|
# pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
1443
1481
|
# pricing_plan_data_source: "String",
|
1444
1482
|
# tags: {
|
@@ -1785,6 +1823,7 @@ module Aws::LocationService
|
|
1785
1823
|
# * {Types::DescribeTrackerResponse#create_time #create_time} => Time
|
1786
1824
|
# * {Types::DescribeTrackerResponse#description #description} => String
|
1787
1825
|
# * {Types::DescribeTrackerResponse#kms_key_id #kms_key_id} => String
|
1826
|
+
# * {Types::DescribeTrackerResponse#position_filtering #position_filtering} => String
|
1788
1827
|
# * {Types::DescribeTrackerResponse#pricing_plan #pricing_plan} => String
|
1789
1828
|
# * {Types::DescribeTrackerResponse#pricing_plan_data_source #pricing_plan_data_source} => String
|
1790
1829
|
# * {Types::DescribeTrackerResponse#tags #tags} => Hash<String,String>
|
@@ -1803,6 +1842,7 @@ module Aws::LocationService
|
|
1803
1842
|
# resp.create_time #=> Time
|
1804
1843
|
# resp.description #=> String
|
1805
1844
|
# resp.kms_key_id #=> String
|
1845
|
+
# resp.position_filtering #=> String, one of "TimeBased", "DistanceBased"
|
1806
1846
|
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
|
1807
1847
|
# resp.pricing_plan_data_source #=> String
|
1808
1848
|
# resp.tags #=> Hash
|
@@ -2041,7 +2081,7 @@ module Aws::LocationService
|
|
2041
2081
|
# A comma-separated list of fonts to load glyphs from in order of
|
2042
2082
|
# preference. For example, `Noto Sans Regular, Arial Unicode`.
|
2043
2083
|
#
|
2044
|
-
# Valid fonts for [Esri][1] styles:
|
2084
|
+
# Valid fonts stacks for [Esri][1] styles:
|
2045
2085
|
#
|
2046
2086
|
# * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu Medium`
|
2047
2087
|
# \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
|
@@ -2059,9 +2099,9 @@ module Aws::LocationService
|
|
2059
2099
|
# * VectorEsriNavigation – `Arial Regular` \| `Arial Italic` \| `Arial
|
2060
2100
|
# Bold`
|
2061
2101
|
#
|
2062
|
-
# Valid
|
2102
|
+
# Valid font stacks for [HERE Technologies][2] styles:
|
2063
2103
|
#
|
2064
|
-
# *
|
2104
|
+
# * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
|
2065
2105
|
#
|
2066
2106
|
# ^
|
2067
2107
|
#
|
@@ -3200,6 +3240,24 @@ module Aws::LocationService
|
|
3200
3240
|
# @option params [String] :description
|
3201
3241
|
# Updates the description for the tracker resource.
|
3202
3242
|
#
|
3243
|
+
# @option params [String] :position_filtering
|
3244
|
+
# Updates the position filtering for the tracker resource.
|
3245
|
+
#
|
3246
|
+
# Valid values:
|
3247
|
+
#
|
3248
|
+
# * `TimeBased` - Location updates are evaluated against linked geofence
|
3249
|
+
# collections, but not every location update is stored. If your update
|
3250
|
+
# frequency is more often than 30 seconds, only one update per 30
|
3251
|
+
# seconds is stored for each unique device ID.
|
3252
|
+
#
|
3253
|
+
# * `DistanceBased` - If the device has moved less than 30 m (98.4 ft),
|
3254
|
+
# location updates are ignored. Location updates within this distance
|
3255
|
+
# are neither evaluated against linked geofence collections, nor
|
3256
|
+
# stored. This helps control costs by reducing the number of geofence
|
3257
|
+
# evaluations and device positions to retrieve. Distance-based
|
3258
|
+
# filtering can also reduce the jitter effect when displaying device
|
3259
|
+
# trajectory on a map.
|
3260
|
+
#
|
3203
3261
|
# @option params [String] :pricing_plan
|
3204
3262
|
# Updates the pricing plan for the tracker resource.
|
3205
3263
|
#
|
@@ -3247,6 +3305,7 @@ module Aws::LocationService
|
|
3247
3305
|
#
|
3248
3306
|
# resp = client.update_tracker({
|
3249
3307
|
# description: "ResourceDescription",
|
3308
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
3250
3309
|
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
3251
3310
|
# pricing_plan_data_source: "String",
|
3252
3311
|
# tracker_name: "ResourceName", # required
|
@@ -3280,7 +3339,7 @@ module Aws::LocationService
|
|
3280
3339
|
params: params,
|
3281
3340
|
config: config)
|
3282
3341
|
context[:gem_name] = 'aws-sdk-locationservice'
|
3283
|
-
context[:gem_version] = '1.
|
3342
|
+
context[:gem_version] = '1.9.0'
|
3284
3343
|
Seahorse::Client::Request.new(handlers, context)
|
3285
3344
|
end
|
3286
3345
|
|
@@ -184,6 +184,7 @@ module Aws::LocationService
|
|
184
184
|
PlaceGeometry = Shapes::StructureShape.new(name: 'PlaceGeometry')
|
185
185
|
PlaceIndexSearchResultLimit = Shapes::IntegerShape.new(name: 'PlaceIndexSearchResultLimit')
|
186
186
|
Position = Shapes::ListShape.new(name: 'Position')
|
187
|
+
PositionFiltering = Shapes::StringShape.new(name: 'PositionFiltering')
|
187
188
|
PricingPlan = Shapes::StringShape.new(name: 'PricingPlan')
|
188
189
|
PutGeofenceRequest = Shapes::StructureShape.new(name: 'PutGeofenceRequest')
|
189
190
|
PutGeofenceResponse = Shapes::StructureShape.new(name: 'PutGeofenceResponse')
|
@@ -458,6 +459,7 @@ module Aws::LocationService
|
|
458
459
|
|
459
460
|
CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
460
461
|
CreateTrackerRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
462
|
+
CreateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
461
463
|
CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
|
462
464
|
CreateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
463
465
|
CreateTrackerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
@@ -558,6 +560,7 @@ module Aws::LocationService
|
|
558
560
|
DescribeTrackerResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
559
561
|
DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
560
562
|
DescribeTrackerResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
563
|
+
DescribeTrackerResponse.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
561
564
|
DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, required: true, location_name: "PricingPlan"))
|
562
565
|
DescribeTrackerResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
563
566
|
DescribeTrackerResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
@@ -985,6 +988,7 @@ module Aws::LocationService
|
|
985
988
|
UpdateRouteCalculatorResponse.struct_class = Types::UpdateRouteCalculatorResponse
|
986
989
|
|
987
990
|
UpdateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
991
|
+
UpdateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
988
992
|
UpdateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, location_name: "PricingPlan"))
|
989
993
|
UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, location_name: "PricingPlanDataSource"))
|
990
994
|
UpdateTrackerRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
@@ -675,7 +675,9 @@ module Aws::LocationService
|
|
675
675
|
# ^
|
676
676
|
#
|
677
677
|
# <note markdown="1"> If you specify a departure that's not located on a road, Amazon
|
678
|
-
# Location [moves the position to the nearest road][2].
|
678
|
+
# Location [moves the position to the nearest road][2]. If Esri is the
|
679
|
+
# provider for your route calculator, specifying a route that is
|
680
|
+
# longer than 400 km returns a `400 RoutesValidationException` error.
|
679
681
|
#
|
680
682
|
# </note>
|
681
683
|
#
|
@@ -782,6 +784,10 @@ module Aws::LocationService
|
|
782
784
|
# Specifying more than 23 waypoints returns a `400
|
783
785
|
# ValidationException` error.
|
784
786
|
#
|
787
|
+
# If Esri is the provider for your route calculator, specifying a
|
788
|
+
# route that is longer than 400 km returns a `400
|
789
|
+
# RoutesValidationException` error.
|
790
|
+
#
|
785
791
|
# </note>
|
786
792
|
#
|
787
793
|
# Valid Values: `[-180 to 180,-90 to 90]`
|
@@ -878,9 +884,9 @@ module Aws::LocationService
|
|
878
884
|
# The total distance covered by the route. The sum of the distance
|
879
885
|
# travelled between every stop on the route.
|
880
886
|
#
|
881
|
-
# <note markdown="1">
|
882
|
-
#
|
883
|
-
# RoutesValidationException` error.
|
887
|
+
# <note markdown="1"> If Esri is the data source for the route calculator, the route
|
888
|
+
# distance can’t be greater than 400 km. If the route exceeds 400 km,
|
889
|
+
# the response is a `400 RoutesValidationException` error.
|
884
890
|
#
|
885
891
|
# </note>
|
886
892
|
# @return [Float]
|
@@ -912,8 +918,8 @@ module Aws::LocationService
|
|
912
918
|
# * The third `bbox` position is the X coordinate, or longitude of the
|
913
919
|
# upper northeast corner.
|
914
920
|
#
|
915
|
-
# * The fourth `bbox` position is the Y coordinate, or
|
916
|
-
#
|
921
|
+
# * The fourth `bbox` position is the Y coordinate, or latitude of the
|
922
|
+
# upper northeast corner.
|
917
923
|
# @return [Array<Float>]
|
918
924
|
#
|
919
925
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/CalculateRouteSummary AWS API Documentation
|
@@ -1185,7 +1191,7 @@ module Aws::LocationService
|
|
1185
1191
|
# Specifies the pricing plan for your map resource.
|
1186
1192
|
#
|
1187
1193
|
# For additional details and restrictions on each pricing plan option,
|
1188
|
-
# see
|
1194
|
+
# see [Amazon Location Service pricing][1].
|
1189
1195
|
#
|
1190
1196
|
#
|
1191
1197
|
#
|
@@ -1287,9 +1293,9 @@ module Aws::LocationService
|
|
1287
1293
|
# your region of interest, see [Esri details on geocoding
|
1288
1294
|
# coverage][2].
|
1289
1295
|
#
|
1290
|
-
# * `Here` – For additional information about [HERE
|
1291
|
-
#
|
1292
|
-
#
|
1296
|
+
# * `Here` – For additional information about [HERE Technologies][3]'
|
1297
|
+
# coverage in your region of interest, see [HERE details on
|
1298
|
+
# goecoding coverage][4].
|
1293
1299
|
#
|
1294
1300
|
# Place index resources using HERE Technologies as a data provider
|
1295
1301
|
# can't [store results][5] for locations in Japan. For more
|
@@ -1335,7 +1341,7 @@ module Aws::LocationService
|
|
1335
1341
|
# Specifies the pricing plan for your place index resource.
|
1336
1342
|
#
|
1337
1343
|
# For additional details and restrictions on each pricing plan option,
|
1338
|
-
# see
|
1344
|
+
# see [Amazon Location Service pricing][1].
|
1339
1345
|
#
|
1340
1346
|
#
|
1341
1347
|
#
|
@@ -1439,7 +1445,9 @@ module Aws::LocationService
|
|
1439
1445
|
# Specifies the data provider of traffic and road network data.
|
1440
1446
|
#
|
1441
1447
|
# <note markdown="1"> This field is case-sensitive. Enter the valid values as shown. For
|
1442
|
-
# example, entering `HERE` returns an error.
|
1448
|
+
# example, entering `HERE` returns an error. Route calculators that
|
1449
|
+
# use Esri as a data source only calculate routes that are shorter
|
1450
|
+
# than 400 km.
|
1443
1451
|
#
|
1444
1452
|
# </note>
|
1445
1453
|
#
|
@@ -1449,9 +1457,9 @@ module Aws::LocationService
|
|
1449
1457
|
# your region of interest, see [Esri details on street networks and
|
1450
1458
|
# traffic coverage][2].
|
1451
1459
|
#
|
1452
|
-
# * `Here` – For additional information about [HERE
|
1453
|
-
#
|
1454
|
-
#
|
1460
|
+
# * `Here` – For additional information about [HERE Technologies][3]'
|
1461
|
+
# coverage in your region of interest, see [HERE car routing
|
1462
|
+
# coverage][4] and [HERE truck routing coverage][5].
|
1455
1463
|
#
|
1456
1464
|
# For additional information , see [Data providers][6] on the *Amazon
|
1457
1465
|
# Location Service Developer Guide*.
|
@@ -1565,6 +1573,7 @@ module Aws::LocationService
|
|
1565
1573
|
# {
|
1566
1574
|
# description: "ResourceDescription",
|
1567
1575
|
# kms_key_id: "KmsKeyId",
|
1576
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
1568
1577
|
# pricing_plan: "RequestBasedUsage", # required, accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
1569
1578
|
# pricing_plan_data_source: "String",
|
1570
1579
|
# tags: {
|
@@ -1586,11 +1595,33 @@ module Aws::LocationService
|
|
1586
1595
|
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
1587
1596
|
# @return [String]
|
1588
1597
|
#
|
1598
|
+
# @!attribute [rw] position_filtering
|
1599
|
+
# Specifies the position filtering for the tracker resource.
|
1600
|
+
#
|
1601
|
+
# Valid values:
|
1602
|
+
#
|
1603
|
+
# * `TimeBased` - Location updates are evaluated against linked
|
1604
|
+
# geofence collections, but not every location update is stored. If
|
1605
|
+
# your update frequency is more often than 30 seconds, only one
|
1606
|
+
# update per 30 seconds is stored for each unique device ID.
|
1607
|
+
#
|
1608
|
+
# * `DistanceBased` - If the device has moved less than 30 m (98.4
|
1609
|
+
# ft), location updates are ignored. Location updates within this
|
1610
|
+
# distance are neither evaluated against linked geofence
|
1611
|
+
# collections, nor stored. This helps control costs by reducing the
|
1612
|
+
# number of geofence evaluations and device positions to retrieve.
|
1613
|
+
# Distance-based filtering can also reduce the jitter effect when
|
1614
|
+
# displaying device trajectory on a map.
|
1615
|
+
#
|
1616
|
+
# This field is optional. If not specified, the default value is
|
1617
|
+
# `TimeBased`.
|
1618
|
+
# @return [String]
|
1619
|
+
#
|
1589
1620
|
# @!attribute [rw] pricing_plan
|
1590
1621
|
# Specifies the pricing plan for the tracker resource.
|
1591
1622
|
#
|
1592
1623
|
# For additional details and restrictions on each pricing plan option,
|
1593
|
-
# see
|
1624
|
+
# see [Amazon Location Service pricing][1].
|
1594
1625
|
#
|
1595
1626
|
#
|
1596
1627
|
#
|
@@ -1615,7 +1646,7 @@ module Aws::LocationService
|
|
1615
1646
|
#
|
1616
1647
|
# </note>
|
1617
1648
|
#
|
1618
|
-
# Valid
|
1649
|
+
# Valid values: `Esri` \| `Here`
|
1619
1650
|
#
|
1620
1651
|
#
|
1621
1652
|
#
|
@@ -1662,6 +1693,7 @@ module Aws::LocationService
|
|
1662
1693
|
class CreateTrackerRequest < Struct.new(
|
1663
1694
|
:description,
|
1664
1695
|
:kms_key_id,
|
1696
|
+
:position_filtering,
|
1665
1697
|
:pricing_plan,
|
1666
1698
|
:pricing_plan_data_source,
|
1667
1699
|
:tags,
|
@@ -2022,7 +2054,7 @@ module Aws::LocationService
|
|
2022
2054
|
# @!attribute [rw] pricing_plan
|
2023
2055
|
# The pricing plan selected for the specified map resource.
|
2024
2056
|
#
|
2025
|
-
# <p>For additional details and restrictions on each pricing plan option, see
|
2057
|
+
# <p>For additional details and restrictions on each pricing plan option, see <a href="https://aws.amazon.com/location/pricing/">Amazon Location Service pricing</a>.</p>
|
2026
2058
|
# @return [String]
|
2027
2059
|
#
|
2028
2060
|
# @!attribute [rw] tags
|
@@ -2090,8 +2122,8 @@ module Aws::LocationService
|
|
2090
2122
|
#
|
2091
2123
|
# * `Here`
|
2092
2124
|
#
|
2093
|
-
# For additional details on data providers, see
|
2094
|
-
# Service data providers
|
2125
|
+
# For additional details on data providers, see [Amazon Location
|
2126
|
+
# Service data providers][1].
|
2095
2127
|
#
|
2096
2128
|
#
|
2097
2129
|
#
|
@@ -2124,7 +2156,7 @@ module Aws::LocationService
|
|
2124
2156
|
# The pricing plan selected for the specified place index resource.
|
2125
2157
|
#
|
2126
2158
|
# For additional details and restrictions on each pricing plan option,
|
2127
|
-
# see
|
2159
|
+
# see [Amazon Location Service pricing][1].
|
2128
2160
|
#
|
2129
2161
|
#
|
2130
2162
|
#
|
@@ -2311,11 +2343,15 @@ module Aws::LocationService
|
|
2311
2343
|
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
2312
2344
|
# @return [String]
|
2313
2345
|
#
|
2346
|
+
# @!attribute [rw] position_filtering
|
2347
|
+
# The position filtering method of the tracker resource.
|
2348
|
+
# @return [String]
|
2349
|
+
#
|
2314
2350
|
# @!attribute [rw] pricing_plan
|
2315
2351
|
# The pricing plan selected for the specified tracker resource.
|
2316
2352
|
#
|
2317
2353
|
# For additional details and restrictions on each pricing plan option,
|
2318
|
-
# see
|
2354
|
+
# see [Amazon Location Service pricing][1].
|
2319
2355
|
#
|
2320
2356
|
#
|
2321
2357
|
#
|
@@ -2359,6 +2395,7 @@ module Aws::LocationService
|
|
2359
2395
|
:create_time,
|
2360
2396
|
:description,
|
2361
2397
|
:kms_key_id,
|
2398
|
+
:position_filtering,
|
2362
2399
|
:pricing_plan,
|
2363
2400
|
:pricing_plan_data_source,
|
2364
2401
|
:tags,
|
@@ -2776,7 +2813,7 @@ module Aws::LocationService
|
|
2776
2813
|
# A comma-separated list of fonts to load glyphs from in order of
|
2777
2814
|
# preference. For example, `Noto Sans Regular, Arial Unicode`.
|
2778
2815
|
#
|
2779
|
-
# Valid fonts for [Esri][1] styles:
|
2816
|
+
# Valid fonts stacks for [Esri][1] styles:
|
2780
2817
|
#
|
2781
2818
|
# * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu
|
2782
2819
|
# Medium` \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
|
@@ -2794,9 +2831,9 @@ module Aws::LocationService
|
|
2794
2831
|
# * VectorEsriNavigation – `Arial Regular` \| `Arial Italic` \| `Arial
|
2795
2832
|
# Bold`
|
2796
2833
|
#
|
2797
|
-
# Valid
|
2834
|
+
# Valid font stacks for [HERE Technologies][2] styles:
|
2798
2835
|
#
|
2799
|
-
# *
|
2836
|
+
# * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
|
2800
2837
|
#
|
2801
2838
|
# ^
|
2802
2839
|
#
|
@@ -3500,7 +3537,7 @@ module Aws::LocationService
|
|
3500
3537
|
# The pricing plan for the specified map resource.
|
3501
3538
|
#
|
3502
3539
|
# For additional details and restrictions on each pricing plan option,
|
3503
|
-
# see
|
3540
|
+
# see [Amazon Location Service pricing][1].
|
3504
3541
|
#
|
3505
3542
|
#
|
3506
3543
|
#
|
@@ -3599,8 +3636,8 @@ module Aws::LocationService
|
|
3599
3636
|
#
|
3600
3637
|
# * `Here`
|
3601
3638
|
#
|
3602
|
-
# For additional details on data providers, see
|
3603
|
-
# Service data providers
|
3639
|
+
# For additional details on data providers, see [Amazon Location
|
3640
|
+
# Service data providers][1].
|
3604
3641
|
#
|
3605
3642
|
#
|
3606
3643
|
#
|
@@ -3619,7 +3656,7 @@ module Aws::LocationService
|
|
3619
3656
|
# The pricing plan for the specified place index resource.
|
3620
3657
|
#
|
3621
3658
|
# For additional details and restrictions on each pricing plan option,
|
3622
|
-
# see
|
3659
|
+
# see [Amazon Location Service pricing][1].
|
3623
3660
|
#
|
3624
3661
|
#
|
3625
3662
|
#
|
@@ -3947,7 +3984,7 @@ module Aws::LocationService
|
|
3947
3984
|
# The pricing plan for the specified tracker resource.
|
3948
3985
|
#
|
3949
3986
|
# For additional details and restrictions on each pricing plan option,
|
3950
|
-
# see
|
3987
|
+
# see [Amazon Location Service pricing][1].
|
3951
3988
|
#
|
3952
3989
|
#
|
3953
3990
|
#
|
@@ -3995,13 +4032,8 @@ module Aws::LocationService
|
|
3995
4032
|
#
|
3996
4033
|
# @!attribute [rw] style
|
3997
4034
|
# Specifies the map style selected from an available data provider.
|
3998
|
-
# For additional information on each map style and to preview each map
|
3999
|
-
# style, see [Esri map
|
4000
|
-
# styles](location/latest/developerguide/esri.html#esri-map-styles)
|
4001
|
-
# and [HERE map
|
4002
|
-
# styles](location/latest/developerguide/HERE.html#HERE-map-styles).
|
4003
4035
|
#
|
4004
|
-
# Valid [Esri][1]
|
4036
|
+
# Valid [Esri map styles][1]\:
|
4005
4037
|
#
|
4006
4038
|
# * `VectorEsriDarkGrayCanvas` – The Esri Dark Gray Canvas map style.
|
4007
4039
|
# A vector basemap with a dark gray, neutral background with minimal
|
@@ -4031,7 +4063,7 @@ module Aws::LocationService
|
|
4031
4063
|
# custom navigation map style that's designed for use during the
|
4032
4064
|
# day in mobile devices.
|
4033
4065
|
#
|
4034
|
-
# Valid [HERE Technologies][2]
|
4066
|
+
# Valid [HERE Technologies map styles][2]\:
|
4035
4067
|
#
|
4036
4068
|
# * `VectorHereBerlin` – The HERE Berlin map style is a high contrast
|
4037
4069
|
# detailed base map of the world that blends 3D and 2D rendering.
|
@@ -4343,8 +4375,8 @@ module Aws::LocationService
|
|
4343
4375
|
#
|
4344
4376
|
# * HERE
|
4345
4377
|
#
|
4346
|
-
# For additional details on data providers, see
|
4347
|
-
# Service data providers
|
4378
|
+
# For additional details on data providers, see [Amazon Location
|
4379
|
+
# Service data providers][1].
|
4348
4380
|
#
|
4349
4381
|
#
|
4350
4382
|
#
|
@@ -4500,8 +4532,8 @@ module Aws::LocationService
|
|
4500
4532
|
#
|
4501
4533
|
# * HERE
|
4502
4534
|
#
|
4503
|
-
# For additional details on data providers, see
|
4504
|
-
# Service data providers
|
4535
|
+
# For additional details on data providers, see [Amazon Location
|
4536
|
+
# Service data providers][1].
|
4505
4537
|
#
|
4506
4538
|
#
|
4507
4539
|
#
|
@@ -5117,6 +5149,7 @@ module Aws::LocationService
|
|
5117
5149
|
#
|
5118
5150
|
# {
|
5119
5151
|
# description: "ResourceDescription",
|
5152
|
+
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased
|
5120
5153
|
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
5121
5154
|
# pricing_plan_data_source: "String",
|
5122
5155
|
# tracker_name: "ResourceName", # required
|
@@ -5126,6 +5159,25 @@ module Aws::LocationService
|
|
5126
5159
|
# Updates the description for the tracker resource.
|
5127
5160
|
# @return [String]
|
5128
5161
|
#
|
5162
|
+
# @!attribute [rw] position_filtering
|
5163
|
+
# Updates the position filtering for the tracker resource.
|
5164
|
+
#
|
5165
|
+
# Valid values:
|
5166
|
+
#
|
5167
|
+
# * `TimeBased` - Location updates are evaluated against linked
|
5168
|
+
# geofence collections, but not every location update is stored. If
|
5169
|
+
# your update frequency is more often than 30 seconds, only one
|
5170
|
+
# update per 30 seconds is stored for each unique device ID.
|
5171
|
+
#
|
5172
|
+
# * `DistanceBased` - If the device has moved less than 30 m (98.4
|
5173
|
+
# ft), location updates are ignored. Location updates within this
|
5174
|
+
# distance are neither evaluated against linked geofence
|
5175
|
+
# collections, nor stored. This helps control costs by reducing the
|
5176
|
+
# number of geofence evaluations and device positions to retrieve.
|
5177
|
+
# Distance-based filtering can also reduce the jitter effect when
|
5178
|
+
# displaying device trajectory on a map.
|
5179
|
+
# @return [String]
|
5180
|
+
#
|
5129
5181
|
# @!attribute [rw] pricing_plan
|
5130
5182
|
# Updates the pricing plan for the tracker resource.
|
5131
5183
|
#
|
@@ -5170,6 +5222,7 @@ module Aws::LocationService
|
|
5170
5222
|
#
|
5171
5223
|
class UpdateTrackerRequest < Struct.new(
|
5172
5224
|
:description,
|
5225
|
+
:position_filtering,
|
5173
5226
|
:pricing_plan,
|
5174
5227
|
:pricing_plan_data_source,
|
5175
5228
|
:tracker_name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-locationservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|