aws-sdk-locationservice 1.19.0 → 1.22.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: 176c6cc71d5a4df170be62b1685b030305a93226d939d14044ca871b574347e5
4
- data.tar.gz: d58073c1a046008eb8a14b1590a10c88e69a6e553637094ca602cb0e2baffdc0
3
+ metadata.gz: 536a6fab433e456f1b431dc9f88322fcc4dc8fb6b3c53804eaae0661bc37213c
4
+ data.tar.gz: e81be64160f2ab6701e61780d600eec5ade74a382cd02e1c74dc16df2b2aaa68
5
5
  SHA512:
6
- metadata.gz: 7e50592ac903f5ccac36d844e913ef3c36d01fe4ddc2eba81c5bc04c3c5d59af44d3680e0ad7641c2a51c97b41e2158cce0ff50029aaacf9712e5ae8f7a6ba1e
7
- data.tar.gz: bef8355ed6034a25cb17f4fe93e9f32bea7491bdbf585192d6a96a9280fd4dc8b5546de16c371ddcb98bc139df3e7e4415c242e810db9cc2af52a75b70085a60
6
+ metadata.gz: 17dfd27baad6ab7255699b9d714ef49df0d9779cb87a1906ece5179a344cdcf7ff7e64d0e59e46ef6ebf4d113b6ab24f322597bd3998e1dae79b0be3ac1d189f
7
+ data.tar.gz: 0cf84b09bd3d148bce57835eb2ea706112b1d24d10aec8c3daaa55d0ca21b6d3197233d93e7bcb44782d8cb9985aa34af7ece4cac5df56d4515024ea19fb0f8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.22.0 (2022-05-06)
5
+ ------------------
6
+
7
+ * Feature - Amazon Location Service now includes a MaxResults parameter for ListGeofences requests.
8
+
9
+ 1.21.0 (2022-03-22)
10
+ ------------------
11
+
12
+ * Feature - Amazon Location Service now includes a MaxResults parameter for GetDevicePositionHistory requests.
13
+
14
+ 1.20.0 (2022-03-15)
15
+ ------------------
16
+
17
+ * Feature - New HERE style "VectorHereExplore" and "VectorHereExploreTruck".
18
+
4
19
  1.19.0 (2022-02-24)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.22.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.
@@ -777,8 +782,8 @@ module Aws::LocationService
777
782
  # Valid Values: `false` \| `true`
778
783
  #
779
784
  # @option params [required, Array<Float>] :departure_position
780
- # The start position for the route. Defined in [WGS 84][1] format:
781
- # `[longitude, latitude]`.
785
+ # The start position for the route. Defined in [World Geodetic System
786
+ # (WGS 84)][1] format: `[longitude, latitude]`.
782
787
  #
783
788
  # * For example, `[-123.115, 49.285]`
784
789
  #
@@ -795,7 +800,7 @@ module Aws::LocationService
795
800
  #
796
801
  #
797
802
  #
798
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
803
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
799
804
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
800
805
  #
801
806
  # @option params [Time,DateTime,Date,Integer,String] :departure_time
@@ -818,8 +823,8 @@ module Aws::LocationService
818
823
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
819
824
  #
820
825
  # @option params [required, Array<Float>] :destination_position
821
- # The finish position for the route. Defined in [WGS 84][1] format:
822
- # `[longitude, latitude]`.
826
+ # The finish position for the route. Defined in [World Geodetic System
827
+ # (WGS 84)][1] format: `[longitude, latitude]`.
823
828
  #
824
829
  # * For example, `[-122.339, 47.615]`
825
830
  #
@@ -834,7 +839,7 @@ module Aws::LocationService
834
839
  #
835
840
  #
836
841
  #
837
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
842
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
838
843
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
839
844
  #
840
845
  # @option params [String] :distance_unit
@@ -2243,6 +2248,12 @@ module Aws::LocationService
2243
2248
  #
2244
2249
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2245
2250
  #
2251
+ # @option params [Integer] :max_results
2252
+ # An optional limit for the number of device positions returned in a
2253
+ # single call.
2254
+ #
2255
+ # Default value: `100`
2256
+ #
2246
2257
  # @option params [String] :next_token
2247
2258
  # The pagination token specifying which page of results to return in the
2248
2259
  # response. If no token is provided, the default page is the first page.
@@ -2281,6 +2292,7 @@ module Aws::LocationService
2281
2292
  # resp = client.get_device_position_history({
2282
2293
  # device_id: "Id", # required
2283
2294
  # end_time_exclusive: Time.now,
2295
+ # max_results: 1,
2284
2296
  # next_token: "Token",
2285
2297
  # start_time_inclusive: Time.now,
2286
2298
  # tracker_name: "ResourceName", # required
@@ -2379,7 +2391,9 @@ module Aws::LocationService
2379
2391
  #
2380
2392
  # * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
2381
2393
  #
2382
- # ^
2394
+ # * VectorHereExplore, VectorHereExploreTruck – `Firo GO Italic` \|
2395
+ # `Fira GO Map` \| `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \|
2396
+ # `Noto Sans CJK JP Light` \| `Noto Sans CJK JP Regular`
2383
2397
  #
2384
2398
  #
2385
2399
  #
@@ -2659,6 +2673,12 @@ module Aws::LocationService
2659
2673
  # @option params [required, String] :collection_name
2660
2674
  # The name of the geofence collection storing the list of geofences.
2661
2675
  #
2676
+ # @option params [Integer] :max_results
2677
+ # An optional limit for the number of geofences returned in a single
2678
+ # call.
2679
+ #
2680
+ # Default value: `100`
2681
+ #
2662
2682
  # @option params [String] :next_token
2663
2683
  # The pagination token specifying which page of results to return in the
2664
2684
  # response. If no token is provided, the default page is the first page.
@@ -2676,6 +2696,7 @@ module Aws::LocationService
2676
2696
  #
2677
2697
  # resp = client.list_geofences({
2678
2698
  # collection_name: "ResourceName", # required
2699
+ # max_results: 1,
2679
2700
  # next_token: "Token",
2680
2701
  # })
2681
2702
  #
@@ -3044,10 +3065,21 @@ module Aws::LocationService
3044
3065
  # The preferred language used to return results. The value must be a
3045
3066
  # valid [BCP 47][1] language tag, for example, `en` for English.
3046
3067
  #
3047
- # This setting affects the languages used in the results. It does not
3048
- # change which results are returned. If the language is not specified,
3049
- # or not supported for a particular result, the partner automatically
3050
- # chooses a language for the result.
3068
+ # This setting affects the languages used in the results, but not the
3069
+ # results themselves. If no language is specified, or not supported for
3070
+ # a particular result, the partner automatically chooses a language for
3071
+ # the result.
3072
+ #
3073
+ # For an example, we'll use the Greek language. You search for a
3074
+ # location around Athens, Greece, with the `language` parameter set to
3075
+ # `en`. The `city` in the results will most likely be returned as
3076
+ # `Athens`.
3077
+ #
3078
+ # If you set the `language` parameter to `el`, for Greek, then the
3079
+ # `city` in the results will more likely be returned as `Αθήνα`.
3080
+ #
3081
+ # If the data provider does not have a value for Greek, the result will
3082
+ # be in a language that the provider does support.
3051
3083
  #
3052
3084
  #
3053
3085
  #
@@ -3188,12 +3220,19 @@ module Aws::LocationService
3188
3220
  # The preferred language used to return results. The value must be a
3189
3221
  # valid [BCP 47][1] language tag, for example, `en` for English.
3190
3222
  #
3191
- # This setting affects the languages used in the results. It does not
3192
- # change which results are returned. If the language is not specified,
3193
- # or not supported for a particular result, the partner automatically
3194
- # chooses a language for the result.
3223
+ # This setting affects the languages used in the results. If no language
3224
+ # is specified, or not supported for a particular result, the partner
3225
+ # automatically chooses a language for the result.
3226
+ #
3227
+ # For an example, we'll use the Greek language. You search for `Athens,
3228
+ # Gr` to get suggestions with the `language` parameter set to `en`. The
3229
+ # results found will most likely be returned as `Athens, Greece`.
3230
+ #
3231
+ # If you set the `language` parameter to `el`, for Greek, then the
3232
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
3195
3233
  #
3196
- # Used only when the partner selected is Here.
3234
+ # If the data provider does not have a value for Greek, the result will
3235
+ # be in a language that the provider does support.
3197
3236
  #
3198
3237
  #
3199
3238
  #
@@ -3223,7 +3262,7 @@ module Aws::LocationService
3223
3262
  # index_name: "ResourceName", # required
3224
3263
  # language: "LanguageTag",
3225
3264
  # max_results: 1,
3226
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
3265
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
3227
3266
  # })
3228
3267
  #
3229
3268
  # @example Response structure
@@ -3322,10 +3361,20 @@ module Aws::LocationService
3322
3361
  # The preferred language used to return results. The value must be a
3323
3362
  # valid [BCP 47][1] language tag, for example, `en` for English.
3324
3363
  #
3325
- # This setting affects the languages used in the results. It does not
3326
- # change which results are returned. If the language is not specified,
3327
- # or not supported for a particular result, the partner automatically
3328
- # chooses a language for the result.
3364
+ # This setting affects the languages used in the results, but not the
3365
+ # results themselves. If no language is specified, or not supported for
3366
+ # a particular result, the partner automatically chooses a language for
3367
+ # the result.
3368
+ #
3369
+ # For an example, we'll use the Greek language. You search for `Athens,
3370
+ # Greece`, with the `language` parameter set to `en`. The result found
3371
+ # will most likely be returned as `Athens`.
3372
+ #
3373
+ # If you set the `language` parameter to `el`, for Greek, then the
3374
+ # result found will more likely be returned as `Αθήνα`.
3375
+ #
3376
+ # If the data provider does not have a value for Greek, the result will
3377
+ # be in a language that the provider does support.
3329
3378
  #
3330
3379
  #
3331
3380
  #
@@ -3355,7 +3404,7 @@ module Aws::LocationService
3355
3404
  # index_name: "ResourceName", # required
3356
3405
  # language: "LanguageTag",
3357
3406
  # max_results: 1,
3358
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
3407
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
3359
3408
  # })
3360
3409
  #
3361
3410
  # @example Response structure
@@ -3750,7 +3799,7 @@ module Aws::LocationService
3750
3799
  params: params,
3751
3800
  config: config)
3752
3801
  context[:gem_name] = 'aws-sdk-locationservice'
3753
- context[:gem_version] = '1.19.0'
3802
+ context[:gem_version] = '1.22.0'
3754
3803
  Seahorse::Client::Request.new(handlers, context)
3755
3804
  end
3756
3805
 
@@ -118,6 +118,7 @@ module Aws::LocationService
118
118
  Double = Shapes::FloatShape.new(name: 'Double')
119
119
  GeofenceGeometry = Shapes::StructureShape.new(name: 'GeofenceGeometry')
120
120
  GetDevicePositionHistoryRequest = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryRequest')
121
+ GetDevicePositionHistoryRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'GetDevicePositionHistoryRequestMaxResultsInteger')
121
122
  GetDevicePositionHistoryResponse = Shapes::StructureShape.new(name: 'GetDevicePositionHistoryResponse')
122
123
  GetDevicePositionRequest = Shapes::StructureShape.new(name: 'GetDevicePositionRequest')
123
124
  GetDevicePositionResponse = Shapes::StructureShape.new(name: 'GetDevicePositionResponse')
@@ -163,6 +164,7 @@ module Aws::LocationService
163
164
  ListGeofenceResponseEntry = Shapes::StructureShape.new(name: 'ListGeofenceResponseEntry')
164
165
  ListGeofenceResponseEntryList = Shapes::ListShape.new(name: 'ListGeofenceResponseEntryList')
165
166
  ListGeofencesRequest = Shapes::StructureShape.new(name: 'ListGeofencesRequest')
167
+ ListGeofencesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListGeofencesRequestMaxResultsInteger')
166
168
  ListGeofencesResponse = Shapes::StructureShape.new(name: 'ListGeofencesResponse')
167
169
  ListMapsRequest = Shapes::StructureShape.new(name: 'ListMapsRequest')
168
170
  ListMapsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMapsRequestMaxResultsInteger')
@@ -228,11 +230,14 @@ module Aws::LocationService
228
230
  SearchPlaceIndexForPositionSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionSummary')
229
231
  SearchPlaceIndexForSuggestionsRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsRequest')
230
232
  SearchPlaceIndexForSuggestionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchPlaceIndexForSuggestionsRequestMaxResultsInteger')
233
+ SearchPlaceIndexForSuggestionsRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForSuggestionsRequestTextString')
231
234
  SearchPlaceIndexForSuggestionsResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsResponse')
232
235
  SearchPlaceIndexForSuggestionsSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsSummary')
233
236
  SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
237
+ SearchPlaceIndexForTextRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForTextRequestTextString')
234
238
  SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
235
239
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
240
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
236
241
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
237
242
  Step = Shapes::StructureShape.new(name: 'Step')
238
243
  StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
@@ -240,10 +245,6 @@ module Aws::LocationService
240
245
  StepGeometryOffsetInteger = Shapes::IntegerShape.new(name: 'StepGeometryOffsetInteger')
241
246
  StepList = Shapes::ListShape.new(name: 'StepList')
242
247
  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
248
  TagKey = Shapes::StringShape.new(name: 'TagKey')
248
249
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
249
250
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -663,6 +664,7 @@ module Aws::LocationService
663
664
 
664
665
  GetDevicePositionHistoryRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "DeviceId"))
665
666
  GetDevicePositionHistoryRequest.add_member(:end_time_exclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "EndTimeExclusive"))
667
+ GetDevicePositionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: GetDevicePositionHistoryRequestMaxResultsInteger, location_name: "MaxResults"))
666
668
  GetDevicePositionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
667
669
  GetDevicePositionHistoryRequest.add_member(:start_time_inclusive, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTimeInclusive"))
668
670
  GetDevicePositionHistoryRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
@@ -805,6 +807,7 @@ module Aws::LocationService
805
807
  ListGeofenceResponseEntryList.member = Shapes::ShapeRef.new(shape: ListGeofenceResponseEntry)
806
808
 
807
809
  ListGeofencesRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
810
+ ListGeofencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListGeofencesRequestMaxResultsInteger, location_name: "MaxResults"))
808
811
  ListGeofencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
809
812
  ListGeofencesRequest.struct_class = Types::ListGeofencesRequest
810
813
 
@@ -993,7 +996,7 @@ module Aws::LocationService
993
996
  SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
994
997
  SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
995
998
  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"))
999
+ SearchPlaceIndexForSuggestionsRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestTextString, required: true, location_name: "Text"))
997
1000
  SearchPlaceIndexForSuggestionsRequest.struct_class = Types::SearchPlaceIndexForSuggestionsRequest
998
1001
 
999
1002
  SearchPlaceIndexForSuggestionsResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForSuggestionsResultList, required: true, location_name: "Results"))
@@ -1006,7 +1009,7 @@ module Aws::LocationService
1006
1009
  SearchPlaceIndexForSuggestionsSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1007
1010
  SearchPlaceIndexForSuggestionsSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1008
1011
  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"))
1012
+ SearchPlaceIndexForSuggestionsSummary.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Text"))
1010
1013
  SearchPlaceIndexForSuggestionsSummary.struct_class = Types::SearchPlaceIndexForSuggestionsSummary
1011
1014
 
1012
1015
  SearchPlaceIndexForTextRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
@@ -1015,7 +1018,7 @@ module Aws::LocationService
1015
1018
  SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1016
1019
  SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1017
1020
  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"))
1021
+ SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SearchPlaceIndexForTextRequestTextString, required: true, location_name: "Text"))
1019
1022
  SearchPlaceIndexForTextRequest.struct_class = Types::SearchPlaceIndexForTextRequest
1020
1023
 
1021
1024
  SearchPlaceIndexForTextResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForTextResultList, required: true, location_name: "Results"))
@@ -1029,7 +1032,7 @@ module Aws::LocationService
1029
1032
  SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1030
1033
  SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1031
1034
  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"))
1035
+ SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveString, required: true, location_name: "Text"))
1033
1036
  SearchPlaceIndexForTextSummary.struct_class = Types::SearchPlaceIndexForTextSummary
1034
1037
 
1035
1038
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -1594,6 +1597,7 @@ module Aws::LocationService
1594
1597
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1595
1598
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1596
1599
  o[:pager] = Aws::Pager.new(
1600
+ limit_key: "max_results",
1597
1601
  tokens: {
1598
1602
  "next_token" => "next_token"
1599
1603
  }
@@ -1737,6 +1741,7 @@ module Aws::LocationService
1737
1741
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1738
1742
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1739
1743
  o[:pager] = Aws::Pager.new(
1744
+ limit_key: "max_results",
1740
1745
  tokens: {
1741
1746
  "next_token" => "next_token"
1742
1747
  }
@@ -939,8 +939,8 @@ module Aws::LocationService
939
939
  # @return [Boolean]
940
940
  #
941
941
  # @!attribute [rw] departure_position
942
- # The start position for the route. Defined in [WGS 84][1] format:
943
- # `[longitude, latitude]`.
942
+ # The start position for the route. Defined in [World Geodetic System
943
+ # (WGS 84)][1] format: `[longitude, latitude]`.
944
944
  #
945
945
  # * For example, `[-123.115, 49.285]`
946
946
  #
@@ -957,7 +957,7 @@ module Aws::LocationService
957
957
  #
958
958
  #
959
959
  #
960
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
960
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
961
961
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
962
962
  # @return [Array<Float>]
963
963
  #
@@ -982,8 +982,8 @@ module Aws::LocationService
982
982
  # @return [Time]
983
983
  #
984
984
  # @!attribute [rw] destination_position
985
- # The finish position for the route. Defined in [WGS 84][1] format:
986
- # `[longitude, latitude]`.
985
+ # The finish position for the route. Defined in [World Geodetic System
986
+ # (WGS 84)][1] format: `[longitude, latitude]`.
987
987
  #
988
988
  # * For example, `[-122.339, 47.615]`
989
989
  #
@@ -998,7 +998,7 @@ module Aws::LocationService
998
998
  #
999
999
  #
1000
1000
  #
1001
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
1001
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
1002
1002
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/snap-to-nearby-road.html
1003
1003
  # @return [Array<Float>]
1004
1004
  #
@@ -1236,7 +1236,7 @@ module Aws::LocationService
1236
1236
  # @return [Boolean]
1237
1237
  #
1238
1238
  # @!attribute [rw] avoid_tolls
1239
- # Avoids ferries when calculating routes.
1239
+ # Avoids tolls when calculating routes.
1240
1240
  #
1241
1241
  # Default Value: `false`
1242
1242
  #
@@ -2674,7 +2674,7 @@ module Aws::LocationService
2674
2674
  #
2675
2675
  #
2676
2676
  #
2677
- # [1]: https://earth-info.nga.mil/GandG/wgs84/index.html
2677
+ # [1]: https://earth-info.nga.mil/index.php?dir=wgs84&amp;action=wgs84
2678
2678
  # @return [Array<Float>]
2679
2679
  #
2680
2680
  # @!attribute [rw] position_properties
@@ -2791,6 +2791,7 @@ module Aws::LocationService
2791
2791
  # {
2792
2792
  # device_id: "Id", # required
2793
2793
  # end_time_exclusive: Time.now,
2794
+ # max_results: 1,
2794
2795
  # next_token: "Token",
2795
2796
  # start_time_inclusive: Time.now,
2796
2797
  # tracker_name: "ResourceName", # required
@@ -2817,6 +2818,13 @@ module Aws::LocationService
2817
2818
  # [1]: https://www.iso.org/iso-8601-date-and-time-format.html
2818
2819
  # @return [Time]
2819
2820
  #
2821
+ # @!attribute [rw] max_results
2822
+ # An optional limit for the number of device positions returned in a
2823
+ # single call.
2824
+ #
2825
+ # Default value: `100`
2826
+ # @return [Integer]
2827
+ #
2820
2828
  # @!attribute [rw] next_token
2821
2829
  # The pagination token specifying which page of results to return in
2822
2830
  # the response. If no token is provided, the default page is the first
@@ -2852,6 +2860,7 @@ module Aws::LocationService
2852
2860
  class GetDevicePositionHistoryRequest < Struct.new(
2853
2861
  :device_id,
2854
2862
  :end_time_exclusive,
2863
+ :max_results,
2855
2864
  :next_token,
2856
2865
  :start_time_inclusive,
2857
2866
  :tracker_name)
@@ -3063,7 +3072,9 @@ module Aws::LocationService
3063
3072
  #
3064
3073
  # * VectorHereBerlin – `Fira GO Regular` \| `Fira GO Bold`
3065
3074
  #
3066
- # ^
3075
+ # * VectorHereExplore, VectorHereExploreTruck – `Firo GO Italic` \|
3076
+ # `Fira GO Map` \| `Fira GO Map Bold` \| `Noto Sans CJK JP Bold` \|
3077
+ # `Noto Sans CJK JP Light` \| `Noto Sans CJK JP Regular`
3067
3078
  #
3068
3079
  #
3069
3080
  #
@@ -3647,6 +3658,7 @@ module Aws::LocationService
3647
3658
  #
3648
3659
  # {
3649
3660
  # collection_name: "ResourceName", # required
3661
+ # max_results: 1,
3650
3662
  # next_token: "Token",
3651
3663
  # }
3652
3664
  #
@@ -3654,6 +3666,13 @@ module Aws::LocationService
3654
3666
  # The name of the geofence collection storing the list of geofences.
3655
3667
  # @return [String]
3656
3668
  #
3669
+ # @!attribute [rw] max_results
3670
+ # An optional limit for the number of geofences returned in a single
3671
+ # call.
3672
+ #
3673
+ # Default value: `100`
3674
+ # @return [Integer]
3675
+ #
3657
3676
  # @!attribute [rw] next_token
3658
3677
  # The pagination token specifying which page of results to return in
3659
3678
  # the response. If no token is provided, the default page is the first
@@ -3666,6 +3685,7 @@ module Aws::LocationService
3666
3685
  #
3667
3686
  class ListGeofencesRequest < Struct.new(
3668
3687
  :collection_name,
3688
+ :max_results,
3669
3689
  :next_token)
3670
3690
  SENSITIVE = []
3671
3691
  include Aws::Structure
@@ -4271,18 +4291,20 @@ module Aws::LocationService
4271
4291
  # * `VectorHereBerlin` – The HERE Berlin map style is a high contrast
4272
4292
  # detailed base map of the world that blends 3D and 2D rendering.
4273
4293
  #
4274
- # <note markdown="1"> When using HERE as your data provider, and selecting the Style
4275
- # `VectorHereBerlin`, you may not use HERE Technologies maps for
4276
- # Asset Management. See the [AWS Service Terms][3] for Amazon
4277
- # Location Service.
4294
+ # * `VectorHereExplore` A default HERE map style containing a
4295
+ # neutral, global map and its features including roads, buildings,
4296
+ # landmarks, and water features. It also now includes a fully
4297
+ # designed map of Japan.
4278
4298
  #
4279
- # </note>
4299
+ # * `VectorHereExploreTruck` – A global map containing truck
4300
+ # restrictions and attributes (e.g. width / height / HAZMAT)
4301
+ # symbolized with highlighted segments and icons on top of HERE
4302
+ # Explore to support use cases within transport and logistics.
4280
4303
  #
4281
4304
  #
4282
4305
  #
4283
4306
  # [1]: https://docs.aws.amazon.com/location/latest/developerguide/esri.html
4284
4307
  # [2]: https://docs.aws.amazon.com/location/latest/developerguide/HERE.html
4285
- # [3]: https://aws.amazon.com/service-terms/
4286
4308
  # @return [String]
4287
4309
  #
4288
4310
  # @see http://docs.aws.amazon.com/goto/WebAPI/location-2020-11-19/MapConfiguration AWS API Documentation
@@ -4296,6 +4318,9 @@ module Aws::LocationService
4296
4318
  # Contains details about addresses or points of interest that match the
4297
4319
  # search criteria.
4298
4320
  #
4321
+ # Not all details are included with all responses. Some details may only
4322
+ # be returned by specific data partners.
4323
+ #
4299
4324
  # @!attribute [rw] address_number
4300
4325
  # The numerical portion of an address, such as a building number.
4301
4326
  # @return [String]
@@ -4520,8 +4545,8 @@ module Aws::LocationService
4520
4545
  include Aws::Structure
4521
4546
  end
4522
4547
 
4523
- # The result for one `SnappedDeparturePosition`
4524
- # `SnappedDestinationPosition` pair.
4548
+ # The result for the calculated route of one `DeparturePosition`
4549
+ # `DestinationPosition` pair.
4525
4550
  #
4526
4551
  # @!attribute [rw] distance
4527
4552
  # The total distance of travel for the route.
@@ -4700,10 +4725,21 @@ module Aws::LocationService
4700
4725
  # The preferred language used to return results. The value must be a
4701
4726
  # valid [BCP 47][1] language tag, for example, `en` for English.
4702
4727
  #
4703
- # This setting affects the languages used in the results. It does not
4704
- # change which results are returned. If the language is not specified,
4705
- # or not supported for a particular result, the partner automatically
4706
- # chooses a language for the result.
4728
+ # This setting affects the languages used in the results, but not the
4729
+ # results themselves. If no language is specified, or not supported
4730
+ # for a particular result, the partner automatically chooses a
4731
+ # language for the result.
4732
+ #
4733
+ # For an example, we'll use the Greek language. You search for a
4734
+ # location around Athens, Greece, with the `language` parameter set to
4735
+ # `en`. The `city` in the results will most likely be returned as
4736
+ # `Athens`.
4737
+ #
4738
+ # If you set the `language` parameter to `el`, for Greek, then the
4739
+ # `city` in the results will more likely be returned as `Αθήνα`.
4740
+ #
4741
+ # If the data provider does not have a value for Greek, the result
4742
+ # will be in a language that the provider does support.
4707
4743
  #
4708
4744
  #
4709
4745
  #
@@ -4819,7 +4855,7 @@ module Aws::LocationService
4819
4855
  # index_name: "ResourceName", # required
4820
4856
  # language: "LanguageTag",
4821
4857
  # max_results: 1,
4822
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
4858
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
4823
4859
  # }
4824
4860
  #
4825
4861
  # @!attribute [rw] bias_position
@@ -4883,12 +4919,20 @@ module Aws::LocationService
4883
4919
  # The preferred language used to return results. The value must be a
4884
4920
  # valid [BCP 47][1] language tag, for example, `en` for English.
4885
4921
  #
4886
- # This setting affects the languages used in the results. It does not
4887
- # change which results are returned. If the language is not specified,
4888
- # or not supported for a particular result, the partner automatically
4889
- # chooses a language for the result.
4922
+ # This setting affects the languages used in the results. If no
4923
+ # language is specified, or not supported for a particular result, the
4924
+ # partner automatically chooses a language for the result.
4925
+ #
4926
+ # For an example, we'll use the Greek language. You search for
4927
+ # `Athens, Gr` to get suggestions with the `language` parameter set to
4928
+ # `en`. The results found will most likely be returned as `Athens,
4929
+ # Greece`.
4930
+ #
4931
+ # If you set the `language` parameter to `el`, for Greek, then the
4932
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
4890
4933
  #
4891
- # Used only when the partner selected is Here.
4934
+ # If the data provider does not have a value for Greek, the result
4935
+ # will be in a language that the provider does support.
4892
4936
  #
4893
4937
  #
4894
4938
  #
@@ -5023,7 +5067,7 @@ module Aws::LocationService
5023
5067
  # index_name: "ResourceName", # required
5024
5068
  # language: "LanguageTag",
5025
5069
  # max_results: 1,
5026
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
5070
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
5027
5071
  # }
5028
5072
  #
5029
5073
  # @!attribute [rw] bias_position
@@ -5087,10 +5131,20 @@ module Aws::LocationService
5087
5131
  # The preferred language used to return results. The value must be a
5088
5132
  # valid [BCP 47][1] language tag, for example, `en` for English.
5089
5133
  #
5090
- # This setting affects the languages used in the results. It does not
5091
- # change which results are returned. If the language is not specified,
5092
- # or not supported for a particular result, the partner automatically
5093
- # chooses a language for the result.
5134
+ # This setting affects the languages used in the results, but not the
5135
+ # results themselves. If no language is specified, or not supported
5136
+ # for a particular result, the partner automatically chooses a
5137
+ # language for the result.
5138
+ #
5139
+ # For an example, we'll use the Greek language. You search for
5140
+ # `Athens, Greece`, with the `language` parameter set to `en`. The
5141
+ # result found will most likely be returned as `Athens`.
5142
+ #
5143
+ # If you set the `language` parameter to `el`, for Greek, then the
5144
+ # result found will more likely be returned as `Αθήνα`.
5145
+ #
5146
+ # If the data provider does not have a value for Greek, the result
5147
+ # will be in a language that the provider does support.
5094
5148
  #
5095
5149
  #
5096
5150
  #
@@ -5126,6 +5180,9 @@ module Aws::LocationService
5126
5180
  # @!attribute [rw] results
5127
5181
  # A list of Places matching the input text. Each result contains
5128
5182
  # additional information about the specific point of interest.
5183
+ #
5184
+ # Not all response properties are included with all responses. Some
5185
+ # properties may only be returned by specific data partners.
5129
5186
  # @return [Array<Types::SearchForTextResult>]
5130
5187
  #
5131
5188
  # @!attribute [rw] summary
@@ -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.19.0'
51
+ GEM_VERSION = '1.22.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.19.0
4
+ version: 1.22.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-02-24 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core