aws-sdk-geoplaces 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,644 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::GeoPlaces
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AccessPoint
17
+ attr_accessor position: ::Array[::Float]
18
+ SENSITIVE: [:position]
19
+ end
20
+
21
+ class AccessRestriction
22
+ attr_accessor restricted: bool
23
+ attr_accessor categories: ::Array[Types::Category]
24
+ SENSITIVE: []
25
+ end
26
+
27
+ class Address
28
+ attr_accessor label: ::String
29
+ attr_accessor country: Types::Country
30
+ attr_accessor region: Types::Region
31
+ attr_accessor sub_region: Types::SubRegion
32
+ attr_accessor locality: ::String
33
+ attr_accessor district: ::String
34
+ attr_accessor sub_district: ::String
35
+ attr_accessor postal_code: ::String
36
+ attr_accessor block: ::String
37
+ attr_accessor sub_block: ::String
38
+ attr_accessor intersection: ::Array[::String]
39
+ attr_accessor street: ::String
40
+ attr_accessor street_components: ::Array[Types::StreetComponents]
41
+ attr_accessor address_number: ::String
42
+ attr_accessor building: ::String
43
+ SENSITIVE: []
44
+ end
45
+
46
+ class AddressComponentMatchScores
47
+ attr_accessor country: ::Float
48
+ attr_accessor region: ::Float
49
+ attr_accessor sub_region: ::Float
50
+ attr_accessor locality: ::Float
51
+ attr_accessor district: ::Float
52
+ attr_accessor sub_district: ::Float
53
+ attr_accessor postal_code: ::Float
54
+ attr_accessor block: ::Float
55
+ attr_accessor sub_block: ::Float
56
+ attr_accessor intersection: ::Array[::Float]
57
+ attr_accessor address_number: ::Float
58
+ attr_accessor building: ::Float
59
+ SENSITIVE: []
60
+ end
61
+
62
+ class AddressComponentPhonemes
63
+ attr_accessor country: ::Array[Types::PhonemeTranscription]
64
+ attr_accessor region: ::Array[Types::PhonemeTranscription]
65
+ attr_accessor sub_region: ::Array[Types::PhonemeTranscription]
66
+ attr_accessor locality: ::Array[Types::PhonemeTranscription]
67
+ attr_accessor district: ::Array[Types::PhonemeTranscription]
68
+ attr_accessor sub_district: ::Array[Types::PhonemeTranscription]
69
+ attr_accessor block: ::Array[Types::PhonemeTranscription]
70
+ attr_accessor sub_block: ::Array[Types::PhonemeTranscription]
71
+ attr_accessor street: ::Array[Types::PhonemeTranscription]
72
+ SENSITIVE: []
73
+ end
74
+
75
+ class AutocompleteAddressHighlights
76
+ attr_accessor label: ::Array[Types::Highlight]
77
+ attr_accessor country: Types::CountryHighlights
78
+ attr_accessor region: Types::RegionHighlights
79
+ attr_accessor sub_region: Types::SubRegionHighlights
80
+ attr_accessor locality: ::Array[Types::Highlight]
81
+ attr_accessor district: ::Array[Types::Highlight]
82
+ attr_accessor sub_district: ::Array[Types::Highlight]
83
+ attr_accessor street: ::Array[Types::Highlight]
84
+ attr_accessor block: ::Array[Types::Highlight]
85
+ attr_accessor sub_block: ::Array[Types::Highlight]
86
+ attr_accessor intersection: ::Array[::Array[Types::Highlight]]
87
+ attr_accessor postal_code: ::Array[Types::Highlight]
88
+ attr_accessor address_number: ::Array[Types::Highlight]
89
+ attr_accessor building: ::Array[Types::Highlight]
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class AutocompleteFilter
94
+ attr_accessor bounding_box: ::Array[::Float]
95
+ attr_accessor circle: Types::FilterCircle
96
+ attr_accessor include_countries: ::Array[::String]
97
+ attr_accessor include_place_types: ::Array[("Locality" | "PostalCode")]
98
+ SENSITIVE: [:bounding_box, :circle]
99
+ end
100
+
101
+ class AutocompleteHighlights
102
+ attr_accessor title: ::Array[Types::Highlight]
103
+ attr_accessor address: Types::AutocompleteAddressHighlights
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class AutocompleteRequest
108
+ attr_accessor query_text: ::String
109
+ attr_accessor max_results: ::Integer
110
+ attr_accessor bias_position: ::Array[::Float]
111
+ attr_accessor filter: Types::AutocompleteFilter
112
+ attr_accessor postal_code_mode: ("MergeAllSpannedLocalities" | "EnumerateSpannedLocalities")
113
+ attr_accessor additional_features: ::Array[("Core")]
114
+ attr_accessor language: ::String
115
+ attr_accessor political_view: ::String
116
+ attr_accessor intended_use: ("SingleUse")
117
+ attr_accessor key: ::String
118
+ SENSITIVE: [:query_text, :bias_position, :key]
119
+ end
120
+
121
+ class AutocompleteResponse
122
+ attr_accessor pricing_bucket: ::String
123
+ attr_accessor result_items: ::Array[Types::AutocompleteResultItem]
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class AutocompleteResultItem
128
+ attr_accessor place_id: ::String
129
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
130
+ attr_accessor title: ::String
131
+ attr_accessor address: Types::Address
132
+ attr_accessor distance: ::Integer
133
+ attr_accessor language: ::String
134
+ attr_accessor political_view: ::String
135
+ attr_accessor highlights: Types::AutocompleteHighlights
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class BusinessChain
140
+ attr_accessor name: ::String
141
+ attr_accessor id: ::String
142
+ SENSITIVE: []
143
+ end
144
+
145
+ class Category
146
+ attr_accessor id: ::String
147
+ attr_accessor name: ::String
148
+ attr_accessor localized_name: ::String
149
+ attr_accessor primary: bool
150
+ SENSITIVE: []
151
+ end
152
+
153
+ class ComponentMatchScores
154
+ attr_accessor title: ::Float
155
+ attr_accessor address: Types::AddressComponentMatchScores
156
+ SENSITIVE: []
157
+ end
158
+
159
+ class ContactDetails
160
+ attr_accessor label: ::String
161
+ attr_accessor value: ::String
162
+ attr_accessor categories: ::Array[Types::Category]
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class Contacts
167
+ attr_accessor phones: ::Array[Types::ContactDetails]
168
+ attr_accessor faxes: ::Array[Types::ContactDetails]
169
+ attr_accessor websites: ::Array[Types::ContactDetails]
170
+ attr_accessor emails: ::Array[Types::ContactDetails]
171
+ SENSITIVE: []
172
+ end
173
+
174
+ class Country
175
+ attr_accessor code_2: ::String
176
+ attr_accessor code_3: ::String
177
+ attr_accessor name: ::String
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class CountryHighlights
182
+ attr_accessor code: ::Array[Types::Highlight]
183
+ attr_accessor name: ::Array[Types::Highlight]
184
+ SENSITIVE: []
185
+ end
186
+
187
+ class FilterCircle
188
+ attr_accessor center: ::Array[::Float]
189
+ attr_accessor radius: ::Integer
190
+ SENSITIVE: [:center]
191
+ end
192
+
193
+ class FoodType
194
+ attr_accessor localized_name: ::String
195
+ attr_accessor id: ::String
196
+ attr_accessor primary: bool
197
+ SENSITIVE: []
198
+ end
199
+
200
+ class GeocodeFilter
201
+ attr_accessor include_countries: ::Array[::String]
202
+ attr_accessor include_place_types: ::Array[("Locality" | "PostalCode" | "Intersection" | "Street" | "PointAddress" | "InterpolatedAddress")]
203
+ SENSITIVE: []
204
+ end
205
+
206
+ class GeocodeQueryComponents
207
+ attr_accessor country: ::String
208
+ attr_accessor region: ::String
209
+ attr_accessor sub_region: ::String
210
+ attr_accessor locality: ::String
211
+ attr_accessor district: ::String
212
+ attr_accessor street: ::String
213
+ attr_accessor address_number: ::String
214
+ attr_accessor postal_code: ::String
215
+ SENSITIVE: [:country, :region, :sub_region, :locality, :district, :street, :address_number, :postal_code]
216
+ end
217
+
218
+ class GeocodeRequest
219
+ attr_accessor query_text: ::String
220
+ attr_accessor query_components: Types::GeocodeQueryComponents
221
+ attr_accessor max_results: ::Integer
222
+ attr_accessor bias_position: ::Array[::Float]
223
+ attr_accessor filter: Types::GeocodeFilter
224
+ attr_accessor additional_features: ::Array[("TimeZone" | "Access")]
225
+ attr_accessor language: ::String
226
+ attr_accessor political_view: ::String
227
+ attr_accessor intended_use: ("SingleUse" | "Storage")
228
+ attr_accessor key: ::String
229
+ SENSITIVE: [:query_text, :bias_position, :key]
230
+ end
231
+
232
+ class GeocodeResponse
233
+ attr_accessor pricing_bucket: ::String
234
+ attr_accessor result_items: ::Array[Types::GeocodeResultItem]
235
+ SENSITIVE: []
236
+ end
237
+
238
+ class GeocodeResultItem
239
+ attr_accessor place_id: ::String
240
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
241
+ attr_accessor title: ::String
242
+ attr_accessor address: Types::Address
243
+ attr_accessor address_number_corrected: bool
244
+ attr_accessor postal_code_details: ::Array[Types::PostalCodeDetails]
245
+ attr_accessor position: ::Array[::Float]
246
+ attr_accessor distance: ::Integer
247
+ attr_accessor map_view: ::Array[::Float]
248
+ attr_accessor categories: ::Array[Types::Category]
249
+ attr_accessor food_types: ::Array[Types::FoodType]
250
+ attr_accessor access_points: ::Array[Types::AccessPoint]
251
+ attr_accessor time_zone: Types::TimeZone
252
+ attr_accessor political_view: ::String
253
+ attr_accessor match_scores: Types::MatchScoreDetails
254
+ SENSITIVE: [:position, :map_view]
255
+ end
256
+
257
+ class GetPlaceRequest
258
+ attr_accessor place_id: ::String
259
+ attr_accessor additional_features: ::Array[("TimeZone" | "Phonemes" | "Access" | "Contact")]
260
+ attr_accessor language: ::String
261
+ attr_accessor political_view: ::String
262
+ attr_accessor intended_use: ("SingleUse" | "Storage")
263
+ attr_accessor key: ::String
264
+ SENSITIVE: [:place_id, :key]
265
+ end
266
+
267
+ class GetPlaceResponse
268
+ attr_accessor place_id: ::String
269
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
270
+ attr_accessor title: ::String
271
+ attr_accessor pricing_bucket: ::String
272
+ attr_accessor address: Types::Address
273
+ attr_accessor address_number_corrected: bool
274
+ attr_accessor postal_code_details: ::Array[Types::PostalCodeDetails]
275
+ attr_accessor position: ::Array[::Float]
276
+ attr_accessor map_view: ::Array[::Float]
277
+ attr_accessor categories: ::Array[Types::Category]
278
+ attr_accessor food_types: ::Array[Types::FoodType]
279
+ attr_accessor business_chains: ::Array[Types::BusinessChain]
280
+ attr_accessor contacts: Types::Contacts
281
+ attr_accessor opening_hours: ::Array[Types::OpeningHours]
282
+ attr_accessor access_points: ::Array[Types::AccessPoint]
283
+ attr_accessor access_restrictions: ::Array[Types::AccessRestriction]
284
+ attr_accessor time_zone: Types::TimeZone
285
+ attr_accessor political_view: ::String
286
+ attr_accessor phonemes: Types::PhonemeDetails
287
+ SENSITIVE: [:position, :map_view]
288
+ end
289
+
290
+ class Highlight
291
+ attr_accessor start_index: ::Integer
292
+ attr_accessor end_index: ::Integer
293
+ attr_accessor value: ::String
294
+ SENSITIVE: []
295
+ end
296
+
297
+ class InternalServerException
298
+ attr_accessor message: ::String
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class MatchScoreDetails
303
+ attr_accessor overall: ::Float
304
+ attr_accessor components: Types::ComponentMatchScores
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class OpeningHours
309
+ attr_accessor display: ::Array[::String]
310
+ attr_accessor open_now: bool
311
+ attr_accessor components: ::Array[Types::OpeningHoursComponents]
312
+ attr_accessor categories: ::Array[Types::Category]
313
+ SENSITIVE: []
314
+ end
315
+
316
+ class OpeningHoursComponents
317
+ attr_accessor open_time: ::String
318
+ attr_accessor open_duration: ::String
319
+ attr_accessor recurrence: ::String
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class PhonemeDetails
324
+ attr_accessor title: ::Array[Types::PhonemeTranscription]
325
+ attr_accessor address: Types::AddressComponentPhonemes
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class PhonemeTranscription
330
+ attr_accessor value: ::String
331
+ attr_accessor language: ::String
332
+ attr_accessor preferred: bool
333
+ SENSITIVE: []
334
+ end
335
+
336
+ class PostalCodeDetails
337
+ attr_accessor postal_code: ::String
338
+ attr_accessor postal_authority: ("Usps")
339
+ attr_accessor postal_code_type: ("UspsZip" | "UspsZipPlus4")
340
+ attr_accessor usps_zip: Types::UspsZip
341
+ attr_accessor usps_zip_plus_4: Types::UspsZipPlus4
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class QueryRefinement
346
+ attr_accessor refined_term: ::String
347
+ attr_accessor original_term: ::String
348
+ attr_accessor start_index: ::Integer
349
+ attr_accessor end_index: ::Integer
350
+ SENSITIVE: []
351
+ end
352
+
353
+ class Region
354
+ attr_accessor code: ::String
355
+ attr_accessor name: ::String
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class RegionHighlights
360
+ attr_accessor code: ::Array[Types::Highlight]
361
+ attr_accessor name: ::Array[Types::Highlight]
362
+ SENSITIVE: []
363
+ end
364
+
365
+ class ReverseGeocodeFilter
366
+ attr_accessor include_place_types: ::Array[("Locality" | "Intersection" | "Street" | "PointAddress" | "InterpolatedAddress")]
367
+ SENSITIVE: []
368
+ end
369
+
370
+ class ReverseGeocodeRequest
371
+ attr_accessor query_position: ::Array[::Float]
372
+ attr_accessor query_radius: ::Integer
373
+ attr_accessor max_results: ::Integer
374
+ attr_accessor filter: Types::ReverseGeocodeFilter
375
+ attr_accessor additional_features: ::Array[("TimeZone" | "Access")]
376
+ attr_accessor language: ::String
377
+ attr_accessor political_view: ::String
378
+ attr_accessor intended_use: ("SingleUse" | "Storage")
379
+ attr_accessor key: ::String
380
+ SENSITIVE: [:query_position, :key]
381
+ end
382
+
383
+ class ReverseGeocodeResponse
384
+ attr_accessor pricing_bucket: ::String
385
+ attr_accessor result_items: ::Array[Types::ReverseGeocodeResultItem]
386
+ SENSITIVE: []
387
+ end
388
+
389
+ class ReverseGeocodeResultItem
390
+ attr_accessor place_id: ::String
391
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
392
+ attr_accessor title: ::String
393
+ attr_accessor address: Types::Address
394
+ attr_accessor address_number_corrected: bool
395
+ attr_accessor postal_code_details: ::Array[Types::PostalCodeDetails]
396
+ attr_accessor position: ::Array[::Float]
397
+ attr_accessor distance: ::Integer
398
+ attr_accessor map_view: ::Array[::Float]
399
+ attr_accessor categories: ::Array[Types::Category]
400
+ attr_accessor food_types: ::Array[Types::FoodType]
401
+ attr_accessor access_points: ::Array[Types::AccessPoint]
402
+ attr_accessor time_zone: Types::TimeZone
403
+ attr_accessor political_view: ::String
404
+ SENSITIVE: [:position, :map_view]
405
+ end
406
+
407
+ class SearchNearbyFilter
408
+ attr_accessor bounding_box: ::Array[::Float]
409
+ attr_accessor include_countries: ::Array[::String]
410
+ attr_accessor include_categories: ::Array[::String]
411
+ attr_accessor exclude_categories: ::Array[::String]
412
+ attr_accessor include_business_chains: ::Array[::String]
413
+ attr_accessor exclude_business_chains: ::Array[::String]
414
+ attr_accessor include_food_types: ::Array[::String]
415
+ attr_accessor exclude_food_types: ::Array[::String]
416
+ SENSITIVE: [:bounding_box]
417
+ end
418
+
419
+ class SearchNearbyRequest
420
+ attr_accessor query_position: ::Array[::Float]
421
+ attr_accessor query_radius: ::Integer
422
+ attr_accessor max_results: ::Integer
423
+ attr_accessor filter: Types::SearchNearbyFilter
424
+ attr_accessor additional_features: ::Array[("TimeZone" | "Phonemes" | "Access" | "Contact")]
425
+ attr_accessor language: ::String
426
+ attr_accessor political_view: ::String
427
+ attr_accessor intended_use: ("SingleUse" | "Storage")
428
+ attr_accessor next_token: ::String
429
+ attr_accessor key: ::String
430
+ SENSITIVE: [:query_position, :key]
431
+ end
432
+
433
+ class SearchNearbyResponse
434
+ attr_accessor pricing_bucket: ::String
435
+ attr_accessor result_items: ::Array[Types::SearchNearbyResultItem]
436
+ attr_accessor next_token: ::String
437
+ SENSITIVE: []
438
+ end
439
+
440
+ class SearchNearbyResultItem
441
+ attr_accessor place_id: ::String
442
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
443
+ attr_accessor title: ::String
444
+ attr_accessor address: Types::Address
445
+ attr_accessor address_number_corrected: bool
446
+ attr_accessor position: ::Array[::Float]
447
+ attr_accessor distance: ::Integer
448
+ attr_accessor map_view: ::Array[::Float]
449
+ attr_accessor categories: ::Array[Types::Category]
450
+ attr_accessor food_types: ::Array[Types::FoodType]
451
+ attr_accessor business_chains: ::Array[Types::BusinessChain]
452
+ attr_accessor contacts: Types::Contacts
453
+ attr_accessor opening_hours: ::Array[Types::OpeningHours]
454
+ attr_accessor access_points: ::Array[Types::AccessPoint]
455
+ attr_accessor access_restrictions: ::Array[Types::AccessRestriction]
456
+ attr_accessor time_zone: Types::TimeZone
457
+ attr_accessor political_view: ::String
458
+ attr_accessor phonemes: Types::PhonemeDetails
459
+ SENSITIVE: [:position, :map_view]
460
+ end
461
+
462
+ class SearchTextFilter
463
+ attr_accessor bounding_box: ::Array[::Float]
464
+ attr_accessor circle: Types::FilterCircle
465
+ attr_accessor include_countries: ::Array[::String]
466
+ SENSITIVE: [:bounding_box, :circle]
467
+ end
468
+
469
+ class SearchTextRequest
470
+ attr_accessor query_text: ::String
471
+ attr_accessor query_id: ::String
472
+ attr_accessor max_results: ::Integer
473
+ attr_accessor bias_position: ::Array[::Float]
474
+ attr_accessor filter: Types::SearchTextFilter
475
+ attr_accessor additional_features: ::Array[("TimeZone" | "Phonemes" | "Access" | "Contact")]
476
+ attr_accessor language: ::String
477
+ attr_accessor political_view: ::String
478
+ attr_accessor intended_use: ("SingleUse" | "Storage")
479
+ attr_accessor next_token: ::String
480
+ attr_accessor key: ::String
481
+ SENSITIVE: [:query_text, :query_id, :bias_position, :key]
482
+ end
483
+
484
+ class SearchTextResponse
485
+ attr_accessor pricing_bucket: ::String
486
+ attr_accessor result_items: ::Array[Types::SearchTextResultItem]
487
+ attr_accessor next_token: ::String
488
+ SENSITIVE: []
489
+ end
490
+
491
+ class SearchTextResultItem
492
+ attr_accessor place_id: ::String
493
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
494
+ attr_accessor title: ::String
495
+ attr_accessor address: Types::Address
496
+ attr_accessor address_number_corrected: bool
497
+ attr_accessor position: ::Array[::Float]
498
+ attr_accessor distance: ::Integer
499
+ attr_accessor map_view: ::Array[::Float]
500
+ attr_accessor categories: ::Array[Types::Category]
501
+ attr_accessor food_types: ::Array[Types::FoodType]
502
+ attr_accessor business_chains: ::Array[Types::BusinessChain]
503
+ attr_accessor contacts: Types::Contacts
504
+ attr_accessor opening_hours: ::Array[Types::OpeningHours]
505
+ attr_accessor access_points: ::Array[Types::AccessPoint]
506
+ attr_accessor access_restrictions: ::Array[Types::AccessRestriction]
507
+ attr_accessor time_zone: Types::TimeZone
508
+ attr_accessor political_view: ::String
509
+ attr_accessor phonemes: Types::PhonemeDetails
510
+ SENSITIVE: [:position, :map_view]
511
+ end
512
+
513
+ class StreetComponents
514
+ attr_accessor base_name: ::String
515
+ attr_accessor type: ::String
516
+ attr_accessor type_placement: ("BeforeBaseName" | "AfterBaseName")
517
+ attr_accessor type_separator: ::String
518
+ attr_accessor prefix: ::String
519
+ attr_accessor suffix: ::String
520
+ attr_accessor direction: ::String
521
+ attr_accessor language: ::String
522
+ SENSITIVE: []
523
+ end
524
+
525
+ class SubRegion
526
+ attr_accessor code: ::String
527
+ attr_accessor name: ::String
528
+ SENSITIVE: []
529
+ end
530
+
531
+ class SubRegionHighlights
532
+ attr_accessor code: ::Array[Types::Highlight]
533
+ attr_accessor name: ::Array[Types::Highlight]
534
+ SENSITIVE: []
535
+ end
536
+
537
+ class SuggestAddressHighlights
538
+ attr_accessor label: ::Array[Types::Highlight]
539
+ SENSITIVE: []
540
+ end
541
+
542
+ class SuggestFilter
543
+ attr_accessor bounding_box: ::Array[::Float]
544
+ attr_accessor circle: Types::FilterCircle
545
+ attr_accessor include_countries: ::Array[::String]
546
+ SENSITIVE: [:bounding_box, :circle]
547
+ end
548
+
549
+ class SuggestHighlights
550
+ attr_accessor title: ::Array[Types::Highlight]
551
+ attr_accessor address: Types::SuggestAddressHighlights
552
+ SENSITIVE: []
553
+ end
554
+
555
+ class SuggestPlaceResult
556
+ attr_accessor place_id: ::String
557
+ attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
558
+ attr_accessor address: Types::Address
559
+ attr_accessor position: ::Array[::Float]
560
+ attr_accessor distance: ::Integer
561
+ attr_accessor map_view: ::Array[::Float]
562
+ attr_accessor categories: ::Array[Types::Category]
563
+ attr_accessor food_types: ::Array[Types::FoodType]
564
+ attr_accessor business_chains: ::Array[Types::BusinessChain]
565
+ attr_accessor access_points: ::Array[Types::AccessPoint]
566
+ attr_accessor access_restrictions: ::Array[Types::AccessRestriction]
567
+ attr_accessor time_zone: Types::TimeZone
568
+ attr_accessor political_view: ::String
569
+ attr_accessor phonemes: Types::PhonemeDetails
570
+ SENSITIVE: [:position, :map_view]
571
+ end
572
+
573
+ class SuggestQueryResult
574
+ attr_accessor query_id: ::String
575
+ attr_accessor query_type: ("Category" | "BusinessChain")
576
+ SENSITIVE: []
577
+ end
578
+
579
+ class SuggestRequest
580
+ attr_accessor query_text: ::String
581
+ attr_accessor max_results: ::Integer
582
+ attr_accessor max_query_refinements: ::Integer
583
+ attr_accessor bias_position: ::Array[::Float]
584
+ attr_accessor filter: Types::SuggestFilter
585
+ attr_accessor additional_features: ::Array[("Core" | "TimeZone" | "Phonemes" | "Access")]
586
+ attr_accessor language: ::String
587
+ attr_accessor political_view: ::String
588
+ attr_accessor intended_use: ("SingleUse")
589
+ attr_accessor key: ::String
590
+ SENSITIVE: [:query_text, :bias_position, :key]
591
+ end
592
+
593
+ class SuggestResponse
594
+ attr_accessor pricing_bucket: ::String
595
+ attr_accessor result_items: ::Array[Types::SuggestResultItem]
596
+ attr_accessor query_refinements: ::Array[Types::QueryRefinement]
597
+ SENSITIVE: []
598
+ end
599
+
600
+ class SuggestResultItem
601
+ attr_accessor title: ::String
602
+ attr_accessor suggest_result_item_type: ("Place" | "Query")
603
+ attr_accessor place: Types::SuggestPlaceResult
604
+ attr_accessor query: Types::SuggestQueryResult
605
+ attr_accessor highlights: Types::SuggestHighlights
606
+ SENSITIVE: []
607
+ end
608
+
609
+ class ThrottlingException
610
+ attr_accessor message: ::String
611
+ SENSITIVE: []
612
+ end
613
+
614
+ class TimeZone
615
+ attr_accessor name: ::String
616
+ attr_accessor offset: ::String
617
+ attr_accessor offset_seconds: ::Integer
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class UspsZip
622
+ attr_accessor zip_classification_code: ("Military" | "PostOfficeBoxes" | "Unique")
623
+ SENSITIVE: []
624
+ end
625
+
626
+ class UspsZipPlus4
627
+ attr_accessor record_type_code: ("Firm" | "General" | "HighRise" | "PostOfficeBox" | "Rural" | "Street")
628
+ SENSITIVE: []
629
+ end
630
+
631
+ class ValidationException
632
+ attr_accessor message: ::String
633
+ attr_accessor reason: ("UnknownOperation" | "Missing" | "CannotParse" | "FieldValidationFailed" | "Other" | "UnknownField")
634
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
635
+ SENSITIVE: []
636
+ end
637
+
638
+ class ValidationExceptionField
639
+ attr_accessor name: ::String
640
+ attr_accessor message: ::String
641
+ SENSITIVE: []
642
+ end
643
+ end
644
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module GeoPlaces
10
+ module Waiters
11
+ end
12
+ end
13
+ end