@aws-sdk/client-location 3.1032.0 → 3.1033.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 +35 -7
- package/dist-cjs/endpoint/bdd.js +49 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +147 -1
- package/dist-cjs/schemas/schemas_0.js +143 -12
- package/dist-es/Location.js +15 -1
- package/dist-es/commands/CancelJobCommand.js +16 -0
- package/dist-es/commands/GetJobCommand.js +16 -0
- package/dist-es/commands/ListJobsCommand.js +16 -0
- package/dist-es/commands/StartJobCommand.js +16 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/bdd.js +46 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +25 -1
- package/dist-es/pagination/ListJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +137 -7
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForJobCompleted.js +49 -0
- package/dist-types/Location.d.ts +44 -1
- package/dist-types/LocationClient.d.ts +6 -2
- package/dist-types/commands/CancelJobCommand.d.ts +88 -0
- package/dist-types/commands/GetJobCommand.d.ts +121 -0
- package/dist-types/commands/ListJobsCommand.d.ts +124 -0
- package/dist-types/commands/StartJobCommand.d.ts +110 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +94 -0
- package/dist-types/models/models_0.d.ts +376 -4
- package/dist-types/pagination/ListJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/Location.d.ts +87 -0
- package/dist-types/ts3.4/LocationClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CancelJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StartJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +94 -0
- package/dist-types/ts3.4/pagination/ListJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForJobCompleted.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForJobCompleted.d.ts +14 -0
- package/package.json +6 -5
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -80,6 +80,10 @@ import {
|
|
|
80
80
|
CalculateRouteMatrixCommandInput,
|
|
81
81
|
CalculateRouteMatrixCommandOutput,
|
|
82
82
|
} from "./commands/CalculateRouteMatrixCommand";
|
|
83
|
+
import {
|
|
84
|
+
CancelJobCommandInput,
|
|
85
|
+
CancelJobCommandOutput,
|
|
86
|
+
} from "./commands/CancelJobCommand";
|
|
83
87
|
import {
|
|
84
88
|
CreateGeofenceCollectionCommandInput,
|
|
85
89
|
CreateGeofenceCollectionCommandOutput,
|
|
@@ -172,6 +176,10 @@ import {
|
|
|
172
176
|
GetGeofenceCommandInput,
|
|
173
177
|
GetGeofenceCommandOutput,
|
|
174
178
|
} from "./commands/GetGeofenceCommand";
|
|
179
|
+
import {
|
|
180
|
+
GetJobCommandInput,
|
|
181
|
+
GetJobCommandOutput,
|
|
182
|
+
} from "./commands/GetJobCommand";
|
|
175
183
|
import {
|
|
176
184
|
GetMapGlyphsCommandInput,
|
|
177
185
|
GetMapGlyphsCommandOutput,
|
|
@@ -204,6 +212,10 @@ import {
|
|
|
204
212
|
ListGeofencesCommandInput,
|
|
205
213
|
ListGeofencesCommandOutput,
|
|
206
214
|
} from "./commands/ListGeofencesCommand";
|
|
215
|
+
import {
|
|
216
|
+
ListJobsCommandInput,
|
|
217
|
+
ListJobsCommandOutput,
|
|
218
|
+
} from "./commands/ListJobsCommand";
|
|
207
219
|
import {
|
|
208
220
|
ListKeysCommandInput,
|
|
209
221
|
ListKeysCommandOutput,
|
|
@@ -248,6 +260,10 @@ import {
|
|
|
248
260
|
SearchPlaceIndexForTextCommandInput,
|
|
249
261
|
SearchPlaceIndexForTextCommandOutput,
|
|
250
262
|
} from "./commands/SearchPlaceIndexForTextCommand";
|
|
263
|
+
import {
|
|
264
|
+
StartJobCommandInput,
|
|
265
|
+
StartJobCommandOutput,
|
|
266
|
+
} from "./commands/StartJobCommand";
|
|
251
267
|
import {
|
|
252
268
|
TagResourceCommandInput,
|
|
253
269
|
TagResourceCommandOutput,
|
|
@@ -301,6 +317,7 @@ export type ServiceInputTypes =
|
|
|
301
317
|
| BatchUpdateDevicePositionCommandInput
|
|
302
318
|
| CalculateRouteCommandInput
|
|
303
319
|
| CalculateRouteMatrixCommandInput
|
|
320
|
+
| CancelJobCommandInput
|
|
304
321
|
| CreateGeofenceCollectionCommandInput
|
|
305
322
|
| CreateKeyCommandInput
|
|
306
323
|
| CreateMapCommandInput
|
|
@@ -324,6 +341,7 @@ export type ServiceInputTypes =
|
|
|
324
341
|
| GetDevicePositionCommandInput
|
|
325
342
|
| GetDevicePositionHistoryCommandInput
|
|
326
343
|
| GetGeofenceCommandInput
|
|
344
|
+
| GetJobCommandInput
|
|
327
345
|
| GetMapGlyphsCommandInput
|
|
328
346
|
| GetMapSpritesCommandInput
|
|
329
347
|
| GetMapStyleDescriptorCommandInput
|
|
@@ -332,6 +350,7 @@ export type ServiceInputTypes =
|
|
|
332
350
|
| ListDevicePositionsCommandInput
|
|
333
351
|
| ListGeofenceCollectionsCommandInput
|
|
334
352
|
| ListGeofencesCommandInput
|
|
353
|
+
| ListJobsCommandInput
|
|
335
354
|
| ListKeysCommandInput
|
|
336
355
|
| ListMapsCommandInput
|
|
337
356
|
| ListPlaceIndexesCommandInput
|
|
@@ -343,6 +362,7 @@ export type ServiceInputTypes =
|
|
|
343
362
|
| SearchPlaceIndexForPositionCommandInput
|
|
344
363
|
| SearchPlaceIndexForSuggestionsCommandInput
|
|
345
364
|
| SearchPlaceIndexForTextCommandInput
|
|
365
|
+
| StartJobCommandInput
|
|
346
366
|
| TagResourceCommandInput
|
|
347
367
|
| UntagResourceCommandInput
|
|
348
368
|
| UpdateGeofenceCollectionCommandInput
|
|
@@ -362,6 +382,7 @@ export type ServiceOutputTypes =
|
|
|
362
382
|
| BatchUpdateDevicePositionCommandOutput
|
|
363
383
|
| CalculateRouteCommandOutput
|
|
364
384
|
| CalculateRouteMatrixCommandOutput
|
|
385
|
+
| CancelJobCommandOutput
|
|
365
386
|
| CreateGeofenceCollectionCommandOutput
|
|
366
387
|
| CreateKeyCommandOutput
|
|
367
388
|
| CreateMapCommandOutput
|
|
@@ -385,6 +406,7 @@ export type ServiceOutputTypes =
|
|
|
385
406
|
| GetDevicePositionCommandOutput
|
|
386
407
|
| GetDevicePositionHistoryCommandOutput
|
|
387
408
|
| GetGeofenceCommandOutput
|
|
409
|
+
| GetJobCommandOutput
|
|
388
410
|
| GetMapGlyphsCommandOutput
|
|
389
411
|
| GetMapSpritesCommandOutput
|
|
390
412
|
| GetMapStyleDescriptorCommandOutput
|
|
@@ -393,6 +415,7 @@ export type ServiceOutputTypes =
|
|
|
393
415
|
| ListDevicePositionsCommandOutput
|
|
394
416
|
| ListGeofenceCollectionsCommandOutput
|
|
395
417
|
| ListGeofencesCommandOutput
|
|
418
|
+
| ListJobsCommandOutput
|
|
396
419
|
| ListKeysCommandOutput
|
|
397
420
|
| ListMapsCommandOutput
|
|
398
421
|
| ListPlaceIndexesCommandOutput
|
|
@@ -404,6 +427,7 @@ export type ServiceOutputTypes =
|
|
|
404
427
|
| SearchPlaceIndexForPositionCommandOutput
|
|
405
428
|
| SearchPlaceIndexForSuggestionsCommandOutput
|
|
406
429
|
| SearchPlaceIndexForTextCommandOutput
|
|
430
|
+
| StartJobCommandOutput
|
|
407
431
|
| TagResourceCommandOutput
|
|
408
432
|
| UntagResourceCommandOutput
|
|
409
433
|
| UpdateGeofenceCollectionCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LocationClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LocationClient";
|
|
8
|
+
import { CancelJobRequest, CancelJobResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface CancelJobCommandInput extends CancelJobRequest {}
|
|
12
|
+
export interface CancelJobCommandOutput
|
|
13
|
+
extends CancelJobResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const CancelJobCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: CancelJobCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
CancelJobCommandInput,
|
|
20
|
+
CancelJobCommandOutput,
|
|
21
|
+
LocationClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: CancelJobCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
CancelJobCommandInput,
|
|
29
|
+
CancelJobCommandOutput,
|
|
30
|
+
LocationClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class CancelJobCommand extends CancelJobCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: CancelJobRequest;
|
|
40
|
+
output: CancelJobResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: CancelJobCommandInput;
|
|
44
|
+
output: CancelJobCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LocationClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LocationClient";
|
|
8
|
+
import { GetJobRequest, GetJobResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetJobCommandInput extends GetJobRequest {}
|
|
12
|
+
export interface GetJobCommandOutput extends GetJobResponse, __MetadataBearer {}
|
|
13
|
+
declare const GetJobCommand_base: {
|
|
14
|
+
new (input: GetJobCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
15
|
+
GetJobCommandInput,
|
|
16
|
+
GetJobCommandOutput,
|
|
17
|
+
LocationClientResolvedConfig,
|
|
18
|
+
ServiceInputTypes,
|
|
19
|
+
ServiceOutputTypes
|
|
20
|
+
>;
|
|
21
|
+
new (input: GetJobCommandInput): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetJobCommandInput,
|
|
23
|
+
GetJobCommandOutput,
|
|
24
|
+
LocationClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
30
|
+
export declare class GetJobCommand extends GetJobCommand_base {
|
|
31
|
+
protected static __types: {
|
|
32
|
+
api: {
|
|
33
|
+
input: GetJobRequest;
|
|
34
|
+
output: GetJobResponse;
|
|
35
|
+
};
|
|
36
|
+
sdk: {
|
|
37
|
+
input: GetJobCommandInput;
|
|
38
|
+
output: GetJobCommandOutput;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LocationClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LocationClient";
|
|
8
|
+
import { ListJobsRequest, ListJobsResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListJobsCommandInput extends ListJobsRequest {}
|
|
12
|
+
export interface ListJobsCommandOutput
|
|
13
|
+
extends ListJobsResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListJobsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListJobsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListJobsCommandInput,
|
|
20
|
+
ListJobsCommandOutput,
|
|
21
|
+
LocationClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListJobsCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListJobsCommandInput,
|
|
29
|
+
ListJobsCommandOutput,
|
|
30
|
+
LocationClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListJobsCommand extends ListJobsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListJobsRequest;
|
|
40
|
+
output: ListJobsResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListJobsCommandInput;
|
|
44
|
+
output: ListJobsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
LocationClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../LocationClient";
|
|
8
|
+
import { StartJobRequest, StartJobResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface StartJobCommandInput extends StartJobRequest {}
|
|
12
|
+
export interface StartJobCommandOutput
|
|
13
|
+
extends StartJobResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const StartJobCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: StartJobCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
StartJobCommandInput,
|
|
20
|
+
StartJobCommandOutput,
|
|
21
|
+
LocationClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: StartJobCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
StartJobCommandInput,
|
|
29
|
+
StartJobCommandOutput,
|
|
30
|
+
LocationClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class StartJobCommand extends StartJobCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: StartJobRequest;
|
|
40
|
+
output: StartJobResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: StartJobCommandInput;
|
|
44
|
+
output: StartJobCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./BatchPutGeofenceCommand";
|
|
|
7
7
|
export * from "./BatchUpdateDevicePositionCommand";
|
|
8
8
|
export * from "./CalculateRouteCommand";
|
|
9
9
|
export * from "./CalculateRouteMatrixCommand";
|
|
10
|
+
export * from "./CancelJobCommand";
|
|
10
11
|
export * from "./CreateGeofenceCollectionCommand";
|
|
11
12
|
export * from "./CreateKeyCommand";
|
|
12
13
|
export * from "./CreateMapCommand";
|
|
@@ -30,6 +31,7 @@ export * from "./ForecastGeofenceEventsCommand";
|
|
|
30
31
|
export * from "./GetDevicePositionCommand";
|
|
31
32
|
export * from "./GetDevicePositionHistoryCommand";
|
|
32
33
|
export * from "./GetGeofenceCommand";
|
|
34
|
+
export * from "./GetJobCommand";
|
|
33
35
|
export * from "./GetMapGlyphsCommand";
|
|
34
36
|
export * from "./GetMapSpritesCommand";
|
|
35
37
|
export * from "./GetMapStyleDescriptorCommand";
|
|
@@ -38,6 +40,7 @@ export * from "./GetPlaceCommand";
|
|
|
38
40
|
export * from "./ListDevicePositionsCommand";
|
|
39
41
|
export * from "./ListGeofenceCollectionsCommand";
|
|
40
42
|
export * from "./ListGeofencesCommand";
|
|
43
|
+
export * from "./ListJobsCommand";
|
|
41
44
|
export * from "./ListKeysCommand";
|
|
42
45
|
export * from "./ListMapsCommand";
|
|
43
46
|
export * from "./ListPlaceIndexesCommand";
|
|
@@ -49,6 +52,7 @@ export * from "./PutGeofenceCommand";
|
|
|
49
52
|
export * from "./SearchPlaceIndexForPositionCommand";
|
|
50
53
|
export * from "./SearchPlaceIndexForSuggestionsCommand";
|
|
51
54
|
export * from "./SearchPlaceIndexForTextCommand";
|
|
55
|
+
export * from "./StartJobCommand";
|
|
52
56
|
export * from "./TagResourceCommand";
|
|
53
57
|
export * from "./UntagResourceCommand";
|
|
54
58
|
export * from "./UpdateGeofenceCollectionCommand";
|
|
@@ -6,6 +6,7 @@ export { LocationExtensionConfiguration } from "./extensionConfiguration";
|
|
|
6
6
|
export * from "./commands";
|
|
7
7
|
export * from "./schemas/schemas_0";
|
|
8
8
|
export * from "./pagination";
|
|
9
|
+
export * from "./waiters";
|
|
9
10
|
export * from "./models/enums";
|
|
10
11
|
export * from "./models/errors";
|
|
11
12
|
export * from "./models/models_0";
|
|
@@ -25,6 +25,15 @@ export type RouteMatrixErrorCode =
|
|
|
25
25
|
| "PositionsNotFound"
|
|
26
26
|
| "RouteNotFound"
|
|
27
27
|
| "RouteTooLong";
|
|
28
|
+
export declare const JobStatus: {
|
|
29
|
+
readonly CANCELLED: "Cancelled";
|
|
30
|
+
readonly CANCELLING: "Cancelling";
|
|
31
|
+
readonly COMPLETED: "Completed";
|
|
32
|
+
readonly FAILED: "Failed";
|
|
33
|
+
readonly PENDING: "Pending";
|
|
34
|
+
readonly RUNNING: "Running";
|
|
35
|
+
};
|
|
36
|
+
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
28
37
|
export type PricingPlan =
|
|
29
38
|
| "MobileAssetManagement"
|
|
30
39
|
| "MobileAssetTracking"
|
|
@@ -33,3 +42,28 @@ export type IntendedUse = "SingleUse" | "Storage";
|
|
|
33
42
|
export type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
|
|
34
43
|
export type ForecastedGeofenceEventType = "ENTER" | "EXIT" | "IDLE";
|
|
35
44
|
export type SpeedUnit = "KilometersPerHour" | "MilesPerHour";
|
|
45
|
+
export declare const JobAction: {
|
|
46
|
+
readonly VALIDATE_ADDRESS: "ValidateAddress";
|
|
47
|
+
};
|
|
48
|
+
export type JobAction = (typeof JobAction)[keyof typeof JobAction];
|
|
49
|
+
export declare const ValidateAddressAdditionalFeature: {
|
|
50
|
+
readonly COUNTRY_SPECIFIC_ATTRIBUTES: "CountrySpecificAttributes";
|
|
51
|
+
readonly POSITION: "Position";
|
|
52
|
+
};
|
|
53
|
+
export type ValidateAddressAdditionalFeature =
|
|
54
|
+
(typeof ValidateAddressAdditionalFeature)[keyof typeof ValidateAddressAdditionalFeature];
|
|
55
|
+
export declare const JobErrorCode: {
|
|
56
|
+
readonly INTERNAL_SERVER_ERROR: "InternalServerError";
|
|
57
|
+
readonly VALIDATION_ERROR: "ValidationError";
|
|
58
|
+
};
|
|
59
|
+
export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
|
|
60
|
+
export declare const JobInputFormat: {
|
|
61
|
+
readonly PARQUET: "Parquet";
|
|
62
|
+
};
|
|
63
|
+
export type JobInputFormat =
|
|
64
|
+
(typeof JobInputFormat)[keyof typeof JobInputFormat];
|
|
65
|
+
export declare const JobOutputFormat: {
|
|
66
|
+
readonly PARQUET: "Parquet";
|
|
67
|
+
};
|
|
68
|
+
export type JobOutputFormat =
|
|
69
|
+
(typeof JobOutputFormat)[keyof typeof JobOutputFormat];
|
|
@@ -4,6 +4,11 @@ import {
|
|
|
4
4
|
DistanceUnit,
|
|
5
5
|
ForecastedGeofenceEventType,
|
|
6
6
|
IntendedUse,
|
|
7
|
+
JobAction,
|
|
8
|
+
JobErrorCode,
|
|
9
|
+
JobInputFormat,
|
|
10
|
+
JobOutputFormat,
|
|
11
|
+
JobStatus,
|
|
7
12
|
OptimizationMode,
|
|
8
13
|
PositionFiltering,
|
|
9
14
|
PricingPlan,
|
|
@@ -11,6 +16,7 @@ import {
|
|
|
11
16
|
SpeedUnit,
|
|
12
17
|
Status,
|
|
13
18
|
TravelMode,
|
|
19
|
+
ValidateAddressAdditionalFeature,
|
|
14
20
|
VehicleWeightUnit,
|
|
15
21
|
} from "./enums";
|
|
16
22
|
export interface AndroidApp {
|
|
@@ -312,6 +318,14 @@ export interface CalculateRouteMatrixResponse {
|
|
|
312
318
|
SnappedDestinationPositions?: number[][] | undefined;
|
|
313
319
|
Summary: CalculateRouteMatrixSummary | undefined;
|
|
314
320
|
}
|
|
321
|
+
export interface CancelJobRequest {
|
|
322
|
+
JobId: string | undefined;
|
|
323
|
+
}
|
|
324
|
+
export interface CancelJobResponse {
|
|
325
|
+
JobArn: string | undefined;
|
|
326
|
+
JobId: string | undefined;
|
|
327
|
+
Status: JobStatus | undefined;
|
|
328
|
+
}
|
|
315
329
|
export interface LteLocalId {
|
|
316
330
|
Earfcn: number | undefined;
|
|
317
331
|
Pci: number | undefined;
|
|
@@ -658,6 +672,43 @@ export interface GetDevicePositionHistoryResponse {
|
|
|
658
672
|
DevicePositions: DevicePosition[] | undefined;
|
|
659
673
|
NextToken?: string | undefined;
|
|
660
674
|
}
|
|
675
|
+
export interface GetJobRequest {
|
|
676
|
+
JobId: string | undefined;
|
|
677
|
+
}
|
|
678
|
+
export interface ValidateAddressActionOptions {
|
|
679
|
+
AdditionalFeatures?: ValidateAddressAdditionalFeature[] | undefined;
|
|
680
|
+
}
|
|
681
|
+
export interface JobActionOptions {
|
|
682
|
+
ValidateAddress?: ValidateAddressActionOptions | undefined;
|
|
683
|
+
}
|
|
684
|
+
export interface JobError {
|
|
685
|
+
Code: JobErrorCode | undefined;
|
|
686
|
+
Messages?: string[] | undefined;
|
|
687
|
+
}
|
|
688
|
+
export interface JobInputOptions {
|
|
689
|
+
Location: string | undefined;
|
|
690
|
+
Format: JobInputFormat | undefined;
|
|
691
|
+
}
|
|
692
|
+
export interface JobOutputOptions {
|
|
693
|
+
Format: JobOutputFormat | undefined;
|
|
694
|
+
Location: string | undefined;
|
|
695
|
+
}
|
|
696
|
+
export interface GetJobResponse {
|
|
697
|
+
Action: JobAction | undefined;
|
|
698
|
+
ActionOptions?: JobActionOptions | undefined;
|
|
699
|
+
CreatedAt: Date | undefined;
|
|
700
|
+
EndedAt?: Date | undefined;
|
|
701
|
+
Error?: JobError | undefined;
|
|
702
|
+
ExecutionRoleArn: string | undefined;
|
|
703
|
+
InputOptions: JobInputOptions | undefined;
|
|
704
|
+
JobArn: string | undefined;
|
|
705
|
+
JobId: string | undefined;
|
|
706
|
+
Name?: string | undefined;
|
|
707
|
+
OutputOptions: JobOutputOptions | undefined;
|
|
708
|
+
Status: JobStatus | undefined;
|
|
709
|
+
UpdatedAt: Date | undefined;
|
|
710
|
+
Tags?: Record<string, string> | undefined;
|
|
711
|
+
}
|
|
661
712
|
export interface GetMapGlyphsRequest {
|
|
662
713
|
MapName: string | undefined;
|
|
663
714
|
FontStack: string | undefined;
|
|
@@ -741,6 +792,49 @@ export interface InferredState {
|
|
|
741
792
|
DeviationDistance?: number | undefined;
|
|
742
793
|
ProxyDetected: boolean | undefined;
|
|
743
794
|
}
|
|
795
|
+
export interface JobsFilter {
|
|
796
|
+
JobStatus?: JobStatus | undefined;
|
|
797
|
+
}
|
|
798
|
+
export interface ListJobsRequest {
|
|
799
|
+
Filter?: JobsFilter | undefined;
|
|
800
|
+
MaxResults?: number | undefined;
|
|
801
|
+
NextToken?: string | undefined;
|
|
802
|
+
}
|
|
803
|
+
export interface ListJobsResponseEntry {
|
|
804
|
+
Action: JobAction | undefined;
|
|
805
|
+
ActionOptions?: JobActionOptions | undefined;
|
|
806
|
+
CreatedAt: Date | undefined;
|
|
807
|
+
ExecutionRoleArn: string | undefined;
|
|
808
|
+
EndedAt?: Date | undefined;
|
|
809
|
+
Error?: JobError | undefined;
|
|
810
|
+
InputOptions: JobInputOptions | undefined;
|
|
811
|
+
JobId: string | undefined;
|
|
812
|
+
JobArn: string | undefined;
|
|
813
|
+
Name?: string | undefined;
|
|
814
|
+
OutputOptions: JobOutputOptions | undefined;
|
|
815
|
+
Status: JobStatus | undefined;
|
|
816
|
+
UpdatedAt: Date | undefined;
|
|
817
|
+
}
|
|
818
|
+
export interface ListJobsResponse {
|
|
819
|
+
Entries: ListJobsResponseEntry[] | undefined;
|
|
820
|
+
NextToken?: string | undefined;
|
|
821
|
+
}
|
|
822
|
+
export interface StartJobRequest {
|
|
823
|
+
ClientToken?: string | undefined;
|
|
824
|
+
Action: JobAction | undefined;
|
|
825
|
+
ActionOptions?: JobActionOptions | undefined;
|
|
826
|
+
ExecutionRoleArn: string | undefined;
|
|
827
|
+
InputOptions: JobInputOptions | undefined;
|
|
828
|
+
Name?: string | undefined;
|
|
829
|
+
OutputOptions: JobOutputOptions | undefined;
|
|
830
|
+
Tags?: Record<string, string> | undefined;
|
|
831
|
+
}
|
|
832
|
+
export interface StartJobResponse {
|
|
833
|
+
CreatedAt: Date | undefined;
|
|
834
|
+
JobArn: string | undefined;
|
|
835
|
+
JobId: string | undefined;
|
|
836
|
+
Status: JobStatus | undefined;
|
|
837
|
+
}
|
|
744
838
|
export interface TrackingFilterGeometry {
|
|
745
839
|
Polygon?: number[][][] | undefined;
|
|
746
840
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListJobsCommandInput,
|
|
4
|
+
ListJobsCommandOutput,
|
|
5
|
+
} from "../commands/ListJobsCommand";
|
|
6
|
+
import { LocationPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListJobs: (
|
|
8
|
+
config: LocationPaginationConfiguration,
|
|
9
|
+
input: ListJobsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListJobsCommandOutput>;
|
|
@@ -4,6 +4,7 @@ export * from "./GetDevicePositionHistoryPaginator";
|
|
|
4
4
|
export * from "./ListDevicePositionsPaginator";
|
|
5
5
|
export * from "./ListGeofenceCollectionsPaginator";
|
|
6
6
|
export * from "./ListGeofencesPaginator";
|
|
7
|
+
export * from "./ListJobsPaginator";
|
|
7
8
|
export * from "./ListKeysPaginator";
|
|
8
9
|
export * from "./ListMapsPaginator";
|
|
9
10
|
export * from "./ListPlaceIndexesPaginator";
|
|
@@ -48,6 +48,8 @@ export declare var CalculateRouteRequest$: StaticStructureSchema;
|
|
|
48
48
|
export declare var CalculateRouteResponse$: StaticStructureSchema;
|
|
49
49
|
export declare var CalculateRouteSummary$: StaticStructureSchema;
|
|
50
50
|
export declare var CalculateRouteTruckModeOptions$: StaticStructureSchema;
|
|
51
|
+
export declare var CancelJobRequest$: StaticStructureSchema;
|
|
52
|
+
export declare var CancelJobResponse$: StaticStructureSchema;
|
|
51
53
|
export declare var CellSignals$: StaticStructureSchema;
|
|
52
54
|
export declare var Circle$: StaticStructureSchema;
|
|
53
55
|
export declare var CreateGeofenceCollectionRequest$: StaticStructureSchema;
|
|
@@ -103,6 +105,8 @@ export declare var GetDevicePositionRequest$: StaticStructureSchema;
|
|
|
103
105
|
export declare var GetDevicePositionResponse$: StaticStructureSchema;
|
|
104
106
|
export declare var GetGeofenceRequest$: StaticStructureSchema;
|
|
105
107
|
export declare var GetGeofenceResponse$: StaticStructureSchema;
|
|
108
|
+
export declare var GetJobRequest$: StaticStructureSchema;
|
|
109
|
+
export declare var GetJobResponse$: StaticStructureSchema;
|
|
106
110
|
export declare var GetMapGlyphsRequest$: StaticStructureSchema;
|
|
107
111
|
export declare var GetMapGlyphsResponse$: StaticStructureSchema;
|
|
108
112
|
export declare var GetMapSpritesRequest$: StaticStructureSchema;
|
|
@@ -114,6 +118,11 @@ export declare var GetMapTileResponse$: StaticStructureSchema;
|
|
|
114
118
|
export declare var GetPlaceRequest$: StaticStructureSchema;
|
|
115
119
|
export declare var GetPlaceResponse$: StaticStructureSchema;
|
|
116
120
|
export declare var InferredState$: StaticStructureSchema;
|
|
121
|
+
export declare var JobActionOptions$: StaticStructureSchema;
|
|
122
|
+
export declare var JobError$: StaticStructureSchema;
|
|
123
|
+
export declare var JobInputOptions$: StaticStructureSchema;
|
|
124
|
+
export declare var JobOutputOptions$: StaticStructureSchema;
|
|
125
|
+
export declare var JobsFilter$: StaticStructureSchema;
|
|
117
126
|
export declare var Leg$: StaticStructureSchema;
|
|
118
127
|
export declare var LegGeometry$: StaticStructureSchema;
|
|
119
128
|
export declare var ListDevicePositionsRequest$: StaticStructureSchema;
|
|
@@ -125,6 +134,9 @@ export declare var ListGeofenceCollectionsResponseEntry$: StaticStructureSchema;
|
|
|
125
134
|
export declare var ListGeofenceResponseEntry$: StaticStructureSchema;
|
|
126
135
|
export declare var ListGeofencesRequest$: StaticStructureSchema;
|
|
127
136
|
export declare var ListGeofencesResponse$: StaticStructureSchema;
|
|
137
|
+
export declare var ListJobsRequest$: StaticStructureSchema;
|
|
138
|
+
export declare var ListJobsResponse$: StaticStructureSchema;
|
|
139
|
+
export declare var ListJobsResponseEntry$: StaticStructureSchema;
|
|
128
140
|
export declare var ListKeysRequest$: StaticStructureSchema;
|
|
129
141
|
export declare var ListKeysResponse$: StaticStructureSchema;
|
|
130
142
|
export declare var ListKeysResponseEntry$: StaticStructureSchema;
|
|
@@ -168,6 +180,8 @@ export declare var SearchPlaceIndexForSuggestionsSummary$: StaticStructureSchema
|
|
|
168
180
|
export declare var SearchPlaceIndexForTextRequest$: StaticStructureSchema;
|
|
169
181
|
export declare var SearchPlaceIndexForTextResponse$: StaticStructureSchema;
|
|
170
182
|
export declare var SearchPlaceIndexForTextSummary$: StaticStructureSchema;
|
|
183
|
+
export declare var StartJobRequest$: StaticStructureSchema;
|
|
184
|
+
export declare var StartJobResponse$: StaticStructureSchema;
|
|
171
185
|
export declare var Step$: StaticStructureSchema;
|
|
172
186
|
export declare var TagResourceRequest$: StaticStructureSchema;
|
|
173
187
|
export declare var TagResourceResponse$: StaticStructureSchema;
|
|
@@ -189,6 +203,7 @@ export declare var UpdateRouteCalculatorRequest$: StaticStructureSchema;
|
|
|
189
203
|
export declare var UpdateRouteCalculatorResponse$: StaticStructureSchema;
|
|
190
204
|
export declare var UpdateTrackerRequest$: StaticStructureSchema;
|
|
191
205
|
export declare var UpdateTrackerResponse$: StaticStructureSchema;
|
|
206
|
+
export declare var ValidateAddressActionOptions$: StaticStructureSchema;
|
|
192
207
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
193
208
|
export declare var VerifyDevicePositionRequest$: StaticStructureSchema;
|
|
194
209
|
export declare var VerifyDevicePositionResponse$: StaticStructureSchema;
|
|
@@ -202,6 +217,7 @@ export declare var BatchPutGeofence$: StaticOperationSchema;
|
|
|
202
217
|
export declare var BatchUpdateDevicePosition$: StaticOperationSchema;
|
|
203
218
|
export declare var CalculateRoute$: StaticOperationSchema;
|
|
204
219
|
export declare var CalculateRouteMatrix$: StaticOperationSchema;
|
|
220
|
+
export declare var CancelJob$: StaticOperationSchema;
|
|
205
221
|
export declare var CreateGeofenceCollection$: StaticOperationSchema;
|
|
206
222
|
export declare var CreateKey$: StaticOperationSchema;
|
|
207
223
|
export declare var CreateMap$: StaticOperationSchema;
|
|
@@ -225,6 +241,7 @@ export declare var ForecastGeofenceEvents$: StaticOperationSchema;
|
|
|
225
241
|
export declare var GetDevicePosition$: StaticOperationSchema;
|
|
226
242
|
export declare var GetDevicePositionHistory$: StaticOperationSchema;
|
|
227
243
|
export declare var GetGeofence$: StaticOperationSchema;
|
|
244
|
+
export declare var GetJob$: StaticOperationSchema;
|
|
228
245
|
export declare var GetMapGlyphs$: StaticOperationSchema;
|
|
229
246
|
export declare var GetMapSprites$: StaticOperationSchema;
|
|
230
247
|
export declare var GetMapStyleDescriptor$: StaticOperationSchema;
|
|
@@ -233,6 +250,7 @@ export declare var GetPlace$: StaticOperationSchema;
|
|
|
233
250
|
export declare var ListDevicePositions$: StaticOperationSchema;
|
|
234
251
|
export declare var ListGeofenceCollections$: StaticOperationSchema;
|
|
235
252
|
export declare var ListGeofences$: StaticOperationSchema;
|
|
253
|
+
export declare var ListJobs$: StaticOperationSchema;
|
|
236
254
|
export declare var ListKeys$: StaticOperationSchema;
|
|
237
255
|
export declare var ListMaps$: StaticOperationSchema;
|
|
238
256
|
export declare var ListPlaceIndexes$: StaticOperationSchema;
|
|
@@ -244,6 +262,7 @@ export declare var PutGeofence$: StaticOperationSchema;
|
|
|
244
262
|
export declare var SearchPlaceIndexForPosition$: StaticOperationSchema;
|
|
245
263
|
export declare var SearchPlaceIndexForSuggestions$: StaticOperationSchema;
|
|
246
264
|
export declare var SearchPlaceIndexForText$: StaticOperationSchema;
|
|
265
|
+
export declare var StartJob$: StaticOperationSchema;
|
|
247
266
|
export declare var TagResource$: StaticOperationSchema;
|
|
248
267
|
export declare var UntagResource$: StaticOperationSchema;
|
|
249
268
|
export declare var UpdateGeofenceCollection$: StaticOperationSchema;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForJobCompleted";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { GetJobCommandInput } from "../commands/GetJobCommand";
|
|
3
|
+
import { LocationClient } from "../LocationClient";
|
|
4
|
+
export declare const waitForJobCompleted: (
|
|
5
|
+
params: WaiterConfiguration<LocationClient>,
|
|
6
|
+
input: GetJobCommandInput
|
|
7
|
+
) => Promise<WaiterResult>;
|
|
8
|
+
export declare const waitUntilJobCompleted: (
|
|
9
|
+
params: WaiterConfiguration<LocationClient>,
|
|
10
|
+
input: GetJobCommandInput
|
|
11
|
+
) => Promise<WaiterResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForJobCompleted";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/util-waiter";
|
|
2
|
+
import { type GetJobCommandInput } from "../commands/GetJobCommand";
|
|
3
|
+
import type { LocationClient } from "../LocationClient";
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @deprecated Use waitUntilJobCompleted instead. waitForJobCompleted does not throw error in non-success cases.
|
|
7
|
+
*/
|
|
8
|
+
export declare const waitForJobCompleted: (params: WaiterConfiguration<LocationClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param params - Waiter configuration options.
|
|
12
|
+
* @param input - The input to GetJobCommand for polling.
|
|
13
|
+
*/
|
|
14
|
+
export declare const waitUntilJobCompleted: (params: WaiterConfiguration<LocationClient>, input: GetJobCommandInput) => Promise<WaiterResult>;
|