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
data/lib/aws-sdk-geoplaces.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -129,7 +129,7 @@ module Aws
|
|
129
129
|
include_countries: Array[::String]?,
|
130
130
|
include_place_types: Array[("Locality" | "PostalCode" | "Intersection" | "Street" | "PointAddress" | "InterpolatedAddress")]?
|
131
131
|
},
|
132
|
-
?additional_features: Array[("TimeZone" | "Access")],
|
132
|
+
?additional_features: Array[("TimeZone" | "Access" | "SecondaryAddresses" | "Intersections")],
|
133
133
|
?language: ::String,
|
134
134
|
?political_view: ::String,
|
135
135
|
?intended_use: ("SingleUse" | "Storage"),
|
@@ -140,7 +140,7 @@ module Aws
|
|
140
140
|
interface _GetPlaceResponseSuccess
|
141
141
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPlaceResponse]
|
142
142
|
def place_id: () -> ::String
|
143
|
-
def place_type: () -> ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
143
|
+
def place_type: () -> ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
144
144
|
def title: () -> ::String
|
145
145
|
def pricing_bucket: () -> ::String
|
146
146
|
def address: () -> Types::Address
|
@@ -158,11 +158,13 @@ module Aws
|
|
158
158
|
def time_zone: () -> Types::TimeZone
|
159
159
|
def political_view: () -> ::String
|
160
160
|
def phonemes: () -> Types::PhonemeDetails
|
161
|
+
def main_address: () -> Types::RelatedPlace
|
162
|
+
def secondary_addresses: () -> ::Array[Types::RelatedPlace]
|
161
163
|
end
|
162
164
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GeoPlaces/Client.html#get_place-instance_method
|
163
165
|
def get_place: (
|
164
166
|
place_id: ::String,
|
165
|
-
?additional_features: Array[("TimeZone" | "Phonemes" | "Access" | "Contact")],
|
167
|
+
?additional_features: Array[("TimeZone" | "Phonemes" | "Access" | "Contact" | "SecondaryAddresses")],
|
166
168
|
?language: ::String,
|
167
169
|
?political_view: ::String,
|
168
170
|
?intended_use: ("SingleUse" | "Storage"),
|
@@ -183,7 +185,7 @@ module Aws
|
|
183
185
|
?filter: {
|
184
186
|
include_place_types: Array[("Locality" | "Intersection" | "Street" | "PointAddress" | "InterpolatedAddress")]?
|
185
187
|
},
|
186
|
-
?additional_features: Array[("TimeZone" | "Access")],
|
188
|
+
?additional_features: Array[("TimeZone" | "Access" | "Intersections")],
|
187
189
|
?language: ::String,
|
188
190
|
?political_view: ::String,
|
189
191
|
?intended_use: ("SingleUse" | "Storage"),
|
data/sig/types.rbs
CHANGED
@@ -21,7 +21,7 @@ module Aws::GeoPlaces
|
|
21
21
|
class AccessRestriction
|
22
22
|
attr_accessor restricted: bool
|
23
23
|
attr_accessor categories: ::Array[Types::Category]
|
24
|
-
SENSITIVE: []
|
24
|
+
SENSITIVE: [:restricted]
|
25
25
|
end
|
26
26
|
|
27
27
|
class Address
|
@@ -40,7 +40,8 @@ module Aws::GeoPlaces
|
|
40
40
|
attr_accessor street_components: ::Array[Types::StreetComponents]
|
41
41
|
attr_accessor address_number: ::String
|
42
42
|
attr_accessor building: ::String
|
43
|
-
|
43
|
+
attr_accessor secondary_address_components: ::Array[Types::SecondaryAddressComponent]
|
44
|
+
SENSITIVE: [:label, :locality, :district, :sub_district, :postal_code, :block, :sub_block, :street, :address_number, :building]
|
44
45
|
end
|
45
46
|
|
46
47
|
class AddressComponentMatchScores
|
@@ -56,6 +57,7 @@ module Aws::GeoPlaces
|
|
56
57
|
attr_accessor intersection: ::Array[::Float]
|
57
58
|
attr_accessor address_number: ::Float
|
58
59
|
attr_accessor building: ::Float
|
60
|
+
attr_accessor secondary_address_components: ::Array[Types::SecondaryAddressComponentMatchScore]
|
59
61
|
SENSITIVE: []
|
60
62
|
end
|
61
63
|
|
@@ -115,7 +117,7 @@ module Aws::GeoPlaces
|
|
115
117
|
attr_accessor political_view: ::String
|
116
118
|
attr_accessor intended_use: ("SingleUse")
|
117
119
|
attr_accessor key: ::String
|
118
|
-
SENSITIVE: [:query_text, :bias_position, :key]
|
120
|
+
SENSITIVE: [:query_text, :bias_position, :political_view, :key]
|
119
121
|
end
|
120
122
|
|
121
123
|
class AutocompleteResponse
|
@@ -126,20 +128,20 @@ module Aws::GeoPlaces
|
|
126
128
|
|
127
129
|
class AutocompleteResultItem
|
128
130
|
attr_accessor place_id: ::String
|
129
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
131
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
130
132
|
attr_accessor title: ::String
|
131
133
|
attr_accessor address: Types::Address
|
132
134
|
attr_accessor distance: ::Integer
|
133
135
|
attr_accessor language: ::String
|
134
136
|
attr_accessor political_view: ::String
|
135
137
|
attr_accessor highlights: Types::AutocompleteHighlights
|
136
|
-
SENSITIVE: []
|
138
|
+
SENSITIVE: [:place_id, :place_type, :title, :distance, :political_view]
|
137
139
|
end
|
138
140
|
|
139
141
|
class BusinessChain
|
140
142
|
attr_accessor name: ::String
|
141
143
|
attr_accessor id: ::String
|
142
|
-
SENSITIVE: []
|
144
|
+
SENSITIVE: [:name, :id]
|
143
145
|
end
|
144
146
|
|
145
147
|
class Category
|
@@ -147,7 +149,7 @@ module Aws::GeoPlaces
|
|
147
149
|
attr_accessor name: ::String
|
148
150
|
attr_accessor localized_name: ::String
|
149
151
|
attr_accessor primary: bool
|
150
|
-
SENSITIVE: []
|
152
|
+
SENSITIVE: [:id, :name, :localized_name, :primary]
|
151
153
|
end
|
152
154
|
|
153
155
|
class ComponentMatchScores
|
@@ -160,7 +162,7 @@ module Aws::GeoPlaces
|
|
160
162
|
attr_accessor label: ::String
|
161
163
|
attr_accessor value: ::String
|
162
164
|
attr_accessor categories: ::Array[Types::Category]
|
163
|
-
SENSITIVE: []
|
165
|
+
SENSITIVE: [:label, :value]
|
164
166
|
end
|
165
167
|
|
166
168
|
class Contacts
|
@@ -175,7 +177,7 @@ module Aws::GeoPlaces
|
|
175
177
|
attr_accessor code_2: ::String
|
176
178
|
attr_accessor code_3: ::String
|
177
179
|
attr_accessor name: ::String
|
178
|
-
SENSITIVE: []
|
180
|
+
SENSITIVE: [:code_2, :code_3, :name]
|
179
181
|
end
|
180
182
|
|
181
183
|
class CountryHighlights
|
@@ -187,14 +189,14 @@ module Aws::GeoPlaces
|
|
187
189
|
class FilterCircle
|
188
190
|
attr_accessor center: ::Array[::Float]
|
189
191
|
attr_accessor radius: ::Integer
|
190
|
-
SENSITIVE: [:center]
|
192
|
+
SENSITIVE: [:center, :radius]
|
191
193
|
end
|
192
194
|
|
193
195
|
class FoodType
|
194
196
|
attr_accessor localized_name: ::String
|
195
197
|
attr_accessor id: ::String
|
196
198
|
attr_accessor primary: bool
|
197
|
-
SENSITIVE: []
|
199
|
+
SENSITIVE: [:localized_name, :id, :primary]
|
198
200
|
end
|
199
201
|
|
200
202
|
class GeocodeFilter
|
@@ -203,6 +205,29 @@ module Aws::GeoPlaces
|
|
203
205
|
SENSITIVE: []
|
204
206
|
end
|
205
207
|
|
208
|
+
class GeocodeParsedQuery
|
209
|
+
attr_accessor title: ::Array[Types::ParsedQueryComponent]
|
210
|
+
attr_accessor address: Types::GeocodeParsedQueryAddressComponents
|
211
|
+
SENSITIVE: []
|
212
|
+
end
|
213
|
+
|
214
|
+
class GeocodeParsedQueryAddressComponents
|
215
|
+
attr_accessor country: ::Array[Types::ParsedQueryComponent]
|
216
|
+
attr_accessor region: ::Array[Types::ParsedQueryComponent]
|
217
|
+
attr_accessor sub_region: ::Array[Types::ParsedQueryComponent]
|
218
|
+
attr_accessor locality: ::Array[Types::ParsedQueryComponent]
|
219
|
+
attr_accessor district: ::Array[Types::ParsedQueryComponent]
|
220
|
+
attr_accessor sub_district: ::Array[Types::ParsedQueryComponent]
|
221
|
+
attr_accessor postal_code: ::Array[Types::ParsedQueryComponent]
|
222
|
+
attr_accessor block: ::Array[Types::ParsedQueryComponent]
|
223
|
+
attr_accessor sub_block: ::Array[Types::ParsedQueryComponent]
|
224
|
+
attr_accessor street: ::Array[Types::ParsedQueryComponent]
|
225
|
+
attr_accessor address_number: ::Array[Types::ParsedQueryComponent]
|
226
|
+
attr_accessor building: ::Array[Types::ParsedQueryComponent]
|
227
|
+
attr_accessor secondary_address_components: ::Array[Types::ParsedQuerySecondaryAddressComponent]
|
228
|
+
SENSITIVE: []
|
229
|
+
end
|
230
|
+
|
206
231
|
class GeocodeQueryComponents
|
207
232
|
attr_accessor country: ::String
|
208
233
|
attr_accessor region: ::String
|
@@ -221,12 +246,12 @@ module Aws::GeoPlaces
|
|
221
246
|
attr_accessor max_results: ::Integer
|
222
247
|
attr_accessor bias_position: ::Array[::Float]
|
223
248
|
attr_accessor filter: Types::GeocodeFilter
|
224
|
-
attr_accessor additional_features: ::Array[("TimeZone" | "Access")]
|
249
|
+
attr_accessor additional_features: ::Array[("TimeZone" | "Access" | "SecondaryAddresses" | "Intersections")]
|
225
250
|
attr_accessor language: ::String
|
226
251
|
attr_accessor political_view: ::String
|
227
252
|
attr_accessor intended_use: ("SingleUse" | "Storage")
|
228
253
|
attr_accessor key: ::String
|
229
|
-
SENSITIVE: [:query_text, :bias_position, :key]
|
254
|
+
SENSITIVE: [:query_text, :bias_position, :political_view, :key]
|
230
255
|
end
|
231
256
|
|
232
257
|
class GeocodeResponse
|
@@ -237,7 +262,7 @@ module Aws::GeoPlaces
|
|
237
262
|
|
238
263
|
class GeocodeResultItem
|
239
264
|
attr_accessor place_id: ::String
|
240
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
265
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
241
266
|
attr_accessor title: ::String
|
242
267
|
attr_accessor address: Types::Address
|
243
268
|
attr_accessor address_number_corrected: bool
|
@@ -251,22 +276,26 @@ module Aws::GeoPlaces
|
|
251
276
|
attr_accessor time_zone: Types::TimeZone
|
252
277
|
attr_accessor political_view: ::String
|
253
278
|
attr_accessor match_scores: Types::MatchScoreDetails
|
254
|
-
|
279
|
+
attr_accessor parsed_query: Types::GeocodeParsedQuery
|
280
|
+
attr_accessor intersections: ::Array[Types::Intersection]
|
281
|
+
attr_accessor main_address: Types::RelatedPlace
|
282
|
+
attr_accessor secondary_addresses: ::Array[Types::RelatedPlace]
|
283
|
+
SENSITIVE: [:place_id, :place_type, :title, :address_number_corrected, :position, :distance, :map_view, :political_view]
|
255
284
|
end
|
256
285
|
|
257
286
|
class GetPlaceRequest
|
258
287
|
attr_accessor place_id: ::String
|
259
|
-
attr_accessor additional_features: ::Array[("TimeZone" | "Phonemes" | "Access" | "Contact")]
|
288
|
+
attr_accessor additional_features: ::Array[("TimeZone" | "Phonemes" | "Access" | "Contact" | "SecondaryAddresses")]
|
260
289
|
attr_accessor language: ::String
|
261
290
|
attr_accessor political_view: ::String
|
262
291
|
attr_accessor intended_use: ("SingleUse" | "Storage")
|
263
292
|
attr_accessor key: ::String
|
264
|
-
SENSITIVE: [:place_id, :key]
|
293
|
+
SENSITIVE: [:place_id, :political_view, :key]
|
265
294
|
end
|
266
295
|
|
267
296
|
class GetPlaceResponse
|
268
297
|
attr_accessor place_id: ::String
|
269
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
298
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
270
299
|
attr_accessor title: ::String
|
271
300
|
attr_accessor pricing_bucket: ::String
|
272
301
|
attr_accessor address: Types::Address
|
@@ -284,14 +313,16 @@ module Aws::GeoPlaces
|
|
284
313
|
attr_accessor time_zone: Types::TimeZone
|
285
314
|
attr_accessor political_view: ::String
|
286
315
|
attr_accessor phonemes: Types::PhonemeDetails
|
287
|
-
|
316
|
+
attr_accessor main_address: Types::RelatedPlace
|
317
|
+
attr_accessor secondary_addresses: ::Array[Types::RelatedPlace]
|
318
|
+
SENSITIVE: [:place_id, :place_type, :title, :address_number_corrected, :position, :map_view, :political_view]
|
288
319
|
end
|
289
320
|
|
290
321
|
class Highlight
|
291
322
|
attr_accessor start_index: ::Integer
|
292
323
|
attr_accessor end_index: ::Integer
|
293
324
|
attr_accessor value: ::String
|
294
|
-
SENSITIVE: []
|
325
|
+
SENSITIVE: [:value]
|
295
326
|
end
|
296
327
|
|
297
328
|
class InternalServerException
|
@@ -299,6 +330,18 @@ module Aws::GeoPlaces
|
|
299
330
|
SENSITIVE: []
|
300
331
|
end
|
301
332
|
|
333
|
+
class Intersection
|
334
|
+
attr_accessor place_id: ::String
|
335
|
+
attr_accessor title: ::String
|
336
|
+
attr_accessor address: Types::Address
|
337
|
+
attr_accessor position: ::Array[::Float]
|
338
|
+
attr_accessor distance: ::Integer
|
339
|
+
attr_accessor route_distance: ::Integer
|
340
|
+
attr_accessor map_view: ::Array[::Float]
|
341
|
+
attr_accessor access_points: ::Array[Types::AccessPoint]
|
342
|
+
SENSITIVE: [:place_id, :title, :position, :distance, :route_distance, :map_view]
|
343
|
+
end
|
344
|
+
|
302
345
|
class MatchScoreDetails
|
303
346
|
attr_accessor overall: ::Float
|
304
347
|
attr_accessor components: Types::ComponentMatchScores
|
@@ -310,14 +353,31 @@ module Aws::GeoPlaces
|
|
310
353
|
attr_accessor open_now: bool
|
311
354
|
attr_accessor components: ::Array[Types::OpeningHoursComponents]
|
312
355
|
attr_accessor categories: ::Array[Types::Category]
|
313
|
-
SENSITIVE: []
|
356
|
+
SENSITIVE: [:open_now]
|
314
357
|
end
|
315
358
|
|
316
359
|
class OpeningHoursComponents
|
317
360
|
attr_accessor open_time: ::String
|
318
361
|
attr_accessor open_duration: ::String
|
319
362
|
attr_accessor recurrence: ::String
|
320
|
-
SENSITIVE: []
|
363
|
+
SENSITIVE: [:open_time, :open_duration, :recurrence]
|
364
|
+
end
|
365
|
+
|
366
|
+
class ParsedQueryComponent
|
367
|
+
attr_accessor start_index: ::Integer
|
368
|
+
attr_accessor end_index: ::Integer
|
369
|
+
attr_accessor value: ::String
|
370
|
+
attr_accessor query_component: ::String
|
371
|
+
SENSITIVE: [:value, :query_component]
|
372
|
+
end
|
373
|
+
|
374
|
+
class ParsedQuerySecondaryAddressComponent
|
375
|
+
attr_accessor start_index: ::Integer
|
376
|
+
attr_accessor end_index: ::Integer
|
377
|
+
attr_accessor value: ::String
|
378
|
+
attr_accessor number: ::String
|
379
|
+
attr_accessor designator: ::String
|
380
|
+
SENSITIVE: [:value, :number, :designator]
|
321
381
|
end
|
322
382
|
|
323
383
|
class PhonemeDetails
|
@@ -330,7 +390,7 @@ module Aws::GeoPlaces
|
|
330
390
|
attr_accessor value: ::String
|
331
391
|
attr_accessor language: ::String
|
332
392
|
attr_accessor preferred: bool
|
333
|
-
SENSITIVE: []
|
393
|
+
SENSITIVE: [:value, :preferred]
|
334
394
|
end
|
335
395
|
|
336
396
|
class PostalCodeDetails
|
@@ -339,7 +399,7 @@ module Aws::GeoPlaces
|
|
339
399
|
attr_accessor postal_code_type: ("UspsZip" | "UspsZipPlus4")
|
340
400
|
attr_accessor usps_zip: Types::UspsZip
|
341
401
|
attr_accessor usps_zip_plus_4: Types::UspsZipPlus4
|
342
|
-
SENSITIVE: []
|
402
|
+
SENSITIVE: [:postal_code, :postal_authority, :postal_code_type]
|
343
403
|
end
|
344
404
|
|
345
405
|
class QueryRefinement
|
@@ -347,13 +407,13 @@ module Aws::GeoPlaces
|
|
347
407
|
attr_accessor original_term: ::String
|
348
408
|
attr_accessor start_index: ::Integer
|
349
409
|
attr_accessor end_index: ::Integer
|
350
|
-
SENSITIVE: []
|
410
|
+
SENSITIVE: [:refined_term, :original_term]
|
351
411
|
end
|
352
412
|
|
353
413
|
class Region
|
354
414
|
attr_accessor code: ::String
|
355
415
|
attr_accessor name: ::String
|
356
|
-
SENSITIVE: []
|
416
|
+
SENSITIVE: [:code, :name]
|
357
417
|
end
|
358
418
|
|
359
419
|
class RegionHighlights
|
@@ -362,6 +422,16 @@ module Aws::GeoPlaces
|
|
362
422
|
SENSITIVE: []
|
363
423
|
end
|
364
424
|
|
425
|
+
class RelatedPlace
|
426
|
+
attr_accessor place_id: ::String
|
427
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
428
|
+
attr_accessor title: ::String
|
429
|
+
attr_accessor address: Types::Address
|
430
|
+
attr_accessor position: ::Array[::Float]
|
431
|
+
attr_accessor access_points: ::Array[Types::AccessPoint]
|
432
|
+
SENSITIVE: [:place_id, :place_type, :title, :position]
|
433
|
+
end
|
434
|
+
|
365
435
|
class ReverseGeocodeFilter
|
366
436
|
attr_accessor include_place_types: ::Array[("Locality" | "Intersection" | "Street" | "PointAddress" | "InterpolatedAddress")]
|
367
437
|
SENSITIVE: []
|
@@ -372,12 +442,12 @@ module Aws::GeoPlaces
|
|
372
442
|
attr_accessor query_radius: ::Integer
|
373
443
|
attr_accessor max_results: ::Integer
|
374
444
|
attr_accessor filter: Types::ReverseGeocodeFilter
|
375
|
-
attr_accessor additional_features: ::Array[("TimeZone" | "Access")]
|
445
|
+
attr_accessor additional_features: ::Array[("TimeZone" | "Access" | "Intersections")]
|
376
446
|
attr_accessor language: ::String
|
377
447
|
attr_accessor political_view: ::String
|
378
448
|
attr_accessor intended_use: ("SingleUse" | "Storage")
|
379
449
|
attr_accessor key: ::String
|
380
|
-
SENSITIVE: [:query_position, :key]
|
450
|
+
SENSITIVE: [:query_position, :query_radius, :political_view, :key]
|
381
451
|
end
|
382
452
|
|
383
453
|
class ReverseGeocodeResponse
|
@@ -388,7 +458,7 @@ module Aws::GeoPlaces
|
|
388
458
|
|
389
459
|
class ReverseGeocodeResultItem
|
390
460
|
attr_accessor place_id: ::String
|
391
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
461
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
392
462
|
attr_accessor title: ::String
|
393
463
|
attr_accessor address: Types::Address
|
394
464
|
attr_accessor address_number_corrected: bool
|
@@ -401,7 +471,8 @@ module Aws::GeoPlaces
|
|
401
471
|
attr_accessor access_points: ::Array[Types::AccessPoint]
|
402
472
|
attr_accessor time_zone: Types::TimeZone
|
403
473
|
attr_accessor political_view: ::String
|
404
|
-
|
474
|
+
attr_accessor intersections: ::Array[Types::Intersection]
|
475
|
+
SENSITIVE: [:place_id, :place_type, :title, :address_number_corrected, :position, :distance, :map_view, :political_view]
|
405
476
|
end
|
406
477
|
|
407
478
|
class SearchNearbyFilter
|
@@ -427,7 +498,7 @@ module Aws::GeoPlaces
|
|
427
498
|
attr_accessor intended_use: ("SingleUse" | "Storage")
|
428
499
|
attr_accessor next_token: ::String
|
429
500
|
attr_accessor key: ::String
|
430
|
-
SENSITIVE: [:query_position, :key]
|
501
|
+
SENSITIVE: [:query_position, :query_radius, :political_view, :key]
|
431
502
|
end
|
432
503
|
|
433
504
|
class SearchNearbyResponse
|
@@ -439,7 +510,7 @@ module Aws::GeoPlaces
|
|
439
510
|
|
440
511
|
class SearchNearbyResultItem
|
441
512
|
attr_accessor place_id: ::String
|
442
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
513
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
443
514
|
attr_accessor title: ::String
|
444
515
|
attr_accessor address: Types::Address
|
445
516
|
attr_accessor address_number_corrected: bool
|
@@ -456,7 +527,7 @@ module Aws::GeoPlaces
|
|
456
527
|
attr_accessor time_zone: Types::TimeZone
|
457
528
|
attr_accessor political_view: ::String
|
458
529
|
attr_accessor phonemes: Types::PhonemeDetails
|
459
|
-
SENSITIVE: [:position, :map_view]
|
530
|
+
SENSITIVE: [:place_id, :place_type, :title, :address_number_corrected, :position, :distance, :map_view, :political_view]
|
460
531
|
end
|
461
532
|
|
462
533
|
class SearchTextFilter
|
@@ -478,7 +549,7 @@ module Aws::GeoPlaces
|
|
478
549
|
attr_accessor intended_use: ("SingleUse" | "Storage")
|
479
550
|
attr_accessor next_token: ::String
|
480
551
|
attr_accessor key: ::String
|
481
|
-
SENSITIVE: [:query_text, :query_id, :bias_position, :key]
|
552
|
+
SENSITIVE: [:query_text, :query_id, :bias_position, :political_view, :key]
|
482
553
|
end
|
483
554
|
|
484
555
|
class SearchTextResponse
|
@@ -490,7 +561,7 @@ module Aws::GeoPlaces
|
|
490
561
|
|
491
562
|
class SearchTextResultItem
|
492
563
|
attr_accessor place_id: ::String
|
493
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
564
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
494
565
|
attr_accessor title: ::String
|
495
566
|
attr_accessor address: Types::Address
|
496
567
|
attr_accessor address_number_corrected: bool
|
@@ -507,7 +578,17 @@ module Aws::GeoPlaces
|
|
507
578
|
attr_accessor time_zone: Types::TimeZone
|
508
579
|
attr_accessor political_view: ::String
|
509
580
|
attr_accessor phonemes: Types::PhonemeDetails
|
510
|
-
SENSITIVE: [:position, :map_view]
|
581
|
+
SENSITIVE: [:place_id, :place_type, :title, :address_number_corrected, :position, :distance, :map_view, :political_view]
|
582
|
+
end
|
583
|
+
|
584
|
+
class SecondaryAddressComponent
|
585
|
+
attr_accessor number: ::String
|
586
|
+
SENSITIVE: [:number]
|
587
|
+
end
|
588
|
+
|
589
|
+
class SecondaryAddressComponentMatchScore
|
590
|
+
attr_accessor number: ::Float
|
591
|
+
SENSITIVE: []
|
511
592
|
end
|
512
593
|
|
513
594
|
class StreetComponents
|
@@ -519,13 +600,13 @@ module Aws::GeoPlaces
|
|
519
600
|
attr_accessor suffix: ::String
|
520
601
|
attr_accessor direction: ::String
|
521
602
|
attr_accessor language: ::String
|
522
|
-
SENSITIVE: []
|
603
|
+
SENSITIVE: [:base_name, :type, :prefix, :suffix, :direction]
|
523
604
|
end
|
524
605
|
|
525
606
|
class SubRegion
|
526
607
|
attr_accessor code: ::String
|
527
608
|
attr_accessor name: ::String
|
528
|
-
SENSITIVE: []
|
609
|
+
SENSITIVE: [:code, :name]
|
529
610
|
end
|
530
611
|
|
531
612
|
class SubRegionHighlights
|
@@ -554,7 +635,7 @@ module Aws::GeoPlaces
|
|
554
635
|
|
555
636
|
class SuggestPlaceResult
|
556
637
|
attr_accessor place_id: ::String
|
557
|
-
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress")
|
638
|
+
attr_accessor place_type: ("Country" | "Region" | "SubRegion" | "Locality" | "District" | "SubDistrict" | "PostalCode" | "Block" | "SubBlock" | "Intersection" | "Street" | "PointOfInterest" | "PointAddress" | "InterpolatedAddress" | "SecondaryAddress")
|
558
639
|
attr_accessor address: Types::Address
|
559
640
|
attr_accessor position: ::Array[::Float]
|
560
641
|
attr_accessor distance: ::Integer
|
@@ -567,13 +648,13 @@ module Aws::GeoPlaces
|
|
567
648
|
attr_accessor time_zone: Types::TimeZone
|
568
649
|
attr_accessor political_view: ::String
|
569
650
|
attr_accessor phonemes: Types::PhonemeDetails
|
570
|
-
SENSITIVE: [:position, :map_view]
|
651
|
+
SENSITIVE: [:place_id, :place_type, :position, :distance, :map_view, :political_view]
|
571
652
|
end
|
572
653
|
|
573
654
|
class SuggestQueryResult
|
574
655
|
attr_accessor query_id: ::String
|
575
656
|
attr_accessor query_type: ("Category" | "BusinessChain")
|
576
|
-
SENSITIVE: []
|
657
|
+
SENSITIVE: [:query_id]
|
577
658
|
end
|
578
659
|
|
579
660
|
class SuggestRequest
|
@@ -587,7 +668,7 @@ module Aws::GeoPlaces
|
|
587
668
|
attr_accessor political_view: ::String
|
588
669
|
attr_accessor intended_use: ("SingleUse")
|
589
670
|
attr_accessor key: ::String
|
590
|
-
SENSITIVE: [:query_text, :bias_position, :key]
|
671
|
+
SENSITIVE: [:query_text, :bias_position, :political_view, :key]
|
591
672
|
end
|
592
673
|
|
593
674
|
class SuggestResponse
|
@@ -603,7 +684,7 @@ module Aws::GeoPlaces
|
|
603
684
|
attr_accessor place: Types::SuggestPlaceResult
|
604
685
|
attr_accessor query: Types::SuggestQueryResult
|
605
686
|
attr_accessor highlights: Types::SuggestHighlights
|
606
|
-
SENSITIVE: []
|
687
|
+
SENSITIVE: [:title]
|
607
688
|
end
|
608
689
|
|
609
690
|
class ThrottlingException
|
@@ -615,17 +696,17 @@ module Aws::GeoPlaces
|
|
615
696
|
attr_accessor name: ::String
|
616
697
|
attr_accessor offset: ::String
|
617
698
|
attr_accessor offset_seconds: ::Integer
|
618
|
-
SENSITIVE: []
|
699
|
+
SENSITIVE: [:name, :offset, :offset_seconds]
|
619
700
|
end
|
620
701
|
|
621
702
|
class UspsZip
|
622
703
|
attr_accessor zip_classification_code: ("Military" | "PostOfficeBoxes" | "Unique")
|
623
|
-
SENSITIVE: []
|
704
|
+
SENSITIVE: [:zip_classification_code]
|
624
705
|
end
|
625
706
|
|
626
707
|
class UspsZipPlus4
|
627
708
|
attr_accessor record_type_code: ("Firm" | "General" | "HighRise" | "PostOfficeBox" | "Rural" | "Street")
|
628
|
-
SENSITIVE: []
|
709
|
+
SENSITIVE: [:record_type_code]
|
629
710
|
end
|
630
711
|
|
631
712
|
class ValidationException
|