aws-sdk-locationservice 1.31.0 → 1.33.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: e309b0a9cb77d8badbc6c05390a798b569f9bd93bfe2b6f1ca2a8e845ecfe246
4
- data.tar.gz: 1a37cd9b0501ad0e21f5be960fa70ac9e2faedf0fae3f3cf6a487dd598a1754c
3
+ metadata.gz: f67b97929c0a4e43b678c616d6c74e428ee4f7e0dfc6f36264794889130352b8
4
+ data.tar.gz: a341cc43b4ca9eddad18d30d2d0c12e0974080d6d586f71a484ab4dce3b91ca1
5
5
  SHA512:
6
- metadata.gz: ff8dc5ed727c34c682efbd33d45a5f3e40dbe836a2b2295f742f5260d6ff6fb4ec83478b0ed5b83719e7be93a481aedc3b8bc1d0c36bf04f206cea63aae5e029
7
- data.tar.gz: a2905fe2cd43bf14e76de0f6215fd942969c6f76dbcc26b0d7fd88fefcc67897fc26a8547b31e6fc60507bd3f615828a0e98d9cdd4d333f4e2ff5d6f9c45d507
6
+ metadata.gz: 7843cbacbd343363bf3adb1b515cc853dabdf6c9138762b5ba335646f916b6d9fb5a874e1a259a7a717bffae47253450e51493b0a7b503b7b389bacdbfdd8ced
7
+ data.tar.gz: f4765ad2f5738252d59e3dd30ac9463632c9592846ac0741f2b06aed0d891f8690e872e3c64f6ef5b4193ab02fd37351ce37edf661b96907b21c9098edd13b40
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2023-06-15)
5
+ ------------------
6
+
7
+ * Feature - Amazon Location Service adds categories to places, including filtering on those categories in searches. Also, you can now add metadata properties to your geofences.
8
+
9
+ 1.32.0 (2023-05-31)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.31.0 (2023-05-30)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -275,6 +275,11 @@ module Aws::LocationService
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -642,6 +647,9 @@ module Aws::LocationService
642
647
  # entries: [ # required
643
648
  # {
644
649
  # geofence_id: "Id", # required
650
+ # geofence_properties: {
651
+ # "PropertyMapKeyString" => "PropertyMapValueString",
652
+ # },
645
653
  # geometry: { # required
646
654
  # circle: {
647
655
  # center: [1.0], # required
@@ -678,9 +686,9 @@ module Aws::LocationService
678
686
  end
679
687
 
680
688
  # Uploads position update data for one or more devices to a tracker
681
- # resource. Amazon Location uses the data when it reports the last known
682
- # device position and position history. Amazon Location retains location
683
- # data for 30 days.
689
+ # resource (up to 10 devices per batch). Amazon Location uses the data
690
+ # when it reports the last known device position and position history.
691
+ # Amazon Location retains location data for 30 days.
684
692
  #
685
693
  # <note markdown="1"> Position updates are handled based on the `PositionFiltering` property
686
694
  # of the tracker. When `PositionFiltering` is set to `TimeBased`,
@@ -710,7 +718,8 @@ module Aws::LocationService
710
718
  # The name of the tracker resource to update.
711
719
  #
712
720
  # @option params [required, Array<Types::DevicePositionUpdate>] :updates
713
- # Contains the position update details for each device.
721
+ # Contains the position update details for each device, up to 10
722
+ # devices.
714
723
  #
715
724
  # @return [Types::BatchUpdateDevicePositionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
725
  #
@@ -2595,6 +2604,7 @@ module Aws::LocationService
2595
2604
  #
2596
2605
  # * {Types::GetGeofenceResponse#create_time #create_time} => Time
2597
2606
  # * {Types::GetGeofenceResponse#geofence_id #geofence_id} => String
2607
+ # * {Types::GetGeofenceResponse#geofence_properties #geofence_properties} => Hash&lt;String,String&gt;
2598
2608
  # * {Types::GetGeofenceResponse#geometry #geometry} => Types::GeofenceGeometry
2599
2609
  # * {Types::GetGeofenceResponse#status #status} => String
2600
2610
  # * {Types::GetGeofenceResponse#update_time #update_time} => Time
@@ -2610,6 +2620,8 @@ module Aws::LocationService
2610
2620
  #
2611
2621
  # resp.create_time #=> Time
2612
2622
  # resp.geofence_id #=> String
2623
+ # resp.geofence_properties #=> Hash
2624
+ # resp.geofence_properties["PropertyMapKeyString"] #=> String
2613
2625
  # resp.geometry.circle.center #=> Array
2614
2626
  # resp.geometry.circle.center[0] #=> Float
2615
2627
  # resp.geometry.circle.radius #=> Float
@@ -2969,6 +2981,8 @@ module Aws::LocationService
2969
2981
  # @example Response structure
2970
2982
  #
2971
2983
  # resp.place.address_number #=> String
2984
+ # resp.place.categories #=> Array
2985
+ # resp.place.categories[0] #=> String
2972
2986
  # resp.place.country #=> String
2973
2987
  # resp.place.geometry.point #=> Array
2974
2988
  # resp.place.geometry.point[0] #=> Float
@@ -2980,6 +2994,8 @@ module Aws::LocationService
2980
2994
  # resp.place.region #=> String
2981
2995
  # resp.place.street #=> String
2982
2996
  # resp.place.sub_region #=> String
2997
+ # resp.place.supplemental_categories #=> Array
2998
+ # resp.place.supplemental_categories[0] #=> String
2983
2999
  # resp.place.time_zone.name #=> String
2984
3000
  # resp.place.time_zone.offset #=> Integer
2985
3001
  # resp.place.unit_number #=> String
@@ -3131,6 +3147,8 @@ module Aws::LocationService
3131
3147
  # resp.data.entries #=> Array
3132
3148
  # resp.data.entries[0].create_time #=> Time
3133
3149
  # resp.data.entries[0].geofence_id #=> String
3150
+ # resp.data.entries[0].geofence_properties #=> Hash
3151
+ # resp.data.entries[0].geofence_properties["PropertyMapKeyString"] #=> String
3134
3152
  # resp.data.entries[0].geometry.circle.center #=> Array
3135
3153
  # resp.data.entries[0].geometry.circle.center[0] #=> Float
3136
3154
  # resp.data.entries[0].geometry.circle.radius #=> Float
@@ -3504,6 +3522,10 @@ module Aws::LocationService
3504
3522
  # @option params [required, String] :geofence_id
3505
3523
  # An identifier for the geofence. For example, `ExampleGeofence-1`.
3506
3524
  #
3525
+ # @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.
3528
+ #
3507
3529
  # @option params [required, Types::GeofenceGeometry] :geometry
3508
3530
  # Contains the details to specify the position of the geofence. Can be
3509
3531
  # either a polygon or a circle. Including both will return a validation
@@ -3528,6 +3550,9 @@ module Aws::LocationService
3528
3550
  # resp = client.put_geofence({
3529
3551
  # collection_name: "ResourceName", # required
3530
3552
  # geofence_id: "Id", # required
3553
+ # geofence_properties: {
3554
+ # "PropertyMapKeyString" => "PropertyMapValueString",
3555
+ # },
3531
3556
  # geometry: { # required
3532
3557
  # circle: {
3533
3558
  # center: [1.0], # required
@@ -3622,6 +3647,8 @@ module Aws::LocationService
3622
3647
  # resp.results #=> Array
3623
3648
  # resp.results[0].distance #=> Float
3624
3649
  # resp.results[0].place.address_number #=> String
3650
+ # resp.results[0].place.categories #=> Array
3651
+ # resp.results[0].place.categories[0] #=> String
3625
3652
  # resp.results[0].place.country #=> String
3626
3653
  # resp.results[0].place.geometry.point #=> Array
3627
3654
  # resp.results[0].place.geometry.point[0] #=> Float
@@ -3633,6 +3660,8 @@ module Aws::LocationService
3633
3660
  # resp.results[0].place.region #=> String
3634
3661
  # resp.results[0].place.street #=> String
3635
3662
  # resp.results[0].place.sub_region #=> String
3663
+ # resp.results[0].place.supplemental_categories #=> Array
3664
+ # resp.results[0].place.supplemental_categories[0] #=> String
3636
3665
  # resp.results[0].place.time_zone.name #=> String
3637
3666
  # resp.results[0].place.time_zone.offset #=> Integer
3638
3667
  # resp.results[0].place.unit_number #=> String
@@ -3705,6 +3734,19 @@ module Aws::LocationService
3705
3734
  #
3706
3735
  # </note>
3707
3736
  #
3737
+ # @option params [Array<String>] :filter_categories
3738
+ # A list of one or more Amazon Location categories to filter the
3739
+ # returned places. If you include more than one category, the results
3740
+ # will include results that match *any* of the categories listed.
3741
+ #
3742
+ # For more information about using categories, including a list of
3743
+ # Amazon Location categories, see [Categories and filtering][1], in the
3744
+ # *Amazon Location Service Developer Guide*.
3745
+ #
3746
+ #
3747
+ #
3748
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
3749
+ #
3708
3750
  # @option params [Array<String>] :filter_countries
3709
3751
  # An optional parameter that limits the search results by returning only
3710
3752
  # suggestions within the provided list of countries.
@@ -3763,6 +3805,7 @@ module Aws::LocationService
3763
3805
  # resp = client.search_place_index_for_suggestions({
3764
3806
  # bias_position: [1.0],
3765
3807
  # filter_b_box: [1.0],
3808
+ # filter_categories: ["PlaceCategory"],
3766
3809
  # filter_countries: ["CountryCode"],
3767
3810
  # index_name: "ResourceName", # required
3768
3811
  # language: "LanguageTag",
@@ -3773,13 +3816,19 @@ module Aws::LocationService
3773
3816
  # @example Response structure
3774
3817
  #
3775
3818
  # resp.results #=> Array
3819
+ # resp.results[0].categories #=> Array
3820
+ # resp.results[0].categories[0] #=> String
3776
3821
  # resp.results[0].place_id #=> String
3822
+ # resp.results[0].supplemental_categories #=> Array
3823
+ # resp.results[0].supplemental_categories[0] #=> String
3777
3824
  # resp.results[0].text #=> String
3778
3825
  # resp.summary.bias_position #=> Array
3779
3826
  # resp.summary.bias_position[0] #=> Float
3780
3827
  # resp.summary.data_source #=> String
3781
3828
  # resp.summary.filter_b_box #=> Array
3782
3829
  # resp.summary.filter_b_box[0] #=> Float
3830
+ # resp.summary.filter_categories #=> Array
3831
+ # resp.summary.filter_categories[0] #=> String
3783
3832
  # resp.summary.filter_countries #=> Array
3784
3833
  # resp.summary.filter_countries[0] #=> String
3785
3834
  # resp.summary.language #=> String
@@ -3847,6 +3896,19 @@ module Aws::LocationService
3847
3896
  #
3848
3897
  # </note>
3849
3898
  #
3899
+ # @option params [Array<String>] :filter_categories
3900
+ # A list of one or more Amazon Location categories to filter the
3901
+ # returned places. If you include more than one category, the results
3902
+ # will include results that match *any* of the categories listed.
3903
+ #
3904
+ # For more information about using categories, including a list of
3905
+ # Amazon Location categories, see [Categories and filtering][1], in the
3906
+ # *Amazon Location Service Developer Guide*.
3907
+ #
3908
+ #
3909
+ #
3910
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
3911
+ #
3850
3912
  # @option params [Array<String>] :filter_countries
3851
3913
  # An optional parameter that limits the search results by returning only
3852
3914
  # places that are in a specified list of countries.
@@ -3906,6 +3968,7 @@ module Aws::LocationService
3906
3968
  # resp = client.search_place_index_for_text({
3907
3969
  # bias_position: [1.0],
3908
3970
  # filter_b_box: [1.0],
3971
+ # filter_categories: ["PlaceCategory"],
3909
3972
  # filter_countries: ["CountryCode"],
3910
3973
  # index_name: "ResourceName", # required
3911
3974
  # language: "LanguageTag",
@@ -3918,6 +3981,8 @@ module Aws::LocationService
3918
3981
  # resp.results #=> Array
3919
3982
  # resp.results[0].distance #=> Float
3920
3983
  # resp.results[0].place.address_number #=> String
3984
+ # resp.results[0].place.categories #=> Array
3985
+ # resp.results[0].place.categories[0] #=> String
3921
3986
  # resp.results[0].place.country #=> String
3922
3987
  # resp.results[0].place.geometry.point #=> Array
3923
3988
  # resp.results[0].place.geometry.point[0] #=> Float
@@ -3929,6 +3994,8 @@ module Aws::LocationService
3929
3994
  # resp.results[0].place.region #=> String
3930
3995
  # resp.results[0].place.street #=> String
3931
3996
  # resp.results[0].place.sub_region #=> String
3997
+ # resp.results[0].place.supplemental_categories #=> Array
3998
+ # resp.results[0].place.supplemental_categories[0] #=> String
3932
3999
  # resp.results[0].place.time_zone.name #=> String
3933
4000
  # resp.results[0].place.time_zone.offset #=> Integer
3934
4001
  # resp.results[0].place.unit_number #=> String
@@ -3940,6 +4007,8 @@ module Aws::LocationService
3940
4007
  # resp.summary.data_source #=> String
3941
4008
  # resp.summary.filter_b_box #=> Array
3942
4009
  # resp.summary.filter_b_box[0] #=> Float
4010
+ # resp.summary.filter_categories #=> Array
4011
+ # resp.summary.filter_categories[0] #=> String
3943
4012
  # resp.summary.filter_countries #=> Array
3944
4013
  # resp.summary.filter_countries[0] #=> String
3945
4014
  # resp.summary.language #=> String
@@ -4404,7 +4473,7 @@ module Aws::LocationService
4404
4473
  params: params,
4405
4474
  config: config)
4406
4475
  context[:gem_name] = 'aws-sdk-locationservice'
4407
- context[:gem_version] = '1.31.0'
4476
+ context[:gem_version] = '1.33.0'
4408
4477
  Seahorse::Client::Request.new(handlers, context)
4409
4478
  end
4410
4479
 
@@ -132,6 +132,7 @@ module Aws::LocationService
132
132
  DisassociateTrackerConsumerResponse = Shapes::StructureShape.new(name: 'DisassociateTrackerConsumerResponse')
133
133
  DistanceUnit = Shapes::StringShape.new(name: 'DistanceUnit')
134
134
  Double = Shapes::FloatShape.new(name: 'Double')
135
+ FilterPlaceCategoryList = Shapes::ListShape.new(name: 'FilterPlaceCategoryList')
135
136
  GeoArn = Shapes::StringShape.new(name: 'GeoArn')
136
137
  GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
137
138
  GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
@@ -219,9 +220,13 @@ module Aws::LocationService
219
220
  MapConfigurationUpdate = Shapes::StructureShape.new(name: 'MapConfigurationUpdate')
220
221
  MapStyle = Shapes::StringShape.new(name: 'MapStyle')
221
222
  Place = Shapes::StructureShape.new(name: 'Place')
223
+ PlaceCategory = Shapes::StringShape.new(name: 'PlaceCategory')
224
+ PlaceCategoryList = Shapes::ListShape.new(name: 'PlaceCategoryList')
222
225
  PlaceGeometry = Shapes::StructureShape.new(name: 'PlaceGeometry')
223
226
  PlaceId = Shapes::StringShape.new(name: 'PlaceId')
224
227
  PlaceIndexSearchResultLimit = Shapes::IntegerShape.new(name: 'PlaceIndexSearchResultLimit')
228
+ PlaceSupplementalCategory = Shapes::StringShape.new(name: 'PlaceSupplementalCategory')
229
+ PlaceSupplementalCategoryList = Shapes::ListShape.new(name: 'PlaceSupplementalCategoryList')
225
230
  Position = Shapes::ListShape.new(name: 'Position')
226
231
  PositionFiltering = Shapes::StringShape.new(name: 'PositionFiltering')
227
232
  PositionalAccuracy = Shapes::StructureShape.new(name: 'PositionalAccuracy')
@@ -414,6 +419,7 @@ module Aws::LocationService
414
419
  BatchPutGeofenceRequestEntriesList.member = Shapes::ShapeRef.new(shape: BatchPutGeofenceRequestEntry)
415
420
 
416
421
  BatchPutGeofenceRequestEntry.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "GeofenceId"))
422
+ BatchPutGeofenceRequestEntry.add_member(:geofence_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "GeofenceProperties"))
417
423
  BatchPutGeofenceRequestEntry.add_member(:geometry, Shapes::ShapeRef.new(shape: GeofenceGeometry, required: true, location_name: "Geometry"))
418
424
  BatchPutGeofenceRequestEntry.struct_class = Types::BatchPutGeofenceRequestEntry
419
425
 
@@ -740,6 +746,8 @@ module Aws::LocationService
740
746
 
741
747
  DisassociateTrackerConsumerResponse.struct_class = Types::DisassociateTrackerConsumerResponse
742
748
 
749
+ FilterPlaceCategoryList.member = Shapes::ShapeRef.new(shape: PlaceCategory)
750
+
743
751
  GeofenceGeometry.add_member(:circle, Shapes::ShapeRef.new(shape: Circle, location_name: "Circle"))
744
752
  GeofenceGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape: LinearRings, location_name: "Polygon"))
745
753
  GeofenceGeometry.struct_class = Types::GeofenceGeometry
@@ -774,6 +782,7 @@ module Aws::LocationService
774
782
 
775
783
  GetGeofenceResponse.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
776
784
  GetGeofenceResponse.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "GeofenceId"))
785
+ GetGeofenceResponse.add_member(:geofence_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "GeofenceProperties"))
777
786
  GetGeofenceResponse.add_member(:geometry, Shapes::ShapeRef.new(shape: GeofenceGeometry, required: true, location_name: "Geometry"))
778
787
  GetGeofenceResponse.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
779
788
  GetGeofenceResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
@@ -897,6 +906,7 @@ module Aws::LocationService
897
906
 
898
907
  ListGeofenceResponseEntry.add_member(:create_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreateTime"))
899
908
  ListGeofenceResponseEntry.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "GeofenceId"))
909
+ ListGeofenceResponseEntry.add_member(:geofence_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "GeofenceProperties"))
900
910
  ListGeofenceResponseEntry.add_member(:geometry, Shapes::ShapeRef.new(shape: GeofenceGeometry, required: true, location_name: "Geometry"))
901
911
  ListGeofenceResponseEntry.add_member(:status, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Status"))
902
912
  ListGeofenceResponseEntry.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
@@ -1027,6 +1037,7 @@ module Aws::LocationService
1027
1037
  MapConfigurationUpdate.struct_class = Types::MapConfigurationUpdate
1028
1038
 
1029
1039
  Place.add_member(:address_number, Shapes::ShapeRef.new(shape: String, location_name: "AddressNumber"))
1040
+ Place.add_member(:categories, Shapes::ShapeRef.new(shape: PlaceCategoryList, location_name: "Categories"))
1030
1041
  Place.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
1031
1042
  Place.add_member(:geometry, Shapes::ShapeRef.new(shape: PlaceGeometry, required: true, location_name: "Geometry"))
1032
1043
  Place.add_member(:interpolated, Shapes::ShapeRef.new(shape: Boolean, location_name: "Interpolated"))
@@ -1037,14 +1048,19 @@ module Aws::LocationService
1037
1048
  Place.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
1038
1049
  Place.add_member(:street, Shapes::ShapeRef.new(shape: String, location_name: "Street"))
1039
1050
  Place.add_member(:sub_region, Shapes::ShapeRef.new(shape: String, location_name: "SubRegion"))
1051
+ Place.add_member(:supplemental_categories, Shapes::ShapeRef.new(shape: PlaceSupplementalCategoryList, location_name: "SupplementalCategories"))
1040
1052
  Place.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
1041
1053
  Place.add_member(:unit_number, Shapes::ShapeRef.new(shape: String, location_name: "UnitNumber"))
1042
1054
  Place.add_member(:unit_type, Shapes::ShapeRef.new(shape: String, location_name: "UnitType"))
1043
1055
  Place.struct_class = Types::Place
1044
1056
 
1057
+ PlaceCategoryList.member = Shapes::ShapeRef.new(shape: PlaceCategory)
1058
+
1045
1059
  PlaceGeometry.add_member(:point, Shapes::ShapeRef.new(shape: Position, location_name: "Point"))
1046
1060
  PlaceGeometry.struct_class = Types::PlaceGeometry
1047
1061
 
1062
+ PlaceSupplementalCategoryList.member = Shapes::ShapeRef.new(shape: PlaceSupplementalCategory)
1063
+
1048
1064
  Position.member = Shapes::ShapeRef.new(shape: Double)
1049
1065
 
1050
1066
  PositionalAccuracy.add_member(:horizontal, Shapes::ShapeRef.new(shape: PositionalAccuracyHorizontalDouble, required: true, location_name: "Horizontal"))
@@ -1055,6 +1071,7 @@ module Aws::LocationService
1055
1071
 
1056
1072
  PutGeofenceRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
1057
1073
  PutGeofenceRequest.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "GeofenceId"))
1074
+ PutGeofenceRequest.add_member(:geofence_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "GeofenceProperties"))
1058
1075
  PutGeofenceRequest.add_member(:geometry, Shapes::ShapeRef.new(shape: GeofenceGeometry, required: true, location_name: "Geometry"))
1059
1076
  PutGeofenceRequest.struct_class = Types::PutGeofenceRequest
1060
1077
 
@@ -1086,7 +1103,9 @@ module Aws::LocationService
1086
1103
 
1087
1104
  SearchForPositionResultList.member = Shapes::ShapeRef.new(shape: SearchForPositionResult)
1088
1105
 
1106
+ SearchForSuggestionsResult.add_member(:categories, Shapes::ShapeRef.new(shape: PlaceCategoryList, location_name: "Categories"))
1089
1107
  SearchForSuggestionsResult.add_member(:place_id, Shapes::ShapeRef.new(shape: PlaceId, location_name: "PlaceId"))
1108
+ SearchForSuggestionsResult.add_member(:supplemental_categories, Shapes::ShapeRef.new(shape: PlaceSupplementalCategoryList, location_name: "SupplementalCategories"))
1090
1109
  SearchForSuggestionsResult.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Text"))
1091
1110
  SearchForSuggestionsResult.struct_class = Types::SearchForSuggestionsResult
1092
1111
 
@@ -1118,6 +1137,7 @@ module Aws::LocationService
1118
1137
 
1119
1138
  SearchPlaceIndexForSuggestionsRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
1120
1139
  SearchPlaceIndexForSuggestionsRequest.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
1140
+ SearchPlaceIndexForSuggestionsRequest.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1121
1141
  SearchPlaceIndexForSuggestionsRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1122
1142
  SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1123
1143
  SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
@@ -1132,6 +1152,7 @@ module Aws::LocationService
1132
1152
  SearchPlaceIndexForSuggestionsSummary.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
1133
1153
  SearchPlaceIndexForSuggestionsSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
1134
1154
  SearchPlaceIndexForSuggestionsSummary.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
1155
+ SearchPlaceIndexForSuggestionsSummary.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1135
1156
  SearchPlaceIndexForSuggestionsSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1136
1157
  SearchPlaceIndexForSuggestionsSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1137
1158
  SearchPlaceIndexForSuggestionsSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
@@ -1140,6 +1161,7 @@ module Aws::LocationService
1140
1161
 
1141
1162
  SearchPlaceIndexForTextRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
1142
1163
  SearchPlaceIndexForTextRequest.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
1164
+ SearchPlaceIndexForTextRequest.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1143
1165
  SearchPlaceIndexForTextRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1144
1166
  SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1145
1167
  SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
@@ -1154,6 +1176,7 @@ module Aws::LocationService
1154
1176
  SearchPlaceIndexForTextSummary.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
1155
1177
  SearchPlaceIndexForTextSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
1156
1178
  SearchPlaceIndexForTextSummary.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
1179
+ SearchPlaceIndexForTextSummary.add_member(:filter_categories, Shapes::ShapeRef.new(shape: FilterPlaceCategoryList, location_name: "FilterCategories"))
1157
1180
  SearchPlaceIndexForTextSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1158
1181
  SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1159
1182
  SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::LocationService
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class AssociateTrackerConsumer
@@ -447,6 +447,11 @@ module Aws::LocationService
447
447
  # collection.
448
448
  # @return [String]
449
449
  #
450
+ # @!attribute [rw] geofence_properties
451
+ # Specifies additional user-defined properties to store with the
452
+ # Geofence. An array of key-value pairs.
453
+ # @return [Hash<String,String>]
454
+ #
450
455
  # @!attribute [rw] geometry
451
456
  # Contains the details of the position of the geofence. Can be either
452
457
  # a polygon or a circle. Including both will return a validation
@@ -465,8 +470,9 @@ module Aws::LocationService
465
470
  #
466
471
  class BatchPutGeofenceRequestEntry < Struct.new(
467
472
  :geofence_id,
473
+ :geofence_properties,
468
474
  :geometry)
469
- SENSITIVE = []
475
+ SENSITIVE = [:geofence_properties]
470
476
  include Aws::Structure
471
477
  end
472
478
 
@@ -560,7 +566,8 @@ module Aws::LocationService
560
566
  # @return [String]
561
567
  #
562
568
  # @!attribute [rw] updates
563
- # Contains the position update details for each device.
569
+ # Contains the position update details for each device, up to 10
570
+ # devices.
564
571
  # @return [Array<Types::DevicePositionUpdate>]
565
572
  #
566
573
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/BatchUpdateDevicePositionRequest AWS API Documentation
@@ -3004,6 +3011,11 @@ module Aws::LocationService
3004
3011
  # The geofence identifier.
3005
3012
  # @return [String]
3006
3013
  #
3014
+ # @!attribute [rw] geofence_properties
3015
+ # Contains additional user-defined properties stored with the
3016
+ # geofence. An array of key-value pairs.
3017
+ # @return [Hash<String,String>]
3018
+ #
3007
3019
  # @!attribute [rw] geometry
3008
3020
  # Contains the geofence geometry details describing a polygon or a
3009
3021
  # circle.
@@ -3038,10 +3050,11 @@ module Aws::LocationService
3038
3050
  class GetGeofenceResponse < Struct.new(
3039
3051
  :create_time,
3040
3052
  :geofence_id,
3053
+ :geofence_properties,
3041
3054
  :geometry,
3042
3055
  :status,
3043
3056
  :update_time)
3044
- SENSITIVE = []
3057
+ SENSITIVE = [:geofence_properties]
3045
3058
  include Aws::Structure
3046
3059
  end
3047
3060
 
@@ -3718,6 +3731,11 @@ module Aws::LocationService
3718
3731
  # The geofence identifier.
3719
3732
  # @return [String]
3720
3733
  #
3734
+ # @!attribute [rw] geofence_properties
3735
+ # Contains additional user-defined properties stored with the
3736
+ # geofence. An array of key-value pairs.
3737
+ # @return [Hash<String,String>]
3738
+ #
3721
3739
  # @!attribute [rw] geometry
3722
3740
  # Contains the geofence geometry details describing a polygon or a
3723
3741
  # circle.
@@ -3752,10 +3770,11 @@ module Aws::LocationService
3752
3770
  class ListGeofenceResponseEntry < Struct.new(
3753
3771
  :create_time,
3754
3772
  :geofence_id,
3773
+ :geofence_properties,
3755
3774
  :geometry,
3756
3775
  :status,
3757
3776
  :update_time)
3758
- SENSITIVE = []
3777
+ SENSITIVE = [:geofence_properties]
3759
3778
  include Aws::Structure
3760
3779
  end
3761
3780
 
@@ -4588,6 +4607,18 @@ module Aws::LocationService
4588
4607
  # The numerical portion of an address, such as a building number.
4589
4608
  # @return [String]
4590
4609
  #
4610
+ # @!attribute [rw] categories
4611
+ # The Amazon Location categories that describe this Place.
4612
+ #
4613
+ # For more information about using categories, including a list of
4614
+ # Amazon Location categories, see [Categories and filtering][1], in
4615
+ # the *Amazon Location Service Developer Guide*.
4616
+ #
4617
+ #
4618
+ #
4619
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
4620
+ # @return [Array<String>]
4621
+ #
4591
4622
  # @!attribute [rw] country
4592
4623
  # A country/region specified using [ISO 3166][1] 3-digit
4593
4624
  # country/region code. For example, `CAN`.
@@ -4648,17 +4679,22 @@ module Aws::LocationService
4648
4679
  # `Metro Vancouver`.
4649
4680
  # @return [String]
4650
4681
  #
4682
+ # @!attribute [rw] supplemental_categories
4683
+ # Categories from the data provider that describe the Place that are
4684
+ # not mapped to any Amazon Location categories.
4685
+ # @return [Array<String>]
4686
+ #
4651
4687
  # @!attribute [rw] time_zone
4652
4688
  # The time zone in which the `Place` is located. Returned only when
4653
- # using HERE as the selected partner.
4689
+ # using HERE or Grab as the selected partner.
4654
4690
  # @return [Types::TimeZone]
4655
4691
  #
4656
4692
  # @!attribute [rw] unit_number
4657
4693
  # For addresses with multiple units, the unit identifier. Can include
4658
4694
  # numbers and letters, for example `3B` or `Unit 123`.
4659
4695
  #
4660
- # <note markdown="1"> Returned only for a place index that uses Esri as a data provider.
4661
- # Is not returned for `SearchPlaceIndexForPosition`.
4696
+ # <note markdown="1"> Returned only for a place index that uses Esri or Grab as a data
4697
+ # provider. Is not returned for `SearchPlaceIndexForPosition`.
4662
4698
  #
4663
4699
  # </note>
4664
4700
  # @return [String]
@@ -4666,12 +4702,17 @@ module Aws::LocationService
4666
4702
  # @!attribute [rw] unit_type
4667
4703
  # For addresses with a `UnitNumber`, the type of unit. For example,
4668
4704
  # `Apartment`.
4705
+ #
4706
+ # <note markdown="1"> Returned only for a place index that uses Esri as a data provider.
4707
+ #
4708
+ # </note>
4669
4709
  # @return [String]
4670
4710
  #
4671
4711
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/Place AWS API Documentation
4672
4712
  #
4673
4713
  class Place < Struct.new(
4674
4714
  :address_number,
4715
+ :categories,
4675
4716
  :country,
4676
4717
  :geometry,
4677
4718
  :interpolated,
@@ -4682,6 +4723,7 @@ module Aws::LocationService
4682
4723
  :region,
4683
4724
  :street,
4684
4725
  :sub_region,
4726
+ :supplemental_categories,
4685
4727
  :time_zone,
4686
4728
  :unit_number,
4687
4729
  :unit_type)
@@ -4735,6 +4777,11 @@ module Aws::LocationService
4735
4777
  # An identifier for the geofence. For example, `ExampleGeofence-1`.
4736
4778
  # @return [String]
4737
4779
  #
4780
+ # @!attribute [rw] geofence_properties
4781
+ # Specifies additional user-defined properties to store with the
4782
+ # Geofence. An array of key-value pairs.
4783
+ # @return [Hash<String,String>]
4784
+ #
4738
4785
  # @!attribute [rw] geometry
4739
4786
  # Contains the details to specify the position of the geofence. Can be
4740
4787
  # either a polygon or a circle. Including both will return a
@@ -4754,8 +4801,9 @@ module Aws::LocationService
4754
4801
  class PutGeofenceRequest < Struct.new(
4755
4802
  :collection_name,
4756
4803
  :geofence_id,
4804
+ :geofence_properties,
4757
4805
  :geometry)
4758
- SENSITIVE = []
4806
+ SENSITIVE = [:geofence_properties]
4759
4807
  include Aws::Structure
4760
4808
  end
4761
4809
 
@@ -4928,9 +4976,25 @@ module Aws::LocationService
4928
4976
  # Contains a place suggestion resulting from a place suggestion query
4929
4977
  # that is run on a place index resource.
4930
4978
  #
4979
+ # @!attribute [rw] categories
4980
+ # The Amazon Location categories that describe the Place.
4981
+ #
4982
+ # For more information about using categories, including a list of
4983
+ # Amazon Location categories, see [Categories and filtering][1], in
4984
+ # the *Amazon Location Service Developer Guide*.
4985
+ #
4986
+ #
4987
+ #
4988
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
4989
+ # @return [Array<String>]
4990
+ #
4931
4991
  # @!attribute [rw] place_id
4932
- # The unique identifier of the place. You can use this with the
4933
- # `GetPlace` operation to find the place again later.
4992
+ # The unique identifier of the Place. You can use this with the
4993
+ # `GetPlace` operation to find the place again later, or to get full
4994
+ # information for the Place.
4995
+ #
4996
+ # The `GetPlace` request must use the same `PlaceIndex` resource as
4997
+ # the `SearchPlaceIndexForSuggestions` that generated the Place ID.
4934
4998
  #
4935
4999
  # <note markdown="1"> For `SearchPlaceIndexForSuggestions` operations, the `PlaceId` is
4936
5000
  # returned by place indexes that use Esri, Grab, or HERE as data
@@ -4939,6 +5003,11 @@ module Aws::LocationService
4939
5003
  # </note>
4940
5004
  # @return [String]
4941
5005
  #
5006
+ # @!attribute [rw] supplemental_categories
5007
+ # Categories from the data provider that describe the Place that are
5008
+ # not mapped to any Amazon Location categories.
5009
+ # @return [Array<String>]
5010
+ #
4942
5011
  # @!attribute [rw] text
4943
5012
  # The text of the place suggestion, typically formatted as an address
4944
5013
  # string.
@@ -4947,7 +5016,9 @@ module Aws::LocationService
4947
5016
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/SearchForSuggestionsResult AWS API Documentation
4948
5017
  #
4949
5018
  class SearchForSuggestionsResult < Struct.new(
5019
+ :categories,
4950
5020
  :place_id,
5021
+ :supplemental_categories,
4951
5022
  :text)
4952
5023
  SENSITIVE = []
4953
5024
  include Aws::Structure
@@ -5170,6 +5241,20 @@ module Aws::LocationService
5170
5241
  # </note>
5171
5242
  # @return [Array<Float>]
5172
5243
  #
5244
+ # @!attribute [rw] filter_categories
5245
+ # A list of one or more Amazon Location categories to filter the
5246
+ # returned places. If you include more than one category, the results
5247
+ # will include results that match *any* of the categories listed.
5248
+ #
5249
+ # For more information about using categories, including a list of
5250
+ # Amazon Location categories, see [Categories and filtering][1], in
5251
+ # the *Amazon Location Service Developer Guide*.
5252
+ #
5253
+ #
5254
+ #
5255
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
5256
+ # @return [Array<String>]
5257
+ #
5173
5258
  # @!attribute [rw] filter_countries
5174
5259
  # An optional parameter that limits the search results by returning
5175
5260
  # only suggestions within the provided list of countries.
@@ -5229,6 +5314,7 @@ module Aws::LocationService
5229
5314
  class SearchPlaceIndexForSuggestionsRequest < Struct.new(
5230
5315
  :bias_position,
5231
5316
  :filter_b_box,
5317
+ :filter_categories,
5232
5318
  :filter_countries,
5233
5319
  :index_name,
5234
5320
  :language,
@@ -5296,6 +5382,10 @@ module Aws::LocationService
5296
5382
  # the request.
5297
5383
  # @return [Array<Float>]
5298
5384
  #
5385
+ # @!attribute [rw] filter_categories
5386
+ # The optional category filter specified in the request.
5387
+ # @return [Array<String>]
5388
+ #
5299
5389
  # @!attribute [rw] filter_countries
5300
5390
  # Contains the optional country filter specified in the request.
5301
5391
  # @return [Array<String>]
@@ -5324,6 +5414,7 @@ module Aws::LocationService
5324
5414
  :bias_position,
5325
5415
  :data_source,
5326
5416
  :filter_b_box,
5417
+ :filter_categories,
5327
5418
  :filter_countries,
5328
5419
  :language,
5329
5420
  :max_results,
@@ -5371,6 +5462,20 @@ module Aws::LocationService
5371
5462
  # </note>
5372
5463
  # @return [Array<Float>]
5373
5464
  #
5465
+ # @!attribute [rw] filter_categories
5466
+ # A list of one or more Amazon Location categories to filter the
5467
+ # returned places. If you include more than one category, the results
5468
+ # will include results that match *any* of the categories listed.
5469
+ #
5470
+ # For more information about using categories, including a list of
5471
+ # Amazon Location categories, see [Categories and filtering][1], in
5472
+ # the *Amazon Location Service Developer Guide*.
5473
+ #
5474
+ #
5475
+ #
5476
+ # [1]: https://docs.aws.amazon.com/location/latest/developerguide/category-filtering.html
5477
+ # @return [Array<String>]
5478
+ #
5374
5479
  # @!attribute [rw] filter_countries
5375
5480
  # An optional parameter that limits the search results by returning
5376
5481
  # only places that are in a specified list of countries.
@@ -5430,6 +5535,7 @@ module Aws::LocationService
5430
5535
  class SearchPlaceIndexForTextRequest < Struct.new(
5431
5536
  :bias_position,
5432
5537
  :filter_b_box,
5538
+ :filter_categories,
5433
5539
  :filter_countries,
5434
5540
  :index_name,
5435
5541
  :language,
@@ -5501,6 +5607,10 @@ module Aws::LocationService
5501
5607
  # the request.
5502
5608
  # @return [Array<Float>]
5503
5609
  #
5610
+ # @!attribute [rw] filter_categories
5611
+ # The optional category filter specified in the request.
5612
+ # @return [Array<String>]
5613
+ #
5504
5614
  # @!attribute [rw] filter_countries
5505
5615
  # Contains the optional country filter specified in the request.
5506
5616
  # @return [Array<String>]
@@ -5538,6 +5648,7 @@ module Aws::LocationService
5538
5648
  :bias_position,
5539
5649
  :data_source,
5540
5650
  :filter_b_box,
5651
+ :filter_categories,
5541
5652
  :filter_countries,
5542
5653
  :language,
5543
5654
  :max_results,
@@ -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.31.0'
55
+ GEM_VERSION = '1.33.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.31.0
4
+ version: 1.33.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-05-30 00:00:00.000000000 Z
11
+ date: 2023-06-15 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement