@aws-sdk/client-geo-places 3.830.0 → 3.835.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.
- package/README.md +1 -37
- package/dist-cjs/commands/AutocompleteCommand.js +1 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +466 -2
- package/dist-cjs/protocols/Aws_restJson1.js +59 -0
- package/dist-es/commands/AutocompleteCommand.js +2 -2
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +424 -0
- package/dist-es/protocols/Aws_restJson1.js +59 -0
- package/dist-types/GeoPlaces.d.ts +1 -37
- package/dist-types/GeoPlacesClient.d.ts +1 -37
- package/dist-types/commands/AutocompleteCommand.d.ts +7 -2
- package/dist-types/commands/GeocodeCommand.d.ts +155 -3
- package/dist-types/commands/GetPlaceCommand.d.ts +73 -3
- package/dist-types/commands/ReverseGeocodeCommand.d.ts +71 -3
- package/dist-types/commands/SearchNearbyCommand.d.ts +7 -2
- package/dist-types/commands/SearchTextCommand.d.ts +7 -4
- package/dist-types/commands/SuggestCommand.d.ts +7 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/index.d.ts +1 -37
- package/dist-types/models/models_0.d.ts +586 -270
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -1
- package/dist-types/ts3.4/models/models_0.d.ts +166 -0
- package/package.json +11 -11
|
@@ -27,7 +27,7 @@ declare const SearchNearbyCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
30
|
+
* <p> <code>SearchNearby</code> queries for points of interest within a radius from a central coordinates, returning place results with optional filters such as categories, business chains, food types and more. The API returns details such as a place name, address, phone, category, food type, contact, opening hours. Also, the API can return phonemes, time zones and more based on requested parameters.</p>
|
|
31
31
|
* @example
|
|
32
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
33
|
* ```javascript
|
|
@@ -105,7 +105,7 @@ declare const SearchNearbyCommand_base: {
|
|
|
105
105
|
* // PostalCode: "STRING_VALUE",
|
|
106
106
|
* // Block: "STRING_VALUE",
|
|
107
107
|
* // SubBlock: "STRING_VALUE",
|
|
108
|
-
* // Intersection: [ //
|
|
108
|
+
* // Intersection: [ // IntersectionStreetList
|
|
109
109
|
* // "STRING_VALUE",
|
|
110
110
|
* // ],
|
|
111
111
|
* // Street: "STRING_VALUE",
|
|
@@ -123,6 +123,11 @@ declare const SearchNearbyCommand_base: {
|
|
|
123
123
|
* // ],
|
|
124
124
|
* // AddressNumber: "STRING_VALUE",
|
|
125
125
|
* // Building: "STRING_VALUE",
|
|
126
|
+
* // SecondaryAddressComponents: [ // SecondaryAddressComponentList
|
|
127
|
+
* // { // SecondaryAddressComponent
|
|
128
|
+
* // Number: "STRING_VALUE", // required
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
126
131
|
* // },
|
|
127
132
|
* // AddressNumberCorrected: true || false,
|
|
128
133
|
* // Position: [ // Position
|
|
@@ -27,9 +27,7 @@ declare const SearchTextCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* You can then complete a follow-up query suggested from the <code>Suggest</code> API via a
|
|
32
|
-
* query id.</p>
|
|
30
|
+
* <p> <code>SearchText</code> searches for geocode and place information. You can then complete a follow-up query suggested from the <code>Suggest</code> API via a query id.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -96,7 +94,7 @@ declare const SearchTextCommand_base: {
|
|
|
96
94
|
* // PostalCode: "STRING_VALUE",
|
|
97
95
|
* // Block: "STRING_VALUE",
|
|
98
96
|
* // SubBlock: "STRING_VALUE",
|
|
99
|
-
* // Intersection: [ //
|
|
97
|
+
* // Intersection: [ // IntersectionStreetList
|
|
100
98
|
* // "STRING_VALUE",
|
|
101
99
|
* // ],
|
|
102
100
|
* // Street: "STRING_VALUE",
|
|
@@ -114,6 +112,11 @@ declare const SearchTextCommand_base: {
|
|
|
114
112
|
* // ],
|
|
115
113
|
* // AddressNumber: "STRING_VALUE",
|
|
116
114
|
* // Building: "STRING_VALUE",
|
|
115
|
+
* // SecondaryAddressComponents: [ // SecondaryAddressComponentList
|
|
116
|
+
* // { // SecondaryAddressComponent
|
|
117
|
+
* // Number: "STRING_VALUE", // required
|
|
118
|
+
* // },
|
|
119
|
+
* // ],
|
|
117
120
|
* // },
|
|
118
121
|
* // AddressNumberCorrected: true || false,
|
|
119
122
|
* // Position: [ // Position
|
|
@@ -27,9 +27,7 @@ declare const SuggestCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* incomplete or misspelled queries. You then select the best query to submit based on the
|
|
32
|
-
* returned results.</p>
|
|
30
|
+
* <p> <code>Suggest</code> provides intelligent predictions or recommendations based on the user's input or context, such as relevant places, points of interest, query terms or search category. It is designed to help users find places or point of interests candidates or identify a follow on query based on incomplete or misspelled queries. It returns a list of possible matches or refinements that can be used to formulate a more accurate query. Users can select the most appropriate suggestion and use it for further searching. The API provides options for filtering results by location and other attributes, and allows for additional features like phonemes and timezones. The response includes refined query terms and detailed place information.</p>
|
|
33
31
|
* @example
|
|
34
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
33
|
* ```javascript
|
|
@@ -97,7 +95,7 @@ declare const SuggestCommand_base: {
|
|
|
97
95
|
* // PostalCode: "STRING_VALUE",
|
|
98
96
|
* // Block: "STRING_VALUE",
|
|
99
97
|
* // SubBlock: "STRING_VALUE",
|
|
100
|
-
* // Intersection: [ //
|
|
98
|
+
* // Intersection: [ // IntersectionStreetList
|
|
101
99
|
* // "STRING_VALUE",
|
|
102
100
|
* // ],
|
|
103
101
|
* // Street: "STRING_VALUE",
|
|
@@ -115,6 +113,11 @@ declare const SuggestCommand_base: {
|
|
|
115
113
|
* // ],
|
|
116
114
|
* // AddressNumber: "STRING_VALUE",
|
|
117
115
|
* // Building: "STRING_VALUE",
|
|
116
|
+
* // SecondaryAddressComponents: [ // SecondaryAddressComponentList
|
|
117
|
+
* // { // SecondaryAddressComponent
|
|
118
|
+
* // Number: "STRING_VALUE", // required
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
118
121
|
* // },
|
|
119
122
|
* // Position: [ // Position
|
|
120
123
|
* // Number("double"),
|
|
@@ -8,7 +8,7 @@ export interface ClientInputEndpointParameters {
|
|
|
8
8
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
9
|
region?: string | undefined | Provider<string | undefined>;
|
|
10
10
|
}
|
|
11
|
-
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
11
|
+
export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,41 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* <p>
|
|
3
|
-
* The Places API enables powerful location search and geocoding capabilities for your applications, offering global coverage with rich, detailed information. Key features include:
|
|
4
|
-
* </p>
|
|
5
|
-
* <ul>
|
|
6
|
-
* <li>
|
|
7
|
-
* <p>Forward and reverse geocoding for addresses and coordinates</p>
|
|
8
|
-
* </li>
|
|
9
|
-
* <li>
|
|
10
|
-
* <p>Comprehensive place searches with detailed information, including:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>Business names and addresses</p>
|
|
14
|
-
* </li>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Contact information</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>Hours of operation</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>POI (Points of Interest) categories</p>
|
|
23
|
-
* </li>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>Food types for restaurants</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>Chain affiliation for relevant businesses</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Global data coverage with a wide range of POI categories</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Regular data updates to ensure accuracy and relevance</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </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</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>
|
|
39
3
|
*
|
|
40
4
|
* @packageDocumentation
|
|
41
5
|
*/
|