@aws-sdk/client-location 3.185.0 → 3.186.1

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 (79) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-types/ts3.4/Location.d.ts +626 -905
  3. package/dist-types/ts3.4/LocationClient.d.ts +197 -422
  4. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +41 -39
  5. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +35 -39
  6. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +38 -36
  7. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +63 -39
  8. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +35 -39
  9. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +36 -35
  10. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +53 -39
  11. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +68 -35
  12. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +76 -39
  13. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +35 -39
  14. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +42 -32
  15. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +45 -35
  16. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +44 -39
  17. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +36 -35
  18. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +39 -39
  19. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +39 -32
  20. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +38 -35
  21. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +38 -39
  22. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +40 -35
  23. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +35 -39
  24. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +35 -32
  25. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +35 -36
  26. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +35 -39
  27. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +35 -35
  28. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +39 -39
  29. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +38 -36
  30. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +39 -39
  31. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +35 -32
  32. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +35 -32
  33. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +37 -35
  34. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +38 -39
  35. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +40 -32
  36. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +51 -32
  37. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +35 -36
  38. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +35 -39
  39. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +35 -35
  40. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +35 -32
  41. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +35 -35
  42. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +35 -39
  43. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +35 -36
  44. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +35 -39
  45. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +35 -32
  46. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +36 -32
  47. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +36 -39
  48. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +46 -39
  49. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +44 -39
  50. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -32
  51. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -35
  52. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +35 -39
  53. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +35 -32
  54. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +35 -35
  55. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +35 -39
  56. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +35 -35
  57. package/dist-types/ts3.4/commands/index.d.ts +53 -53
  58. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  59. package/dist-types/ts3.4/index.d.ts +6 -6
  60. package/dist-types/ts3.4/models/LocationServiceException.d.ts +10 -7
  61. package/dist-types/ts3.4/models/index.d.ts +1 -1
  62. package/dist-types/ts3.4/models/models_0.d.ts +4783 -1283
  63. package/dist-types/ts3.4/pagination/GetDevicePositionHistoryPaginator.d.ts +4 -11
  64. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -7
  65. package/dist-types/ts3.4/pagination/ListDevicePositionsPaginator.d.ts +4 -11
  66. package/dist-types/ts3.4/pagination/ListGeofenceCollectionsPaginator.d.ts +4 -11
  67. package/dist-types/ts3.4/pagination/ListGeofencesPaginator.d.ts +4 -11
  68. package/dist-types/ts3.4/pagination/ListMapsPaginator.d.ts +4 -11
  69. package/dist-types/ts3.4/pagination/ListPlaceIndexesPaginator.d.ts +4 -11
  70. package/dist-types/ts3.4/pagination/ListRouteCalculatorsPaginator.d.ts +4 -11
  71. package/dist-types/ts3.4/pagination/ListTrackerConsumersPaginator.d.ts +4 -11
  72. package/dist-types/ts3.4/pagination/ListTrackersPaginator.d.ts +4 -11
  73. package/dist-types/ts3.4/pagination/index.d.ts +10 -10
  74. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +161 -641
  75. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +40 -67
  76. package/dist-types/ts3.4/runtimeConfig.d.ts +40 -67
  77. package/dist-types/ts3.4/runtimeConfig.native.d.ts +39 -68
  78. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +13 -10
  79. package/package.json +33 -33
@@ -1,422 +1,197 @@
1
- import {
2
- EndpointsInputConfig,
3
- EndpointsResolvedConfig,
4
- RegionInputConfig,
5
- RegionResolvedConfig,
6
- } from "@aws-sdk/config-resolver";
7
- import {
8
- HostHeaderInputConfig,
9
- HostHeaderResolvedConfig,
10
- } from "@aws-sdk/middleware-host-header";
11
- import {
12
- RetryInputConfig,
13
- RetryResolvedConfig,
14
- } from "@aws-sdk/middleware-retry";
15
- import {
16
- AwsAuthInputConfig,
17
- AwsAuthResolvedConfig,
18
- } from "@aws-sdk/middleware-signing";
19
- import {
20
- UserAgentInputConfig,
21
- UserAgentResolvedConfig,
22
- } from "@aws-sdk/middleware-user-agent";
23
- import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
24
- import {
25
- Client as __Client,
26
- DefaultsMode,
27
- SmithyConfiguration as __SmithyConfiguration,
28
- SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
29
- } from "@aws-sdk/smithy-client";
30
- import {
31
- BodyLengthCalculator as __BodyLengthCalculator,
32
- Credentials as __Credentials,
33
- Decoder as __Decoder,
34
- Encoder as __Encoder,
35
- HashConstructor as __HashConstructor,
36
- HttpHandlerOptions as __HttpHandlerOptions,
37
- Logger as __Logger,
38
- Provider as __Provider,
39
- Provider,
40
- RegionInfoProvider,
41
- StreamCollector as __StreamCollector,
42
- UrlParser as __UrlParser,
43
- UserAgent as __UserAgent,
44
- } from "@aws-sdk/types";
45
- import {
46
- AssociateTrackerConsumerCommandInput,
47
- AssociateTrackerConsumerCommandOutput,
48
- } from "./commands/AssociateTrackerConsumerCommand";
49
- import {
50
- BatchDeleteDevicePositionHistoryCommandInput,
51
- BatchDeleteDevicePositionHistoryCommandOutput,
52
- } from "./commands/BatchDeleteDevicePositionHistoryCommand";
53
- import {
54
- BatchDeleteGeofenceCommandInput,
55
- BatchDeleteGeofenceCommandOutput,
56
- } from "./commands/BatchDeleteGeofenceCommand";
57
- import {
58
- BatchEvaluateGeofencesCommandInput,
59
- BatchEvaluateGeofencesCommandOutput,
60
- } from "./commands/BatchEvaluateGeofencesCommand";
61
- import {
62
- BatchGetDevicePositionCommandInput,
63
- BatchGetDevicePositionCommandOutput,
64
- } from "./commands/BatchGetDevicePositionCommand";
65
- import {
66
- BatchPutGeofenceCommandInput,
67
- BatchPutGeofenceCommandOutput,
68
- } from "./commands/BatchPutGeofenceCommand";
69
- import {
70
- BatchUpdateDevicePositionCommandInput,
71
- BatchUpdateDevicePositionCommandOutput,
72
- } from "./commands/BatchUpdateDevicePositionCommand";
73
- import {
74
- CalculateRouteCommandInput,
75
- CalculateRouteCommandOutput,
76
- } from "./commands/CalculateRouteCommand";
77
- import {
78
- CalculateRouteMatrixCommandInput,
79
- CalculateRouteMatrixCommandOutput,
80
- } from "./commands/CalculateRouteMatrixCommand";
81
- import {
82
- CreateGeofenceCollectionCommandInput,
83
- CreateGeofenceCollectionCommandOutput,
84
- } from "./commands/CreateGeofenceCollectionCommand";
85
- import {
86
- CreateMapCommandInput,
87
- CreateMapCommandOutput,
88
- } from "./commands/CreateMapCommand";
89
- import {
90
- CreatePlaceIndexCommandInput,
91
- CreatePlaceIndexCommandOutput,
92
- } from "./commands/CreatePlaceIndexCommand";
93
- import {
94
- CreateRouteCalculatorCommandInput,
95
- CreateRouteCalculatorCommandOutput,
96
- } from "./commands/CreateRouteCalculatorCommand";
97
- import {
98
- CreateTrackerCommandInput,
99
- CreateTrackerCommandOutput,
100
- } from "./commands/CreateTrackerCommand";
101
- import {
102
- DeleteGeofenceCollectionCommandInput,
103
- DeleteGeofenceCollectionCommandOutput,
104
- } from "./commands/DeleteGeofenceCollectionCommand";
105
- import {
106
- DeleteMapCommandInput,
107
- DeleteMapCommandOutput,
108
- } from "./commands/DeleteMapCommand";
109
- import {
110
- DeletePlaceIndexCommandInput,
111
- DeletePlaceIndexCommandOutput,
112
- } from "./commands/DeletePlaceIndexCommand";
113
- import {
114
- DeleteRouteCalculatorCommandInput,
115
- DeleteRouteCalculatorCommandOutput,
116
- } from "./commands/DeleteRouteCalculatorCommand";
117
- import {
118
- DeleteTrackerCommandInput,
119
- DeleteTrackerCommandOutput,
120
- } from "./commands/DeleteTrackerCommand";
121
- import {
122
- DescribeGeofenceCollectionCommandInput,
123
- DescribeGeofenceCollectionCommandOutput,
124
- } from "./commands/DescribeGeofenceCollectionCommand";
125
- import {
126
- DescribeMapCommandInput,
127
- DescribeMapCommandOutput,
128
- } from "./commands/DescribeMapCommand";
129
- import {
130
- DescribePlaceIndexCommandInput,
131
- DescribePlaceIndexCommandOutput,
132
- } from "./commands/DescribePlaceIndexCommand";
133
- import {
134
- DescribeRouteCalculatorCommandInput,
135
- DescribeRouteCalculatorCommandOutput,
136
- } from "./commands/DescribeRouteCalculatorCommand";
137
- import {
138
- DescribeTrackerCommandInput,
139
- DescribeTrackerCommandOutput,
140
- } from "./commands/DescribeTrackerCommand";
141
- import {
142
- DisassociateTrackerConsumerCommandInput,
143
- DisassociateTrackerConsumerCommandOutput,
144
- } from "./commands/DisassociateTrackerConsumerCommand";
145
- import {
146
- GetDevicePositionCommandInput,
147
- GetDevicePositionCommandOutput,
148
- } from "./commands/GetDevicePositionCommand";
149
- import {
150
- GetDevicePositionHistoryCommandInput,
151
- GetDevicePositionHistoryCommandOutput,
152
- } from "./commands/GetDevicePositionHistoryCommand";
153
- import {
154
- GetGeofenceCommandInput,
155
- GetGeofenceCommandOutput,
156
- } from "./commands/GetGeofenceCommand";
157
- import {
158
- GetMapGlyphsCommandInput,
159
- GetMapGlyphsCommandOutput,
160
- } from "./commands/GetMapGlyphsCommand";
161
- import {
162
- GetMapSpritesCommandInput,
163
- GetMapSpritesCommandOutput,
164
- } from "./commands/GetMapSpritesCommand";
165
- import {
166
- GetMapStyleDescriptorCommandInput,
167
- GetMapStyleDescriptorCommandOutput,
168
- } from "./commands/GetMapStyleDescriptorCommand";
169
- import {
170
- GetMapTileCommandInput,
171
- GetMapTileCommandOutput,
172
- } from "./commands/GetMapTileCommand";
173
- import {
174
- GetPlaceCommandInput,
175
- GetPlaceCommandOutput,
176
- } from "./commands/GetPlaceCommand";
177
- import {
178
- ListDevicePositionsCommandInput,
179
- ListDevicePositionsCommandOutput,
180
- } from "./commands/ListDevicePositionsCommand";
181
- import {
182
- ListGeofenceCollectionsCommandInput,
183
- ListGeofenceCollectionsCommandOutput,
184
- } from "./commands/ListGeofenceCollectionsCommand";
185
- import {
186
- ListGeofencesCommandInput,
187
- ListGeofencesCommandOutput,
188
- } from "./commands/ListGeofencesCommand";
189
- import {
190
- ListMapsCommandInput,
191
- ListMapsCommandOutput,
192
- } from "./commands/ListMapsCommand";
193
- import {
194
- ListPlaceIndexesCommandInput,
195
- ListPlaceIndexesCommandOutput,
196
- } from "./commands/ListPlaceIndexesCommand";
197
- import {
198
- ListRouteCalculatorsCommandInput,
199
- ListRouteCalculatorsCommandOutput,
200
- } from "./commands/ListRouteCalculatorsCommand";
201
- import {
202
- ListTagsForResourceCommandInput,
203
- ListTagsForResourceCommandOutput,
204
- } from "./commands/ListTagsForResourceCommand";
205
- import {
206
- ListTrackerConsumersCommandInput,
207
- ListTrackerConsumersCommandOutput,
208
- } from "./commands/ListTrackerConsumersCommand";
209
- import {
210
- ListTrackersCommandInput,
211
- ListTrackersCommandOutput,
212
- } from "./commands/ListTrackersCommand";
213
- import {
214
- PutGeofenceCommandInput,
215
- PutGeofenceCommandOutput,
216
- } from "./commands/PutGeofenceCommand";
217
- import {
218
- SearchPlaceIndexForPositionCommandInput,
219
- SearchPlaceIndexForPositionCommandOutput,
220
- } from "./commands/SearchPlaceIndexForPositionCommand";
221
- import {
222
- SearchPlaceIndexForSuggestionsCommandInput,
223
- SearchPlaceIndexForSuggestionsCommandOutput,
224
- } from "./commands/SearchPlaceIndexForSuggestionsCommand";
225
- import {
226
- SearchPlaceIndexForTextCommandInput,
227
- SearchPlaceIndexForTextCommandOutput,
228
- } from "./commands/SearchPlaceIndexForTextCommand";
229
- import {
230
- TagResourceCommandInput,
231
- TagResourceCommandOutput,
232
- } from "./commands/TagResourceCommand";
233
- import {
234
- UntagResourceCommandInput,
235
- UntagResourceCommandOutput,
236
- } from "./commands/UntagResourceCommand";
237
- import {
238
- UpdateGeofenceCollectionCommandInput,
239
- UpdateGeofenceCollectionCommandOutput,
240
- } from "./commands/UpdateGeofenceCollectionCommand";
241
- import {
242
- UpdateMapCommandInput,
243
- UpdateMapCommandOutput,
244
- } from "./commands/UpdateMapCommand";
245
- import {
246
- UpdatePlaceIndexCommandInput,
247
- UpdatePlaceIndexCommandOutput,
248
- } from "./commands/UpdatePlaceIndexCommand";
249
- import {
250
- UpdateRouteCalculatorCommandInput,
251
- UpdateRouteCalculatorCommandOutput,
252
- } from "./commands/UpdateRouteCalculatorCommand";
253
- import {
254
- UpdateTrackerCommandInput,
255
- UpdateTrackerCommandOutput,
256
- } from "./commands/UpdateTrackerCommand";
257
- export declare type ServiceInputTypes =
258
- | AssociateTrackerConsumerCommandInput
259
- | BatchDeleteDevicePositionHistoryCommandInput
260
- | BatchDeleteGeofenceCommandInput
261
- | BatchEvaluateGeofencesCommandInput
262
- | BatchGetDevicePositionCommandInput
263
- | BatchPutGeofenceCommandInput
264
- | BatchUpdateDevicePositionCommandInput
265
- | CalculateRouteCommandInput
266
- | CalculateRouteMatrixCommandInput
267
- | CreateGeofenceCollectionCommandInput
268
- | CreateMapCommandInput
269
- | CreatePlaceIndexCommandInput
270
- | CreateRouteCalculatorCommandInput
271
- | CreateTrackerCommandInput
272
- | DeleteGeofenceCollectionCommandInput
273
- | DeleteMapCommandInput
274
- | DeletePlaceIndexCommandInput
275
- | DeleteRouteCalculatorCommandInput
276
- | DeleteTrackerCommandInput
277
- | DescribeGeofenceCollectionCommandInput
278
- | DescribeMapCommandInput
279
- | DescribePlaceIndexCommandInput
280
- | DescribeRouteCalculatorCommandInput
281
- | DescribeTrackerCommandInput
282
- | DisassociateTrackerConsumerCommandInput
283
- | GetDevicePositionCommandInput
284
- | GetDevicePositionHistoryCommandInput
285
- | GetGeofenceCommandInput
286
- | GetMapGlyphsCommandInput
287
- | GetMapSpritesCommandInput
288
- | GetMapStyleDescriptorCommandInput
289
- | GetMapTileCommandInput
290
- | GetPlaceCommandInput
291
- | ListDevicePositionsCommandInput
292
- | ListGeofenceCollectionsCommandInput
293
- | ListGeofencesCommandInput
294
- | ListMapsCommandInput
295
- | ListPlaceIndexesCommandInput
296
- | ListRouteCalculatorsCommandInput
297
- | ListTagsForResourceCommandInput
298
- | ListTrackerConsumersCommandInput
299
- | ListTrackersCommandInput
300
- | PutGeofenceCommandInput
301
- | SearchPlaceIndexForPositionCommandInput
302
- | SearchPlaceIndexForSuggestionsCommandInput
303
- | SearchPlaceIndexForTextCommandInput
304
- | TagResourceCommandInput
305
- | UntagResourceCommandInput
306
- | UpdateGeofenceCollectionCommandInput
307
- | UpdateMapCommandInput
308
- | UpdatePlaceIndexCommandInput
309
- | UpdateRouteCalculatorCommandInput
310
- | UpdateTrackerCommandInput;
311
- export declare type ServiceOutputTypes =
312
- | AssociateTrackerConsumerCommandOutput
313
- | BatchDeleteDevicePositionHistoryCommandOutput
314
- | BatchDeleteGeofenceCommandOutput
315
- | BatchEvaluateGeofencesCommandOutput
316
- | BatchGetDevicePositionCommandOutput
317
- | BatchPutGeofenceCommandOutput
318
- | BatchUpdateDevicePositionCommandOutput
319
- | CalculateRouteCommandOutput
320
- | CalculateRouteMatrixCommandOutput
321
- | CreateGeofenceCollectionCommandOutput
322
- | CreateMapCommandOutput
323
- | CreatePlaceIndexCommandOutput
324
- | CreateRouteCalculatorCommandOutput
325
- | CreateTrackerCommandOutput
326
- | DeleteGeofenceCollectionCommandOutput
327
- | DeleteMapCommandOutput
328
- | DeletePlaceIndexCommandOutput
329
- | DeleteRouteCalculatorCommandOutput
330
- | DeleteTrackerCommandOutput
331
- | DescribeGeofenceCollectionCommandOutput
332
- | DescribeMapCommandOutput
333
- | DescribePlaceIndexCommandOutput
334
- | DescribeRouteCalculatorCommandOutput
335
- | DescribeTrackerCommandOutput
336
- | DisassociateTrackerConsumerCommandOutput
337
- | GetDevicePositionCommandOutput
338
- | GetDevicePositionHistoryCommandOutput
339
- | GetGeofenceCommandOutput
340
- | GetMapGlyphsCommandOutput
341
- | GetMapSpritesCommandOutput
342
- | GetMapStyleDescriptorCommandOutput
343
- | GetMapTileCommandOutput
344
- | GetPlaceCommandOutput
345
- | ListDevicePositionsCommandOutput
346
- | ListGeofenceCollectionsCommandOutput
347
- | ListGeofencesCommandOutput
348
- | ListMapsCommandOutput
349
- | ListPlaceIndexesCommandOutput
350
- | ListRouteCalculatorsCommandOutput
351
- | ListTagsForResourceCommandOutput
352
- | ListTrackerConsumersCommandOutput
353
- | ListTrackersCommandOutput
354
- | PutGeofenceCommandOutput
355
- | SearchPlaceIndexForPositionCommandOutput
356
- | SearchPlaceIndexForSuggestionsCommandOutput
357
- | SearchPlaceIndexForTextCommandOutput
358
- | TagResourceCommandOutput
359
- | UntagResourceCommandOutput
360
- | UpdateGeofenceCollectionCommandOutput
361
- | UpdateMapCommandOutput
362
- | UpdatePlaceIndexCommandOutput
363
- | UpdateRouteCalculatorCommandOutput
364
- | UpdateTrackerCommandOutput;
365
- export interface ClientDefaults
366
- extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
367
- requestHandler?: __HttpHandler;
368
- sha256?: __HashConstructor;
369
- urlParser?: __UrlParser;
370
- bodyLengthChecker?: __BodyLengthCalculator;
371
- streamCollector?: __StreamCollector;
372
- base64Decoder?: __Decoder;
373
- base64Encoder?: __Encoder;
374
- utf8Decoder?: __Decoder;
375
- utf8Encoder?: __Encoder;
376
- runtime?: string;
377
- disableHostPrefix?: boolean;
378
- maxAttempts?: number | __Provider<number>;
379
- retryMode?: string | __Provider<string>;
380
- logger?: __Logger;
381
- useDualstackEndpoint?: boolean | __Provider<boolean>;
382
- useFipsEndpoint?: boolean | __Provider<boolean>;
383
- serviceId?: string;
384
- region?: string | __Provider<string>;
385
- credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
386
- regionInfoProvider?: RegionInfoProvider;
387
- defaultUserAgentProvider?: Provider<__UserAgent>;
388
- defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
389
- }
390
- declare type LocationClientConfigType = Partial<
391
- __SmithyConfiguration<__HttpHandlerOptions>
392
- > &
393
- ClientDefaults &
394
- RegionInputConfig &
395
- EndpointsInputConfig &
396
- RetryInputConfig &
397
- HostHeaderInputConfig &
398
- AwsAuthInputConfig &
399
- UserAgentInputConfig;
400
- export interface LocationClientConfig extends LocationClientConfigType {}
401
- declare type LocationClientResolvedConfigType =
402
- __SmithyResolvedConfiguration<__HttpHandlerOptions> &
403
- Required<ClientDefaults> &
404
- RegionResolvedConfig &
405
- EndpointsResolvedConfig &
406
- RetryResolvedConfig &
407
- HostHeaderResolvedConfig &
408
- AwsAuthResolvedConfig &
409
- UserAgentResolvedConfig;
410
- export interface LocationClientResolvedConfig
411
- extends LocationClientResolvedConfigType {}
412
- export declare class LocationClient extends __Client<
413
- __HttpHandlerOptions,
414
- ServiceInputTypes,
415
- ServiceOutputTypes,
416
- LocationClientResolvedConfig
417
- > {
418
- readonly config: LocationClientResolvedConfig;
419
- constructor(configuration: LocationClientConfig);
420
- destroy(): void;
421
- }
422
- export {};
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
4
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { AssociateTrackerConsumerCommandInput, AssociateTrackerConsumerCommandOutput } from "./commands/AssociateTrackerConsumerCommand";
10
+ import { BatchDeleteDevicePositionHistoryCommandInput, BatchDeleteDevicePositionHistoryCommandOutput } from "./commands/BatchDeleteDevicePositionHistoryCommand";
11
+ import { BatchDeleteGeofenceCommandInput, BatchDeleteGeofenceCommandOutput } from "./commands/BatchDeleteGeofenceCommand";
12
+ import { BatchEvaluateGeofencesCommandInput, BatchEvaluateGeofencesCommandOutput } from "./commands/BatchEvaluateGeofencesCommand";
13
+ import { BatchGetDevicePositionCommandInput, BatchGetDevicePositionCommandOutput } from "./commands/BatchGetDevicePositionCommand";
14
+ import { BatchPutGeofenceCommandInput, BatchPutGeofenceCommandOutput } from "./commands/BatchPutGeofenceCommand";
15
+ import { BatchUpdateDevicePositionCommandInput, BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
16
+ import { CalculateRouteCommandInput, CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
17
+ import { CalculateRouteMatrixCommandInput, CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
18
+ import { CreateGeofenceCollectionCommandInput, CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
19
+ import { CreateMapCommandInput, CreateMapCommandOutput } from "./commands/CreateMapCommand";
20
+ import { CreatePlaceIndexCommandInput, CreatePlaceIndexCommandOutput } from "./commands/CreatePlaceIndexCommand";
21
+ import { CreateRouteCalculatorCommandInput, CreateRouteCalculatorCommandOutput } from "./commands/CreateRouteCalculatorCommand";
22
+ import { CreateTrackerCommandInput, CreateTrackerCommandOutput } from "./commands/CreateTrackerCommand";
23
+ import { DeleteGeofenceCollectionCommandInput, DeleteGeofenceCollectionCommandOutput } from "./commands/DeleteGeofenceCollectionCommand";
24
+ import { DeleteMapCommandInput, DeleteMapCommandOutput } from "./commands/DeleteMapCommand";
25
+ import { DeletePlaceIndexCommandInput, DeletePlaceIndexCommandOutput } from "./commands/DeletePlaceIndexCommand";
26
+ import { DeleteRouteCalculatorCommandInput, DeleteRouteCalculatorCommandOutput } from "./commands/DeleteRouteCalculatorCommand";
27
+ import { DeleteTrackerCommandInput, DeleteTrackerCommandOutput } from "./commands/DeleteTrackerCommand";
28
+ import { DescribeGeofenceCollectionCommandInput, DescribeGeofenceCollectionCommandOutput } from "./commands/DescribeGeofenceCollectionCommand";
29
+ import { DescribeMapCommandInput, DescribeMapCommandOutput } from "./commands/DescribeMapCommand";
30
+ import { DescribePlaceIndexCommandInput, DescribePlaceIndexCommandOutput } from "./commands/DescribePlaceIndexCommand";
31
+ import { DescribeRouteCalculatorCommandInput, DescribeRouteCalculatorCommandOutput } from "./commands/DescribeRouteCalculatorCommand";
32
+ import { DescribeTrackerCommandInput, DescribeTrackerCommandOutput } from "./commands/DescribeTrackerCommand";
33
+ import { DisassociateTrackerConsumerCommandInput, DisassociateTrackerConsumerCommandOutput } from "./commands/DisassociateTrackerConsumerCommand";
34
+ import { GetDevicePositionCommandInput, GetDevicePositionCommandOutput } from "./commands/GetDevicePositionCommand";
35
+ import { GetDevicePositionHistoryCommandInput, GetDevicePositionHistoryCommandOutput } from "./commands/GetDevicePositionHistoryCommand";
36
+ import { GetGeofenceCommandInput, GetGeofenceCommandOutput } from "./commands/GetGeofenceCommand";
37
+ import { GetMapGlyphsCommandInput, GetMapGlyphsCommandOutput } from "./commands/GetMapGlyphsCommand";
38
+ import { GetMapSpritesCommandInput, GetMapSpritesCommandOutput } from "./commands/GetMapSpritesCommand";
39
+ import { GetMapStyleDescriptorCommandInput, GetMapStyleDescriptorCommandOutput } from "./commands/GetMapStyleDescriptorCommand";
40
+ import { GetMapTileCommandInput, GetMapTileCommandOutput } from "./commands/GetMapTileCommand";
41
+ import { GetPlaceCommandInput, GetPlaceCommandOutput } from "./commands/GetPlaceCommand";
42
+ import { ListDevicePositionsCommandInput, ListDevicePositionsCommandOutput } from "./commands/ListDevicePositionsCommand";
43
+ import { ListGeofenceCollectionsCommandInput, ListGeofenceCollectionsCommandOutput } from "./commands/ListGeofenceCollectionsCommand";
44
+ import { ListGeofencesCommandInput, ListGeofencesCommandOutput } from "./commands/ListGeofencesCommand";
45
+ import { ListMapsCommandInput, ListMapsCommandOutput } from "./commands/ListMapsCommand";
46
+ import { ListPlaceIndexesCommandInput, ListPlaceIndexesCommandOutput } from "./commands/ListPlaceIndexesCommand";
47
+ import { ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput } from "./commands/ListRouteCalculatorsCommand";
48
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
49
+ import { ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput } from "./commands/ListTrackerConsumersCommand";
50
+ import { ListTrackersCommandInput, ListTrackersCommandOutput } from "./commands/ListTrackersCommand";
51
+ import { PutGeofenceCommandInput, PutGeofenceCommandOutput } from "./commands/PutGeofenceCommand";
52
+ import { SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput } from "./commands/SearchPlaceIndexForPositionCommand";
53
+ import { SearchPlaceIndexForSuggestionsCommandInput, SearchPlaceIndexForSuggestionsCommandOutput } from "./commands/SearchPlaceIndexForSuggestionsCommand";
54
+ import { SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput } from "./commands/SearchPlaceIndexForTextCommand";
55
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
56
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
57
+ import { UpdateGeofenceCollectionCommandInput, UpdateGeofenceCollectionCommandOutput } from "./commands/UpdateGeofenceCollectionCommand";
58
+ import { UpdateMapCommandInput, UpdateMapCommandOutput } from "./commands/UpdateMapCommand";
59
+ import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./commands/UpdatePlaceIndexCommand";
60
+ import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
61
+ import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
62
+ export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
63
+ export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
64
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
65
+ /**
66
+ * The HTTP handler to use. Fetch in browser and Https in Nodejs.
67
+ */
68
+ requestHandler?: __HttpHandler;
69
+ /**
70
+ * A constructor for a class implementing the {@link __Hash} interface
71
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
72
+ * @internal
73
+ */
74
+ sha256?: __HashConstructor;
75
+ /**
76
+ * The function that will be used to convert strings into HTTP endpoints.
77
+ * @internal
78
+ */
79
+ urlParser?: __UrlParser;
80
+ /**
81
+ * A function that can calculate the length of a request body.
82
+ * @internal
83
+ */
84
+ bodyLengthChecker?: __BodyLengthCalculator;
85
+ /**
86
+ * A function that converts a stream into an array of bytes.
87
+ * @internal
88
+ */
89
+ streamCollector?: __StreamCollector;
90
+ /**
91
+ * The function that will be used to convert a base64-encoded string to a byte array.
92
+ * @internal
93
+ */
94
+ base64Decoder?: __Decoder;
95
+ /**
96
+ * The function that will be used to convert binary data to a base64-encoded string.
97
+ * @internal
98
+ */
99
+ base64Encoder?: __Encoder;
100
+ /**
101
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
102
+ * @internal
103
+ */
104
+ utf8Decoder?: __Decoder;
105
+ /**
106
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
107
+ * @internal
108
+ */
109
+ utf8Encoder?: __Encoder;
110
+ /**
111
+ * The runtime environment.
112
+ * @internal
113
+ */
114
+ runtime?: string;
115
+ /**
116
+ * Disable dyanamically changing the endpoint of the client based on the hostPrefix
117
+ * trait of an operation.
118
+ */
119
+ disableHostPrefix?: boolean;
120
+ /**
121
+ * Value for how many times a request will be made at most in case of retry.
122
+ */
123
+ maxAttempts?: number | __Provider<number>;
124
+ /**
125
+ * Specifies which retry algorithm to use.
126
+ */
127
+ retryMode?: string | __Provider<string>;
128
+ /**
129
+ * Optional logger for logging debug/info/warn/error.
130
+ */
131
+ logger?: __Logger;
132
+ /**
133
+ * Enables IPv6/IPv4 dualstack endpoint.
134
+ */
135
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
136
+ /**
137
+ * Enables FIPS compatible endpoints.
138
+ */
139
+ useFipsEndpoint?: boolean | __Provider<boolean>;
140
+ /**
141
+ * Unique service identifier.
142
+ * @internal
143
+ */
144
+ serviceId?: string;
145
+ /**
146
+ * The AWS region to which this client will send requests
147
+ */
148
+ region?: string | __Provider<string>;
149
+ /**
150
+ * Default credentials provider; Not available in browser runtime.
151
+ * @internal
152
+ */
153
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
154
+ /**
155
+ * Fetch related hostname, signing name or signing region with given region.
156
+ * @internal
157
+ */
158
+ regionInfoProvider?: RegionInfoProvider;
159
+ /**
160
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
161
+ * @internal
162
+ */
163
+ defaultUserAgentProvider?: Provider<__UserAgent>;
164
+ /**
165
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
166
+ */
167
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
168
+ }
169
+ declare type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
170
+ /**
171
+ * The configuration interface of LocationClient class constructor that set the region, credentials and other options.
172
+ */
173
+ export interface LocationClientConfig extends LocationClientConfigType {
174
+ }
175
+ declare type LocationClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
176
+ /**
177
+ * The resolved configuration interface of LocationClient class. This is resolved and normalized from the {@link LocationClientConfig | constructor configuration interface}.
178
+ */
179
+ export interface LocationClientResolvedConfig extends LocationClientResolvedConfigType {
180
+ }
181
+ /**
182
+ * <p>"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"</p>
183
+ */
184
+ export declare class LocationClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LocationClientResolvedConfig> {
185
+ /**
186
+ * The resolved configuration of LocationClient class. This is resolved and normalized from the {@link LocationClientConfig | constructor configuration interface}.
187
+ */
188
+ readonly config: LocationClientResolvedConfig;
189
+ constructor(configuration: LocationClientConfig);
190
+ /**
191
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
192
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
193
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
194
+ */
195
+ destroy(): void;
196
+ }
197
+ export {};