aws-sdk-locationservice 1.10.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-locationservice/client.rb +359 -76
- data/lib/aws-sdk-locationservice/client_api.rb +89 -0
- data/lib/aws-sdk-locationservice/types.rb +609 -114
- data/lib/aws-sdk-locationservice.rb +1 -1
- metadata +4 -4
@@ -128,9 +128,11 @@ module Aws::LocationService
|
|
128
128
|
GetMapTileRequestZString = Shapes::StringShape.new(name: 'GetMapTileRequestZString')
|
129
129
|
GetMapTileResponse = Shapes::StructureShape.new(name: 'GetMapTileResponse')
|
130
130
|
Id = Shapes::StringShape.new(name: 'Id')
|
131
|
+
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
131
132
|
IntendedUse = Shapes::StringShape.new(name: 'IntendedUse')
|
132
133
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
133
134
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
135
|
+
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
134
136
|
Leg = Shapes::StructureShape.new(name: 'Leg')
|
135
137
|
LegDistanceDouble = Shapes::FloatShape.new(name: 'LegDistanceDouble')
|
136
138
|
LegDurationSecondsDouble = Shapes::FloatShape.new(name: 'LegDurationSecondsDouble')
|
@@ -185,19 +187,33 @@ module Aws::LocationService
|
|
185
187
|
PlaceIndexSearchResultLimit = Shapes::IntegerShape.new(name: 'PlaceIndexSearchResultLimit')
|
186
188
|
Position = Shapes::ListShape.new(name: 'Position')
|
187
189
|
PositionFiltering = Shapes::StringShape.new(name: 'PositionFiltering')
|
190
|
+
PositionalAccuracy = Shapes::StructureShape.new(name: 'PositionalAccuracy')
|
191
|
+
PositionalAccuracyHorizontalDouble = Shapes::FloatShape.new(name: 'PositionalAccuracyHorizontalDouble')
|
188
192
|
PricingPlan = Shapes::StringShape.new(name: 'PricingPlan')
|
193
|
+
PropertyMap = Shapes::MapShape.new(name: 'PropertyMap')
|
194
|
+
PropertyMapKeyString = Shapes::StringShape.new(name: 'PropertyMapKeyString')
|
195
|
+
PropertyMapValueString = Shapes::StringShape.new(name: 'PropertyMapValueString')
|
189
196
|
PutGeofenceRequest = Shapes::StructureShape.new(name: 'PutGeofenceRequest')
|
190
197
|
PutGeofenceResponse = Shapes::StructureShape.new(name: 'PutGeofenceResponse')
|
191
198
|
ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
|
192
199
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
193
200
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
194
201
|
SearchForPositionResult = Shapes::StructureShape.new(name: 'SearchForPositionResult')
|
202
|
+
SearchForPositionResultDistanceDouble = Shapes::FloatShape.new(name: 'SearchForPositionResultDistanceDouble')
|
195
203
|
SearchForPositionResultList = Shapes::ListShape.new(name: 'SearchForPositionResultList')
|
204
|
+
SearchForSuggestionsResult = Shapes::StructureShape.new(name: 'SearchForSuggestionsResult')
|
205
|
+
SearchForSuggestionsResultList = Shapes::ListShape.new(name: 'SearchForSuggestionsResultList')
|
196
206
|
SearchForTextResult = Shapes::StructureShape.new(name: 'SearchForTextResult')
|
207
|
+
SearchForTextResultDistanceDouble = Shapes::FloatShape.new(name: 'SearchForTextResultDistanceDouble')
|
197
208
|
SearchForTextResultList = Shapes::ListShape.new(name: 'SearchForTextResultList')
|
209
|
+
SearchForTextResultRelevanceDouble = Shapes::FloatShape.new(name: 'SearchForTextResultRelevanceDouble')
|
198
210
|
SearchPlaceIndexForPositionRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionRequest')
|
199
211
|
SearchPlaceIndexForPositionResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionResponse')
|
200
212
|
SearchPlaceIndexForPositionSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForPositionSummary')
|
213
|
+
SearchPlaceIndexForSuggestionsRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsRequest')
|
214
|
+
SearchPlaceIndexForSuggestionsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'SearchPlaceIndexForSuggestionsRequestMaxResultsInteger')
|
215
|
+
SearchPlaceIndexForSuggestionsResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsResponse')
|
216
|
+
SearchPlaceIndexForSuggestionsSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForSuggestionsSummary')
|
201
217
|
SearchPlaceIndexForTextRequest = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextRequest')
|
202
218
|
SearchPlaceIndexForTextResponse = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextResponse')
|
203
219
|
SearchPlaceIndexForTextSummary = Shapes::StructureShape.new(name: 'SearchPlaceIndexForTextSummary')
|
@@ -208,6 +224,8 @@ module Aws::LocationService
|
|
208
224
|
StepGeometryOffsetInteger = Shapes::IntegerShape.new(name: 'StepGeometryOffsetInteger')
|
209
225
|
StepList = Shapes::ListShape.new(name: 'StepList')
|
210
226
|
String = Shapes::StringShape.new(name: 'String')
|
227
|
+
SyntheticSearchPlaceIndexForSuggestionsRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsRequestString')
|
228
|
+
SyntheticSearchPlaceIndexForSuggestionsSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForSuggestionsSummaryString')
|
211
229
|
SyntheticSearchPlaceIndexForTextRequestString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextRequestString')
|
212
230
|
SyntheticSearchPlaceIndexForTextSummaryString = Shapes::StringShape.new(name: 'SyntheticSearchPlaceIndexForTextSummaryString')
|
213
231
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -217,6 +235,7 @@ module Aws::LocationService
|
|
217
235
|
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
218
236
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
219
237
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
238
|
+
TimeZone = Shapes::StructureShape.new(name: 'TimeZone')
|
220
239
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
221
240
|
Token = Shapes::StringShape.new(name: 'Token')
|
222
241
|
TravelMode = Shapes::StringShape.new(name: 'TravelMode')
|
@@ -569,16 +588,20 @@ module Aws::LocationService
|
|
569
588
|
DescribeTrackerResponse.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
570
589
|
DescribeTrackerResponse.struct_class = Types::DescribeTrackerResponse
|
571
590
|
|
591
|
+
DevicePosition.add_member(:accuracy, Shapes::ShapeRef.new(shape: PositionalAccuracy, location_name: "Accuracy"))
|
572
592
|
DevicePosition.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeviceId"))
|
573
593
|
DevicePosition.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
594
|
+
DevicePosition.add_member(:position_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "PositionProperties"))
|
574
595
|
DevicePosition.add_member(:received_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ReceivedTime"))
|
575
596
|
DevicePosition.add_member(:sample_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SampleTime"))
|
576
597
|
DevicePosition.struct_class = Types::DevicePosition
|
577
598
|
|
578
599
|
DevicePositionList.member = Shapes::ShapeRef.new(shape: DevicePosition)
|
579
600
|
|
601
|
+
DevicePositionUpdate.add_member(:accuracy, Shapes::ShapeRef.new(shape: PositionalAccuracy, location_name: "Accuracy"))
|
580
602
|
DevicePositionUpdate.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId"))
|
581
603
|
DevicePositionUpdate.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
604
|
+
DevicePositionUpdate.add_member(:position_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "PositionProperties"))
|
582
605
|
DevicePositionUpdate.add_member(:sample_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SampleTime"))
|
583
606
|
DevicePositionUpdate.struct_class = Types::DevicePositionUpdate
|
584
607
|
|
@@ -606,8 +629,10 @@ module Aws::LocationService
|
|
606
629
|
GetDevicePositionRequest.add_member(:tracker_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "TrackerName"))
|
607
630
|
GetDevicePositionRequest.struct_class = Types::GetDevicePositionRequest
|
608
631
|
|
632
|
+
GetDevicePositionResponse.add_member(:accuracy, Shapes::ShapeRef.new(shape: PositionalAccuracy, location_name: "Accuracy"))
|
609
633
|
GetDevicePositionResponse.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeviceId"))
|
610
634
|
GetDevicePositionResponse.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
635
|
+
GetDevicePositionResponse.add_member(:position_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "PositionProperties"))
|
611
636
|
GetDevicePositionResponse.add_member(:received_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ReceivedTime"))
|
612
637
|
GetDevicePositionResponse.add_member(:sample_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SampleTime"))
|
613
638
|
GetDevicePositionResponse.struct_class = Types::GetDevicePositionResponse
|
@@ -696,8 +721,10 @@ module Aws::LocationService
|
|
696
721
|
ListDevicePositionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "NextToken"))
|
697
722
|
ListDevicePositionsResponse.struct_class = Types::ListDevicePositionsResponse
|
698
723
|
|
724
|
+
ListDevicePositionsResponseEntry.add_member(:accuracy, Shapes::ShapeRef.new(shape: PositionalAccuracy, location_name: "Accuracy"))
|
699
725
|
ListDevicePositionsResponseEntry.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId"))
|
700
726
|
ListDevicePositionsResponseEntry.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
727
|
+
ListDevicePositionsResponseEntry.add_member(:position_properties, Shapes::ShapeRef.new(shape: PropertyMap, location_name: "PositionProperties"))
|
701
728
|
ListDevicePositionsResponseEntry.add_member(:sample_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "SampleTime"))
|
702
729
|
ListDevicePositionsResponseEntry.struct_class = Types::ListDevicePositionsResponseEntry
|
703
730
|
|
@@ -831,6 +858,7 @@ module Aws::LocationService
|
|
831
858
|
Place.add_member(:address_number, Shapes::ShapeRef.new(shape: String, location_name: "AddressNumber"))
|
832
859
|
Place.add_member(:country, Shapes::ShapeRef.new(shape: String, location_name: "Country"))
|
833
860
|
Place.add_member(:geometry, Shapes::ShapeRef.new(shape: PlaceGeometry, required: true, location_name: "Geometry"))
|
861
|
+
Place.add_member(:interpolated, Shapes::ShapeRef.new(shape: Boolean, location_name: "Interpolated"))
|
834
862
|
Place.add_member(:label, Shapes::ShapeRef.new(shape: String, location_name: "Label"))
|
835
863
|
Place.add_member(:municipality, Shapes::ShapeRef.new(shape: String, location_name: "Municipality"))
|
836
864
|
Place.add_member(:neighborhood, Shapes::ShapeRef.new(shape: String, location_name: "Neighborhood"))
|
@@ -838,6 +866,7 @@ module Aws::LocationService
|
|
838
866
|
Place.add_member(:region, Shapes::ShapeRef.new(shape: String, location_name: "Region"))
|
839
867
|
Place.add_member(:street, Shapes::ShapeRef.new(shape: String, location_name: "Street"))
|
840
868
|
Place.add_member(:sub_region, Shapes::ShapeRef.new(shape: String, location_name: "SubRegion"))
|
869
|
+
Place.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
841
870
|
Place.struct_class = Types::Place
|
842
871
|
|
843
872
|
PlaceGeometry.add_member(:point, Shapes::ShapeRef.new(shape: Position, location_name: "Point"))
|
@@ -845,6 +874,12 @@ module Aws::LocationService
|
|
845
874
|
|
846
875
|
Position.member = Shapes::ShapeRef.new(shape: Double)
|
847
876
|
|
877
|
+
PositionalAccuracy.add_member(:horizontal, Shapes::ShapeRef.new(shape: PositionalAccuracyHorizontalDouble, required: true, location_name: "Horizontal"))
|
878
|
+
PositionalAccuracy.struct_class = Types::PositionalAccuracy
|
879
|
+
|
880
|
+
PropertyMap.key = Shapes::ShapeRef.new(shape: PropertyMapKeyString)
|
881
|
+
PropertyMap.value = Shapes::ShapeRef.new(shape: PropertyMapValueString)
|
882
|
+
|
848
883
|
PutGeofenceRequest.add_member(:collection_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "CollectionName"))
|
849
884
|
PutGeofenceRequest.add_member(:geofence_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "GeofenceId"))
|
850
885
|
PutGeofenceRequest.add_member(:geometry, Shapes::ShapeRef.new(shape: GeofenceGeometry, required: true, location_name: "Geometry"))
|
@@ -858,17 +893,26 @@ module Aws::LocationService
|
|
858
893
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
859
894
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
860
895
|
|
896
|
+
SearchForPositionResult.add_member(:distance, Shapes::ShapeRef.new(shape: SearchForPositionResultDistanceDouble, required: true, location_name: "Distance"))
|
861
897
|
SearchForPositionResult.add_member(:place, Shapes::ShapeRef.new(shape: Place, required: true, location_name: "Place"))
|
862
898
|
SearchForPositionResult.struct_class = Types::SearchForPositionResult
|
863
899
|
|
864
900
|
SearchForPositionResultList.member = Shapes::ShapeRef.new(shape: SearchForPositionResult)
|
865
901
|
|
902
|
+
SearchForSuggestionsResult.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Text"))
|
903
|
+
SearchForSuggestionsResult.struct_class = Types::SearchForSuggestionsResult
|
904
|
+
|
905
|
+
SearchForSuggestionsResultList.member = Shapes::ShapeRef.new(shape: SearchForSuggestionsResult)
|
906
|
+
|
907
|
+
SearchForTextResult.add_member(:distance, Shapes::ShapeRef.new(shape: SearchForTextResultDistanceDouble, location_name: "Distance"))
|
866
908
|
SearchForTextResult.add_member(:place, Shapes::ShapeRef.new(shape: Place, required: true, location_name: "Place"))
|
909
|
+
SearchForTextResult.add_member(:relevance, Shapes::ShapeRef.new(shape: SearchForTextResultRelevanceDouble, location_name: "Relevance"))
|
867
910
|
SearchForTextResult.struct_class = Types::SearchForTextResult
|
868
911
|
|
869
912
|
SearchForTextResultList.member = Shapes::ShapeRef.new(shape: SearchForTextResult)
|
870
913
|
|
871
914
|
SearchPlaceIndexForPositionRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
915
|
+
SearchPlaceIndexForPositionRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
872
916
|
SearchPlaceIndexForPositionRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
873
917
|
SearchPlaceIndexForPositionRequest.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
874
918
|
SearchPlaceIndexForPositionRequest.struct_class = Types::SearchPlaceIndexForPositionRequest
|
@@ -878,14 +922,38 @@ module Aws::LocationService
|
|
878
922
|
SearchPlaceIndexForPositionResponse.struct_class = Types::SearchPlaceIndexForPositionResponse
|
879
923
|
|
880
924
|
SearchPlaceIndexForPositionSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
925
|
+
SearchPlaceIndexForPositionSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
881
926
|
SearchPlaceIndexForPositionSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
882
927
|
SearchPlaceIndexForPositionSummary.add_member(:position, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "Position"))
|
883
928
|
SearchPlaceIndexForPositionSummary.struct_class = Types::SearchPlaceIndexForPositionSummary
|
884
929
|
|
930
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
|
931
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
932
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
933
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
934
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
935
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequestMaxResultsInteger, location_name: "MaxResults"))
|
936
|
+
SearchPlaceIndexForSuggestionsRequest.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForSuggestionsRequestString, required: true, location_name: "Text"))
|
937
|
+
SearchPlaceIndexForSuggestionsRequest.struct_class = Types::SearchPlaceIndexForSuggestionsRequest
|
938
|
+
|
939
|
+
SearchPlaceIndexForSuggestionsResponse.add_member(:results, Shapes::ShapeRef.new(shape: SearchForSuggestionsResultList, required: true, location_name: "Results"))
|
940
|
+
SearchPlaceIndexForSuggestionsResponse.add_member(:summary, Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsSummary, required: true, location_name: "Summary"))
|
941
|
+
SearchPlaceIndexForSuggestionsResponse.struct_class = Types::SearchPlaceIndexForSuggestionsResponse
|
942
|
+
|
943
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
|
944
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
945
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
946
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
947
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
948
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "MaxResults"))
|
949
|
+
SearchPlaceIndexForSuggestionsSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForSuggestionsSummaryString, required: true, location_name: "Text"))
|
950
|
+
SearchPlaceIndexForSuggestionsSummary.struct_class = Types::SearchPlaceIndexForSuggestionsSummary
|
951
|
+
|
885
952
|
SearchPlaceIndexForTextRequest.add_member(:bias_position, Shapes::ShapeRef.new(shape: Position, location_name: "BiasPosition"))
|
886
953
|
SearchPlaceIndexForTextRequest.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
887
954
|
SearchPlaceIndexForTextRequest.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
888
955
|
SearchPlaceIndexForTextRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "IndexName"))
|
956
|
+
SearchPlaceIndexForTextRequest.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
889
957
|
SearchPlaceIndexForTextRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
890
958
|
SearchPlaceIndexForTextRequest.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextRequestString, required: true, location_name: "Text"))
|
891
959
|
SearchPlaceIndexForTextRequest.struct_class = Types::SearchPlaceIndexForTextRequest
|
@@ -898,6 +966,7 @@ module Aws::LocationService
|
|
898
966
|
SearchPlaceIndexForTextSummary.add_member(:data_source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DataSource"))
|
899
967
|
SearchPlaceIndexForTextSummary.add_member(:filter_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "FilterBBox"))
|
900
968
|
SearchPlaceIndexForTextSummary.add_member(:filter_countries, Shapes::ShapeRef.new(shape: CountryCodeList, location_name: "FilterCountries"))
|
969
|
+
SearchPlaceIndexForTextSummary.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
901
970
|
SearchPlaceIndexForTextSummary.add_member(:max_results, Shapes::ShapeRef.new(shape: PlaceIndexSearchResultLimit, location_name: "MaxResults"))
|
902
971
|
SearchPlaceIndexForTextSummary.add_member(:result_b_box, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "ResultBBox"))
|
903
972
|
SearchPlaceIndexForTextSummary.add_member(:text, Shapes::ShapeRef.new(shape: SyntheticSearchPlaceIndexForTextSummaryString, required: true, location_name: "Text"))
|
@@ -929,6 +998,10 @@ module Aws::LocationService
|
|
929
998
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
930
999
|
ThrottlingException.struct_class = Types::ThrottlingException
|
931
1000
|
|
1001
|
+
TimeZone.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
|
1002
|
+
TimeZone.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, location_name: "Offset"))
|
1003
|
+
TimeZone.struct_class = Types::TimeZone
|
1004
|
+
|
932
1005
|
TruckDimensions.add_member(:height, Shapes::ShapeRef.new(shape: TruckDimensionsHeightDouble, location_name: "Height"))
|
933
1006
|
TruckDimensions.add_member(:length, Shapes::ShapeRef.new(shape: TruckDimensionsLengthDouble, location_name: "Length"))
|
934
1007
|
TruckDimensions.add_member(:unit, Shapes::ShapeRef.new(shape: DimensionUnit, location_name: "Unit"))
|
@@ -1749,6 +1822,22 @@ module Aws::LocationService
|
|
1749
1822
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1750
1823
|
end)
|
1751
1824
|
|
1825
|
+
api.add_operation(:search_place_index_for_suggestions, Seahorse::Model::Operation.new.tap do |o|
|
1826
|
+
o.name = "SearchPlaceIndexForSuggestions"
|
1827
|
+
o.http_method = "POST"
|
1828
|
+
o.http_request_uri = "/places/v0/indexes/{IndexName}/search/suggestions"
|
1829
|
+
o.endpoint_pattern = {
|
1830
|
+
"hostPrefix" => "places.",
|
1831
|
+
}
|
1832
|
+
o.input = Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsRequest)
|
1833
|
+
o.output = Shapes::ShapeRef.new(shape: SearchPlaceIndexForSuggestionsResponse)
|
1834
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1835
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1836
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1837
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1838
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1839
|
+
end)
|
1840
|
+
|
1752
1841
|
api.add_operation(:search_place_index_for_text, Seahorse::Model::Operation.new.tap do |o|
|
1753
1842
|
o.name = "SearchPlaceIndexForText"
|
1754
1843
|
o.http_method = "POST"
|