aws-sdk-geoplaces 1.7.0 → 1.8.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-geoplaces/client.rb +512 -39
- data/lib/aws-sdk-geoplaces/client_api.rb +118 -13
- data/lib/aws-sdk-geoplaces/endpoint_provider.rb +4 -4
- data/lib/aws-sdk-geoplaces/types.rb +569 -89
- data/lib/aws-sdk-geoplaces.rb +1 -1
- data/sig/client.rbs +6 -4
- data/sig/types.rbs +127 -46
- metadata +1 -1
@@ -50,7 +50,6 @@ module Aws::GeoPlaces
|
|
50
50
|
AutocompleteResultItemList = Shapes::ListShape.new(name: 'AutocompleteResultItemList')
|
51
51
|
AutocompleteResultItemPlaceIdString = Shapes::StringShape.new(name: 'AutocompleteResultItemPlaceIdString')
|
52
52
|
AutocompleteResultItemTitleString = Shapes::StringShape.new(name: 'AutocompleteResultItemTitleString')
|
53
|
-
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
54
53
|
BoundingBox = Shapes::ListShape.new(name: 'BoundingBox')
|
55
54
|
BusinessChain = Shapes::StructureShape.new(name: 'BusinessChain')
|
56
55
|
BusinessChainIdString = Shapes::StringShape.new(name: 'BusinessChainIdString')
|
@@ -94,6 +93,8 @@ module Aws::GeoPlaces
|
|
94
93
|
GeocodeFilterPlaceType = Shapes::StringShape.new(name: 'GeocodeFilterPlaceType')
|
95
94
|
GeocodeFilterPlaceTypeList = Shapes::ListShape.new(name: 'GeocodeFilterPlaceTypeList')
|
96
95
|
GeocodeIntendedUse = Shapes::StringShape.new(name: 'GeocodeIntendedUse')
|
96
|
+
GeocodeParsedQuery = Shapes::StructureShape.new(name: 'GeocodeParsedQuery')
|
97
|
+
GeocodeParsedQueryAddressComponents = Shapes::StructureShape.new(name: 'GeocodeParsedQueryAddressComponents')
|
97
98
|
GeocodeQueryComponents = Shapes::StructureShape.new(name: 'GeocodeQueryComponents')
|
98
99
|
GeocodeQueryComponentsAddressNumberString = Shapes::StringShape.new(name: 'GeocodeQueryComponentsAddressNumberString')
|
99
100
|
GeocodeQueryComponentsCountryString = Shapes::StringShape.new(name: 'GeocodeQueryComponentsCountryString')
|
@@ -125,9 +126,13 @@ module Aws::GeoPlaces
|
|
125
126
|
HighlightStartIndexInteger = Shapes::IntegerShape.new(name: 'HighlightStartIndexInteger')
|
126
127
|
HighlightValueString = Shapes::StringShape.new(name: 'HighlightValueString')
|
127
128
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
129
|
+
Intersection = Shapes::StructureShape.new(name: 'Intersection')
|
128
130
|
IntersectionHighlightsList = Shapes::ListShape.new(name: 'IntersectionHighlightsList')
|
129
131
|
IntersectionList = Shapes::ListShape.new(name: 'IntersectionList')
|
132
|
+
IntersectionPlaceIdString = Shapes::StringShape.new(name: 'IntersectionPlaceIdString')
|
130
133
|
IntersectionStreet = Shapes::StringShape.new(name: 'IntersectionStreet')
|
134
|
+
IntersectionStreetList = Shapes::ListShape.new(name: 'IntersectionStreetList')
|
135
|
+
IntersectionTitleString = Shapes::StringShape.new(name: 'IntersectionTitleString')
|
131
136
|
LanguageTag = Shapes::StringShape.new(name: 'LanguageTag')
|
132
137
|
MatchScore = Shapes::FloatShape.new(name: 'MatchScore')
|
133
138
|
MatchScoreDetails = Shapes::StructureShape.new(name: 'MatchScoreDetails')
|
@@ -140,6 +145,19 @@ module Aws::GeoPlaces
|
|
140
145
|
OpeningHoursDisplay = Shapes::StringShape.new(name: 'OpeningHoursDisplay')
|
141
146
|
OpeningHoursDisplayList = Shapes::ListShape.new(name: 'OpeningHoursDisplayList')
|
142
147
|
OpeningHoursList = Shapes::ListShape.new(name: 'OpeningHoursList')
|
148
|
+
ParsedQueryComponent = Shapes::StructureShape.new(name: 'ParsedQueryComponent')
|
149
|
+
ParsedQueryComponentEndIndexInteger = Shapes::IntegerShape.new(name: 'ParsedQueryComponentEndIndexInteger')
|
150
|
+
ParsedQueryComponentList = Shapes::ListShape.new(name: 'ParsedQueryComponentList')
|
151
|
+
ParsedQueryComponentQueryComponentString = Shapes::StringShape.new(name: 'ParsedQueryComponentQueryComponentString')
|
152
|
+
ParsedQueryComponentStartIndexInteger = Shapes::IntegerShape.new(name: 'ParsedQueryComponentStartIndexInteger')
|
153
|
+
ParsedQueryComponentValueString = Shapes::StringShape.new(name: 'ParsedQueryComponentValueString')
|
154
|
+
ParsedQuerySecondaryAddressComponent = Shapes::StructureShape.new(name: 'ParsedQuerySecondaryAddressComponent')
|
155
|
+
ParsedQuerySecondaryAddressComponentDesignatorString = Shapes::StringShape.new(name: 'ParsedQuerySecondaryAddressComponentDesignatorString')
|
156
|
+
ParsedQuerySecondaryAddressComponentEndIndexInteger = Shapes::IntegerShape.new(name: 'ParsedQuerySecondaryAddressComponentEndIndexInteger')
|
157
|
+
ParsedQuerySecondaryAddressComponentList = Shapes::ListShape.new(name: 'ParsedQuerySecondaryAddressComponentList')
|
158
|
+
ParsedQuerySecondaryAddressComponentNumberString = Shapes::StringShape.new(name: 'ParsedQuerySecondaryAddressComponentNumberString')
|
159
|
+
ParsedQuerySecondaryAddressComponentStartIndexInteger = Shapes::IntegerShape.new(name: 'ParsedQuerySecondaryAddressComponentStartIndexInteger')
|
160
|
+
ParsedQuerySecondaryAddressComponentValueString = Shapes::StringShape.new(name: 'ParsedQuerySecondaryAddressComponentValueString')
|
143
161
|
PhonemeDetails = Shapes::StructureShape.new(name: 'PhonemeDetails')
|
144
162
|
PhonemeTranscription = Shapes::StructureShape.new(name: 'PhonemeTranscription')
|
145
163
|
PhonemeTranscriptionList = Shapes::ListShape.new(name: 'PhonemeTranscriptionList')
|
@@ -164,6 +182,10 @@ module Aws::GeoPlaces
|
|
164
182
|
RegionCodeString = Shapes::StringShape.new(name: 'RegionCodeString')
|
165
183
|
RegionHighlights = Shapes::StructureShape.new(name: 'RegionHighlights')
|
166
184
|
RegionNameString = Shapes::StringShape.new(name: 'RegionNameString')
|
185
|
+
RelatedPlace = Shapes::StructureShape.new(name: 'RelatedPlace')
|
186
|
+
RelatedPlaceList = Shapes::ListShape.new(name: 'RelatedPlaceList')
|
187
|
+
RelatedPlacePlaceIdString = Shapes::StringShape.new(name: 'RelatedPlacePlaceIdString')
|
188
|
+
RelatedPlaceTitleString = Shapes::StringShape.new(name: 'RelatedPlaceTitleString')
|
167
189
|
ReverseGeocodeAdditionalFeature = Shapes::StringShape.new(name: 'ReverseGeocodeAdditionalFeature')
|
168
190
|
ReverseGeocodeAdditionalFeatureList = Shapes::ListShape.new(name: 'ReverseGeocodeAdditionalFeatureList')
|
169
191
|
ReverseGeocodeFilter = Shapes::StructureShape.new(name: 'ReverseGeocodeFilter')
|
@@ -203,6 +225,12 @@ module Aws::GeoPlaces
|
|
203
225
|
SearchTextResultItemList = Shapes::ListShape.new(name: 'SearchTextResultItemList')
|
204
226
|
SearchTextResultItemPlaceIdString = Shapes::StringShape.new(name: 'SearchTextResultItemPlaceIdString')
|
205
227
|
SearchTextResultItemTitleString = Shapes::StringShape.new(name: 'SearchTextResultItemTitleString')
|
228
|
+
SecondaryAddressComponent = Shapes::StructureShape.new(name: 'SecondaryAddressComponent')
|
229
|
+
SecondaryAddressComponentList = Shapes::ListShape.new(name: 'SecondaryAddressComponentList')
|
230
|
+
SecondaryAddressComponentMatchScore = Shapes::StructureShape.new(name: 'SecondaryAddressComponentMatchScore')
|
231
|
+
SecondaryAddressComponentMatchScoreList = Shapes::ListShape.new(name: 'SecondaryAddressComponentMatchScoreList')
|
232
|
+
SecondaryAddressComponentNumberString = Shapes::StringShape.new(name: 'SecondaryAddressComponentNumberString')
|
233
|
+
SensitiveBoolean = Shapes::BooleanShape.new(name: 'SensitiveBoolean')
|
206
234
|
StreetComponents = Shapes::StructureShape.new(name: 'StreetComponents')
|
207
235
|
StreetComponentsBaseNameString = Shapes::StringShape.new(name: 'StreetComponentsBaseNameString')
|
208
236
|
StreetComponentsDirectionString = Shapes::StringShape.new(name: 'StreetComponentsDirectionString')
|
@@ -258,7 +286,7 @@ module Aws::GeoPlaces
|
|
258
286
|
|
259
287
|
AccessPointList.member = Shapes::ShapeRef.new(shape: AccessPoint)
|
260
288
|
|
261
|
-
AccessRestriction.add_member(:restricted, Shapes::ShapeRef.new(shape:
|
289
|
+
AccessRestriction.add_member(:restricted, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "Restricted"))
|
262
290
|
AccessRestriction.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "Categories"))
|
263
291
|
AccessRestriction.struct_class = Types::AccessRestriction
|
264
292
|
|
@@ -274,11 +302,12 @@ module Aws::GeoPlaces
|
|
274
302
|
Address.add_member(:postal_code, Shapes::ShapeRef.new(shape: AddressPostalCodeString, location_name: "PostalCode"))
|
275
303
|
Address.add_member(:block, Shapes::ShapeRef.new(shape: AddressBlockString, location_name: "Block"))
|
276
304
|
Address.add_member(:sub_block, Shapes::ShapeRef.new(shape: AddressSubBlockString, location_name: "SubBlock"))
|
277
|
-
Address.add_member(:intersection, Shapes::ShapeRef.new(shape:
|
305
|
+
Address.add_member(:intersection, Shapes::ShapeRef.new(shape: IntersectionStreetList, location_name: "Intersection"))
|
278
306
|
Address.add_member(:street, Shapes::ShapeRef.new(shape: AddressStreetString, location_name: "Street"))
|
279
307
|
Address.add_member(:street_components, Shapes::ShapeRef.new(shape: StreetComponentsList, location_name: "StreetComponents"))
|
280
308
|
Address.add_member(:address_number, Shapes::ShapeRef.new(shape: AddressAddressNumberString, location_name: "AddressNumber"))
|
281
309
|
Address.add_member(:building, Shapes::ShapeRef.new(shape: AddressBuildingString, location_name: "Building"))
|
310
|
+
Address.add_member(:secondary_address_components, Shapes::ShapeRef.new(shape: SecondaryAddressComponentList, location_name: "SecondaryAddressComponents"))
|
282
311
|
Address.struct_class = Types::Address
|
283
312
|
|
284
313
|
AddressComponentMatchScores.add_member(:country, Shapes::ShapeRef.new(shape: MatchScore, location_name: "Country"))
|
@@ -293,6 +322,7 @@ module Aws::GeoPlaces
|
|
293
322
|
AddressComponentMatchScores.add_member(:intersection, Shapes::ShapeRef.new(shape: AddressComponentMatchScoresIntersectionList, location_name: "Intersection"))
|
294
323
|
AddressComponentMatchScores.add_member(:address_number, Shapes::ShapeRef.new(shape: MatchScore, location_name: "AddressNumber"))
|
295
324
|
AddressComponentMatchScores.add_member(:building, Shapes::ShapeRef.new(shape: MatchScore, location_name: "Building"))
|
325
|
+
AddressComponentMatchScores.add_member(:secondary_address_components, Shapes::ShapeRef.new(shape: SecondaryAddressComponentMatchScoreList, location_name: "SecondaryAddressComponents"))
|
296
326
|
AddressComponentMatchScores.struct_class = Types::AddressComponentMatchScores
|
297
327
|
|
298
328
|
AddressComponentMatchScoresIntersectionList.member = Shapes::ShapeRef.new(shape: MatchScore)
|
@@ -377,7 +407,7 @@ module Aws::GeoPlaces
|
|
377
407
|
Category.add_member(:id, Shapes::ShapeRef.new(shape: CategoryIdString, required: true, location_name: "Id"))
|
378
408
|
Category.add_member(:name, Shapes::ShapeRef.new(shape: CategoryNameString, required: true, location_name: "Name"))
|
379
409
|
Category.add_member(:localized_name, Shapes::ShapeRef.new(shape: CategoryLocalizedNameString, location_name: "LocalizedName"))
|
380
|
-
Category.add_member(:primary, Shapes::ShapeRef.new(shape:
|
410
|
+
Category.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "Primary"))
|
381
411
|
Category.struct_class = Types::Category
|
382
412
|
|
383
413
|
CategoryList.member = Shapes::ShapeRef.new(shape: Category)
|
@@ -422,7 +452,7 @@ module Aws::GeoPlaces
|
|
422
452
|
|
423
453
|
FoodType.add_member(:localized_name, Shapes::ShapeRef.new(shape: FoodTypeLocalizedNameString, required: true, location_name: "LocalizedName"))
|
424
454
|
FoodType.add_member(:id, Shapes::ShapeRef.new(shape: FoodTypeIdString, location_name: "Id"))
|
425
|
-
FoodType.add_member(:primary, Shapes::ShapeRef.new(shape:
|
455
|
+
FoodType.add_member(:primary, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "Primary"))
|
426
456
|
FoodType.struct_class = Types::FoodType
|
427
457
|
|
428
458
|
FoodTypeList.member = Shapes::ShapeRef.new(shape: FoodType)
|
@@ -435,6 +465,25 @@ module Aws::GeoPlaces
|
|
435
465
|
|
436
466
|
GeocodeFilterPlaceTypeList.member = Shapes::ShapeRef.new(shape: GeocodeFilterPlaceType)
|
437
467
|
|
468
|
+
GeocodeParsedQuery.add_member(:title, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Title"))
|
469
|
+
GeocodeParsedQuery.add_member(:address, Shapes::ShapeRef.new(shape: GeocodeParsedQueryAddressComponents, location_name: "Address"))
|
470
|
+
GeocodeParsedQuery.struct_class = Types::GeocodeParsedQuery
|
471
|
+
|
472
|
+
GeocodeParsedQueryAddressComponents.add_member(:country, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Country"))
|
473
|
+
GeocodeParsedQueryAddressComponents.add_member(:region, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Region"))
|
474
|
+
GeocodeParsedQueryAddressComponents.add_member(:sub_region, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "SubRegion"))
|
475
|
+
GeocodeParsedQueryAddressComponents.add_member(:locality, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Locality"))
|
476
|
+
GeocodeParsedQueryAddressComponents.add_member(:district, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "District"))
|
477
|
+
GeocodeParsedQueryAddressComponents.add_member(:sub_district, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "SubDistrict"))
|
478
|
+
GeocodeParsedQueryAddressComponents.add_member(:postal_code, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "PostalCode"))
|
479
|
+
GeocodeParsedQueryAddressComponents.add_member(:block, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Block"))
|
480
|
+
GeocodeParsedQueryAddressComponents.add_member(:sub_block, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "SubBlock"))
|
481
|
+
GeocodeParsedQueryAddressComponents.add_member(:street, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Street"))
|
482
|
+
GeocodeParsedQueryAddressComponents.add_member(:address_number, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "AddressNumber"))
|
483
|
+
GeocodeParsedQueryAddressComponents.add_member(:building, Shapes::ShapeRef.new(shape: ParsedQueryComponentList, location_name: "Building"))
|
484
|
+
GeocodeParsedQueryAddressComponents.add_member(:secondary_address_components, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentList, location_name: "SecondaryAddressComponents"))
|
485
|
+
GeocodeParsedQueryAddressComponents.struct_class = Types::GeocodeParsedQueryAddressComponents
|
486
|
+
|
438
487
|
GeocodeQueryComponents.add_member(:country, Shapes::ShapeRef.new(shape: GeocodeQueryComponentsCountryString, location_name: "Country"))
|
439
488
|
GeocodeQueryComponents.add_member(:region, Shapes::ShapeRef.new(shape: GeocodeQueryComponentsRegionString, location_name: "Region"))
|
440
489
|
GeocodeQueryComponents.add_member(:sub_region, Shapes::ShapeRef.new(shape: GeocodeQueryComponentsSubRegionString, location_name: "SubRegion"))
|
@@ -465,7 +514,7 @@ module Aws::GeoPlaces
|
|
465
514
|
GeocodeResultItem.add_member(:place_type, Shapes::ShapeRef.new(shape: PlaceType, required: true, location_name: "PlaceType"))
|
466
515
|
GeocodeResultItem.add_member(:title, Shapes::ShapeRef.new(shape: GeocodeResultItemTitleString, required: true, location_name: "Title"))
|
467
516
|
GeocodeResultItem.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
468
|
-
GeocodeResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape:
|
517
|
+
GeocodeResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AddressNumberCorrected"))
|
469
518
|
GeocodeResultItem.add_member(:postal_code_details, Shapes::ShapeRef.new(shape: PostalCodeDetailsList, location_name: "PostalCodeDetails"))
|
470
519
|
GeocodeResultItem.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
471
520
|
GeocodeResultItem.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "Distance"))
|
@@ -476,6 +525,10 @@ module Aws::GeoPlaces
|
|
476
525
|
GeocodeResultItem.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
477
526
|
GeocodeResultItem.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode3, location_name: "PoliticalView"))
|
478
527
|
GeocodeResultItem.add_member(:match_scores, Shapes::ShapeRef.new(shape: MatchScoreDetails, location_name: "MatchScores"))
|
528
|
+
GeocodeResultItem.add_member(:parsed_query, Shapes::ShapeRef.new(shape: GeocodeParsedQuery, location_name: "ParsedQuery"))
|
529
|
+
GeocodeResultItem.add_member(:intersections, Shapes::ShapeRef.new(shape: IntersectionList, location_name: "Intersections"))
|
530
|
+
GeocodeResultItem.add_member(:main_address, Shapes::ShapeRef.new(shape: RelatedPlace, location_name: "MainAddress"))
|
531
|
+
GeocodeResultItem.add_member(:secondary_addresses, Shapes::ShapeRef.new(shape: RelatedPlaceList, location_name: "SecondaryAddresses"))
|
479
532
|
GeocodeResultItem.struct_class = Types::GeocodeResultItem
|
480
533
|
|
481
534
|
GeocodeResultItemList.member = Shapes::ShapeRef.new(shape: GeocodeResultItem)
|
@@ -495,7 +548,7 @@ module Aws::GeoPlaces
|
|
495
548
|
GetPlaceResponse.add_member(:title, Shapes::ShapeRef.new(shape: GetPlaceResponseTitleString, required: true, location_name: "Title"))
|
496
549
|
GetPlaceResponse.add_member(:pricing_bucket, Shapes::ShapeRef.new(shape: String, required: true, location: "header", location_name: "x-amz-geo-pricing-bucket"))
|
497
550
|
GetPlaceResponse.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
498
|
-
GetPlaceResponse.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape:
|
551
|
+
GetPlaceResponse.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AddressNumberCorrected"))
|
499
552
|
GetPlaceResponse.add_member(:postal_code_details, Shapes::ShapeRef.new(shape: PostalCodeDetailsList, location_name: "PostalCodeDetails"))
|
500
553
|
GetPlaceResponse.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
501
554
|
GetPlaceResponse.add_member(:map_view, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "MapView"))
|
@@ -509,6 +562,8 @@ module Aws::GeoPlaces
|
|
509
562
|
GetPlaceResponse.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
510
563
|
GetPlaceResponse.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode3, location_name: "PoliticalView"))
|
511
564
|
GetPlaceResponse.add_member(:phonemes, Shapes::ShapeRef.new(shape: PhonemeDetails, location_name: "Phonemes"))
|
565
|
+
GetPlaceResponse.add_member(:main_address, Shapes::ShapeRef.new(shape: RelatedPlace, location_name: "MainAddress"))
|
566
|
+
GetPlaceResponse.add_member(:secondary_addresses, Shapes::ShapeRef.new(shape: RelatedPlaceList, location_name: "SecondaryAddresses"))
|
512
567
|
GetPlaceResponse.struct_class = Types::GetPlaceResponse
|
513
568
|
|
514
569
|
Highlight.add_member(:start_index, Shapes::ShapeRef.new(shape: HighlightStartIndexInteger, location_name: "StartIndex"))
|
@@ -521,16 +576,28 @@ module Aws::GeoPlaces
|
|
521
576
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
522
577
|
InternalServerException.struct_class = Types::InternalServerException
|
523
578
|
|
579
|
+
Intersection.add_member(:place_id, Shapes::ShapeRef.new(shape: IntersectionPlaceIdString, required: true, location_name: "PlaceId"))
|
580
|
+
Intersection.add_member(:title, Shapes::ShapeRef.new(shape: IntersectionTitleString, required: true, location_name: "Title"))
|
581
|
+
Intersection.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
582
|
+
Intersection.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
583
|
+
Intersection.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "Distance", metadata: {"box" => true}))
|
584
|
+
Intersection.add_member(:route_distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "RouteDistance", metadata: {"box" => true}))
|
585
|
+
Intersection.add_member(:map_view, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "MapView"))
|
586
|
+
Intersection.add_member(:access_points, Shapes::ShapeRef.new(shape: AccessPointList, location_name: "AccessPoints"))
|
587
|
+
Intersection.struct_class = Types::Intersection
|
588
|
+
|
524
589
|
IntersectionHighlightsList.member = Shapes::ShapeRef.new(shape: HighlightList)
|
525
590
|
|
526
|
-
IntersectionList.member = Shapes::ShapeRef.new(shape:
|
591
|
+
IntersectionList.member = Shapes::ShapeRef.new(shape: Intersection)
|
592
|
+
|
593
|
+
IntersectionStreetList.member = Shapes::ShapeRef.new(shape: IntersectionStreet)
|
527
594
|
|
528
595
|
MatchScoreDetails.add_member(:overall, Shapes::ShapeRef.new(shape: MatchScore, location_name: "Overall"))
|
529
596
|
MatchScoreDetails.add_member(:components, Shapes::ShapeRef.new(shape: ComponentMatchScores, location_name: "Components"))
|
530
597
|
MatchScoreDetails.struct_class = Types::MatchScoreDetails
|
531
598
|
|
532
599
|
OpeningHours.add_member(:display, Shapes::ShapeRef.new(shape: OpeningHoursDisplayList, location_name: "Display"))
|
533
|
-
OpeningHours.add_member(:open_now, Shapes::ShapeRef.new(shape:
|
600
|
+
OpeningHours.add_member(:open_now, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "OpenNow"))
|
534
601
|
OpeningHours.add_member(:components, Shapes::ShapeRef.new(shape: OpeningHoursComponentsList, location_name: "Components"))
|
535
602
|
OpeningHours.add_member(:categories, Shapes::ShapeRef.new(shape: CategoryList, location_name: "Categories"))
|
536
603
|
OpeningHours.struct_class = Types::OpeningHours
|
@@ -546,13 +613,30 @@ module Aws::GeoPlaces
|
|
546
613
|
|
547
614
|
OpeningHoursList.member = Shapes::ShapeRef.new(shape: OpeningHours)
|
548
615
|
|
616
|
+
ParsedQueryComponent.add_member(:start_index, Shapes::ShapeRef.new(shape: ParsedQueryComponentStartIndexInteger, location_name: "StartIndex"))
|
617
|
+
ParsedQueryComponent.add_member(:end_index, Shapes::ShapeRef.new(shape: ParsedQueryComponentEndIndexInteger, location_name: "EndIndex"))
|
618
|
+
ParsedQueryComponent.add_member(:value, Shapes::ShapeRef.new(shape: ParsedQueryComponentValueString, location_name: "Value"))
|
619
|
+
ParsedQueryComponent.add_member(:query_component, Shapes::ShapeRef.new(shape: ParsedQueryComponentQueryComponentString, location_name: "QueryComponent"))
|
620
|
+
ParsedQueryComponent.struct_class = Types::ParsedQueryComponent
|
621
|
+
|
622
|
+
ParsedQueryComponentList.member = Shapes::ShapeRef.new(shape: ParsedQueryComponent)
|
623
|
+
|
624
|
+
ParsedQuerySecondaryAddressComponent.add_member(:start_index, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentStartIndexInteger, required: true, location_name: "StartIndex"))
|
625
|
+
ParsedQuerySecondaryAddressComponent.add_member(:end_index, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentEndIndexInteger, required: true, location_name: "EndIndex"))
|
626
|
+
ParsedQuerySecondaryAddressComponent.add_member(:value, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentValueString, required: true, location_name: "Value"))
|
627
|
+
ParsedQuerySecondaryAddressComponent.add_member(:number, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentNumberString, required: true, location_name: "Number"))
|
628
|
+
ParsedQuerySecondaryAddressComponent.add_member(:designator, Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponentDesignatorString, required: true, location_name: "Designator"))
|
629
|
+
ParsedQuerySecondaryAddressComponent.struct_class = Types::ParsedQuerySecondaryAddressComponent
|
630
|
+
|
631
|
+
ParsedQuerySecondaryAddressComponentList.member = Shapes::ShapeRef.new(shape: ParsedQuerySecondaryAddressComponent)
|
632
|
+
|
549
633
|
PhonemeDetails.add_member(:title, Shapes::ShapeRef.new(shape: PhonemeTranscriptionList, location_name: "Title"))
|
550
634
|
PhonemeDetails.add_member(:address, Shapes::ShapeRef.new(shape: AddressComponentPhonemes, location_name: "Address"))
|
551
635
|
PhonemeDetails.struct_class = Types::PhonemeDetails
|
552
636
|
|
553
637
|
PhonemeTranscription.add_member(:value, Shapes::ShapeRef.new(shape: PhonemeTranscriptionValueString, location_name: "Value"))
|
554
638
|
PhonemeTranscription.add_member(:language, Shapes::ShapeRef.new(shape: LanguageTag, location_name: "Language"))
|
555
|
-
PhonemeTranscription.add_member(:preferred, Shapes::ShapeRef.new(shape:
|
639
|
+
PhonemeTranscription.add_member(:preferred, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "Preferred"))
|
556
640
|
PhonemeTranscription.struct_class = Types::PhonemeTranscription
|
557
641
|
|
558
642
|
PhonemeTranscriptionList.member = Shapes::ShapeRef.new(shape: PhonemeTranscription)
|
@@ -584,6 +668,16 @@ module Aws::GeoPlaces
|
|
584
668
|
RegionHighlights.add_member(:name, Shapes::ShapeRef.new(shape: HighlightList, location_name: "Name"))
|
585
669
|
RegionHighlights.struct_class = Types::RegionHighlights
|
586
670
|
|
671
|
+
RelatedPlace.add_member(:place_id, Shapes::ShapeRef.new(shape: RelatedPlacePlaceIdString, required: true, location_name: "PlaceId"))
|
672
|
+
RelatedPlace.add_member(:place_type, Shapes::ShapeRef.new(shape: PlaceType, required: true, location_name: "PlaceType"))
|
673
|
+
RelatedPlace.add_member(:title, Shapes::ShapeRef.new(shape: RelatedPlaceTitleString, required: true, location_name: "Title"))
|
674
|
+
RelatedPlace.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
675
|
+
RelatedPlace.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
676
|
+
RelatedPlace.add_member(:access_points, Shapes::ShapeRef.new(shape: AccessPointList, location_name: "AccessPoints"))
|
677
|
+
RelatedPlace.struct_class = Types::RelatedPlace
|
678
|
+
|
679
|
+
RelatedPlaceList.member = Shapes::ShapeRef.new(shape: RelatedPlace)
|
680
|
+
|
587
681
|
ReverseGeocodeAdditionalFeatureList.member = Shapes::ShapeRef.new(shape: ReverseGeocodeAdditionalFeature)
|
588
682
|
|
589
683
|
ReverseGeocodeFilter.add_member(:include_place_types, Shapes::ShapeRef.new(shape: ReverseGeocodeFilterPlaceTypeList, location_name: "IncludePlaceTypes"))
|
@@ -610,7 +704,7 @@ module Aws::GeoPlaces
|
|
610
704
|
ReverseGeocodeResultItem.add_member(:place_type, Shapes::ShapeRef.new(shape: PlaceType, required: true, location_name: "PlaceType"))
|
611
705
|
ReverseGeocodeResultItem.add_member(:title, Shapes::ShapeRef.new(shape: ReverseGeocodeResultItemTitleString, required: true, location_name: "Title"))
|
612
706
|
ReverseGeocodeResultItem.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
613
|
-
ReverseGeocodeResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape:
|
707
|
+
ReverseGeocodeResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AddressNumberCorrected"))
|
614
708
|
ReverseGeocodeResultItem.add_member(:postal_code_details, Shapes::ShapeRef.new(shape: PostalCodeDetailsList, location_name: "PostalCodeDetails"))
|
615
709
|
ReverseGeocodeResultItem.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
616
710
|
ReverseGeocodeResultItem.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "Distance"))
|
@@ -620,6 +714,7 @@ module Aws::GeoPlaces
|
|
620
714
|
ReverseGeocodeResultItem.add_member(:access_points, Shapes::ShapeRef.new(shape: AccessPointList, location_name: "AccessPoints"))
|
621
715
|
ReverseGeocodeResultItem.add_member(:time_zone, Shapes::ShapeRef.new(shape: TimeZone, location_name: "TimeZone"))
|
622
716
|
ReverseGeocodeResultItem.add_member(:political_view, Shapes::ShapeRef.new(shape: CountryCode3, location_name: "PoliticalView"))
|
717
|
+
ReverseGeocodeResultItem.add_member(:intersections, Shapes::ShapeRef.new(shape: IntersectionList, location_name: "Intersections"))
|
623
718
|
ReverseGeocodeResultItem.struct_class = Types::ReverseGeocodeResultItem
|
624
719
|
|
625
720
|
ReverseGeocodeResultItemList.member = Shapes::ShapeRef.new(shape: ReverseGeocodeResultItem)
|
@@ -657,7 +752,7 @@ module Aws::GeoPlaces
|
|
657
752
|
SearchNearbyResultItem.add_member(:place_type, Shapes::ShapeRef.new(shape: PlaceType, required: true, location_name: "PlaceType"))
|
658
753
|
SearchNearbyResultItem.add_member(:title, Shapes::ShapeRef.new(shape: SearchNearbyResultItemTitleString, required: true, location_name: "Title"))
|
659
754
|
SearchNearbyResultItem.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
660
|
-
SearchNearbyResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape:
|
755
|
+
SearchNearbyResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AddressNumberCorrected"))
|
661
756
|
SearchNearbyResultItem.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
662
757
|
SearchNearbyResultItem.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "Distance"))
|
663
758
|
SearchNearbyResultItem.add_member(:map_view, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "MapView"))
|
@@ -704,7 +799,7 @@ module Aws::GeoPlaces
|
|
704
799
|
SearchTextResultItem.add_member(:place_type, Shapes::ShapeRef.new(shape: PlaceType, required: true, location_name: "PlaceType"))
|
705
800
|
SearchTextResultItem.add_member(:title, Shapes::ShapeRef.new(shape: SearchTextResultItemTitleString, required: true, location_name: "Title"))
|
706
801
|
SearchTextResultItem.add_member(:address, Shapes::ShapeRef.new(shape: Address, location_name: "Address"))
|
707
|
-
SearchTextResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape:
|
802
|
+
SearchTextResultItem.add_member(:address_number_corrected, Shapes::ShapeRef.new(shape: SensitiveBoolean, location_name: "AddressNumberCorrected"))
|
708
803
|
SearchTextResultItem.add_member(:position, Shapes::ShapeRef.new(shape: Position, location_name: "Position"))
|
709
804
|
SearchTextResultItem.add_member(:distance, Shapes::ShapeRef.new(shape: DistanceMeters, location_name: "Distance"))
|
710
805
|
SearchTextResultItem.add_member(:map_view, Shapes::ShapeRef.new(shape: BoundingBox, location_name: "MapView"))
|
@@ -722,6 +817,16 @@ module Aws::GeoPlaces
|
|
722
817
|
|
723
818
|
SearchTextResultItemList.member = Shapes::ShapeRef.new(shape: SearchTextResultItem)
|
724
819
|
|
820
|
+
SecondaryAddressComponent.add_member(:number, Shapes::ShapeRef.new(shape: SecondaryAddressComponentNumberString, required: true, location_name: "Number"))
|
821
|
+
SecondaryAddressComponent.struct_class = Types::SecondaryAddressComponent
|
822
|
+
|
823
|
+
SecondaryAddressComponentList.member = Shapes::ShapeRef.new(shape: SecondaryAddressComponent)
|
824
|
+
|
825
|
+
SecondaryAddressComponentMatchScore.add_member(:number, Shapes::ShapeRef.new(shape: MatchScore, location_name: "Number"))
|
826
|
+
SecondaryAddressComponentMatchScore.struct_class = Types::SecondaryAddressComponentMatchScore
|
827
|
+
|
828
|
+
SecondaryAddressComponentMatchScoreList.member = Shapes::ShapeRef.new(shape: SecondaryAddressComponentMatchScore)
|
829
|
+
|
725
830
|
StreetComponents.add_member(:base_name, Shapes::ShapeRef.new(shape: StreetComponentsBaseNameString, location_name: "BaseName"))
|
726
831
|
StreetComponents.add_member(:type, Shapes::ShapeRef.new(shape: StreetComponentsTypeString, location_name: "Type"))
|
727
832
|
StreetComponents.add_member(:type_placement, Shapes::ShapeRef.new(shape: TypePlacement, location_name: "TypePlacement"))
|
@@ -34,16 +34,16 @@ module Aws::GeoPlaces
|
|
34
34
|
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", headers: {}, properties: {})
|
35
35
|
end
|
36
36
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
37
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}
|
37
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dnsSuffix']}/v2", headers: {}, properties: {})
|
38
38
|
end
|
39
39
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
40
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}
|
40
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", headers: {}, properties: {})
|
41
41
|
end
|
42
42
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
|
43
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}
|
43
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo-fips.#{parameters.region}.#{partition_result['dnsSuffix']}/v2", headers: {}, properties: {})
|
44
44
|
end
|
45
45
|
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
46
|
-
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://places.geo.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}/v2", headers: {}, properties: {})
|
47
47
|
end
|
48
48
|
if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
|
49
49
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|