@aws-sdk/client-geo-places 3.1081.0 → 3.1083.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.
@@ -55,11 +55,12 @@ declare const SuggestCommand_base: {
55
55
  * ],
56
56
  * },
57
57
  * AdditionalFeatures: [ // SuggestAdditionalFeatureList
58
- * "STRING_VALUE",
58
+ * "Core" || "TimeZone" || "Phonemes" || "Access" || "CrossReferences",
59
59
  * ],
60
60
  * Language: "STRING_VALUE",
61
61
  * PoliticalView: "STRING_VALUE",
62
- * IntendedUse: "STRING_VALUE",
62
+ * IntendedUse: "SingleUse",
63
+ * TravelMode: "Car" || "Scooter" || "Truck",
63
64
  * Key: "STRING_VALUE",
64
65
  * };
65
66
  * const command = new SuggestCommand(input);
@@ -69,10 +70,10 @@ declare const SuggestCommand_base: {
69
70
  * // ResultItems: [ // SuggestResultItemList
70
71
  * // { // SuggestResultItem
71
72
  * // Title: "STRING_VALUE", // required
72
- * // SuggestResultItemType: "STRING_VALUE", // required
73
+ * // SuggestResultItemType: "Place" || "Query", // required
73
74
  * // Place: { // SuggestPlaceResult
74
75
  * // PlaceId: "STRING_VALUE",
75
- * // PlaceType: "STRING_VALUE",
76
+ * // PlaceType: "Country" || "Region" || "SubRegion" || "Locality" || "District" || "SubDistrict" || "PostalCode" || "Block" || "SubBlock" || "Intersection" || "Street" || "PointOfInterest" || "PointAddress" || "InterpolatedAddress" || "SecondaryAddress" || "InferredSecondaryAddress",
76
77
  * // Address: { // Address
77
78
  * // Label: "STRING_VALUE",
78
79
  * // Country: { // Country
@@ -102,7 +103,7 @@ declare const SuggestCommand_base: {
102
103
  * // { // StreetComponents
103
104
  * // BaseName: "STRING_VALUE",
104
105
  * // Type: "STRING_VALUE",
105
- * // TypePlacement: "STRING_VALUE",
106
+ * // TypePlacement: "BeforeBaseName" || "AfterBaseName",
106
107
  * // TypeSeparator: "STRING_VALUE",
107
108
  * // Prefix: "STRING_VALUE",
108
109
  * // Suffix: "STRING_VALUE",
@@ -152,6 +153,9 @@ declare const SuggestCommand_base: {
152
153
  * // Position: [
153
154
  * // Number("double"),
154
155
  * // ],
156
+ * // Type: "Delivery" || "Emergency" || "Entrance" || "Loading" || "Other" || "Parking" || "Taxi",
157
+ * // Primary: true || false,
158
+ * // Label: "STRING_VALUE",
155
159
  * // },
156
160
  * // ],
157
161
  * // AccessRestrictions: [ // AccessRestrictionList
@@ -217,10 +221,27 @@ declare const SuggestCommand_base: {
217
221
  * // Street: "<PhonemeTranscriptionList>",
218
222
  * // },
219
223
  * // },
224
+ * // PlaceAttributes: [ // PlaceAttributeList
225
+ * // "DriveThrough",
226
+ * // ],
227
+ * // CrossReferences: [ // CrossReferenceList
228
+ * // { // CrossReference
229
+ * // Source: "STRING_VALUE", // required
230
+ * // SourcePlaceId: "STRING_VALUE", // required
231
+ * // SourceCategories: [
232
+ * // {
233
+ * // Id: "STRING_VALUE", // required
234
+ * // Name: "STRING_VALUE", // required
235
+ * // LocalizedName: "STRING_VALUE",
236
+ * // Primary: true || false,
237
+ * // },
238
+ * // ],
239
+ * // },
240
+ * // ],
220
241
  * // },
221
242
  * // Query: { // SuggestQueryResult
222
243
  * // QueryId: "STRING_VALUE",
223
- * // QueryType: "STRING_VALUE",
244
+ * // QueryType: "Category" || "BusinessChain",
224
245
  * // },
225
246
  * // Highlights: { // SuggestHighlights
226
247
  * // Title: [ // HighlightList
@@ -1,5 +1,5 @@
1
1
  /**
2
- * <p> The Places API enables powerful location search and geocoding capabilities for your applications, offering global coverage with rich, detailed information. Key features include: </p> <ul> <li> <p>Forward and reverse geocoding for addresses and coordinates</p> </li> <li> <p>Comprehensive place searches with detailed information, including:</p> <ul> <li> <p>Business names and addresses</p> </li> <li> <p>Contact information</p> </li> <li> <p>Hours of operation</p> </li> <li> <p>POI (Points of Interest) categories</p> </li> <li> <p>Food types for restaurants</p> </li> <li> <p>Chain affiliation for relevant businesses</p> </li> </ul> </li> <li> <p>Global data coverage with a wide range of POI categories</p> </li> <li> <p>Regular data updates to ensure accuracy and relevance</p> </li> </ul>
2
+ * <p> The Places API enables powerful location search and geocoding capabilities for your applications, offering global coverage with rich, detailed information. Key features include: </p> <ul> <li> <p>Forward and reverse geocoding for addresses and coordinates. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Geocode.html">Geocode</a> and <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_ReverseGeocode.html">ReverseGeocode</a>.</p> </li> <li> <p>Comprehensive place searches with detailed information. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_SearchText.html">SearchText</a>, <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_SearchNearby.html">SearchNearby</a>, and <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_GetPlace.html">GetPlace</a>. Place information you can find include:</p> <ul> <li> <p>Business names and addresses</p> </li> <li> <p>Contact information</p> </li> <li> <p>Hours of operation</p> </li> <li> <p>Points of Interest (POI) categories</p> </li> <li> <p>Food types for restaurants</p> </li> <li> <p>Chain affiliation for relevant businesses</p> </li> </ul> </li> <li> <p>Address and place completion as users type, enhancing input efficiency by completing partial queries with valid addresses. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Autocomplete.html">Autocomplete</a>.</p> </li> <li> <p>Intelligent place and query recommendation based on user's input or context, returning relevant places, points of interest, query terms, or search categories. See <a href="https://docs.aws.amazon.com/location/latest/APIReference/API_geoplaces_Suggest.html">Suggest</a>.</p> </li> <li> <p>Global data coverage with a wide range of POI categories.</p> </li> <li> <p>Regular data updates to ensure accuracy and relevance.</p> </li> <li> <p>Bulk address validation for verifying and standardizing large volumes of addresses in a single operation using <a href="https://docs.aws.amazon.com/location/latest/APIReference/Welcome.html#Welcome_Amazon_Location_Service_Jobs">Amazon Location Service Jobs</a>.</p> </li> </ul>
3
3
  *
4
4
  * @packageDocumentation
5
5
  */
@@ -1,3 +1,20 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessPointType: {
6
+ readonly DELIVERY: "Delivery";
7
+ readonly EMERGENCY: "Emergency";
8
+ readonly ENTRANCE: "Entrance";
9
+ readonly LOADING: "Loading";
10
+ readonly OTHER: "Other";
11
+ readonly PARKING: "Parking";
12
+ readonly TAXI: "Taxi";
13
+ };
14
+ /**
15
+ * @public
16
+ */
17
+ export type AccessPointType = (typeof AccessPointType)[keyof typeof AccessPointType];
1
18
  /**
2
19
  * @public
3
20
  * @enum
@@ -10,6 +27,48 @@ export declare const TypePlacement: {
10
27
  * @public
11
28
  */
12
29
  export type TypePlacement = (typeof TypePlacement)[keyof typeof TypePlacement];
30
+ /**
31
+ * @public
32
+ * @enum
33
+ */
34
+ export declare const AddressTranslationComponent: {
35
+ readonly DISTRICT: "District";
36
+ readonly LOCALITY: "Locality";
37
+ readonly REGION: "Region";
38
+ readonly SUB_REGION: "SubRegion";
39
+ };
40
+ /**
41
+ * @public
42
+ */
43
+ export type AddressTranslationComponent = (typeof AddressTranslationComponent)[keyof typeof AddressTranslationComponent];
44
+ /**
45
+ * @public
46
+ * @enum
47
+ */
48
+ export declare const TranslationNameType: {
49
+ readonly ABBREVIATION: "Abbreviation";
50
+ readonly AREA_CODE: "AreaCode";
51
+ readonly BASE_NAME: "BaseName";
52
+ readonly EXONYM: "Exonym";
53
+ readonly SHORTENED: "Shortened";
54
+ readonly SYNONYM: "Synonym";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type TranslationNameType = (typeof TranslationNameType)[keyof typeof TranslationNameType];
60
+ /**
61
+ * @public
62
+ * @enum
63
+ */
64
+ export declare const AdminNamesPreference: {
65
+ readonly ALTERNATIVE: "Alternative";
66
+ readonly PRIMARY: "Primary";
67
+ };
68
+ /**
69
+ * @public
70
+ */
71
+ export type AdminNamesPreference = (typeof AdminNamesPreference)[keyof typeof AdminNamesPreference];
13
72
  /**
14
73
  * @public
15
74
  * @enum
@@ -26,8 +85,14 @@ export type AutocompleteAdditionalFeature = (typeof AutocompleteAdditionalFeatur
26
85
  * @enum
27
86
  */
28
87
  export declare const AutocompleteFilterPlaceType: {
88
+ readonly COUNTRY: "Country";
89
+ readonly INTERPOLATED_ADDRESS: "InterpolatedAddress";
90
+ readonly INTERSECTION: "Intersection";
29
91
  readonly LOCALITY: "Locality";
92
+ readonly POINT_ADDRESS: "PointAddress";
30
93
  readonly POSTAL_CODE: "PostalCode";
94
+ readonly REGION: "Region";
95
+ readonly STREET: "Street";
31
96
  };
32
97
  /**
33
98
  * @public
@@ -52,6 +117,7 @@ export type AutocompleteIntendedUse = (typeof AutocompleteIntendedUse)[keyof typ
52
117
  * @enum
53
118
  */
54
119
  export declare const PostalCodeMode: {
120
+ readonly ENUMERATE_SPANNED_DISTRICTS: "EnumerateSpannedDistricts";
55
121
  readonly ENUMERATE_SPANNED_LOCALITIES: "EnumerateSpannedLocalities";
56
122
  readonly MERGE_ALL_SPANNED_LOCALITIES: "MergeAllSpannedLocalities";
57
123
  };
@@ -90,17 +156,7 @@ export type PlaceType = (typeof PlaceType)[keyof typeof PlaceType];
90
156
  * @enum
91
157
  */
92
158
  export declare const ValidationExceptionReason: {
93
- /**
94
- * The input cannot be parsed. For example a required JSON document, ARN identifier,
95
- * date value, or numeric field cannot be parsed.
96
- *
97
- */
98
159
  readonly CANNOT_PARSE: "CannotParse";
99
- /**
100
- * The input is present and parsable, but it is otherwise invalid. For example, a
101
- * required numeric argument is outside the allowed range.
102
- *
103
- */
104
160
  readonly FIELD_VALIDATION_FAILED: "FieldValidationFailed";
105
161
  /**
106
162
  * The required input is missing.
@@ -137,16 +193,32 @@ export declare const GeocodeAdditionalFeature: {
137
193
  * @public
138
194
  */
139
195
  export type GeocodeAdditionalFeature = (typeof GeocodeAdditionalFeature)[keyof typeof GeocodeAdditionalFeature];
196
+ /**
197
+ * @public
198
+ * @enum
199
+ */
200
+ export declare const GeocodeAddressNamesMode: {
201
+ readonly ADMINISTRATIVE: "Administrative";
202
+ readonly MATCHED: "Matched";
203
+ };
204
+ /**
205
+ * @public
206
+ */
207
+ export type GeocodeAddressNamesMode = (typeof GeocodeAddressNamesMode)[keyof typeof GeocodeAddressNamesMode];
140
208
  /**
141
209
  * @public
142
210
  * @enum
143
211
  */
144
212
  export declare const GeocodeFilterPlaceType: {
213
+ readonly COUNTRY: "Country";
145
214
  readonly INTERPOLATED_ADDRESS: "InterpolatedAddress";
146
215
  readonly INTERSECTION: "Intersection";
147
216
  readonly LOCALITY: "Locality";
148
217
  readonly POINT_ADDRESS: "PointAddress";
218
+ readonly POINT_OF_INTEREST: "PointOfInterest";
149
219
  readonly POSTAL_CODE: "PostalCode";
220
+ readonly REGION: "Region";
221
+ readonly SECONDARY_ADDRESS: "SecondaryAddress";
150
222
  readonly STREET: "Street";
151
223
  };
152
224
  /**
@@ -230,6 +302,7 @@ export type RecordTypeCode = (typeof RecordTypeCode)[keyof typeof RecordTypeCode
230
302
  export declare const GetPlaceAdditionalFeature: {
231
303
  readonly ACCESS: "Access";
232
304
  readonly CONTACT: "Contact";
305
+ readonly CROSS_REFERENCES: "CrossReferences";
233
306
  readonly PHONEMES: "Phonemes";
234
307
  readonly SECONDARY_ADDRESSES: "SecondaryAddresses";
235
308
  readonly TIME_ZONE: "TimeZone";
@@ -238,6 +311,17 @@ export declare const GetPlaceAdditionalFeature: {
238
311
  * @public
239
312
  */
240
313
  export type GetPlaceAdditionalFeature = (typeof GetPlaceAdditionalFeature)[keyof typeof GetPlaceAdditionalFeature];
314
+ /**
315
+ * @public
316
+ * @enum
317
+ */
318
+ export declare const GetPlaceAddressNamesMode: {
319
+ readonly ADMINISTRATIVE: "Administrative";
320
+ };
321
+ /**
322
+ * @public
323
+ */
324
+ export type GetPlaceAddressNamesMode = (typeof GetPlaceAddressNamesMode)[keyof typeof GetPlaceAddressNamesMode];
241
325
  /**
242
326
  * @public
243
327
  * @enum
@@ -256,6 +340,17 @@ export declare const GetPlaceIntendedUse: {
256
340
  * @public
257
341
  */
258
342
  export type GetPlaceIntendedUse = (typeof GetPlaceIntendedUse)[keyof typeof GetPlaceIntendedUse];
343
+ /**
344
+ * @public
345
+ * @enum
346
+ */
347
+ export declare const PlaceAttribute: {
348
+ readonly DRIVE_THROUGH: "DriveThrough";
349
+ };
350
+ /**
351
+ * @public
352
+ */
353
+ export type PlaceAttribute = (typeof PlaceAttribute)[keyof typeof PlaceAttribute];
259
354
  /**
260
355
  * @public
261
356
  * @enum
@@ -269,6 +364,17 @@ export declare const ReverseGeocodeAdditionalFeature: {
269
364
  * @public
270
365
  */
271
366
  export type ReverseGeocodeAdditionalFeature = (typeof ReverseGeocodeAdditionalFeature)[keyof typeof ReverseGeocodeAdditionalFeature];
367
+ /**
368
+ * @public
369
+ * @enum
370
+ */
371
+ export declare const ReverseGeocodeAddressNamesMode: {
372
+ readonly ADMINISTRATIVE: "Administrative";
373
+ };
374
+ /**
375
+ * @public
376
+ */
377
+ export type ReverseGeocodeAddressNamesMode = (typeof ReverseGeocodeAddressNamesMode)[keyof typeof ReverseGeocodeAddressNamesMode];
272
378
  /**
273
379
  * @public
274
380
  * @enum
@@ -278,6 +384,8 @@ export declare const ReverseGeocodeFilterPlaceType: {
278
384
  readonly INTERSECTION: "Intersection";
279
385
  readonly LOCALITY: "Locality";
280
386
  readonly POINT_ADDRESS: "PointAddress";
387
+ readonly POINT_OF_INTEREST: "PointOfInterest";
388
+ readonly SECONDARY_ADDRESS: "SecondaryAddress";
281
389
  readonly STREET: "Street";
282
390
  };
283
391
  /**
@@ -309,6 +417,7 @@ export type ReverseGeocodeIntendedUse = (typeof ReverseGeocodeIntendedUse)[keyof
309
417
  export declare const SearchNearbyAdditionalFeature: {
310
418
  readonly ACCESS: "Access";
311
419
  readonly CONTACT: "Contact";
420
+ readonly CROSS_REFERENCES: "CrossReferences";
312
421
  readonly PHONEMES: "Phonemes";
313
422
  readonly TIME_ZONE: "TimeZone";
314
423
  };
@@ -341,6 +450,7 @@ export type SearchNearbyIntendedUse = (typeof SearchNearbyIntendedUse)[keyof typ
341
450
  export declare const SearchTextAdditionalFeature: {
342
451
  readonly ACCESS: "Access";
343
452
  readonly CONTACT: "Contact";
453
+ readonly CROSS_REFERENCES: "CrossReferences";
344
454
  readonly PHONEMES: "Phonemes";
345
455
  readonly TIME_ZONE: "TimeZone";
346
456
  };
@@ -366,6 +476,19 @@ export declare const SearchTextIntendedUse: {
366
476
  * @public
367
477
  */
368
478
  export type SearchTextIntendedUse = (typeof SearchTextIntendedUse)[keyof typeof SearchTextIntendedUse];
479
+ /**
480
+ * @public
481
+ * @enum
482
+ */
483
+ export declare const SearchTextTravelMode: {
484
+ readonly CAR: "Car";
485
+ readonly SCOOTER: "Scooter";
486
+ readonly TRUCK: "Truck";
487
+ };
488
+ /**
489
+ * @public
490
+ */
491
+ export type SearchTextTravelMode = (typeof SearchTextTravelMode)[keyof typeof SearchTextTravelMode];
369
492
  /**
370
493
  * @public
371
494
  * @enum
@@ -373,6 +496,7 @@ export type SearchTextIntendedUse = (typeof SearchTextIntendedUse)[keyof typeof
373
496
  export declare const SuggestAdditionalFeature: {
374
497
  readonly ACCESS: "Access";
375
498
  readonly CORE: "Core";
499
+ readonly CROSS_REFERENCES: "CrossReferences";
376
500
  readonly PHONEMES: "Phonemes";
377
501
  readonly TIME_ZONE: "TimeZone";
378
502
  };
@@ -394,6 +518,19 @@ export declare const SuggestIntendedUse: {
394
518
  * @public
395
519
  */
396
520
  export type SuggestIntendedUse = (typeof SuggestIntendedUse)[keyof typeof SuggestIntendedUse];
521
+ /**
522
+ * @public
523
+ * @enum
524
+ */
525
+ export declare const SuggestTravelMode: {
526
+ readonly CAR: "Car";
527
+ readonly SCOOTER: "Scooter";
528
+ readonly TRUCK: "Truck";
529
+ };
530
+ /**
531
+ * @public
532
+ */
533
+ export type SuggestTravelMode = (typeof SuggestTravelMode)[keyof typeof SuggestTravelMode];
397
534
  /**
398
535
  * @public
399
536
  * @enum