aws-sdk-locationservice 1.20.0 → 1.23.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: f57fb3d98a3fd7344d1aad96040808c19a48ddff4ba87060efddf025bcad44bf
4
- data.tar.gz: 104a5fcd3d8ccbd030f87e9a2f9ee740aceae4608741857b92f9c26e26c6c3f8
3
+ metadata.gz: 5f9baf3628589cb756d9e91dc23595a6456e14efb5344d2f01415bbdf27f3096
4
+ data.tar.gz: 330e97f7b16b30e5fc8dc01f657f57810078b5c022e09b615d96066cc486024e
5
5
  SHA512:
6
- metadata.gz: 825a0cf329d4664a34cb9e9d1b86832726764f4127370cfa3be93e0414402a82cbb58d71ef51c5138dabf159e701c50618535c4b372c9897389ace1896739c11
7
- data.tar.gz: 0e2480ec974bf2bd142ee159290463fb2a52ccb3ad7b877c259484119b9726465c0f7dcd43383a14151ba163cfcebe82bff0fc5761d504abfded54291373f0cc
6
+ metadata.gz: d538941a32333bb81fa609e42d527cbd8de09ed150e523469300a4f82624c24557a7b909d361e4aebddfbb879ced104dfc673e0178f62bf73967e9bcaa50355b
7
+ data.tar.gz: 1a5d4301ba00d91853eaf2fb86bead0aa9a5a768e861f431532964c2052827ab9ee394fca146c53f822d26886d689d01320ded6fcd84e2d423c1571b9e20d480
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2022-08-09)
5
+ ------------------
6
+
7
+ * Feature - Amazon Location Service now allows circular geofences in BatchPutGeofence, PutGeofence, and GetGeofence APIs.
8
+
9
+ 1.22.0 (2022-05-06)
10
+ ------------------
11
+
12
+ * Feature - Amazon Location Service now includes a MaxResults parameter for ListGeofences requests.
13
+
14
+ 1.21.0 (2022-03-22)
15
+ ------------------
16
+
17
+ * Feature - Amazon Location Service now includes a MaxResults parameter for GetDevicePositionHistory requests.
18
+
4
19
  1.20.0 (2022-03-15)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.23.0
@@ -500,6 +500,11 @@ module Aws::LocationService
500
500
  #
501
501
  # </note>
502
502
  #
503
+ # <note markdown="1"> The `DeviceID` is used as a string to represent the device. You do not
504
+ # need to have a `Tracker` associated with the `DeviceID`.
505
+ #
506
+ # </note>
507
+ #
503
508
  # @option params [required, String] :collection_name
504
509
  # The geofence collection used in evaluating the position of devices
505
510
  # against its geofences.
@@ -621,6 +626,10 @@ module Aws::LocationService
621
626
  # {
622
627
  # geofence_id: "Id", # required
623
628
  # geometry: { # required
629
+ # circle: {
630
+ # center: [1.0], # required
631
+ # radius: 1.0, # required
632
+ # },
624
633
  # polygon: [
625
634
  # [
626
635
  # [1.0],
@@ -750,6 +759,11 @@ module Aws::LocationService
750
759
  # specify additional route preferences in `CarModeOptions` if
751
760
  # traveling by `Car`, or `TruckModeOptions` if traveling by `Truck`.
752
761
  #
762
+ # <note markdown="1"> If you specify `walking` for the travel mode and your data provider
763
+ # is Esri, the start and destination must be within 40km.
764
+ #
765
+ # </note>
766
+ #
753
767
  #
754
768
  #
755
769
  # [1]: https://docs.aws.amazon.com/location/latest/developerguide/calculate-route.html
@@ -777,8 +791,8 @@ module Aws::LocationService
777
791
  # Valid Values: `false` \| `true`
778
792
  #
779
793
  # @option params [required, Array<Float>] :departure_position
780
- # The start position for the route. Defined in [WGS 84][1] format:
781
- # `[longitude, latitude]`.
794
+ # The start position for the route. Defined in [World Geodetic System
795
+ # (WGS 84)][1] format: `[longitude, latitude]`.
782
796
  #
783
797
  # * For example, `[-123.115, 49.285]`
784
798
  #
@@ -795,7 +809,7 @@ module Aws::LocationService
795
809
  #
796
810
  #
797
811
  #
798
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
812
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
799
813
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
800
814
  #
801
815
  # @option params [Time,DateTime,Date,Integer,String] :departure_time
@@ -818,8 +832,8 @@ module Aws::LocationService
818
832
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
819
833
  #
820
834
  # @option params [required, Array<Float>] :destination_position
821
- # The finish position for the route. Defined in [WGS 84][1] format:
822
- # `[longitude, latitude]`.
835
+ # The finish position for the route. Defined in [World Geodetic System
836
+ # (WGS 84)][1] format: `[longitude, latitude]`.
823
837
  #
824
838
  # * For example, `[-122.339, 47.615]`
825
839
  #
@@ -834,7 +848,7 @@ module Aws::LocationService
834
848
  #
835
849
  #
836
850
  #
837
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
851
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
838
852
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
839
853
  #
840
854
  # @option params [String] :distance_unit
@@ -852,7 +866,8 @@ module Aws::LocationService
852
866
  #
853
867
  # @option params [String] :travel_mode
854
868
  # Specifies the mode of transport when calculating a route. Used in
855
- # estimating the speed of travel and road compatibility.
869
+ # estimating the speed of travel and road compatibility. You can choose
870
+ # `Car`, `Truck`, or `Walking` as options for the `TravelMode`.
856
871
  #
857
872
  # The `TravelMode` you specify also determines how you specify route
858
873
  # preferences:
@@ -2243,6 +2258,12 @@ module Aws::LocationService
2243
2258
  #
2244
2259
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2245
2260
  #
2261
+ # @option params [Integer] :max_results
2262
+ # An optional limit for the number of device positions returned in a
2263
+ # single call.
2264
+ #
2265
+ # Default value: `100`
2266
+ #
2246
2267
  # @option params [String] :next_token
2247
2268
  # The pagination token specifying which page of results to return in the
2248
2269
  # response. If no token is provided, the default page is the first page.
@@ -2281,6 +2302,7 @@ module Aws::LocationService
2281
2302
  # resp = client.get_device_position_history({
2282
2303
  # device_id: "Id", # required
2283
2304
  # end_time_exclusive: Time.now,
2305
+ # max_results: 1,
2284
2306
  # next_token: "Token",
2285
2307
  # start_time_inclusive: Time.now,
2286
2308
  # tracker_name: "ResourceName", # required
@@ -2335,6 +2357,9 @@ module Aws::LocationService
2335
2357
  #
2336
2358
  # resp.create_time #=> Time
2337
2359
  # resp.geofence_id #=> String
2360
+ # resp.geometry.circle.center #=> Array
2361
+ # resp.geometry.circle.center[0] #=> Float
2362
+ # resp.geometry.circle.radius #=> Float
2338
2363
  # resp.geometry.polygon #=> Array
2339
2364
  # resp.geometry.polygon[0] #=> Array
2340
2365
  # resp.geometry.polygon[0][0] #=> Array
@@ -2377,7 +2402,7 @@ module Aws::LocationService
2377
2402
  #
2378
2403
  # Valid font stacks for [HERE Technologies][2] styles:
2379
2404
  #
2380
- # * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
2405
+ # * VectorHereContrast – `Fira GO Regular` \| `Fira GO Bold`
2381
2406
  #
2382
2407
  # * VectorHereExplore, VectorHereExploreTruck – `Firo GO Italic` \|
2383
2408
  # `Fira GO Map` \| `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \|
@@ -2661,6 +2686,12 @@ module Aws::LocationService
2661
2686
  # @option params [required, String] :collection_name
2662
2687
  # The name of the geofence collection storing the list of geofences.
2663
2688
  #
2689
+ # @option params [Integer] :max_results
2690
+ # An optional limit for the number of geofences returned in a single
2691
+ # call.
2692
+ #
2693
+ # Default value: `100`
2694
+ #
2664
2695
  # @option params [String] :next_token
2665
2696
  # The pagination token specifying which page of results to return in the
2666
2697
  # response. If no token is provided, the default page is the first page.
@@ -2678,6 +2709,7 @@ module Aws::LocationService
2678
2709
  #
2679
2710
  # resp = client.list_geofences({
2680
2711
  # collection_name: "ResourceName", # required
2712
+ # max_results: 1,
2681
2713
  # next_token: "Token",
2682
2714
  # })
2683
2715
  #
@@ -2686,6 +2718,9 @@ module Aws::LocationService
2686
2718
  # resp.data.entries #=> Array
2687
2719
  # resp.data.entries[0].create_time #=> Time
2688
2720
  # resp.data.entries[0].geofence_id #=> String
2721
+ # resp.data.entries[0].geometry.circle.center #=> Array
2722
+ # resp.data.entries[0].geometry.circle.center[0] #=> Float
2723
+ # resp.data.entries[0].geometry.circle.radius #=> Float
2689
2724
  # resp.data.entries[0].geometry.polygon #=> Array
2690
2725
  # resp.data.entries[0].geometry.polygon[0] #=> Array
2691
2726
  # resp.data.entries[0].geometry.polygon[0][0] #=> Array
@@ -2990,9 +3025,11 @@ module Aws::LocationService
2990
3025
  # An identifier for the geofence. For example, `ExampleGeofence-1`.
2991
3026
  #
2992
3027
  # @option params [required, Types::GeofenceGeometry] :geometry
2993
- # Contains the polygon details to specify the position of the geofence.
3028
+ # Contains the details to specify the position of the geofence. Can be
3029
+ # either a polygon or a circle. Including both will return a validation
3030
+ # error.
2994
3031
  #
2995
- # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
3032
+ # <note markdown="1"> Each [ geofence polygon][1] can have a maximum of 1,000 vertices.
2996
3033
  #
2997
3034
  # </note>
2998
3035
  #
@@ -3012,6 +3049,10 @@ module Aws::LocationService
3012
3049
  # collection_name: "ResourceName", # required
3013
3050
  # geofence_id: "Id", # required
3014
3051
  # geometry: { # required
3052
+ # circle: {
3053
+ # center: [1.0], # required
3054
+ # radius: 1.0, # required
3055
+ # },
3015
3056
  # polygon: [
3016
3057
  # [
3017
3058
  # [1.0],
@@ -3046,10 +3087,21 @@ module Aws::LocationService
3046
3087
  # The preferred language used to return results. The value must be a
3047
3088
  # valid [BCP 47][1] language tag, for example, `en` for English.
3048
3089
  #
3049
- # This setting affects the languages used in the results. It does not
3050
- # change which results are returned. If the language is not specified,
3051
- # or not supported for a particular result, the partner automatically
3052
- # chooses a language for the result.
3090
+ # This setting affects the languages used in the results, but not the
3091
+ # results themselves. If no language is specified, or not supported for
3092
+ # a particular result, the partner automatically chooses a language for
3093
+ # the result.
3094
+ #
3095
+ # For an example, we'll use the Greek language. You search for a
3096
+ # location around Athens, Greece, with the `language` parameter set to
3097
+ # `en`. The `city` in the results will most likely be returned as
3098
+ # `Athens`.
3099
+ #
3100
+ # If you set the `language` parameter to `el`, for Greek, then the
3101
+ # `city` in the results will more likely be returned as `Αθήνα`.
3102
+ #
3103
+ # If the data provider does not have a value for Greek, the result will
3104
+ # be in a language that the provider does support.
3053
3105
  #
3054
3106
  #
3055
3107
  #
@@ -3190,12 +3242,19 @@ module Aws::LocationService
3190
3242
  # The preferred language used to return results. The value must be a
3191
3243
  # valid [BCP 47][1] language tag, for example, `en` for English.
3192
3244
  #
3193
- # This setting affects the languages used in the results. It does not
3194
- # change which results are returned. If the language is not specified,
3195
- # or not supported for a particular result, the partner automatically
3196
- # chooses a language for the result.
3245
+ # This setting affects the languages used in the results. If no language
3246
+ # is specified, or not supported for a particular result, the partner
3247
+ # automatically chooses a language for the result.
3248
+ #
3249
+ # For an example, we'll use the Greek language. You search for `Athens,
3250
+ # Gr` to get suggestions with the `language` parameter set to `en`. The
3251
+ # results found will most likely be returned as `Athens, Greece`.
3252
+ #
3253
+ # If you set the `language` parameter to `el`, for Greek, then the
3254
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
3197
3255
  #
3198
- # Used only when the partner selected is Here.
3256
+ # If the data provider does not have a value for Greek, the result will
3257
+ # be in a language that the provider does support.
3199
3258
  #
3200
3259
  #
3201
3260
  #
@@ -3225,7 +3284,7 @@ module Aws::LocationService
3225
3284
  # index_name: "ResourceName", # required
3226
3285
  # language: "LanguageTag",
3227
3286
  # max_results: 1,
3228
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
3287
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
3229
3288
  # })
3230
3289
  #
3231
3290
  # @example Response structure
@@ -3324,10 +3383,20 @@ module Aws::LocationService
3324
3383
  # The preferred language used to return results. The value must be a
3325
3384
  # valid [BCP 47][1] language tag, for example, `en` for English.
3326
3385
  #
3327
- # This setting affects the languages used in the results. It does not
3328
- # change which results are returned. If the language is not specified,
3329
- # or not supported for a particular result, the partner automatically
3330
- # chooses a language for the result.
3386
+ # This setting affects the languages used in the results, but not the
3387
+ # results themselves. If no language is specified, or not supported for
3388
+ # a particular result, the partner automatically chooses a language for
3389
+ # the result.
3390
+ #
3391
+ # For an example, we'll use the Greek language. You search for `Athens,
3392
+ # Greece`, with the `language` parameter set to `en`. The result found
3393
+ # will most likely be returned as `Athens`.
3394
+ #
3395
+ # If you set the `language` parameter to `el`, for Greek, then the
3396
+ # result found will more likely be returned as `Αθήνα`.
3397
+ #
3398
+ # If the data provider does not have a value for Greek, the result will
3399
+ # be in a language that the provider does support.
3331
3400
  #
3332
3401
  #
3333
3402
  #
@@ -3357,7 +3426,7 @@ module Aws::LocationService
3357
3426
  # index_name: "ResourceName", # required
3358
3427
  # language: "LanguageTag",
3359
3428
  # max_results: 1,
3360
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
3429
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
3361
3430
  # })
3362
3431
  #
3363
3432
  # @example Response structure
@@ -3752,7 +3821,7 @@ module Aws::LocationService
3752
3821
  params: params,
3753
3822
  config: config)
3754
3823
  context[:gem_name] = 'aws-sdk-locationservice'
3755
- context[:gem_version] = '1.20.0'
3824
+ context[:gem_version] = '1.23.0'
3756
3825
  Seahorse::Client::Request.new(handlers, context)
3757
3826
  end
3758
3827
 
@@ -74,6 +74,7 @@ module Aws::LocationService
74
74
  CalculateRouteSummaryDistanceDouble = Shapes::FloatShape.new(name: 'CalculateRouteSummaryDistanceDouble')
75
75
  CalculateRouteSummaryDurationSecondsDouble = Shapes::FloatShape.new(name: 'CalculateRouteSummaryDurationSecondsDouble')
76
76
  CalculateRouteTruckModeOptions = Shapes::StructureShape.new(name: 'CalculateRouteTruckModeOptions')
77
+ Circle = Shapes::StructureShape.new(name: 'Circle')
77
78
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
78
79
  CountryCode = Shapes::StringShape.new(name: 'CountryCode')
79
80
  CountryCodeList = Shapes::ListShape.new(name: 'CountryCodeList')
@@ -118,6 +119,7 @@ module Aws::LocationService
118
119
  Double = Shapes::FloatShape.new(name: 'Double')
119
120
  GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
120
121
  GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
122
+ GetDevicePositionHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetDevicePositionHistoryRequestMaxResultsInteger')
121
123
  GetDevicePositionHistoryResponse = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryResponse')
122
124
  GetDevicePositionRequest = Shapes::StructureShape.new(name: 'GetDevicePositionRequest')
123
125
  GetDevicePositionResponse = Shapes::StructureShape.new(name: 'GetDevicePositionResponse')
@@ -163,6 +165,7 @@ module Aws::LocationService
163
165
  ListGeofenceResponseEntry = Shapes::StructureShape.new(name: 'ListGeofenceResponseEntry')
164
166
  ListGeofenceResponseEntryList = Shapes::ListShape.new(name: 'ListGeofenceResponseEntryList')
165
167
  ListGeofencesRequest = Shapes::StructureShape.new(name: 'ListGeofencesRequest')
168
+ ListGeofencesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListGeofencesRequestMaxResultsInteger')
166
169
  ListGeofencesResponse = Shapes::StructureShape.new(name: 'ListGeofencesResponse')
167
170
  ListMapsRequest = Shapes::StructureShape.new(name: 'ListMapsRequest')
168
171
  ListMapsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMapsRequestMaxResultsInteger')
@@ -228,11 +231,14 @@ module Aws::LocationService
228
231
  SearchPlaceIndexForPositionSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionSummary')
229
232
  SearchPlaceIndexForSuggestionsRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsRequest')
230
233
  SearchPlaceIndexForSuggestionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchPlaceIndexForSuggestionsRequestMaxResultsInteger')
234
+ SearchPlaceIndexForSuggestionsRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForSuggestionsRequestTextString')
231
235
  SearchPlaceIndexForSuggestionsResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsResponse')
232
236
  SearchPlaceIndexForSuggestionsSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsSummary')
233
237
  SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
238
+ SearchPlaceIndexForTextRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForTextRequestTextString')
234
239
  SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
235
240
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
241
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
236
242
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
237
243
  Step = Shapes::StructureShape.new(name: 'Step')
238
244
  StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
@@ -240,10 +246,6 @@ module Aws::LocationService
240
246
  StepGeometryOffsetInteger = Shapes::IntegerShape.new(name: 'StepGeometryOffsetInteger')
241
247
  StepList = Shapes::ListShape.new(name: 'StepList')
242
248
  String = Shapes::StringShape.new(name: 'String')
243
- SyntheticSearchPlaceIndexForSuggestionsRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsRequestString')
244
- SyntheticSearchPlaceIndexForSuggestionsSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsSummaryString')
245
- SyntheticSearchPlaceIndexForTextRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextRequestString')
246
- SyntheticSearchPlaceIndexForTextSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextSummaryString')
247
249
  TagKey = Shapes::StringShape.new(name: 'TagKey')
248
250
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
249
251
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -468,6 +470,10 @@ module Aws::LocationService
468
470
  CalculateRouteTruckModeOptions.add_member(:weight, Shapes::ShapeRef.new(shape: TruckWeight, location_name: "Weight"))
469
471
  CalculateRouteTruckModeOptions.struct_class = Types::CalculateRouteTruckModeOptions
470
472
 
473
+ Circle.add_member(:center, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Center"))
474
+ Circle.add_member(:radius, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Radius"))
475
+ Circle.struct_class = Types::Circle
476
+
471
477
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
472
478
  ConflictException.struct_class = Types::ConflictException
473
479
 
@@ -658,11 +664,13 @@ module Aws::LocationService
658
664
 
659
665
  DisassociateTrackerConsumerResponse.struct_class = Types::DisassociateTrackerConsumerResponse
660
666
 
667
+ GeofenceGeometry.add_member(:circle, Shapes::ShapeRef.new(shape: Circle, location_name: "Circle"))
661
668
  GeofenceGeometry.add_member(:polygon, Shapes::ShapeRef.new(shape: LinearRings, location_name: "Polygon"))
662
669
  GeofenceGeometry.struct_class = Types::GeofenceGeometry
663
670
 
664
671
  GetDevicePositionHistoryRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "DeviceId"))
665
672
  GetDevicePositionHistoryRequest.add_member(:end_time_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimeExclusive"))
673
+ GetDevicePositionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetDevicePositionHistoryRequestMaxResultsInteger, location_name: "MaxResults"))
666
674
  GetDevicePositionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
667
675
  GetDevicePositionHistoryRequest.add_member(:start_time_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimeInclusive"))
668
676
  GetDevicePositionHistoryRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
@@ -805,6 +813,7 @@ module Aws::LocationService
805
813
  ListGeofenceResponseEntryList.member = Shapes::ShapeRef.new(shape: ListGeofenceResponseEntry)
806
814
 
807
815
  ListGeofencesRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
816
+ ListGeofencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListGeofencesRequestMaxResultsInteger, location_name: "MaxResults"))
808
817
  ListGeofencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
809
818
  ListGeofencesRequest.struct_class = Types::ListGeofencesRequest
810
819
 
@@ -993,7 +1002,7 @@ module Aws::LocationService
993
1002
  SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
994
1003
  SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
995
1004
  SearchPlaceIndexForSuggestionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestMaxResultsInteger, location_name: "MaxResults"))
996
- SearchPlaceIndexForSuggestionsRequest.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForSuggestionsRequestString, required: true, location_name: "Text"))
1005
+ SearchPlaceIndexForSuggestionsRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestTextString, required: true, location_name: "Text"))
997
1006
  SearchPlaceIndexForSuggestionsRequest.struct_class = Types::SearchPlaceIndexForSuggestionsRequest
998
1007
 
999
1008
  SearchPlaceIndexForSuggestionsResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForSuggestionsResultList, required: true, location_name: "Results"))
@@ -1006,7 +1015,7 @@ module Aws::LocationService
1006
1015
  SearchPlaceIndexForSuggestionsSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1007
1016
  SearchPlaceIndexForSuggestionsSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1008
1017
  SearchPlaceIndexForSuggestionsSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
1009
- SearchPlaceIndexForSuggestionsSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForSuggestionsSummaryString, required: true, location_name: "Text"))
1018
+ SearchPlaceIndexForSuggestionsSummary.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Text"))
1010
1019
  SearchPlaceIndexForSuggestionsSummary.struct_class = Types::SearchPlaceIndexForSuggestionsSummary
1011
1020
 
1012
1021
  SearchPlaceIndexForTextRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
@@ -1015,7 +1024,7 @@ module Aws::LocationService
1015
1024
  SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1016
1025
  SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1017
1026
  SearchPlaceIndexForTextRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1018
- SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextRequestString, required: true, location_name: "Text"))
1027
+ SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForTextRequestTextString, required: true, location_name: "Text"))
1019
1028
  SearchPlaceIndexForTextRequest.struct_class = Types::SearchPlaceIndexForTextRequest
1020
1029
 
1021
1030
  SearchPlaceIndexForTextResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForTextResultList, required: true, location_name: "Results"))
@@ -1029,7 +1038,7 @@ module Aws::LocationService
1029
1038
  SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1030
1039
  SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1031
1040
  SearchPlaceIndexForTextSummary.add_member(:result_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "ResultBBox"))
1032
- SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextSummaryString, required: true, location_name: "Text"))
1041
+ SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Text"))
1033
1042
  SearchPlaceIndexForTextSummary.struct_class = Types::SearchPlaceIndexForTextSummary
1034
1043
 
1035
1044
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -1594,6 +1603,7 @@ module Aws::LocationService
1594
1603
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1595
1604
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1596
1605
  o[:pager] = Aws::Pager.new(
1606
+ limit_key: "max_results",
1597
1607
  tokens: {
1598
1608
  "next_token" => "next_token"
1599
1609
  }
@@ -1737,6 +1747,7 @@ module Aws::LocationService
1737
1747
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1738
1748
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1739
1749
  o[:pager] = Aws::Pager.new(
1750
+ limit_key: "max_results",
1740
1751
  tokens: {
1741
1752
  "next_token" => "next_token"
1742
1753
  }
@@ -380,6 +380,10 @@ module Aws::LocationService
380
380
  # {
381
381
  # geofence_id: "Id", # required
382
382
  # geometry: { # required
383
+ # circle: {
384
+ # center: [1.0], # required
385
+ # radius: 1.0, # required
386
+ # },
383
387
  # polygon: [
384
388
  # [
385
389
  # [1.0],
@@ -415,6 +419,10 @@ module Aws::LocationService
415
419
  # {
416
420
  # geofence_id: "Id", # required
417
421
  # geometry: { # required
422
+ # circle: {
423
+ # center: [1.0], # required
424
+ # radius: 1.0, # required
425
+ # },
418
426
  # polygon: [
419
427
  # [
420
428
  # [1.0],
@@ -429,10 +437,11 @@ module Aws::LocationService
429
437
  # @return [String]
430
438
  #
431
439
  # @!attribute [rw] geometry
432
- # Contains the polygon details to specify the position of the
433
- # geofence.
440
+ # Contains the details of the position of the geofence. Can be either
441
+ # a polygon or a circle. Including both will return a validation
442
+ # error.
434
443
  #
435
- # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
444
+ # <note markdown="1"> Each [ geofence polygon][1] can have a maximum of 1,000 vertices.
436
445
  #
437
446
  # </note>
438
447
  #
@@ -939,8 +948,8 @@ module Aws::LocationService
939
948
  # @return [Boolean]
940
949
  #
941
950
  # @!attribute [rw] departure_position
942
- # The start position for the route. Defined in [WGS 84][1] format:
943
- # `[longitude, latitude]`.
951
+ # The start position for the route. Defined in [World Geodetic System
952
+ # (WGS 84)][1] format: `[longitude, latitude]`.
944
953
  #
945
954
  # * For example, `[-123.115, 49.285]`
946
955
  #
@@ -957,7 +966,7 @@ module Aws::LocationService
957
966
  #
958
967
  #
959
968
  #
960
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
969
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
961
970
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
962
971
  # @return [Array<Float>]
963
972
  #
@@ -982,8 +991,8 @@ module Aws::LocationService
982
991
  # @return [Time]
983
992
  #
984
993
  # @!attribute [rw] destination_position
985
- # The finish position for the route. Defined in [WGS 84][1] format:
986
- # `[longitude, latitude]`.
994
+ # The finish position for the route. Defined in [World Geodetic System
995
+ # (WGS 84)][1] format: `[longitude, latitude]`.
987
996
  #
988
997
  # * For example, `[-122.339, 47.615]`
989
998
  #
@@ -998,7 +1007,7 @@ module Aws::LocationService
998
1007
  #
999
1008
  #
1000
1009
  #
1001
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
1010
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
1002
1011
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
1003
1012
  # @return [Array<Float>]
1004
1013
  #
@@ -1019,7 +1028,8 @@ module Aws::LocationService
1019
1028
  #
1020
1029
  # @!attribute [rw] travel_mode
1021
1030
  # Specifies the mode of transport when calculating a route. Used in
1022
- # estimating the speed of travel and road compatibility.
1031
+ # estimating the speed of travel and road compatibility. You can
1032
+ # choose `Car`, `Truck`, or `Walking` as options for the `TravelMode`.
1023
1033
  #
1024
1034
  # The `TravelMode` you specify also determines how you specify route
1025
1035
  # preferences:
@@ -1266,6 +1276,39 @@ module Aws::LocationService
1266
1276
  include Aws::Structure
1267
1277
  end
1268
1278
 
1279
+ # A circle on the earth, as defined by a center point and a radius.
1280
+ #
1281
+ # @note When making an API call, you may pass Circle
1282
+ # data as a hash:
1283
+ #
1284
+ # {
1285
+ # center: [1.0], # required
1286
+ # radius: 1.0, # required
1287
+ # }
1288
+ #
1289
+ # @!attribute [rw] center
1290
+ # A single point geometry, specifying the center of the circle, using
1291
+ # [WGS 84][1] coordinates, in the form `[longitude, latitude]`.
1292
+ #
1293
+ #
1294
+ #
1295
+ # [1]: https://gisgeography.com/wgs84-world-geodetic-system/
1296
+ # @return [Array<Float>]
1297
+ #
1298
+ # @!attribute [rw] radius
1299
+ # The radius of the circle in meters. Must be greater than zero and no
1300
+ # larger than 100,000 (100 kilometers).
1301
+ # @return [Float]
1302
+ #
1303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/Circle AWS API Documentation
1304
+ #
1305
+ class Circle < Struct.new(
1306
+ :center,
1307
+ :radius)
1308
+ SENSITIVE = [:center]
1309
+ include Aws::Structure
1310
+ end
1311
+
1269
1312
  # The request was unsuccessful because of a conflict.
1270
1313
  #
1271
1314
  # @!attribute [rw] message
@@ -2745,6 +2788,10 @@ module Aws::LocationService
2745
2788
 
2746
2789
  # Contains the geofence geometry details.
2747
2790
  #
2791
+ # A geofence geometry is made up of either a polygon or a circle. Can be
2792
+ # either a polygon or a circle. Including both will return a validation
2793
+ # error.
2794
+ #
2748
2795
  # <note markdown="1"> Amazon Location doesn't currently support polygons with holes,
2749
2796
  # multipolygons, polygons that are wound clockwise, or that cross the
2750
2797
  # antimeridian.
@@ -2755,6 +2802,10 @@ module Aws::LocationService
2755
2802
  # data as a hash:
2756
2803
  #
2757
2804
  # {
2805
+ # circle: {
2806
+ # center: [1.0], # required
2807
+ # radius: 1.0, # required
2808
+ # },
2758
2809
  # polygon: [
2759
2810
  # [
2760
2811
  # [1.0],
@@ -2762,6 +2813,10 @@ module Aws::LocationService
2762
2813
  # ],
2763
2814
  # }
2764
2815
  #
2816
+ # @!attribute [rw] circle
2817
+ # A circle on the earth, as defined by a center point and a radius.
2818
+ # @return [Types::Circle]
2819
+ #
2765
2820
  # @!attribute [rw] polygon
2766
2821
  # An array of 1 or more linear rings. A linear ring is an array of 4
2767
2822
  # or more vertices, where the first and last vertex are the same to
@@ -2775,13 +2830,16 @@ module Aws::LocationService
2775
2830
  # side is the polygon's exterior. Inner rings must list their
2776
2831
  # vertices in clockwise order, where the left side is the polygon's
2777
2832
  # interior.
2833
+ #
2834
+ # A geofence polygon can consist of between 4 and 1,000 vertices.
2778
2835
  # @return [Array<Array<Array<Float>>>]
2779
2836
  #
2780
2837
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/GeofenceGeometry AWS API Documentation
2781
2838
  #
2782
2839
  class GeofenceGeometry < Struct.new(
2840
+ :circle,
2783
2841
  :polygon)
2784
- SENSITIVE = []
2842
+ SENSITIVE = [:circle]
2785
2843
  include Aws::Structure
2786
2844
  end
2787
2845
 
@@ -2791,6 +2849,7 @@ module Aws::LocationService
2791
2849
  # {
2792
2850
  # device_id: "Id", # required
2793
2851
  # end_time_exclusive: Time.now,
2852
+ # max_results: 1,
2794
2853
  # next_token: "Token",
2795
2854
  # start_time_inclusive: Time.now,
2796
2855
  # tracker_name: "ResourceName", # required
@@ -2817,6 +2876,13 @@ module Aws::LocationService
2817
2876
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2818
2877
  # @return [Time]
2819
2878
  #
2879
+ # @!attribute [rw] max_results
2880
+ # An optional limit for the number of device positions returned in a
2881
+ # single call.
2882
+ #
2883
+ # Default value: `100`
2884
+ # @return [Integer]
2885
+ #
2820
2886
  # @!attribute [rw] next_token
2821
2887
  # The pagination token specifying which page of results to return in
2822
2888
  # the response. If no token is provided, the default page is the first
@@ -2852,6 +2918,7 @@ module Aws::LocationService
2852
2918
  class GetDevicePositionHistoryRequest < Struct.new(
2853
2919
  :device_id,
2854
2920
  :end_time_exclusive,
2921
+ :max_results,
2855
2922
  :next_token,
2856
2923
  :start_time_inclusive,
2857
2924
  :tracker_name)
@@ -2989,7 +3056,8 @@ module Aws::LocationService
2989
3056
  # @return [String]
2990
3057
  #
2991
3058
  # @!attribute [rw] geometry
2992
- # Contains the geofence geometry details describing a polygon.
3059
+ # Contains the geofence geometry details describing a polygon or a
3060
+ # circle.
2993
3061
  # @return [Types::GeofenceGeometry]
2994
3062
  #
2995
3063
  # @!attribute [rw] status
@@ -3061,7 +3129,7 @@ module Aws::LocationService
3061
3129
  #
3062
3130
  # Valid font stacks for [HERE Technologies][2] styles:
3063
3131
  #
3064
- # * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
3132
+ # * VectorHereContrast – `Fira GO Regular` \| `Fira GO Bold`
3065
3133
  #
3066
3134
  # * VectorHereExplore, VectorHereExploreTruck – `Firo GO Italic` \|
3067
3135
  # `Fira GO Map` \| `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \|
@@ -3605,7 +3673,8 @@ module Aws::LocationService
3605
3673
  # @return [String]
3606
3674
  #
3607
3675
  # @!attribute [rw] geometry
3608
- # Contains the geofence geometry details describing a polygon.
3676
+ # Contains the geofence geometry details describing a polygon or a
3677
+ # circle.
3609
3678
  # @return [Types::GeofenceGeometry]
3610
3679
  #
3611
3680
  # @!attribute [rw] status
@@ -3649,6 +3718,7 @@ module Aws::LocationService
3649
3718
  #
3650
3719
  # {
3651
3720
  # collection_name: "ResourceName", # required
3721
+ # max_results: 1,
3652
3722
  # next_token: "Token",
3653
3723
  # }
3654
3724
  #
@@ -3656,6 +3726,13 @@ module Aws::LocationService
3656
3726
  # The name of the geofence collection storing the list of geofences.
3657
3727
  # @return [String]
3658
3728
  #
3729
+ # @!attribute [rw] max_results
3730
+ # An optional limit for the number of geofences returned in a single
3731
+ # call.
3732
+ #
3733
+ # Default value: `100`
3734
+ # @return [Integer]
3735
+ #
3659
3736
  # @!attribute [rw] next_token
3660
3737
  # The pagination token specifying which page of results to return in
3661
3738
  # the response. If no token is provided, the default page is the first
@@ -3668,6 +3745,7 @@ module Aws::LocationService
3668
3745
  #
3669
3746
  class ListGeofencesRequest < Struct.new(
3670
3747
  :collection_name,
3748
+ :max_results,
3671
3749
  :next_token)
3672
3750
  SENSITIVE = []
3673
3751
  include Aws::Structure
@@ -4270,8 +4348,9 @@ module Aws::LocationService
4270
4348
  #
4271
4349
  # Valid [HERE Technologies map styles][2]\:
4272
4350
  #
4273
- # * `VectorHereBerlin` – The HERE Berlin map style is a high contrast
4274
- # detailed base map of the world that blends 3D and 2D rendering.
4351
+ # * `VectorHereContrast` – The HERE Contrast (Berlin) map style is a
4352
+ # high contrast detailed base map of the world that blends 3D and 2D
4353
+ # rendering.
4275
4354
  #
4276
4355
  # * `VectorHereExplore` – A default HERE map style containing a
4277
4356
  # neutral, global map and its features including roads, buildings,
@@ -4283,6 +4362,12 @@ module Aws::LocationService
4283
4362
  # symbolized with highlighted segments and icons on top of HERE
4284
4363
  # Explore to support use cases within transport and logistics.
4285
4364
  #
4365
+ # <note markdown="1"> The `VectorHereContrast` style has been renamed from
4366
+ # `VectorHereBerlin`. `VectorHereBerlin` has been deprecated, but will
4367
+ # continue to work in applications that use it.
4368
+ #
4369
+ # </note>
4370
+ #
4286
4371
  #
4287
4372
  #
4288
4373
  # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
@@ -4300,6 +4385,9 @@ module Aws::LocationService
4300
4385
  # Contains details about addresses or points of interest that match the
4301
4386
  # search criteria.
4302
4387
  #
4388
+ # Not all details are included with all responses. Some details may only
4389
+ # be returned by specific data partners.
4390
+ #
4303
4391
  # @!attribute [rw] address_number
4304
4392
  # The numerical portion of an address, such as a building number.
4305
4393
  # @return [String]
@@ -4440,6 +4528,10 @@ module Aws::LocationService
4440
4528
  # collection_name: "ResourceName", # required
4441
4529
  # geofence_id: "Id", # required
4442
4530
  # geometry: { # required
4531
+ # circle: {
4532
+ # center: [1.0], # required
4533
+ # radius: 1.0, # required
4534
+ # },
4443
4535
  # polygon: [
4444
4536
  # [
4445
4537
  # [1.0],
@@ -4457,10 +4549,11 @@ module Aws::LocationService
4457
4549
  # @return [String]
4458
4550
  #
4459
4551
  # @!attribute [rw] geometry
4460
- # Contains the polygon details to specify the position of the
4461
- # geofence.
4552
+ # Contains the details to specify the position of the geofence. Can be
4553
+ # either a polygon or a circle. Including both will return a
4554
+ # validation error.
4462
4555
  #
4463
- # <note markdown="1"> Each [geofence polygon][1] can have a maximum of 1,000 vertices.
4556
+ # <note markdown="1"> Each [ geofence polygon][1] can have a maximum of 1,000 vertices.
4464
4557
  #
4465
4558
  # </note>
4466
4559
  #
@@ -4704,10 +4797,21 @@ module Aws::LocationService
4704
4797
  # The preferred language used to return results. The value must be a
4705
4798
  # valid [BCP 47][1] language tag, for example, `en` for English.
4706
4799
  #
4707
- # This setting affects the languages used in the results. It does not
4708
- # change which results are returned. If the language is not specified,
4709
- # or not supported for a particular result, the partner automatically
4710
- # chooses a language for the result.
4800
+ # This setting affects the languages used in the results, but not the
4801
+ # results themselves. If no language is specified, or not supported
4802
+ # for a particular result, the partner automatically chooses a
4803
+ # language for the result.
4804
+ #
4805
+ # For an example, we'll use the Greek language. You search for a
4806
+ # location around Athens, Greece, with the `language` parameter set to
4807
+ # `en`. The `city` in the results will most likely be returned as
4808
+ # `Athens`.
4809
+ #
4810
+ # If you set the `language` parameter to `el`, for Greek, then the
4811
+ # `city` in the results will more likely be returned as `Αθήνα`.
4812
+ #
4813
+ # If the data provider does not have a value for Greek, the result
4814
+ # will be in a language that the provider does support.
4711
4815
  #
4712
4816
  #
4713
4817
  #
@@ -4823,7 +4927,7 @@ module Aws::LocationService
4823
4927
  # index_name: "ResourceName", # required
4824
4928
  # language: "LanguageTag",
4825
4929
  # max_results: 1,
4826
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
4930
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
4827
4931
  # }
4828
4932
  #
4829
4933
  # @!attribute [rw] bias_position
@@ -4887,12 +4991,20 @@ module Aws::LocationService
4887
4991
  # The preferred language used to return results. The value must be a
4888
4992
  # valid [BCP 47][1] language tag, for example, `en` for English.
4889
4993
  #
4890
- # This setting affects the languages used in the results. It does not
4891
- # change which results are returned. If the language is not specified,
4892
- # or not supported for a particular result, the partner automatically
4893
- # chooses a language for the result.
4994
+ # This setting affects the languages used in the results. If no
4995
+ # language is specified, or not supported for a particular result, the
4996
+ # partner automatically chooses a language for the result.
4997
+ #
4998
+ # For an example, we'll use the Greek language. You search for
4999
+ # `Athens, Gr` to get suggestions with the `language` parameter set to
5000
+ # `en`. The results found will most likely be returned as `Athens,
5001
+ # Greece`.
4894
5002
  #
4895
- # Used only when the partner selected is Here.
5003
+ # If you set the `language` parameter to `el`, for Greek, then the
5004
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
5005
+ #
5006
+ # If the data provider does not have a value for Greek, the result
5007
+ # will be in a language that the provider does support.
4896
5008
  #
4897
5009
  #
4898
5010
  #
@@ -5027,7 +5139,7 @@ module Aws::LocationService
5027
5139
  # index_name: "ResourceName", # required
5028
5140
  # language: "LanguageTag",
5029
5141
  # max_results: 1,
5030
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
5142
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
5031
5143
  # }
5032
5144
  #
5033
5145
  # @!attribute [rw] bias_position
@@ -5091,10 +5203,20 @@ module Aws::LocationService
5091
5203
  # The preferred language used to return results. The value must be a
5092
5204
  # valid [BCP 47][1] language tag, for example, `en` for English.
5093
5205
  #
5094
- # This setting affects the languages used in the results. It does not
5095
- # change which results are returned. If the language is not specified,
5096
- # or not supported for a particular result, the partner automatically
5097
- # chooses a language for the result.
5206
+ # This setting affects the languages used in the results, but not the
5207
+ # results themselves. If no language is specified, or not supported
5208
+ # for a particular result, the partner automatically chooses a
5209
+ # language for the result.
5210
+ #
5211
+ # For an example, we'll use the Greek language. You search for
5212
+ # `Athens, Greece`, with the `language` parameter set to `en`. The
5213
+ # result found will most likely be returned as `Athens`.
5214
+ #
5215
+ # If you set the `language` parameter to `el`, for Greek, then the
5216
+ # result found will more likely be returned as `Αθήνα`.
5217
+ #
5218
+ # If the data provider does not have a value for Greek, the result
5219
+ # will be in a language that the provider does support.
5098
5220
  #
5099
5221
  #
5100
5222
  #
@@ -5130,6 +5252,9 @@ module Aws::LocationService
5130
5252
  # @!attribute [rw] results
5131
5253
  # A list of Places matching the input text. Each result contains
5132
5254
  # additional information about the specific point of interest.
5255
+ #
5256
+ # Not all response properties are included with all responses. Some
5257
+ # properties may only be returned by specific data partners.
5133
5258
  # @return [Array<Types::SearchForTextResult>]
5134
5259
  #
5135
5260
  # @!attribute [rw] summary
@@ -5413,6 +5538,11 @@ module Aws::LocationService
5413
5538
  # * For example, `4.5`.
5414
5539
  #
5415
5540
  # ^
5541
+ #
5542
+ # <note markdown="1"> For routes calculated with a HERE resource, this value must be
5543
+ # between 0 and 50 meters.
5544
+ #
5545
+ # </note>
5416
5546
  # @return [Float]
5417
5547
  #
5418
5548
  # @!attribute [rw] length
@@ -5421,6 +5551,11 @@ module Aws::LocationService
5421
5551
  # * For example, `15.5`.
5422
5552
  #
5423
5553
  # ^
5554
+ #
5555
+ # <note markdown="1"> For routes calculated with a HERE resource, this value must be
5556
+ # between 0 and 300 meters.
5557
+ #
5558
+ # </note>
5424
5559
  # @return [Float]
5425
5560
  #
5426
5561
  # @!attribute [rw] unit
@@ -5435,6 +5570,11 @@ module Aws::LocationService
5435
5570
  # * For example, `4.5`.
5436
5571
  #
5437
5572
  # ^
5573
+ #
5574
+ # <note markdown="1"> For routes calculated with a HERE resource, this value must be
5575
+ # between 0 and 50 meters.
5576
+ #
5577
+ # </note>
5438
5578
  # @return [Float]
5439
5579
  #
5440
5580
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/TruckDimensions AWS API Documentation
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-locationservice/customizations'
48
48
  # @!group service
49
49
  module Aws::LocationService
50
50
 
51
- GEM_VERSION = '1.20.0'
51
+ GEM_VERSION = '1.23.0'
52
52
 
53
53
  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.20.0
4
+ version: 1.23.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: 2022-03-15 00:00:00.000000000 Z
11
+ date: 2022-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core