aws-sdk-locationservice 1.21.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e831562a3f4d883cec098f59c3abb06a31f1afb06d81c6195de6bd7561d6c9f6
4
- data.tar.gz: 51ae3fa958b3b8f12bd58d1a4d63005b82668e85c0a49806eb7580907df3b14b
3
+ metadata.gz: 536a6fab433e456f1b431dc9f88322fcc4dc8fb6b3c53804eaae0661bc37213c
4
+ data.tar.gz: e81be64160f2ab6701e61780d600eec5ade74a382cd02e1c74dc16df2b2aaa68
5
5
  SHA512:
6
- metadata.gz: 7f47ca9c53b45055a6795fc37cf0fd4a4457c0759774ca2753af8f7b3e2aa6d7887ae6a84743df810204badd5d95369185d11872dcebfa8567b1d8ad6a90a006
7
- data.tar.gz: 9e673ec20db5623853d2d458f7914d1fc83fef3d07dddf625a0695d9243c3c173ca969561f03c1334dd4cc096d27d2a098419b25d3a31f2064e9d63956dfc4b9
6
+ metadata.gz: 17dfd27baad6ab7255699b9d714ef49df0d9779cb87a1906ece5179a344cdcf7ff7e64d0e59e46ef6ebf4d113b6ab24f322597bd3998e1dae79b0be3ac1d189f
7
+ data.tar.gz: 0cf84b09bd3d148bce57835eb2ea706112b1d24d10aec8c3daaa55d0ca21b6d3197233d93e7bcb44782d8cb9985aa34af7ece4cac5df56d4515024ea19fb0f8f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.21.0 (2022-03-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.21.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
@@ -2668,6 +2673,12 @@ module Aws::LocationService
2668
2673
  # @option params [required, String] :collection_name
2669
2674
  # The name of the geofence collection storing the list of geofences.
2670
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
+ #
2671
2682
  # @option params [String] :next_token
2672
2683
  # The pagination token specifying which page of results to return in the
2673
2684
  # response. If no token is provided, the default page is the first page.
@@ -2685,6 +2696,7 @@ module Aws::LocationService
2685
2696
  #
2686
2697
  # resp = client.list_geofences({
2687
2698
  # collection_name: "ResourceName", # required
2699
+ # max_results: 1,
2688
2700
  # next_token: "Token",
2689
2701
  # })
2690
2702
  #
@@ -3053,10 +3065,21 @@ module Aws::LocationService
3053
3065
  # The preferred language used to return results. The value must be a
3054
3066
  # valid [BCP 47][1] language tag, for example, `en` for English.
3055
3067
  #
3056
- # This setting affects the languages used in the results. It does not
3057
- # change which results are returned. If the language is not specified,
3058
- # or not supported for a particular result, the partner automatically
3059
- # 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.
3060
3083
  #
3061
3084
  #
3062
3085
  #
@@ -3197,12 +3220,19 @@ module Aws::LocationService
3197
3220
  # The preferred language used to return results. The value must be a
3198
3221
  # valid [BCP 47][1] language tag, for example, `en` for English.
3199
3222
  #
3200
- # This setting affects the languages used in the results. It does not
3201
- # change which results are returned. If the language is not specified,
3202
- # or not supported for a particular result, the partner automatically
3203
- # 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`.
3204
3230
  #
3205
- # Used only when the partner selected is Here.
3231
+ # If you set the `language` parameter to `el`, for Greek, then the
3232
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
3233
+ #
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.
3206
3236
  #
3207
3237
  #
3208
3238
  #
@@ -3232,7 +3262,7 @@ module Aws::LocationService
3232
3262
  # index_name: "ResourceName", # required
3233
3263
  # language: "LanguageTag",
3234
3264
  # max_results: 1,
3235
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
3265
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
3236
3266
  # })
3237
3267
  #
3238
3268
  # @example Response structure
@@ -3331,10 +3361,20 @@ module Aws::LocationService
3331
3361
  # The preferred language used to return results. The value must be a
3332
3362
  # valid [BCP 47][1] language tag, for example, `en` for English.
3333
3363
  #
3334
- # This setting affects the languages used in the results. It does not
3335
- # change which results are returned. If the language is not specified,
3336
- # or not supported for a particular result, the partner automatically
3337
- # 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.
3338
3378
  #
3339
3379
  #
3340
3380
  #
@@ -3364,7 +3404,7 @@ module Aws::LocationService
3364
3404
  # index_name: "ResourceName", # required
3365
3405
  # language: "LanguageTag",
3366
3406
  # max_results: 1,
3367
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
3407
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
3368
3408
  # })
3369
3409
  #
3370
3410
  # @example Response structure
@@ -3759,7 +3799,7 @@ module Aws::LocationService
3759
3799
  params: params,
3760
3800
  config: config)
3761
3801
  context[:gem_name] = 'aws-sdk-locationservice'
3762
- context[:gem_version] = '1.21.0'
3802
+ context[:gem_version] = '1.22.0'
3763
3803
  Seahorse::Client::Request.new(handlers, context)
3764
3804
  end
3765
3805
 
@@ -164,6 +164,7 @@ module Aws::LocationService
164
164
  ListGeofenceResponseEntry = Shapes::StructureShape.new(name: 'ListGeofenceResponseEntry')
165
165
  ListGeofenceResponseEntryList = Shapes::ListShape.new(name: 'ListGeofenceResponseEntryList')
166
166
  ListGeofencesRequest = Shapes::StructureShape.new(name: 'ListGeofencesRequest')
167
+ ListGeofencesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListGeofencesRequestMaxResultsInteger')
167
168
  ListGeofencesResponse = Shapes::StructureShape.new(name: 'ListGeofencesResponse')
168
169
  ListMapsRequest = Shapes::StructureShape.new(name: 'ListMapsRequest')
169
170
  ListMapsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListMapsRequestMaxResultsInteger')
@@ -229,11 +230,14 @@ module Aws::LocationService
229
230
  SearchPlaceIndexForPositionSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionSummary')
230
231
  SearchPlaceIndexForSuggestionsRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsRequest')
231
232
  SearchPlaceIndexForSuggestionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchPlaceIndexForSuggestionsRequestMaxResultsInteger')
233
+ SearchPlaceIndexForSuggestionsRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForSuggestionsRequestTextString')
232
234
  SearchPlaceIndexForSuggestionsResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsResponse')
233
235
  SearchPlaceIndexForSuggestionsSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsSummary')
234
236
  SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
237
+ SearchPlaceIndexForTextRequestTextString = Shapes::StringShape.new(name: 'SearchPlaceIndexForTextRequestTextString')
235
238
  SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
236
239
  SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
240
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
237
241
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
238
242
  Step = Shapes::StructureShape.new(name: 'Step')
239
243
  StepDistanceDouble = Shapes::FloatShape.new(name: 'StepDistanceDouble')
@@ -241,10 +245,6 @@ module Aws::LocationService
241
245
  StepGeometryOffsetInteger = Shapes::IntegerShape.new(name: 'StepGeometryOffsetInteger')
242
246
  StepList = Shapes::ListShape.new(name: 'StepList')
243
247
  String = Shapes::StringShape.new(name: 'String')
244
- SyntheticSearchPlaceIndexForSuggestionsRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsRequestString')
245
- SyntheticSearchPlaceIndexForSuggestionsSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsSummaryString')
246
- SyntheticSearchPlaceIndexForTextRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextRequestString')
247
- SyntheticSearchPlaceIndexForTextSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextSummaryString')
248
248
  TagKey = Shapes::StringShape.new(name: 'TagKey')
249
249
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
250
250
  TagMap = Shapes::MapShape.new(name: 'TagMap')
@@ -807,6 +807,7 @@ module Aws::LocationService
807
807
  ListGeofenceResponseEntryList.member = Shapes::ShapeRef.new(shape: ListGeofenceResponseEntry)
808
808
 
809
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"))
810
811
  ListGeofencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
811
812
  ListGeofencesRequest.struct_class = Types::ListGeofencesRequest
812
813
 
@@ -995,7 +996,7 @@ module Aws::LocationService
995
996
  SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
996
997
  SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
997
998
  SearchPlaceIndexForSuggestionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestMaxResultsInteger, location_name: "MaxResults"))
998
- 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"))
999
1000
  SearchPlaceIndexForSuggestionsRequest.struct_class = Types::SearchPlaceIndexForSuggestionsRequest
1000
1001
 
1001
1002
  SearchPlaceIndexForSuggestionsResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForSuggestionsResultList, required: true, location_name: "Results"))
@@ -1008,7 +1009,7 @@ module Aws::LocationService
1008
1009
  SearchPlaceIndexForSuggestionsSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
1009
1010
  SearchPlaceIndexForSuggestionsSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1010
1011
  SearchPlaceIndexForSuggestionsSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
1011
- 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"))
1012
1013
  SearchPlaceIndexForSuggestionsSummary.struct_class = Types::SearchPlaceIndexForSuggestionsSummary
1013
1014
 
1014
1015
  SearchPlaceIndexForTextRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
@@ -1017,7 +1018,7 @@ module Aws::LocationService
1017
1018
  SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
1018
1019
  SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1019
1020
  SearchPlaceIndexForTextRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1020
- 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"))
1021
1022
  SearchPlaceIndexForTextRequest.struct_class = Types::SearchPlaceIndexForTextRequest
1022
1023
 
1023
1024
  SearchPlaceIndexForTextResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForTextResultList, required: true, location_name: "Results"))
@@ -1031,7 +1032,7 @@ module Aws::LocationService
1031
1032
  SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
1032
1033
  SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
1033
1034
  SearchPlaceIndexForTextSummary.add_member(:result_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "ResultBBox"))
1034
- 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"))
1035
1036
  SearchPlaceIndexForTextSummary.struct_class = Types::SearchPlaceIndexForTextSummary
1036
1037
 
1037
1038
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -1740,6 +1741,7 @@ module Aws::LocationService
1740
1741
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1741
1742
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1742
1743
  o[:pager] = Aws::Pager.new(
1744
+ limit_key: "max_results",
1743
1745
  tokens: {
1744
1746
  "next_token" => "next_token"
1745
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
  #
@@ -3658,6 +3658,7 @@ module Aws::LocationService
3658
3658
  #
3659
3659
  # {
3660
3660
  # collection_name: "ResourceName", # required
3661
+ # max_results: 1,
3661
3662
  # next_token: "Token",
3662
3663
  # }
3663
3664
  #
@@ -3665,6 +3666,13 @@ module Aws::LocationService
3665
3666
  # The name of the geofence collection storing the list of geofences.
3666
3667
  # @return [String]
3667
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
+ #
3668
3676
  # @!attribute [rw] next_token
3669
3677
  # The pagination token specifying which page of results to return in
3670
3678
  # the response. If no token is provided, the default page is the first
@@ -3677,6 +3685,7 @@ module Aws::LocationService
3677
3685
  #
3678
3686
  class ListGeofencesRequest < Struct.new(
3679
3687
  :collection_name,
3688
+ :max_results,
3680
3689
  :next_token)
3681
3690
  SENSITIVE = []
3682
3691
  include Aws::Structure
@@ -4309,6 +4318,9 @@ module Aws::LocationService
4309
4318
  # Contains details about addresses or points of interest that match the
4310
4319
  # search criteria.
4311
4320
  #
4321
+ # Not all details are included with all responses. Some details may only
4322
+ # be returned by specific data partners.
4323
+ #
4312
4324
  # @!attribute [rw] address_number
4313
4325
  # The numerical portion of an address, such as a building number.
4314
4326
  # @return [String]
@@ -4713,10 +4725,21 @@ module Aws::LocationService
4713
4725
  # The preferred language used to return results. The value must be a
4714
4726
  # valid [BCP 47][1] language tag, for example, `en` for English.
4715
4727
  #
4716
- # This setting affects the languages used in the results. It does not
4717
- # change which results are returned. If the language is not specified,
4718
- # or not supported for a particular result, the partner automatically
4719
- # 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.
4720
4743
  #
4721
4744
  #
4722
4745
  #
@@ -4832,7 +4855,7 @@ module Aws::LocationService
4832
4855
  # index_name: "ResourceName", # required
4833
4856
  # language: "LanguageTag",
4834
4857
  # max_results: 1,
4835
- # text: "SyntheticSearchPlaceIndexForSuggestionsRequestString", # required
4858
+ # text: "SearchPlaceIndexForSuggestionsRequestTextString", # required
4836
4859
  # }
4837
4860
  #
4838
4861
  # @!attribute [rw] bias_position
@@ -4896,12 +4919,20 @@ module Aws::LocationService
4896
4919
  # The preferred language used to return results. The value must be a
4897
4920
  # valid [BCP 47][1] language tag, for example, `en` for English.
4898
4921
  #
4899
- # This setting affects the languages used in the results. It does not
4900
- # change which results are returned. If the language is not specified,
4901
- # or not supported for a particular result, the partner automatically
4902
- # 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`.
4903
4930
  #
4904
- # Used only when the partner selected is Here.
4931
+ # If you set the `language` parameter to `el`, for Greek, then the
4932
+ # result found will more likely be returned as `Αθήνα, Ελλάδα`.
4933
+ #
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.
4905
4936
  #
4906
4937
  #
4907
4938
  #
@@ -5036,7 +5067,7 @@ module Aws::LocationService
5036
5067
  # index_name: "ResourceName", # required
5037
5068
  # language: "LanguageTag",
5038
5069
  # max_results: 1,
5039
- # text: "SyntheticSearchPlaceIndexForTextRequestString", # required
5070
+ # text: "SearchPlaceIndexForTextRequestTextString", # required
5040
5071
  # }
5041
5072
  #
5042
5073
  # @!attribute [rw] bias_position
@@ -5100,10 +5131,20 @@ module Aws::LocationService
5100
5131
  # The preferred language used to return results. The value must be a
5101
5132
  # valid [BCP 47][1] language tag, for example, `en` for English.
5102
5133
  #
5103
- # This setting affects the languages used in the results. It does not
5104
- # change which results are returned. If the language is not specified,
5105
- # or not supported for a particular result, the partner automatically
5106
- # 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.
5107
5148
  #
5108
5149
  #
5109
5150
  #
@@ -5139,6 +5180,9 @@ module Aws::LocationService
5139
5180
  # @!attribute [rw] results
5140
5181
  # A list of Places matching the input text. Each result contains
5141
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.
5142
5186
  # @return [Array<Types::SearchForTextResult>]
5143
5187
  #
5144
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.21.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.21.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-03-22 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