@aws-sdk/client-geo-places 3.683.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.
Files changed (107) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +297 -0
  3. package/dist-cjs/GeoPlaces.js +25 -0
  4. package/dist-cjs/GeoPlacesClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AutocompleteCommand.js +27 -0
  8. package/dist-cjs/commands/GeocodeCommand.js +27 -0
  9. package/dist-cjs/commands/GetPlaceCommand.js +27 -0
  10. package/dist-cjs/commands/ReverseGeocodeCommand.js +27 -0
  11. package/dist-cjs/commands/SearchNearbyCommand.js +27 -0
  12. package/dist-cjs/commands/SearchTextCommand.js +27 -0
  13. package/dist-cjs/commands/SuggestCommand.js +27 -0
  14. package/dist-cjs/commands/index.js +10 -0
  15. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  16. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  17. package/dist-cjs/endpoint/ruleset.js +7 -0
  18. package/dist-cjs/extensionConfiguration.js +2 -0
  19. package/dist-cjs/index.js +10 -0
  20. package/dist-cjs/models/GeoPlacesServiceException.js +12 -0
  21. package/dist-cjs/models/index.js +4 -0
  22. package/dist-cjs/models/models_0.js +379 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +690 -0
  24. package/dist-cjs/runtimeConfig.browser.js +39 -0
  25. package/dist-cjs/runtimeConfig.js +50 -0
  26. package/dist-cjs/runtimeConfig.native.js +15 -0
  27. package/dist-cjs/runtimeConfig.shared.js +34 -0
  28. package/dist-cjs/runtimeExtensions.js +25 -0
  29. package/dist-es/GeoPlaces.js +21 -0
  30. package/dist-es/GeoPlacesClient.js +46 -0
  31. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  32. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  33. package/dist-es/commands/AutocompleteCommand.js +23 -0
  34. package/dist-es/commands/GeocodeCommand.js +23 -0
  35. package/dist-es/commands/GetPlaceCommand.js +23 -0
  36. package/dist-es/commands/ReverseGeocodeCommand.js +23 -0
  37. package/dist-es/commands/SearchNearbyCommand.js +23 -0
  38. package/dist-es/commands/SearchTextCommand.js +23 -0
  39. package/dist-es/commands/SuggestCommand.js +23 -0
  40. package/dist-es/commands/index.js +7 -0
  41. package/dist-es/endpoint/EndpointParameters.js +14 -0
  42. package/dist-es/endpoint/endpointResolver.js +14 -0
  43. package/dist-es/endpoint/ruleset.js +4 -0
  44. package/dist-es/extensionConfiguration.js +1 -0
  45. package/dist-es/index.js +5 -0
  46. package/dist-es/models/GeoPlacesServiceException.js +8 -0
  47. package/dist-es/models/index.js +1 -0
  48. package/dist-es/models/models_0.js +345 -0
  49. package/dist-es/protocols/Aws_restJson1.js +673 -0
  50. package/dist-es/runtimeConfig.browser.js +34 -0
  51. package/dist-es/runtimeConfig.js +45 -0
  52. package/dist-es/runtimeConfig.native.js +11 -0
  53. package/dist-es/runtimeConfig.shared.js +30 -0
  54. package/dist-es/runtimeExtensions.js +21 -0
  55. package/dist-types/GeoPlaces.d.ts +97 -0
  56. package/dist-types/GeoPlacesClient.d.ts +212 -0
  57. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  58. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  59. package/dist-types/commands/AutocompleteCommand.d.ts +204 -0
  60. package/dist-types/commands/GeocodeCommand.d.ts +231 -0
  61. package/dist-types/commands/GetPlaceCommand.d.ts +312 -0
  62. package/dist-types/commands/ReverseGeocodeCommand.d.ts +196 -0
  63. package/dist-types/commands/SearchNearbyCommand.d.ts +335 -0
  64. package/dist-types/commands/SearchTextCommand.d.ts +326 -0
  65. package/dist-types/commands/SuggestCommand.d.ts +289 -0
  66. package/dist-types/commands/index.d.ts +7 -0
  67. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  68. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  69. package/dist-types/endpoint/ruleset.d.ts +2 -0
  70. package/dist-types/extensionConfiguration.d.ts +9 -0
  71. package/dist-types/index.d.ts +49 -0
  72. package/dist-types/models/GeoPlacesServiceException.d.ts +14 -0
  73. package/dist-types/models/index.d.ts +1 -0
  74. package/dist-types/models/models_0.d.ts +2871 -0
  75. package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
  76. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  77. package/dist-types/runtimeConfig.d.ts +48 -0
  78. package/dist-types/runtimeConfig.native.d.ts +47 -0
  79. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  80. package/dist-types/runtimeExtensions.d.ts +17 -0
  81. package/dist-types/ts3.4/GeoPlaces.d.ts +126 -0
  82. package/dist-types/ts3.4/GeoPlacesClient.d.ts +160 -0
  83. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  84. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  85. package/dist-types/ts3.4/commands/AutocompleteCommand.d.ts +47 -0
  86. package/dist-types/ts3.4/commands/GeocodeCommand.d.ts +45 -0
  87. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +47 -0
  88. package/dist-types/ts3.4/commands/ReverseGeocodeCommand.d.ts +50 -0
  89. package/dist-types/ts3.4/commands/SearchNearbyCommand.d.ts +47 -0
  90. package/dist-types/ts3.4/commands/SearchTextCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/SuggestCommand.d.ts +43 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  93. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  94. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  95. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  96. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  97. package/dist-types/ts3.4/index.d.ts +8 -0
  98. package/dist-types/ts3.4/models/GeoPlacesServiceException.d.ts +9 -0
  99. package/dist-types/ts3.4/models/index.d.ts +1 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +786 -0
  101. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
  102. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  103. package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
  104. package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
  105. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  106. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  107. package/package.json +101 -0
@@ -0,0 +1,786 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { GeoPlacesServiceException as __BaseException } from "./GeoPlacesServiceException";
3
+ export declare class AccessDeniedException extends __BaseException {
4
+ readonly name: "AccessDeniedException";
5
+ readonly $fault: "client";
6
+ Message: string | undefined;
7
+ constructor(
8
+ opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
+ );
10
+ }
11
+ export interface AccessPoint {
12
+ Position?: number[];
13
+ }
14
+ export interface Category {
15
+ Id: string | undefined;
16
+ Name: string | undefined;
17
+ LocalizedName?: string;
18
+ Primary?: boolean;
19
+ }
20
+ export interface AccessRestriction {
21
+ Restricted?: boolean;
22
+ Categories?: Category[];
23
+ }
24
+ export interface Country {
25
+ Code2?: string;
26
+ Code3?: string;
27
+ Name?: string;
28
+ }
29
+ export interface Region {
30
+ Code?: string;
31
+ Name?: string;
32
+ }
33
+ export declare const TypePlacement: {
34
+ readonly AFTER_BASE_NAME: "AfterBaseName";
35
+ readonly BEFORE_BASE_NAME: "BeforeBaseName";
36
+ };
37
+ export type TypePlacement = (typeof TypePlacement)[keyof typeof TypePlacement];
38
+ export interface StreetComponents {
39
+ BaseName?: string;
40
+ Type?: string;
41
+ TypePlacement?: TypePlacement;
42
+ TypeSeparator?: string;
43
+ Prefix?: string;
44
+ Suffix?: string;
45
+ Direction?: string;
46
+ Language?: string;
47
+ }
48
+ export interface SubRegion {
49
+ Code?: string;
50
+ Name?: string;
51
+ }
52
+ export interface Address {
53
+ Label?: string;
54
+ Country?: Country;
55
+ Region?: Region;
56
+ SubRegion?: SubRegion;
57
+ Locality?: string;
58
+ District?: string;
59
+ SubDistrict?: string;
60
+ PostalCode?: string;
61
+ Block?: string;
62
+ SubBlock?: string;
63
+ Intersection?: string[];
64
+ Street?: string;
65
+ StreetComponents?: StreetComponents[];
66
+ AddressNumber?: string;
67
+ Building?: string;
68
+ }
69
+ export interface AddressComponentMatchScores {
70
+ Country?: number;
71
+ Region?: number;
72
+ SubRegion?: number;
73
+ Locality?: number;
74
+ District?: number;
75
+ SubDistrict?: number;
76
+ PostalCode?: number;
77
+ Block?: number;
78
+ SubBlock?: number;
79
+ Intersection?: number[];
80
+ AddressNumber?: number;
81
+ Building?: number;
82
+ }
83
+ export interface PhonemeTranscription {
84
+ Value?: string;
85
+ Language?: string;
86
+ Preferred?: boolean;
87
+ }
88
+ export interface AddressComponentPhonemes {
89
+ Country?: PhonemeTranscription[];
90
+ Region?: PhonemeTranscription[];
91
+ SubRegion?: PhonemeTranscription[];
92
+ Locality?: PhonemeTranscription[];
93
+ District?: PhonemeTranscription[];
94
+ SubDistrict?: PhonemeTranscription[];
95
+ Block?: PhonemeTranscription[];
96
+ SubBlock?: PhonemeTranscription[];
97
+ Street?: PhonemeTranscription[];
98
+ }
99
+ export declare const AutocompleteAdditionalFeature: {
100
+ readonly CORE: "Core";
101
+ };
102
+ export type AutocompleteAdditionalFeature =
103
+ (typeof AutocompleteAdditionalFeature)[keyof typeof AutocompleteAdditionalFeature];
104
+ export interface FilterCircle {
105
+ Center: number[] | undefined;
106
+ Radius: number | undefined;
107
+ }
108
+ export declare const AutocompleteFilterPlaceType: {
109
+ readonly LOCALITY: "Locality";
110
+ readonly POSTAL_CODE: "PostalCode";
111
+ };
112
+ export type AutocompleteFilterPlaceType =
113
+ (typeof AutocompleteFilterPlaceType)[keyof typeof AutocompleteFilterPlaceType];
114
+ export interface AutocompleteFilter {
115
+ BoundingBox?: number[];
116
+ Circle?: FilterCircle;
117
+ IncludeCountries?: string[];
118
+ IncludePlaceTypes?: AutocompleteFilterPlaceType[];
119
+ }
120
+ export declare const AutocompleteIntendedUse: {
121
+ readonly SINGLE_USE: "SingleUse";
122
+ };
123
+ export type AutocompleteIntendedUse =
124
+ (typeof AutocompleteIntendedUse)[keyof typeof AutocompleteIntendedUse];
125
+ export declare const PostalCodeMode: {
126
+ readonly ENUMERATE_SPANNED_LOCALITIES: "EnumerateSpannedLocalities";
127
+ readonly MERGE_ALL_SPANNED_LOCALITIES: "MergeAllSpannedLocalities";
128
+ };
129
+ export type PostalCodeMode =
130
+ (typeof PostalCodeMode)[keyof typeof PostalCodeMode];
131
+ export interface AutocompleteRequest {
132
+ QueryText: string | undefined;
133
+ MaxResults?: number;
134
+ BiasPosition?: number[];
135
+ Filter?: AutocompleteFilter;
136
+ PostalCodeMode?: PostalCodeMode;
137
+ AdditionalFeatures?: AutocompleteAdditionalFeature[];
138
+ Language?: string;
139
+ PoliticalView?: string;
140
+ IntendedUse?: AutocompleteIntendedUse;
141
+ Key?: string;
142
+ }
143
+ export interface Highlight {
144
+ StartIndex?: number;
145
+ EndIndex?: number;
146
+ Value?: string;
147
+ }
148
+ export interface CountryHighlights {
149
+ Code?: Highlight[];
150
+ Name?: Highlight[];
151
+ }
152
+ export interface RegionHighlights {
153
+ Code?: Highlight[];
154
+ Name?: Highlight[];
155
+ }
156
+ export interface SubRegionHighlights {
157
+ Code?: Highlight[];
158
+ Name?: Highlight[];
159
+ }
160
+ export interface AutocompleteAddressHighlights {
161
+ Label?: Highlight[];
162
+ Country?: CountryHighlights;
163
+ Region?: RegionHighlights;
164
+ SubRegion?: SubRegionHighlights;
165
+ Locality?: Highlight[];
166
+ District?: Highlight[];
167
+ SubDistrict?: Highlight[];
168
+ Street?: Highlight[];
169
+ Block?: Highlight[];
170
+ SubBlock?: Highlight[];
171
+ Intersection?: Highlight[][];
172
+ PostalCode?: Highlight[];
173
+ AddressNumber?: Highlight[];
174
+ Building?: Highlight[];
175
+ }
176
+ export interface AutocompleteHighlights {
177
+ Title?: Highlight[];
178
+ Address?: AutocompleteAddressHighlights;
179
+ }
180
+ export declare const PlaceType: {
181
+ readonly BLOCK: "Block";
182
+ readonly COUNTRY: "Country";
183
+ readonly DISTRICT: "District";
184
+ readonly INTERPOLATED_ADDRESS: "InterpolatedAddress";
185
+ readonly INTERSECTION: "Intersection";
186
+ readonly LOCALITY: "Locality";
187
+ readonly POINT_ADDRESS: "PointAddress";
188
+ readonly POINT_OF_INTEREST: "PointOfInterest";
189
+ readonly POSTAL_CODE: "PostalCode";
190
+ readonly REGION: "Region";
191
+ readonly STREET: "Street";
192
+ readonly SUB_BLOCK: "SubBlock";
193
+ readonly SUB_DISTRICT: "SubDistrict";
194
+ readonly SUB_REGION: "SubRegion";
195
+ };
196
+ export type PlaceType = (typeof PlaceType)[keyof typeof PlaceType];
197
+ export interface AutocompleteResultItem {
198
+ PlaceId: string | undefined;
199
+ PlaceType: PlaceType | undefined;
200
+ Title: string | undefined;
201
+ Address?: Address;
202
+ Distance?: number;
203
+ Language?: string;
204
+ PoliticalView?: string;
205
+ Highlights?: AutocompleteHighlights;
206
+ }
207
+ export interface AutocompleteResponse {
208
+ PricingBucket: string | undefined;
209
+ ResultItems?: AutocompleteResultItem[];
210
+ }
211
+ export declare class InternalServerException extends __BaseException {
212
+ readonly name: "InternalServerException";
213
+ readonly $fault: "server";
214
+ $retryable: {};
215
+ Message: string | undefined;
216
+ constructor(
217
+ opts: __ExceptionOptionType<InternalServerException, __BaseException>
218
+ );
219
+ }
220
+ export declare class ThrottlingException extends __BaseException {
221
+ readonly name: "ThrottlingException";
222
+ readonly $fault: "client";
223
+ $retryable: {};
224
+ Message: string | undefined;
225
+ constructor(
226
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
227
+ );
228
+ }
229
+ export interface ValidationExceptionField {
230
+ Name: string | undefined;
231
+ Message: string | undefined;
232
+ }
233
+ export declare const ValidationExceptionReason: {
234
+ readonly CANNOT_PARSE: "CannotParse";
235
+ readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
236
+ readonly MISSING: "Missing";
237
+ readonly OTHER: "Other";
238
+ readonly UNKNOWN_FIELD: "UnknownField";
239
+ readonly UNKNOWN_OPERATION: "UnknownOperation";
240
+ };
241
+ export type ValidationExceptionReason =
242
+ (typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
243
+ export declare class ValidationException extends __BaseException {
244
+ readonly name: "ValidationException";
245
+ readonly $fault: "client";
246
+ Message: string | undefined;
247
+ Reason: ValidationExceptionReason | undefined;
248
+ FieldList: ValidationExceptionField[] | undefined;
249
+ constructor(
250
+ opts: __ExceptionOptionType<ValidationException, __BaseException>
251
+ );
252
+ }
253
+ export interface BusinessChain {
254
+ Name?: string;
255
+ Id?: string;
256
+ }
257
+ export interface ComponentMatchScores {
258
+ Title?: number;
259
+ Address?: AddressComponentMatchScores;
260
+ }
261
+ export interface ContactDetails {
262
+ Label?: string;
263
+ Value?: string;
264
+ Categories?: Category[];
265
+ }
266
+ export interface Contacts {
267
+ Phones?: ContactDetails[];
268
+ Faxes?: ContactDetails[];
269
+ Websites?: ContactDetails[];
270
+ Emails?: ContactDetails[];
271
+ }
272
+ export interface FoodType {
273
+ LocalizedName: string | undefined;
274
+ Id?: string;
275
+ Primary?: boolean;
276
+ }
277
+ export declare const GeocodeAdditionalFeature: {
278
+ readonly ACCESS: "Access";
279
+ readonly TIME_ZONE: "TimeZone";
280
+ };
281
+ export type GeocodeAdditionalFeature =
282
+ (typeof GeocodeAdditionalFeature)[keyof typeof GeocodeAdditionalFeature];
283
+ export declare const GeocodeFilterPlaceType: {
284
+ readonly INTERPOLATED_ADDRESS: "InterpolatedAddress";
285
+ readonly INTERSECTION: "Intersection";
286
+ readonly LOCALITY: "Locality";
287
+ readonly POINT_ADDRESS: "PointAddress";
288
+ readonly POSTAL_CODE: "PostalCode";
289
+ readonly STREET: "Street";
290
+ };
291
+ export type GeocodeFilterPlaceType =
292
+ (typeof GeocodeFilterPlaceType)[keyof typeof GeocodeFilterPlaceType];
293
+ export interface GeocodeFilter {
294
+ IncludeCountries?: string[];
295
+ IncludePlaceTypes?: GeocodeFilterPlaceType[];
296
+ }
297
+ export declare const GeocodeIntendedUse: {
298
+ readonly SINGLE_USE: "SingleUse";
299
+ readonly STORAGE: "Storage";
300
+ };
301
+ export type GeocodeIntendedUse =
302
+ (typeof GeocodeIntendedUse)[keyof typeof GeocodeIntendedUse];
303
+ export interface GeocodeQueryComponents {
304
+ Country?: string;
305
+ Region?: string;
306
+ SubRegion?: string;
307
+ Locality?: string;
308
+ District?: string;
309
+ Street?: string;
310
+ AddressNumber?: string;
311
+ PostalCode?: string;
312
+ }
313
+ export interface GeocodeRequest {
314
+ QueryText?: string;
315
+ QueryComponents?: GeocodeQueryComponents;
316
+ MaxResults?: number;
317
+ BiasPosition?: number[];
318
+ Filter?: GeocodeFilter;
319
+ AdditionalFeatures?: GeocodeAdditionalFeature[];
320
+ Language?: string;
321
+ PoliticalView?: string;
322
+ IntendedUse?: GeocodeIntendedUse;
323
+ Key?: string;
324
+ }
325
+ export interface MatchScoreDetails {
326
+ Overall?: number;
327
+ Components?: ComponentMatchScores;
328
+ }
329
+ export declare const PostalAuthority: {
330
+ readonly USPS: "Usps";
331
+ };
332
+ export type PostalAuthority =
333
+ (typeof PostalAuthority)[keyof typeof PostalAuthority];
334
+ export declare const PostalCodeType: {
335
+ readonly USPS_ZIP: "UspsZip";
336
+ readonly USPS_ZIP_PLUS_4: "UspsZipPlus4";
337
+ };
338
+ export type PostalCodeType =
339
+ (typeof PostalCodeType)[keyof typeof PostalCodeType];
340
+ export declare const ZipClassificationCode: {
341
+ readonly MILITARY: "Military";
342
+ readonly POST_OFFICE_BOXES: "PostOfficeBoxes";
343
+ readonly UNIQUE: "Unique";
344
+ };
345
+ export type ZipClassificationCode =
346
+ (typeof ZipClassificationCode)[keyof typeof ZipClassificationCode];
347
+ export interface UspsZip {
348
+ ZipClassificationCode?: ZipClassificationCode;
349
+ }
350
+ export declare const RecordTypeCode: {
351
+ readonly FIRM: "Firm";
352
+ readonly GENERAL: "General";
353
+ readonly HIGH_RISE: "HighRise";
354
+ readonly POST_OFFICE_BOX: "PostOfficeBox";
355
+ readonly RURAL: "Rural";
356
+ readonly STREET: "Street";
357
+ };
358
+ export type RecordTypeCode =
359
+ (typeof RecordTypeCode)[keyof typeof RecordTypeCode];
360
+ export interface UspsZipPlus4 {
361
+ RecordTypeCode?: RecordTypeCode;
362
+ }
363
+ export interface PostalCodeDetails {
364
+ PostalCode?: string;
365
+ PostalAuthority?: PostalAuthority;
366
+ PostalCodeType?: PostalCodeType;
367
+ UspsZip?: UspsZip;
368
+ UspsZipPlus4?: UspsZipPlus4;
369
+ }
370
+ export interface TimeZone {
371
+ Name: string | undefined;
372
+ Offset?: string;
373
+ OffsetSeconds?: number;
374
+ }
375
+ export interface GeocodeResultItem {
376
+ PlaceId: string | undefined;
377
+ PlaceType: PlaceType | undefined;
378
+ Title: string | undefined;
379
+ Address?: Address;
380
+ AddressNumberCorrected?: boolean;
381
+ PostalCodeDetails?: PostalCodeDetails[];
382
+ Position?: number[];
383
+ Distance?: number;
384
+ MapView?: number[];
385
+ Categories?: Category[];
386
+ FoodTypes?: FoodType[];
387
+ AccessPoints?: AccessPoint[];
388
+ TimeZone?: TimeZone;
389
+ PoliticalView?: string;
390
+ MatchScores?: MatchScoreDetails;
391
+ }
392
+ export interface GeocodeResponse {
393
+ PricingBucket: string | undefined;
394
+ ResultItems?: GeocodeResultItem[];
395
+ }
396
+ export declare const GetPlaceAdditionalFeature: {
397
+ readonly ACCESS: "Access";
398
+ readonly CONTACT: "Contact";
399
+ readonly PHONEMES: "Phonemes";
400
+ readonly TIME_ZONE: "TimeZone";
401
+ };
402
+ export type GetPlaceAdditionalFeature =
403
+ (typeof GetPlaceAdditionalFeature)[keyof typeof GetPlaceAdditionalFeature];
404
+ export declare const GetPlaceIntendedUse: {
405
+ readonly SINGLE_USE: "SingleUse";
406
+ readonly STORAGE: "Storage";
407
+ };
408
+ export type GetPlaceIntendedUse =
409
+ (typeof GetPlaceIntendedUse)[keyof typeof GetPlaceIntendedUse];
410
+ export interface GetPlaceRequest {
411
+ PlaceId: string | undefined;
412
+ AdditionalFeatures?: GetPlaceAdditionalFeature[];
413
+ Language?: string;
414
+ PoliticalView?: string;
415
+ IntendedUse?: GetPlaceIntendedUse;
416
+ Key?: string;
417
+ }
418
+ export interface OpeningHoursComponents {
419
+ OpenTime?: string;
420
+ OpenDuration?: string;
421
+ Recurrence?: string;
422
+ }
423
+ export interface OpeningHours {
424
+ Display?: string[];
425
+ OpenNow?: boolean;
426
+ Components?: OpeningHoursComponents[];
427
+ Categories?: Category[];
428
+ }
429
+ export interface PhonemeDetails {
430
+ Title?: PhonemeTranscription[];
431
+ Address?: AddressComponentPhonemes;
432
+ }
433
+ export interface GetPlaceResponse {
434
+ PlaceId: string | undefined;
435
+ PlaceType: PlaceType | undefined;
436
+ Title: string | undefined;
437
+ PricingBucket: string | undefined;
438
+ Address?: Address;
439
+ AddressNumberCorrected?: boolean;
440
+ PostalCodeDetails?: PostalCodeDetails[];
441
+ Position?: number[];
442
+ MapView?: number[];
443
+ Categories?: Category[];
444
+ FoodTypes?: FoodType[];
445
+ BusinessChains?: BusinessChain[];
446
+ Contacts?: Contacts;
447
+ OpeningHours?: OpeningHours[];
448
+ AccessPoints?: AccessPoint[];
449
+ AccessRestrictions?: AccessRestriction[];
450
+ TimeZone?: TimeZone;
451
+ PoliticalView?: string;
452
+ Phonemes?: PhonemeDetails;
453
+ }
454
+ export declare const ReverseGeocodeAdditionalFeature: {
455
+ readonly ACCESS: "Access";
456
+ readonly TIME_ZONE: "TimeZone";
457
+ };
458
+ export type ReverseGeocodeAdditionalFeature =
459
+ (typeof ReverseGeocodeAdditionalFeature)[keyof typeof ReverseGeocodeAdditionalFeature];
460
+ export declare const ReverseGeocodeFilterPlaceType: {
461
+ readonly INTERPOLATED_ADDRESS: "InterpolatedAddress";
462
+ readonly INTERSECTION: "Intersection";
463
+ readonly LOCALITY: "Locality";
464
+ readonly POINT_ADDRESS: "PointAddress";
465
+ readonly STREET: "Street";
466
+ };
467
+ export type ReverseGeocodeFilterPlaceType =
468
+ (typeof ReverseGeocodeFilterPlaceType)[keyof typeof ReverseGeocodeFilterPlaceType];
469
+ export interface ReverseGeocodeFilter {
470
+ IncludePlaceTypes?: ReverseGeocodeFilterPlaceType[];
471
+ }
472
+ export declare const ReverseGeocodeIntendedUse: {
473
+ readonly SINGLE_USE: "SingleUse";
474
+ readonly STORAGE: "Storage";
475
+ };
476
+ export type ReverseGeocodeIntendedUse =
477
+ (typeof ReverseGeocodeIntendedUse)[keyof typeof ReverseGeocodeIntendedUse];
478
+ export interface ReverseGeocodeRequest {
479
+ QueryPosition: number[] | undefined;
480
+ QueryRadius?: number;
481
+ MaxResults?: number;
482
+ Filter?: ReverseGeocodeFilter;
483
+ AdditionalFeatures?: ReverseGeocodeAdditionalFeature[];
484
+ Language?: string;
485
+ PoliticalView?: string;
486
+ IntendedUse?: ReverseGeocodeIntendedUse;
487
+ Key?: string;
488
+ }
489
+ export interface ReverseGeocodeResultItem {
490
+ PlaceId: string | undefined;
491
+ PlaceType: PlaceType | undefined;
492
+ Title: string | undefined;
493
+ Address?: Address;
494
+ AddressNumberCorrected?: boolean;
495
+ PostalCodeDetails?: PostalCodeDetails[];
496
+ Position?: number[];
497
+ Distance?: number;
498
+ MapView?: number[];
499
+ Categories?: Category[];
500
+ FoodTypes?: FoodType[];
501
+ AccessPoints?: AccessPoint[];
502
+ TimeZone?: TimeZone;
503
+ PoliticalView?: string;
504
+ }
505
+ export interface ReverseGeocodeResponse {
506
+ PricingBucket: string | undefined;
507
+ ResultItems?: ReverseGeocodeResultItem[];
508
+ }
509
+ export declare const SearchNearbyAdditionalFeature: {
510
+ readonly ACCESS: "Access";
511
+ readonly CONTACT: "Contact";
512
+ readonly PHONEMES: "Phonemes";
513
+ readonly TIME_ZONE: "TimeZone";
514
+ };
515
+ export type SearchNearbyAdditionalFeature =
516
+ (typeof SearchNearbyAdditionalFeature)[keyof typeof SearchNearbyAdditionalFeature];
517
+ export interface SearchNearbyFilter {
518
+ BoundingBox?: number[];
519
+ IncludeCountries?: string[];
520
+ IncludeCategories?: string[];
521
+ ExcludeCategories?: string[];
522
+ IncludeBusinessChains?: string[];
523
+ ExcludeBusinessChains?: string[];
524
+ IncludeFoodTypes?: string[];
525
+ ExcludeFoodTypes?: string[];
526
+ }
527
+ export declare const SearchNearbyIntendedUse: {
528
+ readonly SINGLE_USE: "SingleUse";
529
+ readonly STORAGE: "Storage";
530
+ };
531
+ export type SearchNearbyIntendedUse =
532
+ (typeof SearchNearbyIntendedUse)[keyof typeof SearchNearbyIntendedUse];
533
+ export interface SearchNearbyRequest {
534
+ QueryPosition: number[] | undefined;
535
+ QueryRadius?: number;
536
+ MaxResults?: number;
537
+ Filter?: SearchNearbyFilter;
538
+ AdditionalFeatures?: SearchNearbyAdditionalFeature[];
539
+ Language?: string;
540
+ PoliticalView?: string;
541
+ IntendedUse?: SearchNearbyIntendedUse;
542
+ NextToken?: string;
543
+ Key?: string;
544
+ }
545
+ export interface SearchNearbyResultItem {
546
+ PlaceId: string | undefined;
547
+ PlaceType: PlaceType | undefined;
548
+ Title: string | undefined;
549
+ Address?: Address;
550
+ AddressNumberCorrected?: boolean;
551
+ Position?: number[];
552
+ Distance?: number;
553
+ MapView?: number[];
554
+ Categories?: Category[];
555
+ FoodTypes?: FoodType[];
556
+ BusinessChains?: BusinessChain[];
557
+ Contacts?: Contacts;
558
+ OpeningHours?: OpeningHours[];
559
+ AccessPoints?: AccessPoint[];
560
+ AccessRestrictions?: AccessRestriction[];
561
+ TimeZone?: TimeZone;
562
+ PoliticalView?: string;
563
+ Phonemes?: PhonemeDetails;
564
+ }
565
+ export interface SearchNearbyResponse {
566
+ PricingBucket: string | undefined;
567
+ ResultItems?: SearchNearbyResultItem[];
568
+ NextToken?: string;
569
+ }
570
+ export declare const SearchTextAdditionalFeature: {
571
+ readonly ACCESS: "Access";
572
+ readonly CONTACT: "Contact";
573
+ readonly PHONEMES: "Phonemes";
574
+ readonly TIME_ZONE: "TimeZone";
575
+ };
576
+ export type SearchTextAdditionalFeature =
577
+ (typeof SearchTextAdditionalFeature)[keyof typeof SearchTextAdditionalFeature];
578
+ export interface SearchTextFilter {
579
+ BoundingBox?: number[];
580
+ Circle?: FilterCircle;
581
+ IncludeCountries?: string[];
582
+ }
583
+ export declare const SearchTextIntendedUse: {
584
+ readonly SINGLE_USE: "SingleUse";
585
+ readonly STORAGE: "Storage";
586
+ };
587
+ export type SearchTextIntendedUse =
588
+ (typeof SearchTextIntendedUse)[keyof typeof SearchTextIntendedUse];
589
+ export interface SearchTextRequest {
590
+ QueryText?: string;
591
+ QueryId?: string;
592
+ MaxResults?: number;
593
+ BiasPosition?: number[];
594
+ Filter?: SearchTextFilter;
595
+ AdditionalFeatures?: SearchTextAdditionalFeature[];
596
+ Language?: string;
597
+ PoliticalView?: string;
598
+ IntendedUse?: SearchTextIntendedUse;
599
+ NextToken?: string;
600
+ Key?: string;
601
+ }
602
+ export interface SearchTextResultItem {
603
+ PlaceId: string | undefined;
604
+ PlaceType: PlaceType | undefined;
605
+ Title: string | undefined;
606
+ Address?: Address;
607
+ AddressNumberCorrected?: boolean;
608
+ Position?: number[];
609
+ Distance?: number;
610
+ MapView?: number[];
611
+ Categories?: Category[];
612
+ FoodTypes?: FoodType[];
613
+ BusinessChains?: BusinessChain[];
614
+ Contacts?: Contacts;
615
+ OpeningHours?: OpeningHours[];
616
+ AccessPoints?: AccessPoint[];
617
+ AccessRestrictions?: AccessRestriction[];
618
+ TimeZone?: TimeZone;
619
+ PoliticalView?: string;
620
+ Phonemes?: PhonemeDetails;
621
+ }
622
+ export interface SearchTextResponse {
623
+ PricingBucket: string | undefined;
624
+ ResultItems?: SearchTextResultItem[];
625
+ NextToken?: string;
626
+ }
627
+ export declare const SuggestAdditionalFeature: {
628
+ readonly ACCESS: "Access";
629
+ readonly CORE: "Core";
630
+ readonly PHONEMES: "Phonemes";
631
+ readonly TIME_ZONE: "TimeZone";
632
+ };
633
+ export type SuggestAdditionalFeature =
634
+ (typeof SuggestAdditionalFeature)[keyof typeof SuggestAdditionalFeature];
635
+ export interface SuggestFilter {
636
+ BoundingBox?: number[];
637
+ Circle?: FilterCircle;
638
+ IncludeCountries?: string[];
639
+ }
640
+ export declare const SuggestIntendedUse: {
641
+ readonly SINGLE_USE: "SingleUse";
642
+ };
643
+ export type SuggestIntendedUse =
644
+ (typeof SuggestIntendedUse)[keyof typeof SuggestIntendedUse];
645
+ export interface SuggestRequest {
646
+ QueryText: string | undefined;
647
+ MaxResults?: number;
648
+ MaxQueryRefinements?: number;
649
+ BiasPosition?: number[];
650
+ Filter?: SuggestFilter;
651
+ AdditionalFeatures?: SuggestAdditionalFeature[];
652
+ Language?: string;
653
+ PoliticalView?: string;
654
+ IntendedUse?: SuggestIntendedUse;
655
+ Key?: string;
656
+ }
657
+ export interface QueryRefinement {
658
+ RefinedTerm: string | undefined;
659
+ OriginalTerm: string | undefined;
660
+ StartIndex: number | undefined;
661
+ EndIndex: number | undefined;
662
+ }
663
+ export interface SuggestAddressHighlights {
664
+ Label?: Highlight[];
665
+ }
666
+ export interface SuggestHighlights {
667
+ Title?: Highlight[];
668
+ Address?: SuggestAddressHighlights;
669
+ }
670
+ export interface SuggestPlaceResult {
671
+ PlaceId?: string;
672
+ PlaceType?: PlaceType;
673
+ Address?: Address;
674
+ Position?: number[];
675
+ Distance?: number;
676
+ MapView?: number[];
677
+ Categories?: Category[];
678
+ FoodTypes?: FoodType[];
679
+ BusinessChains?: BusinessChain[];
680
+ AccessPoints?: AccessPoint[];
681
+ AccessRestrictions?: AccessRestriction[];
682
+ TimeZone?: TimeZone;
683
+ PoliticalView?: string;
684
+ Phonemes?: PhonemeDetails;
685
+ }
686
+ export declare const QueryType: {
687
+ readonly BUSINESS_CHAIN: "BusinessChain";
688
+ readonly CATEGORY: "Category";
689
+ };
690
+ export type QueryType = (typeof QueryType)[keyof typeof QueryType];
691
+ export interface SuggestQueryResult {
692
+ QueryId?: string;
693
+ QueryType?: QueryType;
694
+ }
695
+ export declare const SuggestResultItemType: {
696
+ readonly PLACE: "Place";
697
+ readonly QUERY: "Query";
698
+ };
699
+ export type SuggestResultItemType =
700
+ (typeof SuggestResultItemType)[keyof typeof SuggestResultItemType];
701
+ export interface SuggestResultItem {
702
+ Title: string | undefined;
703
+ SuggestResultItemType: SuggestResultItemType | undefined;
704
+ Place?: SuggestPlaceResult;
705
+ Query?: SuggestQueryResult;
706
+ Highlights?: SuggestHighlights;
707
+ }
708
+ export interface SuggestResponse {
709
+ PricingBucket: string | undefined;
710
+ ResultItems?: SuggestResultItem[];
711
+ QueryRefinements?: QueryRefinement[];
712
+ }
713
+ export declare const AccessPointFilterSensitiveLog: (obj: AccessPoint) => any;
714
+ export declare const FilterCircleFilterSensitiveLog: (obj: FilterCircle) => any;
715
+ export declare const AutocompleteFilterFilterSensitiveLog: (
716
+ obj: AutocompleteFilter
717
+ ) => any;
718
+ export declare const AutocompleteRequestFilterSensitiveLog: (
719
+ obj: AutocompleteRequest
720
+ ) => any;
721
+ export declare const GeocodeQueryComponentsFilterSensitiveLog: (
722
+ obj: GeocodeQueryComponents
723
+ ) => any;
724
+ export declare const GeocodeRequestFilterSensitiveLog: (
725
+ obj: GeocodeRequest
726
+ ) => any;
727
+ export declare const GeocodeResultItemFilterSensitiveLog: (
728
+ obj: GeocodeResultItem
729
+ ) => any;
730
+ export declare const GeocodeResponseFilterSensitiveLog: (
731
+ obj: GeocodeResponse
732
+ ) => any;
733
+ export declare const GetPlaceRequestFilterSensitiveLog: (
734
+ obj: GetPlaceRequest
735
+ ) => any;
736
+ export declare const GetPlaceResponseFilterSensitiveLog: (
737
+ obj: GetPlaceResponse
738
+ ) => any;
739
+ export declare const ReverseGeocodeRequestFilterSensitiveLog: (
740
+ obj: ReverseGeocodeRequest
741
+ ) => any;
742
+ export declare const ReverseGeocodeResultItemFilterSensitiveLog: (
743
+ obj: ReverseGeocodeResultItem
744
+ ) => any;
745
+ export declare const ReverseGeocodeResponseFilterSensitiveLog: (
746
+ obj: ReverseGeocodeResponse
747
+ ) => any;
748
+ export declare const SearchNearbyFilterFilterSensitiveLog: (
749
+ obj: SearchNearbyFilter
750
+ ) => any;
751
+ export declare const SearchNearbyRequestFilterSensitiveLog: (
752
+ obj: SearchNearbyRequest
753
+ ) => any;
754
+ export declare const SearchNearbyResultItemFilterSensitiveLog: (
755
+ obj: SearchNearbyResultItem
756
+ ) => any;
757
+ export declare const SearchNearbyResponseFilterSensitiveLog: (
758
+ obj: SearchNearbyResponse
759
+ ) => any;
760
+ export declare const SearchTextFilterFilterSensitiveLog: (
761
+ obj: SearchTextFilter
762
+ ) => any;
763
+ export declare const SearchTextRequestFilterSensitiveLog: (
764
+ obj: SearchTextRequest
765
+ ) => any;
766
+ export declare const SearchTextResultItemFilterSensitiveLog: (
767
+ obj: SearchTextResultItem
768
+ ) => any;
769
+ export declare const SearchTextResponseFilterSensitiveLog: (
770
+ obj: SearchTextResponse
771
+ ) => any;
772
+ export declare const SuggestFilterFilterSensitiveLog: (
773
+ obj: SuggestFilter
774
+ ) => any;
775
+ export declare const SuggestRequestFilterSensitiveLog: (
776
+ obj: SuggestRequest
777
+ ) => any;
778
+ export declare const SuggestPlaceResultFilterSensitiveLog: (
779
+ obj: SuggestPlaceResult
780
+ ) => any;
781
+ export declare const SuggestResultItemFilterSensitiveLog: (
782
+ obj: SuggestResultItem
783
+ ) => any;
784
+ export declare const SuggestResponseFilterSensitiveLog: (
785
+ obj: SuggestResponse
786
+ ) => any;