aws-sdk-locationservice 1.34.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21e6a51a020f646da2af7c0d514d458bd30fbe297d994dcaf1ced3a495cbc47e
4
- data.tar.gz: 82dd05b302b2d4b404ce231c1828c4eb9ba4358e62d04cc43777ea9bfbcfc4e3
3
+ metadata.gz: aa566b333748ea3f527c819dd4cf345520992e851d357f5b629ee0f274c4ea91
4
+ data.tar.gz: 29258fb8ff5543919fd608d4b8388f1d0c519d78e8329a829eaeee28510494ab
5
5
  SHA512:
6
- metadata.gz: 85f05e526ed409dc2d56d6e47b80329b5824d28f7b81f5e95420abc8a90fb8de412f7f25ed26d710b44df72e450311bd454074411e862be3935e555042149130
7
- data.tar.gz: e303bc937efe4358074b3e2dca6c8727c711674d0afa91522009de29c3fc95f2e672acc05f1f357c6354a8e5c87b433581d7ab6164db7e6514523f3a81540fb9
6
+ metadata.gz: 3f77fd4dba8e124904b7241aa2189a9cd9ae33bf4afa3156d09b944b58e80f6e2ca7c8584fd8532cca31e37f4874dd594fbef340a1635de8efb06f8280383fdd
7
+ data.tar.gz: 4745e1f0ea22c5938a2121bded5f21659cf8c9e67f37c0c3dc3e1f0f52a5ff565d19fc1906f4fb6e50b9670572d032eeda200e366d27577d619d166c75de39fe
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2023-07-06)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for authenticating with Amazon Location Service's Places & Routes APIs with an API Key. Also, with this release developers can publish tracked device position updates to Amazon EventBridge.
8
+
4
9
  1.34.0 (2023-06-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
30
  require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
31
32
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
33
  require 'aws-sdk-core/plugins/recursion_detection.rb'
33
34
  require 'aws-sdk-core/plugins/sign.rb'
@@ -77,6 +78,7 @@ module Aws::LocationService
77
78
  add_plugin(Aws::Plugins::TransferEncoding)
78
79
  add_plugin(Aws::Plugins::HttpChecksum)
79
80
  add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
80
82
  add_plugin(Aws::Plugins::DefaultsMode)
81
83
  add_plugin(Aws::Plugins::RecursionDetection)
82
84
  add_plugin(Aws::Plugins::Sign)
@@ -190,6 +192,10 @@ module Aws::LocationService
190
192
  # Set to true to disable SDK automatically adding host prefix
191
193
  # to default service endpoint when available.
192
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
193
199
  # @option options [String] :endpoint
194
200
  # The client endpoint is normally constructed from the `:region`
195
201
  # option. You should only configure an `:endpoint` when connecting
@@ -230,6 +236,11 @@ module Aws::LocationService
230
236
  # Used when loading credentials from the shared credentials file
231
237
  # at HOME/.aws/credentials. When not specified, 'default' is used.
232
238
  #
239
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
240
+ # The minimum size in bytes that triggers compression for request
241
+ # bodies. The value must be non-negative integer value between 0
242
+ # and 10485780 bytes inclusive.
243
+ #
233
244
  # @option options [Proc] :retry_backoff
234
245
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
235
246
  # This option is only used in the `legacy` retry mode.
@@ -890,6 +901,13 @@ module Aws::LocationService
890
901
  #
891
902
  # Valid Values: `false` \| `true`
892
903
  #
904
+ # @option params [String] :key
905
+ # The optional [API key][1] to authorize the request.
906
+ #
907
+ #
908
+ #
909
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
910
+ #
893
911
  # @option params [String] :travel_mode
894
912
  # Specifies the mode of transport when calculating a route. Used in
895
913
  # estimating the speed of travel and road compatibility. You can choose
@@ -975,6 +993,7 @@ module Aws::LocationService
975
993
  # destination_position: [1.0], # required
976
994
  # distance_unit: "Kilometers", # accepts Kilometers, Miles
977
995
  # include_leg_geometry: false,
996
+ # key: "ApiKey",
978
997
  # travel_mode: "Car", # accepts Car, Truck, Walking, Bicycle, Motorcycle
979
998
  # truck_mode_options: {
980
999
  # avoid_ferries: false,
@@ -1172,6 +1191,13 @@ module Aws::LocationService
1172
1191
  #
1173
1192
  # Default Value: `Kilometers`
1174
1193
  #
1194
+ # @option params [String] :key
1195
+ # The optional [API key][1] to authorize the request.
1196
+ #
1197
+ #
1198
+ #
1199
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
1200
+ #
1175
1201
  # @option params [String] :travel_mode
1176
1202
  # Specifies the mode of transport when calculating a route. Used in
1177
1203
  # estimating the speed of travel and road compatibility.
@@ -1230,6 +1256,7 @@ module Aws::LocationService
1230
1256
  # [1.0],
1231
1257
  # ],
1232
1258
  # distance_unit: "Kilometers", # accepts Kilometers, Miles
1259
+ # key: "ApiKey",
1233
1260
  # travel_mode: "Car", # accepts Car, Truck, Walking, Bicycle, Motorcycle
1234
1261
  # truck_mode_options: {
1235
1262
  # avoid_ferries: false,
@@ -1364,12 +1391,12 @@ module Aws::LocationService
1364
1391
  end
1365
1392
 
1366
1393
  # Creates an API key resource in your Amazon Web Services account, which
1367
- # lets you grant `geo:GetMap*` actions for Amazon Location Map resources
1368
- # to the API key bearer.
1394
+ # lets you grant actions for Amazon Location resources to the API key
1395
+ # bearer.
1369
1396
  #
1370
- # The API keys feature is in preview. We may add, change, or remove
1371
- # features before announcing general availability. For more information,
1372
- # see [Using API keys][1].
1397
+ # <note markdown="1"> For more information, see [Using API keys][1].
1398
+ #
1399
+ # </note>
1373
1400
  #
1374
1401
  #
1375
1402
  #
@@ -1847,6 +1874,16 @@ module Aws::LocationService
1847
1874
  # @option params [String] :description
1848
1875
  # An optional description for the tracker resource.
1849
1876
  #
1877
+ # @option params [Boolean] :event_bridge_enabled
1878
+ # Whether to enable position `UPDATE` events from this tracker to be
1879
+ # sent to EventBridge.
1880
+ #
1881
+ # <note markdown="1"> You do not need enable this feature to get `ENTER` and `EXIT` events
1882
+ # for geofences with this tracker. Those events are always sent to
1883
+ # EventBridge.
1884
+ #
1885
+ # </note>
1886
+ #
1850
1887
  # @option params [String] :kms_key_id
1851
1888
  # A key identifier for an [Amazon Web Services KMS customer managed
1852
1889
  # key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
@@ -1937,6 +1974,7 @@ module Aws::LocationService
1937
1974
  #
1938
1975
  # resp = client.create_tracker({
1939
1976
  # description: "ResourceDescription",
1977
+ # event_bridge_enabled: false,
1940
1978
  # kms_key_id: "KmsKeyId",
1941
1979
  # position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
1942
1980
  # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
@@ -2168,14 +2206,6 @@ module Aws::LocationService
2168
2206
 
2169
2207
  # Retrieves the API key resource details.
2170
2208
  #
2171
- # The API keys feature is in preview. We may add, change, or remove
2172
- # features before announcing general availability. For more information,
2173
- # see [Using API keys][1].
2174
- #
2175
- #
2176
- #
2177
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
2178
- #
2179
2209
  # @option params [required, String] :key_name
2180
2210
  # The name of the API key resource.
2181
2211
  #
@@ -2367,6 +2397,7 @@ module Aws::LocationService
2367
2397
  #
2368
2398
  # * {Types::DescribeTrackerResponse#create_time #create_time} => Time
2369
2399
  # * {Types::DescribeTrackerResponse#description #description} => String
2400
+ # * {Types::DescribeTrackerResponse#event_bridge_enabled #event_bridge_enabled} => Boolean
2370
2401
  # * {Types::DescribeTrackerResponse#kms_key_id #kms_key_id} => String
2371
2402
  # * {Types::DescribeTrackerResponse#position_filtering #position_filtering} => String
2372
2403
  # * {Types::DescribeTrackerResponse#pricing_plan #pricing_plan} => String
@@ -2386,6 +2417,7 @@ module Aws::LocationService
2386
2417
  #
2387
2418
  # resp.create_time #=> Time
2388
2419
  # resp.description #=> String
2420
+ # resp.event_bridge_enabled #=> Boolean
2389
2421
  # resp.kms_key_id #=> String
2390
2422
  # resp.position_filtering #=> String, one of "TimeBased", "DistanceBased", "AccuracyBased"
2391
2423
  # resp.pricing_plan #=> String, one of "RequestBasedUsage", "MobileAssetTracking", "MobileAssetManagement"
@@ -2939,6 +2971,13 @@ module Aws::LocationService
2939
2971
  # The name of the place index resource that you want to use for the
2940
2972
  # search.
2941
2973
  #
2974
+ # @option params [String] :key
2975
+ # The optional [API key][1] to authorize the request.
2976
+ #
2977
+ #
2978
+ #
2979
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
2980
+ #
2942
2981
  # @option params [String] :language
2943
2982
  # The preferred language used to return results. The value must be a
2944
2983
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -2974,6 +3013,7 @@ module Aws::LocationService
2974
3013
  #
2975
3014
  # resp = client.get_place({
2976
3015
  # index_name: "ResourceName", # required
3016
+ # key: "ApiKey",
2977
3017
  # language: "LanguageTag",
2978
3018
  # place_id: "PlaceId", # required
2979
3019
  # })
@@ -3171,14 +3211,6 @@ module Aws::LocationService
3171
3211
 
3172
3212
  # Lists API key resources in your Amazon Web Services account.
3173
3213
  #
3174
- # The API keys feature is in preview. We may add, change, or remove
3175
- # features before announcing general availability. For more information,
3176
- # see [Using API keys][1].
3177
- #
3178
- #
3179
- #
3180
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3181
- #
3182
3214
  # @option params [Types::ApiKeyFilter] :filter
3183
3215
  # Optionally filter the list to only `Active` or `Expired` API keys.
3184
3216
  #
@@ -3523,8 +3555,11 @@ module Aws::LocationService
3523
3555
  # An identifier for the geofence. For example, `ExampleGeofence-1`.
3524
3556
  #
3525
3557
  # @option params [Hash<String,String>] :geofence_properties
3526
- # Specifies additional user-defined properties to store with the
3527
- # Geofence. An array of key-value pairs.
3558
+ # Associates one of more properties with the geofence. A property is a
3559
+ # key-value pair stored with the geofence and added to any geofence
3560
+ # event triggered with that geofence.
3561
+ #
3562
+ # Format: `"key" : "value"`
3528
3563
  #
3529
3564
  # @option params [required, Types::GeofenceGeometry] :geometry
3530
3565
  # Contains the details to specify the position of the geofence. Can be
@@ -3588,6 +3623,13 @@ module Aws::LocationService
3588
3623
  # @option params [required, String] :index_name
3589
3624
  # The name of the place index resource you want to use for the search.
3590
3625
  #
3626
+ # @option params [String] :key
3627
+ # The optional [API key][1] to authorize the request.
3628
+ #
3629
+ #
3630
+ #
3631
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3632
+ #
3591
3633
  # @option params [String] :language
3592
3634
  # The preferred language used to return results. The value must be a
3593
3635
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -3637,6 +3679,7 @@ module Aws::LocationService
3637
3679
  #
3638
3680
  # resp = client.search_place_index_for_position({
3639
3681
  # index_name: "ResourceName", # required
3682
+ # key: "ApiKey",
3640
3683
  # language: "LanguageTag",
3641
3684
  # max_results: 1,
3642
3685
  # position: [1.0], # required
@@ -3763,6 +3806,13 @@ module Aws::LocationService
3763
3806
  # @option params [required, String] :index_name
3764
3807
  # The name of the place index resource you want to use for the search.
3765
3808
  #
3809
+ # @option params [String] :key
3810
+ # The optional [API key][1] to authorize the request.
3811
+ #
3812
+ #
3813
+ #
3814
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3815
+ #
3766
3816
  # @option params [String] :language
3767
3817
  # The preferred language used to return results. The value must be a
3768
3818
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -3808,6 +3858,7 @@ module Aws::LocationService
3808
3858
  # filter_categories: ["PlaceCategory"],
3809
3859
  # filter_countries: ["CountryCode"],
3810
3860
  # index_name: "ResourceName", # required
3861
+ # key: "ApiKey",
3811
3862
  # language: "LanguageTag",
3812
3863
  # max_results: 1,
3813
3864
  # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
@@ -3925,6 +3976,13 @@ module Aws::LocationService
3925
3976
  # @option params [required, String] :index_name
3926
3977
  # The name of the place index resource you want to use for the search.
3927
3978
  #
3979
+ # @option params [String] :key
3980
+ # The optional [API key][1] to authorize the request.
3981
+ #
3982
+ #
3983
+ #
3984
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3985
+ #
3928
3986
  # @option params [String] :language
3929
3987
  # The preferred language used to return results. The value must be a
3930
3988
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -3971,6 +4029,7 @@ module Aws::LocationService
3971
4029
  # filter_categories: ["PlaceCategory"],
3972
4030
  # filter_countries: ["CountryCode"],
3973
4031
  # index_name: "ResourceName", # required
4032
+ # key: "ApiKey",
3974
4033
  # language: "LanguageTag",
3975
4034
  # max_results: 1,
3976
4035
  # text: "SearchPlaceIndexForTextRequestTextString", # required
@@ -4173,14 +4232,6 @@ module Aws::LocationService
4173
4232
 
4174
4233
  # Updates the specified properties of a given API key resource.
4175
4234
  #
4176
- # The API keys feature is in preview. We may add, change, or remove
4177
- # features before announcing general availability. For more information,
4178
- # see [Using API keys][1].
4179
- #
4180
- #
4181
- #
4182
- # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
4183
- #
4184
4235
  # @option params [String] :description
4185
4236
  # Updates the description for the API key resource.
4186
4237
  #
@@ -4391,6 +4442,16 @@ module Aws::LocationService
4391
4442
  # @option params [String] :description
4392
4443
  # Updates the description for the tracker resource.
4393
4444
  #
4445
+ # @option params [Boolean] :event_bridge_enabled
4446
+ # Whether to enable position `UPDATE` events from this tracker to be
4447
+ # sent to EventBridge.
4448
+ #
4449
+ # <note markdown="1"> You do not need enable this feature to get `ENTER` and `EXIT` events
4450
+ # for geofences with this tracker. Those events are always sent to
4451
+ # EventBridge.
4452
+ #
4453
+ # </note>
4454
+ #
4394
4455
  # @option params [String] :position_filtering
4395
4456
  # Updates the position filtering for the tracker resource.
4396
4457
  #
@@ -4439,6 +4500,7 @@ module Aws::LocationService
4439
4500
  #
4440
4501
  # resp = client.update_tracker({
4441
4502
  # description: "ResourceDescription",
4503
+ # event_bridge_enabled: false,
4442
4504
  # position_filtering: "TimeBased", # accepts TimeBased, DistanceBased, AccuracyBased
4443
4505
  # pricing_plan: "RequestBasedUsage", # accepts RequestBasedUsage, MobileAssetTracking, MobileAssetManagement
4444
4506
  # pricing_plan_data_source: "String",
@@ -4473,7 +4535,7 @@ module Aws::LocationService
4473
4535
  params: params,
4474
4536
  config: config)
4475
4537
  context[:gem_name] = 'aws-sdk-locationservice'
4476
- context[:gem_version] = '1.34.0'
4538
+ context[:gem_version] = '1.35.0'
4477
4539
  Seahorse::Client::Request.new(handlers, context)
4478
4540
  end
4479
4541
 
@@ -463,6 +463,7 @@ module Aws::LocationService
463
463
  CalculateRouteMatrixRequest.add_member(:departure_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "DepartureTime"))
464
464
  CalculateRouteMatrixRequest.add_member(:destination_positions, Shapes::ShapeRef.new(shape: CalculateRouteMatrixRequestDestinationPositionsList, required: true, location_name: "DestinationPositions"))
465
465
  CalculateRouteMatrixRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
466
+ CalculateRouteMatrixRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
466
467
  CalculateRouteMatrixRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
467
468
  CalculateRouteMatrixRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
468
469
  CalculateRouteMatrixRequest.struct_class = Types::CalculateRouteMatrixRequest
@@ -495,6 +496,7 @@ module Aws::LocationService
495
496
  CalculateRouteRequest.add_member(:destination_position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "DestinationPosition"))
496
497
  CalculateRouteRequest.add_member(:distance_unit, Shapes::ShapeRef.new(shape: DistanceUnit, location_name: "DistanceUnit"))
497
498
  CalculateRouteRequest.add_member(:include_leg_geometry, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeLegGeometry"))
499
+ CalculateRouteRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
498
500
  CalculateRouteRequest.add_member(:travel_mode, Shapes::ShapeRef.new(shape: TravelMode, location_name: "TravelMode"))
499
501
  CalculateRouteRequest.add_member(:truck_mode_options, Shapes::ShapeRef.new(shape: CalculateRouteTruckModeOptions, location_name: "TruckModeOptions"))
500
502
  CalculateRouteRequest.add_member(:waypoint_positions, Shapes::ShapeRef.new(shape: CalculateRouteRequestWaypointPositionsList, location_name: "WaypointPositions"))
@@ -593,6 +595,7 @@ module Aws::LocationService
593
595
  CreateRouteCalculatorResponse.struct_class = Types::CreateRouteCalculatorResponse
594
596
 
595
597
  CreateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
598
+ CreateTrackerRequest.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
596
599
  CreateTrackerRequest.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
597
600
  CreateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
598
601
  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."}))
@@ -713,6 +716,7 @@ module Aws::LocationService
713
716
 
714
717
  DescribeTrackerResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
715
718
  DescribeTrackerResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, required: true, location_name: "Description"))
719
+ DescribeTrackerResponse.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
716
720
  DescribeTrackerResponse.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "KmsKeyId"))
717
721
  DescribeTrackerResponse.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
718
722
  DescribeTrackerResponse.add_member(:pricing_plan, Shapes::ShapeRef.new(shape: PricingPlan, deprecated: true, location_name: "PricingPlan", metadata: {"deprecatedMessage"=>"Deprecated. Always returns RequestBasedUsage."}))
@@ -839,6 +843,7 @@ module Aws::LocationService
839
843
  GetMapTileResponse[:payload_member] = GetMapTileResponse.member(:blob)
840
844
 
841
845
  GetPlaceRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
846
+ GetPlaceRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
842
847
  GetPlaceRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location: "querystring", location_name: "language"))
843
848
  GetPlaceRequest.add_member(:place_id, Shapes::ShapeRef.new(shape: PlaceId, required: true, location: "uri", location_name: "PlaceId"))
844
849
  GetPlaceRequest.struct_class = Types::GetPlaceRequest
@@ -1120,6 +1125,7 @@ module Aws::LocationService
1120
1125
  SearchForTextResultList.member = Shapes::ShapeRef.new(shape: SearchForTextResult)
1121
1126
 
1122
1127
  SearchPlaceIndexForPositionRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1128
+ SearchPlaceIndexForPositionRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
1123
1129
  SearchPlaceIndexForPositionRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1124
1130
  SearchPlaceIndexForPositionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1125
1131
  SearchPlaceIndexForPositionRequest.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
@@ -1140,6 +1146,7 @@ module Aws::LocationService
1140
1146
  SearchPlaceIndexForSuggestionsRequest.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1141
1147
  SearchPlaceIndexForSuggestionsRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1142
1148
  SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1149
+ SearchPlaceIndexForSuggestionsRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
1143
1150
  SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1144
1151
  SearchPlaceIndexForSuggestionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestMaxResultsInteger, location_name: "MaxResults"))
1145
1152
  SearchPlaceIndexForSuggestionsRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestTextString, required: true, location_name: "Text"))
@@ -1164,6 +1171,7 @@ module Aws::LocationService
1164
1171
  SearchPlaceIndexForTextRequest.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1165
1172
  SearchPlaceIndexForTextRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1166
1173
  SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1174
+ SearchPlaceIndexForTextRequest.add_member(:key, Shapes::ShapeRef.new(shape: ApiKey, location: "querystring", location_name: "key"))
1167
1175
  SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1168
1176
  SearchPlaceIndexForTextRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1169
1177
  SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForTextRequestTextString, required: true, location_name: "Text"))
@@ -1287,6 +1295,7 @@ module Aws::LocationService
1287
1295
  UpdateRouteCalculatorResponse.struct_class = Types::UpdateRouteCalculatorResponse
1288
1296
 
1289
1297
  UpdateTrackerRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
1298
+ UpdateTrackerRequest.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "EventBridgeEnabled"))
1290
1299
  UpdateTrackerRequest.add_member(:position_filtering, Shapes::ShapeRef.new(shape: PositionFiltering, location_name: "PositionFiltering"))
1291
1300
  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."}))
1292
1301
  UpdateTrackerRequest.add_member(:pricing_plan_data_source, Shapes::ShapeRef.new(shape: String, deprecated: true, location_name: "PricingPlanDataSource", metadata: {"deprecatedMessage"=>"Deprecated. No longer allowed."}))
@@ -43,11 +43,41 @@ module Aws::LocationService
43
43
  #
44
44
  # @!attribute [rw] allow_actions
45
45
  # A list of allowed actions that an API key resource grants
46
- # permissions to perform
46
+ # permissions to perform. You must have at least one action for each
47
+ # type of resource. For example, if you have a place resource, you
48
+ # must include at least one place action.
47
49
  #
48
- # <note markdown="1"> Currently, the only valid action is `geo:GetMap*` as an input to the
49
- # list. For example, `["geo:GetMap*"]` is valid but
50
- # `["geo:GetMapTile"]` is not.
50
+ # The following are valid values for the actions.
51
+ #
52
+ # * **Map actions**
53
+ #
54
+ # * `geo:GetMap*` - Allows all actions needed for map rendering.
55
+ #
56
+ # ^
57
+ #
58
+ # * **Place actions**
59
+ #
60
+ # * `geo:SearchPlaceIndexForText` - Allows geocoding.
61
+ #
62
+ # * `geo:SearchPlaceIndexForPosition` - Allows reverse geocoding.
63
+ #
64
+ # * `geo:SearchPlaceIndexForSuggestions` - Allows generating
65
+ # suggestions from text.
66
+ #
67
+ # * `GetPlace` - Allows finding a place by place ID.
68
+ #
69
+ # * **Route actions**
70
+ #
71
+ # * `geo:CalculateRoute` - Allows point to point routing.
72
+ #
73
+ # * `geo:CalculateRouteMatrix` - Allows calculating a matrix of
74
+ # routes.
75
+ #
76
+ # <note markdown="1"> You must use these strings exactly. For example, to provide access
77
+ # to map rendering, the only valid action is `geo:GetMap*` as an input
78
+ # to the list. `["geo:GetMap*"]` is valid but `["geo:GetMapTile"]` is
79
+ # not. Similarly, you cannot use `["geo:SearchPlaceIndexFor*"]` - you
80
+ # must list each of the Place actions separately.
51
81
  #
52
82
  # </note>
53
83
  # @return [Array<String>]
@@ -79,40 +109,25 @@ module Aws::LocationService
79
109
  #
80
110
  # @!attribute [rw] allow_resources
81
111
  # A list of allowed resource ARNs that a API key bearer can perform
82
- # actions on
112
+ # actions on.
83
113
  #
84
- # For more information about ARN format, see [Amazon Resource Names
85
- # (ARNs)][1].
114
+ # * The ARN must be the correct ARN for a map, place, or route ARN.
115
+ # You may include wildcards in the resource-id to match multiple
116
+ # resources of the same type.
86
117
  #
87
- # <note markdown="1"> In this preview, you can allow only map resources.
118
+ # * The resources must be in the same `partition`, `region`, and
119
+ # `account-id` as the key that is being created.
88
120
  #
89
- # </note>
90
- #
91
- # Requirements:
92
- #
93
- # * Must be prefixed with `arn`.
94
- #
95
- # * `partition` and `service` must not be empty and should begin with
96
- # only alphanumeric characters (A–Z, a–z, 0–9) and contain only
97
- # alphanumeric numbers, hyphens (-) and periods (.).
98
- #
99
- # * `region` and `account-id` can be empty or should begin with only
100
- # alphanumeric characters (A–Z, a–z, 0–9) and contain only
101
- # alphanumeric numbers, hyphens (-) and periods (.).
102
- #
103
- # * `resource-id` can begin with any character except for forward
104
- # slash (/) and contain any characters after, including forward
105
- # slashes to form a path.
121
+ # * Other than wildcards, you must include the full ARN, including the
122
+ # `arn`, `partition`, `service`, `region`, `account-id` and
123
+ # `resource-id`, delimited by colons (:).
106
124
  #
107
- # `resource-id` can also include wildcard characters, denoted by an
108
- # asterisk (*).
109
- #
110
- # * `arn`, `partition`, `service`, `region`, `account-id` and
111
- # `resource-id` must be delimited by a colon (:).
112
- #
113
- # * No spaces allowed. For example,
125
+ # * No spaces allowed, even with wildcards. For example,
114
126
  # `arn:aws:geo:region:account-id:map/ExampleMap*`.
115
127
  #
128
+ # For more information about ARN format, see [Amazon Resource Names
129
+ # (ARNs)][1].
130
+ #
116
131
  #
117
132
  #
118
133
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
@@ -448,8 +463,11 @@ module Aws::LocationService
448
463
  # @return [String]
449
464
  #
450
465
  # @!attribute [rw] geofence_properties
451
- # Specifies additional user-defined properties to store with the
452
- # Geofence. An array of key-value pairs.
466
+ # Associates one of more properties with the geofence. A property is a
467
+ # key-value pair stored with the geofence and added to any geofence
468
+ # event triggered with that geofence.
469
+ #
470
+ # Format: `"key" : "value"`
453
471
  # @return [Hash<String,String>]
454
472
  #
455
473
  # @!attribute [rw] geometry
@@ -725,6 +743,14 @@ module Aws::LocationService
725
743
  # Default Value: `Kilometers`
726
744
  # @return [String]
727
745
  #
746
+ # @!attribute [rw] key
747
+ # The optional [API key][1] to authorize the request.
748
+ #
749
+ #
750
+ #
751
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
752
+ # @return [String]
753
+ #
728
754
  # @!attribute [rw] travel_mode
729
755
  # Specifies the mode of transport when calculating a route. Used in
730
756
  # estimating the speed of travel and road compatibility.
@@ -771,9 +797,10 @@ module Aws::LocationService
771
797
  :departure_time,
772
798
  :destination_positions,
773
799
  :distance_unit,
800
+ :key,
774
801
  :travel_mode,
775
802
  :truck_mode_options)
776
- SENSITIVE = []
803
+ SENSITIVE = [:key]
777
804
  include Aws::Structure
778
805
  end
779
806
 
@@ -962,6 +989,14 @@ module Aws::LocationService
962
989
  # Valid Values: `false` \| `true`
963
990
  # @return [Boolean]
964
991
  #
992
+ # @!attribute [rw] key
993
+ # The optional [API key][1] to authorize the request.
994
+ #
995
+ #
996
+ #
997
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
998
+ # @return [String]
999
+ #
965
1000
  # @!attribute [rw] travel_mode
966
1001
  # Specifies the mode of transport when calculating a route. Used in
967
1002
  # estimating the speed of travel and road compatibility. You can
@@ -1042,10 +1077,11 @@ module Aws::LocationService
1042
1077
  :destination_position,
1043
1078
  :distance_unit,
1044
1079
  :include_leg_geometry,
1080
+ :key,
1045
1081
  :travel_mode,
1046
1082
  :truck_mode_options,
1047
1083
  :waypoint_positions)
1048
- SENSITIVE = [:departure_position, :destination_position]
1084
+ SENSITIVE = [:departure_position, :destination_position, :key]
1049
1085
  include Aws::Structure
1050
1086
  end
1051
1087
 
@@ -1850,6 +1886,17 @@ module Aws::LocationService
1850
1886
  # An optional description for the tracker resource.
1851
1887
  # @return [String]
1852
1888
  #
1889
+ # @!attribute [rw] event_bridge_enabled
1890
+ # Whether to enable position `UPDATE` events from this tracker to be
1891
+ # sent to EventBridge.
1892
+ #
1893
+ # <note markdown="1"> You do not need enable this feature to get `ENTER` and `EXIT` events
1894
+ # for geofences with this tracker. Those events are always sent to
1895
+ # EventBridge.
1896
+ #
1897
+ # </note>
1898
+ # @return [Boolean]
1899
+ #
1853
1900
  # @!attribute [rw] kms_key_id
1854
1901
  # A key identifier for an [Amazon Web Services KMS customer managed
1855
1902
  # key][1]. Enter a key ID, key ARN, alias name, or alias ARN.
@@ -1940,6 +1987,7 @@ module Aws::LocationService
1940
1987
  #
1941
1988
  class CreateTrackerRequest < Struct.new(
1942
1989
  :description,
1990
+ :event_bridge_enabled,
1943
1991
  :kms_key_id,
1944
1992
  :position_filtering,
1945
1993
  :pricing_plan,
@@ -2587,6 +2635,11 @@ module Aws::LocationService
2587
2635
  # The optional description for the tracker resource.
2588
2636
  # @return [String]
2589
2637
  #
2638
+ # @!attribute [rw] event_bridge_enabled
2639
+ # Whether `UPDATE` events from this tracker in EventBridge are
2640
+ # enabled. If set to `true` these events will be sent to EventBridge.
2641
+ # @return [Boolean]
2642
+ #
2590
2643
  # @!attribute [rw] kms_key_id
2591
2644
  # A key identifier for an [Amazon Web Services KMS customer managed
2592
2645
  # key][1] assigned to the Amazon Location resource.
@@ -2640,6 +2693,7 @@ module Aws::LocationService
2640
2693
  class DescribeTrackerResponse < Struct.new(
2641
2694
  :create_time,
2642
2695
  :description,
2696
+ :event_bridge_enabled,
2643
2697
  :kms_key_id,
2644
2698
  :position_filtering,
2645
2699
  :pricing_plan,
@@ -3012,8 +3066,11 @@ module Aws::LocationService
3012
3066
  # @return [String]
3013
3067
  #
3014
3068
  # @!attribute [rw] geofence_properties
3015
- # Contains additional user-defined properties stored with the
3016
- # geofence. An array of key-value pairs.
3069
+ # User defined properties of the geofence. A property is a key-value
3070
+ # pair stored with the geofence and added to any geofence event
3071
+ # triggered with that geofence.
3072
+ #
3073
+ # Format: `"key" : "value"`
3017
3074
  # @return [Hash<String,String>]
3018
3075
  #
3019
3076
  # @!attribute [rw] geometry
@@ -3351,6 +3408,14 @@ module Aws::LocationService
3351
3408
  # search.
3352
3409
  # @return [String]
3353
3410
  #
3411
+ # @!attribute [rw] key
3412
+ # The optional [API key][1] to authorize the request.
3413
+ #
3414
+ #
3415
+ #
3416
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
3417
+ # @return [String]
3418
+ #
3354
3419
  # @!attribute [rw] language
3355
3420
  # The preferred language used to return results. The value must be a
3356
3421
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -3384,9 +3449,10 @@ module Aws::LocationService
3384
3449
  #
3385
3450
  class GetPlaceRequest < Struct.new(
3386
3451
  :index_name,
3452
+ :key,
3387
3453
  :language,
3388
3454
  :place_id)
3389
- SENSITIVE = []
3455
+ SENSITIVE = [:key]
3390
3456
  include Aws::Structure
3391
3457
  end
3392
3458
 
@@ -3732,8 +3798,11 @@ module Aws::LocationService
3732
3798
  # @return [String]
3733
3799
  #
3734
3800
  # @!attribute [rw] geofence_properties
3735
- # Contains additional user-defined properties stored with the
3736
- # geofence. An array of key-value pairs.
3801
+ # User defined properties of the geofence. A property is a key-value
3802
+ # pair stored with the geofence and added to any geofence event
3803
+ # triggered with that geofence.
3804
+ #
3805
+ # Format: `"key" : "value"`
3737
3806
  # @return [Hash<String,String>]
3738
3807
  #
3739
3808
  # @!attribute [rw] geometry
@@ -4778,8 +4847,11 @@ module Aws::LocationService
4778
4847
  # @return [String]
4779
4848
  #
4780
4849
  # @!attribute [rw] geofence_properties
4781
- # Specifies additional user-defined properties to store with the
4782
- # Geofence. An array of key-value pairs.
4850
+ # Associates one of more properties with the geofence. A property is a
4851
+ # key-value pair stored with the geofence and added to any geofence
4852
+ # event triggered with that geofence.
4853
+ #
4854
+ # Format: `"key" : "value"`
4783
4855
  # @return [Hash<String,String>]
4784
4856
  #
4785
4857
  # @!attribute [rw] geometry
@@ -5076,6 +5148,14 @@ module Aws::LocationService
5076
5148
  # The name of the place index resource you want to use for the search.
5077
5149
  # @return [String]
5078
5150
  #
5151
+ # @!attribute [rw] key
5152
+ # The optional [API key][1] to authorize the request.
5153
+ #
5154
+ #
5155
+ #
5156
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
5157
+ # @return [String]
5158
+ #
5079
5159
  # @!attribute [rw] language
5080
5160
  # The preferred language used to return results. The value must be a
5081
5161
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -5123,10 +5203,11 @@ module Aws::LocationService
5123
5203
  #
5124
5204
  class SearchPlaceIndexForPositionRequest < Struct.new(
5125
5205
  :index_name,
5206
+ :key,
5126
5207
  :language,
5127
5208
  :max_results,
5128
5209
  :position)
5129
- SENSITIVE = [:position]
5210
+ SENSITIVE = [:key, :position]
5130
5211
  include Aws::Structure
5131
5212
  end
5132
5213
 
@@ -5273,6 +5354,14 @@ module Aws::LocationService
5273
5354
  # The name of the place index resource you want to use for the search.
5274
5355
  # @return [String]
5275
5356
  #
5357
+ # @!attribute [rw] key
5358
+ # The optional [API key][1] to authorize the request.
5359
+ #
5360
+ #
5361
+ #
5362
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
5363
+ # @return [String]
5364
+ #
5276
5365
  # @!attribute [rw] language
5277
5366
  # The preferred language used to return results. The value must be a
5278
5367
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -5317,10 +5406,11 @@ module Aws::LocationService
5317
5406
  :filter_categories,
5318
5407
  :filter_countries,
5319
5408
  :index_name,
5409
+ :key,
5320
5410
  :language,
5321
5411
  :max_results,
5322
5412
  :text)
5323
- SENSITIVE = [:bias_position, :filter_b_box, :text]
5413
+ SENSITIVE = [:bias_position, :filter_b_box, :key, :text]
5324
5414
  include Aws::Structure
5325
5415
  end
5326
5416
 
@@ -5494,6 +5584,14 @@ module Aws::LocationService
5494
5584
  # The name of the place index resource you want to use for the search.
5495
5585
  # @return [String]
5496
5586
  #
5587
+ # @!attribute [rw] key
5588
+ # The optional [API key][1] to authorize the request.
5589
+ #
5590
+ #
5591
+ #
5592
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html
5593
+ # @return [String]
5594
+ #
5497
5595
  # @!attribute [rw] language
5498
5596
  # The preferred language used to return results. The value must be a
5499
5597
  # valid [BCP 47][1] language tag, for example, `en` for English.
@@ -5538,10 +5636,11 @@ module Aws::LocationService
5538
5636
  :filter_categories,
5539
5637
  :filter_countries,
5540
5638
  :index_name,
5639
+ :key,
5541
5640
  :language,
5542
5641
  :max_results,
5543
5642
  :text)
5544
- SENSITIVE = [:bias_position, :filter_b_box, :text]
5643
+ SENSITIVE = [:bias_position, :filter_b_box, :key, :text]
5545
5644
  include Aws::Structure
5546
5645
  end
5547
5646
 
@@ -6251,6 +6350,17 @@ module Aws::LocationService
6251
6350
  # Updates the description for the tracker resource.
6252
6351
  # @return [String]
6253
6352
  #
6353
+ # @!attribute [rw] event_bridge_enabled
6354
+ # Whether to enable position `UPDATE` events from this tracker to be
6355
+ # sent to EventBridge.
6356
+ #
6357
+ # <note markdown="1"> You do not need enable this feature to get `ENTER` and `EXIT` events
6358
+ # for geofences with this tracker. Those events are always sent to
6359
+ # EventBridge.
6360
+ #
6361
+ # </note>
6362
+ # @return [Boolean]
6363
+ #
6254
6364
  # @!attribute [rw] position_filtering
6255
6365
  # Updates the position filtering for the tracker resource.
6256
6366
  #
@@ -6297,6 +6407,7 @@ module Aws::LocationService
6297
6407
  #
6298
6408
  class UpdateTrackerRequest < Struct.new(
6299
6409
  :description,
6410
+ :event_bridge_enabled,
6300
6411
  :position_filtering,
6301
6412
  :pricing_plan,
6302
6413
  :pricing_plan_data_source,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-locationservice/customizations'
52
52
  # @!group service
53
53
  module Aws::LocationService
54
54
 
55
- GEM_VERSION = '1.34.0'
55
+ GEM_VERSION = '1.35.0'
56
56
 
57
57
  end
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.34.0
4
+ version: 1.35.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-06-28 00:00:00.000000000 Z
11
+ date: 2023-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.176.0
22
+ version: 3.177.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.176.0
32
+ version: 3.177.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement