@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.
- package/LICENSE +201 -0
- package/README.md +297 -0
- package/dist-cjs/GeoPlaces.js +25 -0
- package/dist-cjs/GeoPlacesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/AutocompleteCommand.js +27 -0
- package/dist-cjs/commands/GeocodeCommand.js +27 -0
- package/dist-cjs/commands/GetPlaceCommand.js +27 -0
- package/dist-cjs/commands/ReverseGeocodeCommand.js +27 -0
- package/dist-cjs/commands/SearchNearbyCommand.js +27 -0
- package/dist-cjs/commands/SearchTextCommand.js +27 -0
- package/dist-cjs/commands/SuggestCommand.js +27 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/GeoPlacesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +379 -0
- package/dist-cjs/protocols/Aws_restJson1.js +690 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/GeoPlaces.js +21 -0
- package/dist-es/GeoPlacesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/AutocompleteCommand.js +23 -0
- package/dist-es/commands/GeocodeCommand.js +23 -0
- package/dist-es/commands/GetPlaceCommand.js +23 -0
- package/dist-es/commands/ReverseGeocodeCommand.js +23 -0
- package/dist-es/commands/SearchNearbyCommand.js +23 -0
- package/dist-es/commands/SearchTextCommand.js +23 -0
- package/dist-es/commands/SuggestCommand.js +23 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/GeoPlacesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +345 -0
- package/dist-es/protocols/Aws_restJson1.js +673 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/GeoPlaces.d.ts +97 -0
- package/dist-types/GeoPlacesClient.d.ts +212 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/AutocompleteCommand.d.ts +204 -0
- package/dist-types/commands/GeocodeCommand.d.ts +231 -0
- package/dist-types/commands/GetPlaceCommand.d.ts +312 -0
- package/dist-types/commands/ReverseGeocodeCommand.d.ts +196 -0
- package/dist-types/commands/SearchNearbyCommand.d.ts +335 -0
- package/dist-types/commands/SearchTextCommand.d.ts +326 -0
- package/dist-types/commands/SuggestCommand.d.ts +289 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +49 -0
- package/dist-types/models/GeoPlacesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2871 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +65 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/GeoPlaces.d.ts +126 -0
- package/dist-types/ts3.4/GeoPlacesClient.d.ts +160 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/AutocompleteCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GeocodeCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ReverseGeocodeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/SearchNearbyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SearchTextCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SuggestCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +8 -0
- package/dist-types/ts3.4/models/GeoPlacesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +786 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GeoPlacesClient";
|
|
4
|
+
import { SuggestRequest, SuggestResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link SuggestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface SuggestCommandInput extends SuggestRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link SuggestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface SuggestCommandOutput extends SuggestResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const SuggestCommand_base: {
|
|
25
|
+
new (input: SuggestCommandInput): import("@smithy/smithy-client").CommandImpl<SuggestCommandInput, SuggestCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: SuggestCommandInput): import("@smithy/smithy-client").CommandImpl<SuggestCommandInput, SuggestCommandOutput, GeoPlacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>The <code>Suggest</code> operation finds addresses or place candidates based on
|
|
31
|
+
* incomplete or misspelled queries. You then select the best query to submit based on the
|
|
32
|
+
* returned results.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { GeoPlacesClient, SuggestCommand } from "@aws-sdk/client-geo-places"; // ES Modules import
|
|
37
|
+
* // const { GeoPlacesClient, SuggestCommand } = require("@aws-sdk/client-geo-places"); // CommonJS import
|
|
38
|
+
* const client = new GeoPlacesClient(config);
|
|
39
|
+
* const input = { // SuggestRequest
|
|
40
|
+
* QueryText: "STRING_VALUE", // required
|
|
41
|
+
* MaxResults: Number("int"),
|
|
42
|
+
* MaxQueryRefinements: Number("int"),
|
|
43
|
+
* BiasPosition: [ // Position
|
|
44
|
+
* Number("double"),
|
|
45
|
+
* ],
|
|
46
|
+
* Filter: { // SuggestFilter
|
|
47
|
+
* BoundingBox: [ // BoundingBox
|
|
48
|
+
* Number("double"),
|
|
49
|
+
* ],
|
|
50
|
+
* Circle: { // FilterCircle
|
|
51
|
+
* Center: [ // required
|
|
52
|
+
* Number("double"),
|
|
53
|
+
* ],
|
|
54
|
+
* Radius: Number("long"), // required
|
|
55
|
+
* },
|
|
56
|
+
* IncludeCountries: [ // CountryCodeList
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* AdditionalFeatures: [ // SuggestAdditionalFeatureList
|
|
61
|
+
* "STRING_VALUE",
|
|
62
|
+
* ],
|
|
63
|
+
* Language: "STRING_VALUE",
|
|
64
|
+
* PoliticalView: "STRING_VALUE",
|
|
65
|
+
* IntendedUse: "STRING_VALUE",
|
|
66
|
+
* Key: "STRING_VALUE",
|
|
67
|
+
* };
|
|
68
|
+
* const command = new SuggestCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // SuggestResponse
|
|
71
|
+
* // PricingBucket: "STRING_VALUE", // required
|
|
72
|
+
* // ResultItems: [ // SuggestResultItemList
|
|
73
|
+
* // { // SuggestResultItem
|
|
74
|
+
* // Title: "STRING_VALUE", // required
|
|
75
|
+
* // SuggestResultItemType: "STRING_VALUE", // required
|
|
76
|
+
* // Place: { // SuggestPlaceResult
|
|
77
|
+
* // PlaceId: "STRING_VALUE",
|
|
78
|
+
* // PlaceType: "STRING_VALUE",
|
|
79
|
+
* // Address: { // Address
|
|
80
|
+
* // Label: "STRING_VALUE",
|
|
81
|
+
* // Country: { // Country
|
|
82
|
+
* // Code2: "STRING_VALUE",
|
|
83
|
+
* // Code3: "STRING_VALUE",
|
|
84
|
+
* // Name: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // Region: { // Region
|
|
87
|
+
* // Code: "STRING_VALUE",
|
|
88
|
+
* // Name: "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // SubRegion: { // SubRegion
|
|
91
|
+
* // Code: "STRING_VALUE",
|
|
92
|
+
* // Name: "STRING_VALUE",
|
|
93
|
+
* // },
|
|
94
|
+
* // Locality: "STRING_VALUE",
|
|
95
|
+
* // District: "STRING_VALUE",
|
|
96
|
+
* // SubDistrict: "STRING_VALUE",
|
|
97
|
+
* // PostalCode: "STRING_VALUE",
|
|
98
|
+
* // Block: "STRING_VALUE",
|
|
99
|
+
* // SubBlock: "STRING_VALUE",
|
|
100
|
+
* // Intersection: [ // IntersectionList
|
|
101
|
+
* // "STRING_VALUE",
|
|
102
|
+
* // ],
|
|
103
|
+
* // Street: "STRING_VALUE",
|
|
104
|
+
* // StreetComponents: [ // StreetComponentsList
|
|
105
|
+
* // { // StreetComponents
|
|
106
|
+
* // BaseName: "STRING_VALUE",
|
|
107
|
+
* // Type: "STRING_VALUE",
|
|
108
|
+
* // TypePlacement: "STRING_VALUE",
|
|
109
|
+
* // TypeSeparator: "STRING_VALUE",
|
|
110
|
+
* // Prefix: "STRING_VALUE",
|
|
111
|
+
* // Suffix: "STRING_VALUE",
|
|
112
|
+
* // Direction: "STRING_VALUE",
|
|
113
|
+
* // Language: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // AddressNumber: "STRING_VALUE",
|
|
117
|
+
* // Building: "STRING_VALUE",
|
|
118
|
+
* // },
|
|
119
|
+
* // Position: [ // Position
|
|
120
|
+
* // Number("double"),
|
|
121
|
+
* // ],
|
|
122
|
+
* // Distance: Number("long"),
|
|
123
|
+
* // MapView: [ // BoundingBox
|
|
124
|
+
* // Number("double"),
|
|
125
|
+
* // ],
|
|
126
|
+
* // Categories: [ // CategoryList
|
|
127
|
+
* // { // Category
|
|
128
|
+
* // Id: "STRING_VALUE", // required
|
|
129
|
+
* // Name: "STRING_VALUE", // required
|
|
130
|
+
* // LocalizedName: "STRING_VALUE",
|
|
131
|
+
* // Primary: true || false,
|
|
132
|
+
* // },
|
|
133
|
+
* // ],
|
|
134
|
+
* // FoodTypes: [ // FoodTypeList
|
|
135
|
+
* // { // FoodType
|
|
136
|
+
* // LocalizedName: "STRING_VALUE", // required
|
|
137
|
+
* // Id: "STRING_VALUE",
|
|
138
|
+
* // Primary: true || false,
|
|
139
|
+
* // },
|
|
140
|
+
* // ],
|
|
141
|
+
* // BusinessChains: [ // BusinessChainList
|
|
142
|
+
* // { // BusinessChain
|
|
143
|
+
* // Name: "STRING_VALUE",
|
|
144
|
+
* // Id: "STRING_VALUE",
|
|
145
|
+
* // },
|
|
146
|
+
* // ],
|
|
147
|
+
* // AccessPoints: [ // AccessPointList
|
|
148
|
+
* // { // AccessPoint
|
|
149
|
+
* // Position: [
|
|
150
|
+
* // Number("double"),
|
|
151
|
+
* // ],
|
|
152
|
+
* // },
|
|
153
|
+
* // ],
|
|
154
|
+
* // AccessRestrictions: [ // AccessRestrictionList
|
|
155
|
+
* // { // AccessRestriction
|
|
156
|
+
* // Restricted: true || false,
|
|
157
|
+
* // Categories: [
|
|
158
|
+
* // {
|
|
159
|
+
* // Id: "STRING_VALUE", // required
|
|
160
|
+
* // Name: "STRING_VALUE", // required
|
|
161
|
+
* // LocalizedName: "STRING_VALUE",
|
|
162
|
+
* // Primary: true || false,
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // TimeZone: { // TimeZone
|
|
168
|
+
* // Name: "STRING_VALUE", // required
|
|
169
|
+
* // Offset: "STRING_VALUE",
|
|
170
|
+
* // OffsetSeconds: Number("long"),
|
|
171
|
+
* // },
|
|
172
|
+
* // PoliticalView: "STRING_VALUE",
|
|
173
|
+
* // Phonemes: { // PhonemeDetails
|
|
174
|
+
* // Title: [ // PhonemeTranscriptionList
|
|
175
|
+
* // { // PhonemeTranscription
|
|
176
|
+
* // Value: "STRING_VALUE",
|
|
177
|
+
* // Language: "STRING_VALUE",
|
|
178
|
+
* // Preferred: true || false,
|
|
179
|
+
* // },
|
|
180
|
+
* // ],
|
|
181
|
+
* // Address: { // AddressComponentPhonemes
|
|
182
|
+
* // Country: [
|
|
183
|
+
* // {
|
|
184
|
+
* // Value: "STRING_VALUE",
|
|
185
|
+
* // Language: "STRING_VALUE",
|
|
186
|
+
* // Preferred: true || false,
|
|
187
|
+
* // },
|
|
188
|
+
* // ],
|
|
189
|
+
* // Region: [
|
|
190
|
+
* // {
|
|
191
|
+
* // Value: "STRING_VALUE",
|
|
192
|
+
* // Language: "STRING_VALUE",
|
|
193
|
+
* // Preferred: true || false,
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // SubRegion: [
|
|
197
|
+
* // {
|
|
198
|
+
* // Value: "STRING_VALUE",
|
|
199
|
+
* // Language: "STRING_VALUE",
|
|
200
|
+
* // Preferred: true || false,
|
|
201
|
+
* // },
|
|
202
|
+
* // ],
|
|
203
|
+
* // Locality: [
|
|
204
|
+
* // {
|
|
205
|
+
* // Value: "STRING_VALUE",
|
|
206
|
+
* // Language: "STRING_VALUE",
|
|
207
|
+
* // Preferred: true || false,
|
|
208
|
+
* // },
|
|
209
|
+
* // ],
|
|
210
|
+
* // District: "<PhonemeTranscriptionList>",
|
|
211
|
+
* // SubDistrict: "<PhonemeTranscriptionList>",
|
|
212
|
+
* // Block: "<PhonemeTranscriptionList>",
|
|
213
|
+
* // SubBlock: "<PhonemeTranscriptionList>",
|
|
214
|
+
* // Street: "<PhonemeTranscriptionList>",
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // Query: { // SuggestQueryResult
|
|
219
|
+
* // QueryId: "STRING_VALUE",
|
|
220
|
+
* // QueryType: "STRING_VALUE",
|
|
221
|
+
* // },
|
|
222
|
+
* // Highlights: { // SuggestHighlights
|
|
223
|
+
* // Title: [ // HighlightList
|
|
224
|
+
* // { // Highlight
|
|
225
|
+
* // StartIndex: Number("int"),
|
|
226
|
+
* // EndIndex: Number("int"),
|
|
227
|
+
* // Value: "STRING_VALUE",
|
|
228
|
+
* // },
|
|
229
|
+
* // ],
|
|
230
|
+
* // Address: { // SuggestAddressHighlights
|
|
231
|
+
* // Label: [
|
|
232
|
+
* // {
|
|
233
|
+
* // StartIndex: Number("int"),
|
|
234
|
+
* // EndIndex: Number("int"),
|
|
235
|
+
* // Value: "STRING_VALUE",
|
|
236
|
+
* // },
|
|
237
|
+
* // ],
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
240
|
+
* // },
|
|
241
|
+
* // ],
|
|
242
|
+
* // QueryRefinements: [ // QueryRefinementList
|
|
243
|
+
* // { // QueryRefinement
|
|
244
|
+
* // RefinedTerm: "STRING_VALUE", // required
|
|
245
|
+
* // OriginalTerm: "STRING_VALUE", // required
|
|
246
|
+
* // StartIndex: Number("int"), // required
|
|
247
|
+
* // EndIndex: Number("int"), // required
|
|
248
|
+
* // },
|
|
249
|
+
* // ],
|
|
250
|
+
* // };
|
|
251
|
+
*
|
|
252
|
+
* ```
|
|
253
|
+
*
|
|
254
|
+
* @param SuggestCommandInput - {@link SuggestCommandInput}
|
|
255
|
+
* @returns {@link SuggestCommandOutput}
|
|
256
|
+
* @see {@link SuggestCommandInput} for command's `input` shape.
|
|
257
|
+
* @see {@link SuggestCommandOutput} for command's `response` shape.
|
|
258
|
+
* @see {@link GeoPlacesClientResolvedConfig | config} for GeoPlacesClient's `config` shape.
|
|
259
|
+
*
|
|
260
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
261
|
+
* <p>You don't have sufficient access to perform this action.</p>
|
|
262
|
+
*
|
|
263
|
+
* @throws {@link InternalServerException} (server fault)
|
|
264
|
+
* <p>The request processing has failed because of an unknown error, exception or failure.</p>
|
|
265
|
+
*
|
|
266
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
267
|
+
* <p>The request was denied due to request throttling.</p>
|
|
268
|
+
*
|
|
269
|
+
* @throws {@link ValidationException} (client fault)
|
|
270
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
271
|
+
*
|
|
272
|
+
* @throws {@link GeoPlacesServiceException}
|
|
273
|
+
* <p>Base exception class for all service exceptions from GeoPlaces service.</p>
|
|
274
|
+
*
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
export declare class SuggestCommand extends SuggestCommand_base {
|
|
278
|
+
/** @internal type navigation helper, not in runtime. */
|
|
279
|
+
protected static __types: {
|
|
280
|
+
api: {
|
|
281
|
+
input: SuggestRequest;
|
|
282
|
+
output: SuggestResponse;
|
|
283
|
+
};
|
|
284
|
+
sdk: {
|
|
285
|
+
input: SuggestCommandInput;
|
|
286
|
+
output: SuggestCommandOutput;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from "./AutocompleteCommand";
|
|
2
|
+
export * from "./GeocodeCommand";
|
|
3
|
+
export * from "./GetPlaceCommand";
|
|
4
|
+
export * from "./ReverseGeocodeCommand";
|
|
5
|
+
export * from "./SearchNearbyCommand";
|
|
6
|
+
export * from "./SearchTextCommand";
|
|
7
|
+
export * from "./SuggestCommand";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
7
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
9
|
+
region?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
15
|
+
defaultSigningName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const commonParams: {
|
|
18
|
+
readonly UseFIPS: {
|
|
19
|
+
readonly type: "builtInParams";
|
|
20
|
+
readonly name: "useFipsEndpoint";
|
|
21
|
+
};
|
|
22
|
+
readonly Endpoint: {
|
|
23
|
+
readonly type: "builtInParams";
|
|
24
|
+
readonly name: "endpoint";
|
|
25
|
+
};
|
|
26
|
+
readonly Region: {
|
|
27
|
+
readonly type: "builtInParams";
|
|
28
|
+
readonly name: "region";
|
|
29
|
+
};
|
|
30
|
+
readonly UseDualStack: {
|
|
31
|
+
readonly type: "builtInParams";
|
|
32
|
+
readonly name: "useDualstackEndpoint";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
36
|
+
UseDualStack?: boolean;
|
|
37
|
+
UseFIPS?: boolean;
|
|
38
|
+
Endpoint?: string;
|
|
39
|
+
Region?: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
export interface GeoPlacesExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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>
|
|
39
|
+
*
|
|
40
|
+
* @packageDocumentation
|
|
41
|
+
*/
|
|
42
|
+
export * from "./GeoPlacesClient";
|
|
43
|
+
export * from "./GeoPlaces";
|
|
44
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
45
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
46
|
+
export type { GeoPlacesExtensionConfiguration } from "./extensionConfiguration";
|
|
47
|
+
export * from "./commands";
|
|
48
|
+
export * from "./models";
|
|
49
|
+
export { GeoPlacesServiceException } from "./models/GeoPlacesServiceException";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*
|
|
7
|
+
* Base exception class for all service exceptions from GeoPlaces service.
|
|
8
|
+
*/
|
|
9
|
+
export declare class GeoPlacesServiceException extends __ServiceException {
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(options: __ServiceExceptionOptions);
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|