aws-sdk-locationservice 1.37.0 → 1.38.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 +53 -2
- data/lib/aws-sdk-locationservice/client_api.rb +10 -0
- data/lib/aws-sdk-locationservice/types.rb +92 -5
- 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: 6587b4eb510c7521af811fca68c447d3bd2abd58827ce7ed6e6ac97968724eb3
|
4
|
+
data.tar.gz: 9024b01c13eb36af49fbd95ebc3b58b55ae2572785ffe75b2ccacd037b513b09
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d01477121d74ac1346453b891135ab8c9ed6c4189bb8e88e1166ea701e148973c14f37f65c7cb1408f6e99f2da5073ab05d051306afe1330b5e575389808a99e
|
7
|
+
data.tar.gz: 95b9d626cb29122973ccec00c1505f55aca0b7c3cfa713d6301077fc565cdc6bb66d108e5981ae681bac54bb3fe2a90af73e299d2be4effbd98e4ba6e929d334
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2023-10-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Amazon Location Service adds support for bounding polygon queries. Additionally, the GeofenceCount field has been added to the DescribeGeofenceCollection API response.
|
8
|
+
|
4
9
|
1.37.0 (2023-09-27)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
@@ -1888,6 +1888,30 @@ module Aws::LocationService
|
|
1888
1888
|
#
|
1889
1889
|
# </note>
|
1890
1890
|
#
|
1891
|
+
# @option params [Boolean] :kms_key_enable_geospatial_queries
|
1892
|
+
# Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
|
1893
|
+
# Services KMS customer managed key][1].
|
1894
|
+
#
|
1895
|
+
# This parameter is only used if you are using a KMS customer managed
|
1896
|
+
# key.
|
1897
|
+
#
|
1898
|
+
# <note markdown="1"> If you wish to encrypt your data using your own KMS customer managed
|
1899
|
+
# key, then the Bounding Polygon Queries feature will be disabled by
|
1900
|
+
# default. This is because by using this feature, a representation of
|
1901
|
+
# your device positions will not be encrypted using the your KMS managed
|
1902
|
+
# key. The exact device position, however; is still encrypted using your
|
1903
|
+
# managed key.
|
1904
|
+
#
|
1905
|
+
# You can choose to opt-in to the Bounding Polygon Quseries feature.
|
1906
|
+
# This is done by setting the `KmsKeyEnableGeospatialQueries` parameter
|
1907
|
+
# to true when creating or updating a Tracker.
|
1908
|
+
#
|
1909
|
+
# </note>
|
1910
|
+
#
|
1911
|
+
#
|
1912
|
+
#
|
1913
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
1914
|
+
#
|
1891
1915
|
# @option params [String] :kms_key_id
|
1892
1916
|
# A key identifier for an [Amazon Web Services KMS customer managed
|
1893
1917
|
# key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
|
@@ -1979,6 +2003,7 @@ module Aws::LocationService
|
|
1979
2003
|
# resp = client.create_tracker({
|
1980
2004
|
# description: "ResourceDescription",
|
1981
2005
|
# event_bridge_enabled: false,
|
2006
|
+
# kms_key_enable_geospatial_queries: false,
|
1982
2007
|
# kms_key_id: "KmsKeyId",
|
1983
2008
|
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
|
1984
2009
|
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
@@ -2174,6 +2199,7 @@ module Aws::LocationService
|
|
2174
2199
|
# * {Types::DescribeGeofenceCollectionResponse#collection_name #collection_name} => String
|
2175
2200
|
# * {Types::DescribeGeofenceCollectionResponse#create_time #create_time} => Time
|
2176
2201
|
# * {Types::DescribeGeofenceCollectionResponse#description #description} => String
|
2202
|
+
# * {Types::DescribeGeofenceCollectionResponse#geofence_count #geofence_count} => Integer
|
2177
2203
|
# * {Types::DescribeGeofenceCollectionResponse#kms_key_id #kms_key_id} => String
|
2178
2204
|
# * {Types::DescribeGeofenceCollectionResponse#pricing_plan #pricing_plan} => String
|
2179
2205
|
# * {Types::DescribeGeofenceCollectionResponse#pricing_plan_data_source #pricing_plan_data_source} => String
|
@@ -2192,6 +2218,7 @@ module Aws::LocationService
|
|
2192
2218
|
# resp.collection_name #=> String
|
2193
2219
|
# resp.create_time #=> Time
|
2194
2220
|
# resp.description #=> String
|
2221
|
+
# resp.geofence_count #=> Integer
|
2195
2222
|
# resp.kms_key_id #=> String
|
2196
2223
|
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
|
2197
2224
|
# resp.pricing_plan_data_source #=> String
|
@@ -2402,6 +2429,7 @@ module Aws::LocationService
|
|
2402
2429
|
# * {Types::DescribeTrackerResponse#create_time #create_time} => Time
|
2403
2430
|
# * {Types::DescribeTrackerResponse#description #description} => String
|
2404
2431
|
# * {Types::DescribeTrackerResponse#event_bridge_enabled #event_bridge_enabled} => Boolean
|
2432
|
+
# * {Types::DescribeTrackerResponse#kms_key_enable_geospatial_queries #kms_key_enable_geospatial_queries} => Boolean
|
2405
2433
|
# * {Types::DescribeTrackerResponse#kms_key_id #kms_key_id} => String
|
2406
2434
|
# * {Types::DescribeTrackerResponse#position_filtering #position_filtering} => String
|
2407
2435
|
# * {Types::DescribeTrackerResponse#pricing_plan #pricing_plan} => String
|
@@ -2422,6 +2450,7 @@ module Aws::LocationService
|
|
2422
2450
|
# resp.create_time #=> Time
|
2423
2451
|
# resp.description #=> String
|
2424
2452
|
# resp.event_bridge_enabled #=> Boolean
|
2453
|
+
# resp.kms_key_enable_geospatial_queries #=> Boolean
|
2425
2454
|
# resp.kms_key_id #=> String
|
2426
2455
|
# resp.position_filtering #=> String, one of "TimeBased", "DistanceBased", "AccuracyBased"
|
2427
2456
|
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
|
@@ -2683,7 +2712,7 @@ module Aws::LocationService
|
|
2683
2712
|
# A comma-separated list of fonts to load glyphs from in order of
|
2684
2713
|
# preference. For example, `Noto Sans Regular, Arial Unicode`.
|
2685
2714
|
#
|
2686
|
-
# Valid
|
2715
|
+
# Valid font stacks for [Esri][1] styles:
|
2687
2716
|
#
|
2688
2717
|
# * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu Medium`
|
2689
2718
|
# \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
|
@@ -3056,6 +3085,9 @@ module Aws::LocationService
|
|
3056
3085
|
|
3057
3086
|
# A batch request to retrieve all device positions.
|
3058
3087
|
#
|
3088
|
+
# @option params [Types::TrackingFilterGeometry] :filter_geometry
|
3089
|
+
# The geomerty used to filter device positions.
|
3090
|
+
#
|
3059
3091
|
# @option params [Integer] :max_results
|
3060
3092
|
# An optional limit for the number of entries returned in a single call.
|
3061
3093
|
#
|
@@ -3080,6 +3112,13 @@ module Aws::LocationService
|
|
3080
3112
|
# @example Request syntax with placeholder values
|
3081
3113
|
#
|
3082
3114
|
# resp = client.list_device_positions({
|
3115
|
+
# filter_geometry: {
|
3116
|
+
# polygon: [
|
3117
|
+
# [
|
3118
|
+
# [1.0],
|
3119
|
+
# ],
|
3120
|
+
# ],
|
3121
|
+
# },
|
3083
3122
|
# max_results: 1,
|
3084
3123
|
# next_token: "Token",
|
3085
3124
|
# tracker_name: "ResourceName", # required
|
@@ -4456,6 +4495,17 @@ module Aws::LocationService
|
|
4456
4495
|
#
|
4457
4496
|
# </note>
|
4458
4497
|
#
|
4498
|
+
# @option params [Boolean] :kms_key_enable_geospatial_queries
|
4499
|
+
# Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
|
4500
|
+
# Services KMS customer managed key][1].
|
4501
|
+
#
|
4502
|
+
# This parameter is only used if you are using a KMS customer managed
|
4503
|
+
# key.
|
4504
|
+
#
|
4505
|
+
#
|
4506
|
+
#
|
4507
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
4508
|
+
#
|
4459
4509
|
# @option params [String] :position_filtering
|
4460
4510
|
# Updates the position filtering for the tracker resource.
|
4461
4511
|
#
|
@@ -4505,6 +4555,7 @@ module Aws::LocationService
|
|
4505
4555
|
# resp = client.update_tracker({
|
4506
4556
|
# description: "ResourceDescription",
|
4507
4557
|
# event_bridge_enabled: false,
|
4558
|
+
# kms_key_enable_geospatial_queries: false,
|
4508
4559
|
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
|
4509
4560
|
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
|
4510
4561
|
# pricing_plan_data_source: "String",
|
@@ -4539,7 +4590,7 @@ module Aws::LocationService
|
|
4539
4590
|
params: params,
|
4540
4591
|
config: config)
|
4541
4592
|
context[:gem_name] = 'aws-sdk-locationservice'
|
4542
|
-
context[:gem_version] = '1.
|
4593
|
+
context[:gem_version] = '1.38.0'
|
4543
4594
|
Seahorse::Client::Request.new(handlers, context)
|
4544
4595
|
end
|
4545
4596
|
|
@@ -114,6 +114,7 @@ module Aws::LocationService
|
|
114
114
|
DeleteTrackerResponse = Shapes::StructureShape.new(name: 'DeleteTrackerResponse')
|
115
115
|
DescribeGeofenceCollectionRequest = Shapes::StructureShape.new(name: 'DescribeGeofenceCollectionRequest')
|
116
116
|
DescribeGeofenceCollectionResponse = Shapes::StructureShape.new(name: 'DescribeGeofenceCollectionResponse')
|
117
|
+
DescribeGeofenceCollectionResponseGeofenceCountInteger = Shapes::IntegerShape.new(name: 'DescribeGeofenceCollectionResponseGeofenceCountInteger')
|
117
118
|
DescribeKeyRequest = Shapes::StructureShape.new(name: 'DescribeKeyRequest')
|
118
119
|
DescribeKeyResponse = Shapes::StructureShape.new(name: 'DescribeKeyResponse')
|
119
120
|
DescribeMapRequest = Shapes::StructureShape.new(name: 'DescribeMapRequest')
|
@@ -288,6 +289,7 @@ module Aws::LocationService
|
|
288
289
|
TimeZone = Shapes::StructureShape.new(name: 'TimeZone')
|
289
290
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
290
291
|
Token = Shapes::StringShape.new(name: 'Token')
|
292
|
+
TrackingFilterGeometry = Shapes::StructureShape.new(name: 'TrackingFilterGeometry')
|
291
293
|
TravelMode = Shapes::StringShape.new(name: 'TravelMode')
|
292
294
|
TruckDimensions = Shapes::StructureShape.new(name: 'TruckDimensions')
|
293
295
|
TruckDimensionsHeightDouble = Shapes::FloatShape.new(name: 'TruckDimensionsHeightDouble')
|
@@ -596,6 +598,7 @@ module Aws::LocationService
|
|
596
598
|
|
597
599
|
CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
598
600
|
CreateTrackerRequest.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
|
601
|
+
CreateTrackerRequest.add_member(:kms_key_enable_geospatial_queries, Shapes::ShapeRef.new(shape: Boolean, location_name: "KmsKeyEnableGeospatialQueries"))
|
599
602
|
CreateTrackerRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
600
603
|
CreateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
601
604
|
CreateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
@@ -649,6 +652,7 @@ module Aws::LocationService
|
|
649
652
|
DescribeGeofenceCollectionResponse.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "CollectionName"))
|
650
653
|
DescribeGeofenceCollectionResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
651
654
|
DescribeGeofenceCollectionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
655
|
+
DescribeGeofenceCollectionResponse.add_member(:geofence_count, Shapes::ShapeRef.new(shape: DescribeGeofenceCollectionResponseGeofenceCountInteger, location_name: "GeofenceCount"))
|
652
656
|
DescribeGeofenceCollectionResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
653
657
|
DescribeGeofenceCollectionResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
654
658
|
DescribeGeofenceCollectionResponse.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. Unused."}))
|
@@ -717,6 +721,7 @@ module Aws::LocationService
|
|
717
721
|
DescribeTrackerResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
|
718
722
|
DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
|
719
723
|
DescribeTrackerResponse.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
|
724
|
+
DescribeTrackerResponse.add_member(:kms_key_enable_geospatial_queries, Shapes::ShapeRef.new(shape: Boolean, location_name: "KmsKeyEnableGeospatialQueries"))
|
720
725
|
DescribeTrackerResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
|
721
726
|
DescribeTrackerResponse.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
722
727
|
DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
|
@@ -873,6 +878,7 @@ module Aws::LocationService
|
|
873
878
|
|
874
879
|
LinearRings.member = Shapes::ShapeRef.new(shape: LinearRing)
|
875
880
|
|
881
|
+
ListDevicePositionsRequest.add_member(:filter_geometry, Shapes::ShapeRef.new(shape: TrackingFilterGeometry, location_name: "FilterGeometry"))
|
876
882
|
ListDevicePositionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListDevicePositionsRequestMaxResultsInteger, location_name: "MaxResults"))
|
877
883
|
ListDevicePositionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
878
884
|
ListDevicePositionsRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
@@ -1222,6 +1228,9 @@ module Aws::LocationService
|
|
1222
1228
|
TimeZone.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, location_name: "Offset"))
|
1223
1229
|
TimeZone.struct_class = Types::TimeZone
|
1224
1230
|
|
1231
|
+
TrackingFilterGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape: LinearRings, location_name: "Polygon"))
|
1232
|
+
TrackingFilterGeometry.struct_class = Types::TrackingFilterGeometry
|
1233
|
+
|
1225
1234
|
TruckDimensions.add_member(:height, Shapes::ShapeRef.new(shape: TruckDimensionsHeightDouble, location_name: "Height"))
|
1226
1235
|
TruckDimensions.add_member(:length, Shapes::ShapeRef.new(shape: TruckDimensionsLengthDouble, location_name: "Length"))
|
1227
1236
|
TruckDimensions.add_member(:unit, Shapes::ShapeRef.new(shape: DimensionUnit, location_name: "Unit"))
|
@@ -1296,6 +1305,7 @@ module Aws::LocationService
|
|
1296
1305
|
|
1297
1306
|
UpdateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
|
1298
1307
|
UpdateTrackerRequest.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
|
1308
|
+
UpdateTrackerRequest.add_member(:kms_key_enable_geospatial_queries, Shapes::ShapeRef.new(shape: Boolean, location_name: "KmsKeyEnableGeospatialQueries"))
|
1299
1309
|
UpdateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
|
1300
1310
|
UpdateTrackerRequest.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. If included, the only allowed value is RequestBasedUsage."}))
|
1301
1311
|
UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
|
@@ -1897,6 +1897,31 @@ module Aws::LocationService
|
|
1897
1897
|
# </note>
|
1898
1898
|
# @return [Boolean]
|
1899
1899
|
#
|
1900
|
+
# @!attribute [rw] kms_key_enable_geospatial_queries
|
1901
|
+
# Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
|
1902
|
+
# Services KMS customer managed key][1].
|
1903
|
+
#
|
1904
|
+
# This parameter is only used if you are using a KMS customer managed
|
1905
|
+
# key.
|
1906
|
+
#
|
1907
|
+
# <note markdown="1"> If you wish to encrypt your data using your own KMS customer managed
|
1908
|
+
# key, then the Bounding Polygon Queries feature will be disabled by
|
1909
|
+
# default. This is because by using this feature, a representation of
|
1910
|
+
# your device positions will not be encrypted using the your KMS
|
1911
|
+
# managed key. The exact device position, however; is still encrypted
|
1912
|
+
# using your managed key.
|
1913
|
+
#
|
1914
|
+
# You can choose to opt-in to the Bounding Polygon Quseries feature.
|
1915
|
+
# This is done by setting the `KmsKeyEnableGeospatialQueries`
|
1916
|
+
# parameter to true when creating or updating a Tracker.
|
1917
|
+
#
|
1918
|
+
# </note>
|
1919
|
+
#
|
1920
|
+
#
|
1921
|
+
#
|
1922
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
1923
|
+
# @return [Boolean]
|
1924
|
+
#
|
1900
1925
|
# @!attribute [rw] kms_key_id
|
1901
1926
|
# A key identifier for an [Amazon Web Services KMS customer managed
|
1902
1927
|
# key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
|
@@ -1988,6 +2013,7 @@ module Aws::LocationService
|
|
1988
2013
|
class CreateTrackerRequest < Struct.new(
|
1989
2014
|
:description,
|
1990
2015
|
:event_bridge_enabled,
|
2016
|
+
:kms_key_enable_geospatial_queries,
|
1991
2017
|
:kms_key_id,
|
1992
2018
|
:position_filtering,
|
1993
2019
|
:pricing_plan,
|
@@ -2209,6 +2235,10 @@ module Aws::LocationService
|
|
2209
2235
|
# The optional description for the geofence collection.
|
2210
2236
|
# @return [String]
|
2211
2237
|
#
|
2238
|
+
# @!attribute [rw] geofence_count
|
2239
|
+
# The number of geofences in the geofence collection.
|
2240
|
+
# @return [Integer]
|
2241
|
+
#
|
2212
2242
|
# @!attribute [rw] kms_key_id
|
2213
2243
|
# A key identifier for an [Amazon Web Services KMS customer managed
|
2214
2244
|
# key][1] assigned to the Amazon Location resource
|
@@ -2246,6 +2276,7 @@ module Aws::LocationService
|
|
2246
2276
|
:collection_name,
|
2247
2277
|
:create_time,
|
2248
2278
|
:description,
|
2279
|
+
:geofence_count,
|
2249
2280
|
:kms_key_id,
|
2250
2281
|
:pricing_plan,
|
2251
2282
|
:pricing_plan_data_source,
|
@@ -2640,6 +2671,31 @@ module Aws::LocationService
|
|
2640
2671
|
# enabled. If set to `true` these events will be sent to EventBridge.
|
2641
2672
|
# @return [Boolean]
|
2642
2673
|
#
|
2674
|
+
# @!attribute [rw] kms_key_enable_geospatial_queries
|
2675
|
+
# Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
|
2676
|
+
# Services KMS customer managed key][1].
|
2677
|
+
#
|
2678
|
+
# This parameter is only used if you are using a KMS customer managed
|
2679
|
+
# key.
|
2680
|
+
#
|
2681
|
+
# <note markdown="1"> If you wish to encrypt your data using your own KMS customer managed
|
2682
|
+
# key, then the Bounding Polygon Queries feature will be disabled by
|
2683
|
+
# default. This is because by using this feature, a representation of
|
2684
|
+
# your device positions will not be encrypted using the your KMS
|
2685
|
+
# managed key. The exact device position, however; is still encrypted
|
2686
|
+
# using your managed key.
|
2687
|
+
#
|
2688
|
+
# You can choose to opt-in to the Bounding Polygon Quseries feature.
|
2689
|
+
# This is done by setting the `KmsKeyEnableGeospatialQueries`
|
2690
|
+
# parameter to true when creating or updating a Tracker.
|
2691
|
+
#
|
2692
|
+
# </note>
|
2693
|
+
#
|
2694
|
+
#
|
2695
|
+
#
|
2696
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
2697
|
+
# @return [Boolean]
|
2698
|
+
#
|
2643
2699
|
# @!attribute [rw] kms_key_id
|
2644
2700
|
# A key identifier for an [Amazon Web Services KMS customer managed
|
2645
2701
|
# key][1] assigned to the Amazon Location resource.
|
@@ -2694,6 +2750,7 @@ module Aws::LocationService
|
|
2694
2750
|
:create_time,
|
2695
2751
|
:description,
|
2696
2752
|
:event_bridge_enabled,
|
2753
|
+
:kms_key_enable_geospatial_queries,
|
2697
2754
|
:kms_key_id,
|
2698
2755
|
:position_filtering,
|
2699
2756
|
:pricing_plan,
|
@@ -3119,7 +3176,7 @@ module Aws::LocationService
|
|
3119
3176
|
# A comma-separated list of fonts to load glyphs from in order of
|
3120
3177
|
# preference. For example, `Noto Sans Regular, Arial Unicode`.
|
3121
3178
|
#
|
3122
|
-
# Valid
|
3179
|
+
# Valid font stacks for [Esri][1] styles:
|
3123
3180
|
#
|
3124
3181
|
# * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu
|
3125
3182
|
# Medium` \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
|
@@ -3598,6 +3655,10 @@ module Aws::LocationService
|
|
3598
3655
|
include Aws::Structure
|
3599
3656
|
end
|
3600
3657
|
|
3658
|
+
# @!attribute [rw] filter_geometry
|
3659
|
+
# The geomerty used to filter device positions.
|
3660
|
+
# @return [Types::TrackingFilterGeometry]
|
3661
|
+
#
|
3601
3662
|
# @!attribute [rw] max_results
|
3602
3663
|
# An optional limit for the number of entries returned in a single
|
3603
3664
|
# call.
|
@@ -3620,6 +3681,7 @@ module Aws::LocationService
|
|
3620
3681
|
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/ListDevicePositionsRequest AWS API Documentation
|
3621
3682
|
#
|
3622
3683
|
class ListDevicePositionsRequest < Struct.new(
|
3684
|
+
:filter_geometry,
|
3623
3685
|
:max_results,
|
3624
3686
|
:next_token,
|
3625
3687
|
:tracker_name)
|
@@ -3628,10 +3690,7 @@ module Aws::LocationService
|
|
3628
3690
|
end
|
3629
3691
|
|
3630
3692
|
# @!attribute [rw] entries
|
3631
|
-
# Contains details about each device's last known position.
|
3632
|
-
# details includes the device ID, the time when the position was
|
3633
|
-
# sampled on the device, the time that the service received the
|
3634
|
-
# update, and the most recent coordinates.
|
3693
|
+
# Contains details about each device's last known position.
|
3635
3694
|
# @return [Array<Types::ListDevicePositionsResponseEntry>]
|
3636
3695
|
#
|
3637
3696
|
# @!attribute [rw] next_token
|
@@ -5909,6 +5968,21 @@ module Aws::LocationService
|
|
5909
5968
|
include Aws::Structure
|
5910
5969
|
end
|
5911
5970
|
|
5971
|
+
# The geomerty used to filter device positions.
|
5972
|
+
#
|
5973
|
+
# @!attribute [rw] polygon
|
5974
|
+
# The set of arrays which define the polygon. A polygon can have
|
5975
|
+
# between 4 and 1000 vertices.
|
5976
|
+
# @return [Array<Array<Array<Float>>>]
|
5977
|
+
#
|
5978
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TrackingFilterGeometry AWS API Documentation
|
5979
|
+
#
|
5980
|
+
class TrackingFilterGeometry < Struct.new(
|
5981
|
+
:polygon)
|
5982
|
+
SENSITIVE = []
|
5983
|
+
include Aws::Structure
|
5984
|
+
end
|
5985
|
+
|
5912
5986
|
# Contains details about the truck dimensions in the unit of measurement
|
5913
5987
|
# that you specify. Used to filter out roads that can't support or
|
5914
5988
|
# allow the specified dimensions for requests that specify `TravelMode`
|
@@ -6361,6 +6435,18 @@ module Aws::LocationService
|
|
6361
6435
|
# </note>
|
6362
6436
|
# @return [Boolean]
|
6363
6437
|
#
|
6438
|
+
# @!attribute [rw] kms_key_enable_geospatial_queries
|
6439
|
+
# Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
|
6440
|
+
# Services KMS customer managed key][1].
|
6441
|
+
#
|
6442
|
+
# This parameter is only used if you are using a KMS customer managed
|
6443
|
+
# key.
|
6444
|
+
#
|
6445
|
+
#
|
6446
|
+
#
|
6447
|
+
# [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
|
6448
|
+
# @return [Boolean]
|
6449
|
+
#
|
6364
6450
|
# @!attribute [rw] position_filtering
|
6365
6451
|
# Updates the position filtering for the tracker resource.
|
6366
6452
|
#
|
@@ -6408,6 +6494,7 @@ module Aws::LocationService
|
|
6408
6494
|
class UpdateTrackerRequest < Struct.new(
|
6409
6495
|
:description,
|
6410
6496
|
:event_bridge_enabled,
|
6497
|
+
:kms_key_enable_geospatial_queries,
|
6411
6498
|
:position_filtering,
|
6412
6499
|
:pricing_plan,
|
6413
6500
|
:pricing_plan_data_source,
|
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.38.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: 2023-
|
11
|
+
date: 2023-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|