lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.37.0 vs lib/aws-sdk-locationservice/client.rb in aws-sdk-locationservice-1.38.0
- old
+ new
@@ -1886,10 +1886,34 @@
# for geofences with this tracker. Those events are always sent to
# EventBridge.
#
# </note>
#
+ # @option params [Boolean] :kms_key_enable_geospatial_queries
+ # Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
+ # Services KMS customer managed key][1].
+ #
+ # This parameter is only used if you are using a KMS customer managed
+ # key.
+ #
+ # <note markdown="1"> If you wish to encrypt your data using your own KMS customer managed
+ # key, then the Bounding Polygon Queries feature will be disabled by
+ # default. This is because by using this feature, a representation of
+ # your device positions will not be encrypted using the your KMS managed
+ # key. The exact device position, however; is still encrypted using your
+ # managed key.
+ #
+ # You can choose to opt-in to the Bounding Polygon Quseries feature.
+ # This is done by setting the `KmsKeyEnableGeospatialQueries` parameter
+ # to true when creating or updating a Tracker.
+ #
+ # </note>
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
+ #
# @option params [String] :kms_key_id
# A key identifier for an [Amazon Web Services KMS customer managed
# key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
#
#
@@ -1977,10 +2001,11 @@
# @example Request syntax with placeholder values
#
# resp = client.create_tracker({
# description: "ResourceDescription",
# event_bridge_enabled: false,
+ # kms_key_enable_geospatial_queries: false,
# kms_key_id: "KmsKeyId",
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
# pricing_plan_data_source: "String",
# tags: {
@@ -2172,10 +2197,11 @@
#
# * {Types::DescribeGeofenceCollectionResponse#collection_arn #collection_arn} => String
# * {Types::DescribeGeofenceCollectionResponse#collection_name #collection_name} => String
# * {Types::DescribeGeofenceCollectionResponse#create_time #create_time} => Time
# * {Types::DescribeGeofenceCollectionResponse#description #description} => String
+ # * {Types::DescribeGeofenceCollectionResponse#geofence_count #geofence_count} => Integer
# * {Types::DescribeGeofenceCollectionResponse#kms_key_id #kms_key_id} => String
# * {Types::DescribeGeofenceCollectionResponse#pricing_plan #pricing_plan} => String
# * {Types::DescribeGeofenceCollectionResponse#pricing_plan_data_source #pricing_plan_data_source} => String
# * {Types::DescribeGeofenceCollectionResponse#tags #tags} => Hash<String,String>
# * {Types::DescribeGeofenceCollectionResponse#update_time #update_time} => Time
@@ -2190,10 +2216,11 @@
#
# resp.collection_arn #=> String
# resp.collection_name #=> String
# resp.create_time #=> Time
# resp.description #=> String
+ # resp.geofence_count #=> Integer
# resp.kms_key_id #=> String
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
# resp.pricing_plan_data_source #=> String
# resp.tags #=> Hash
# resp.tags["TagKey"] #=> String
@@ -2400,10 +2427,11 @@
# @return [Types::DescribeTrackerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeTrackerResponse#create_time #create_time} => Time
# * {Types::DescribeTrackerResponse#description #description} => String
# * {Types::DescribeTrackerResponse#event_bridge_enabled #event_bridge_enabled} => Boolean
+ # * {Types::DescribeTrackerResponse#kms_key_enable_geospatial_queries #kms_key_enable_geospatial_queries} => Boolean
# * {Types::DescribeTrackerResponse#kms_key_id #kms_key_id} => String
# * {Types::DescribeTrackerResponse#position_filtering #position_filtering} => String
# * {Types::DescribeTrackerResponse#pricing_plan #pricing_plan} => String
# * {Types::DescribeTrackerResponse#pricing_plan_data_source #pricing_plan_data_source} => String
# * {Types::DescribeTrackerResponse#tags #tags} => Hash<String,String>
@@ -2420,10 +2448,11 @@
# @example Response structure
#
# resp.create_time #=> Time
# resp.description #=> String
# resp.event_bridge_enabled #=> Boolean
+ # resp.kms_key_enable_geospatial_queries #=> Boolean
# resp.kms_key_id #=> String
# resp.position_filtering #=> String, one of "TimeBased", "DistanceBased", "AccuracyBased"
# resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
# resp.pricing_plan_data_source #=> String
# resp.tags #=> Hash
@@ -2681,11 +2710,11 @@
#
# @option params [required, String] :font_stack
# A comma-separated list of fonts to load glyphs from in order of
# preference. For example, `Noto Sans Regular, Arial Unicode`.
#
- # Valid fonts stacks for [Esri][1] styles:
+ # Valid font stacks for [Esri][1] styles:
#
# * VectorEsriDarkGrayCanvas – `Ubuntu Medium Italic` \| `Ubuntu Medium`
# \| `Ubuntu Italic` \| `Ubuntu Regular` \| `Ubuntu Bold`
#
# * VectorEsriLightGrayCanvas – `Ubuntu Italic` \| `Ubuntu Regular` \|
@@ -3054,10 +3083,13 @@
req.send_request(options)
end
# A batch request to retrieve all device positions.
#
+ # @option params [Types::TrackingFilterGeometry] :filter_geometry
+ # The geomerty used to filter device positions.
+ #
# @option params [Integer] :max_results
# An optional limit for the number of entries returned in a single call.
#
# Default value: `100`
#
@@ -3078,10 +3110,17 @@
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
# @example Request syntax with placeholder values
#
# resp = client.list_device_positions({
+ # filter_geometry: {
+ # polygon: [
+ # [
+ # [1.0],
+ # ],
+ # ],
+ # },
# max_results: 1,
# next_token: "Token",
# tracker_name: "ResourceName", # required
# })
#
@@ -4454,10 +4493,21 @@
# for geofences with this tracker. Those events are always sent to
# EventBridge.
#
# </note>
#
+ # @option params [Boolean] :kms_key_enable_geospatial_queries
+ # Enables `GeospatialQueries` for a tracker that uses a [Amazon Web
+ # Services KMS customer managed key][1].
+ #
+ # This parameter is only used if you are using a KMS customer managed
+ # key.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/create-keys.html
+ #
# @option params [String] :position_filtering
# Updates the position filtering for the tracker resource.
#
# Valid values:
#
@@ -4503,10 +4553,11 @@
# @example Request syntax with placeholder values
#
# resp = client.update_tracker({
# description: "ResourceDescription",
# event_bridge_enabled: false,
+ # kms_key_enable_geospatial_queries: false,
# position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
# pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
# pricing_plan_data_source: "String",
# tracker_name: "ResourceName", # required
# })
@@ -4537,10 +4588,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-locationservice'
- context[:gem_version] = '1.37.0'
+ context[:gem_version] = '1.38.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated