@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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BinaryDecisionDiagram } from "@smithy/util-endpoints";
|
|
2
|
+
const k = "ref";
|
|
3
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
4
|
+
const _data = {
|
|
5
|
+
conditions: [
|
|
6
|
+
[c, [g]],
|
|
7
|
+
[c, j],
|
|
8
|
+
["aws.partition", j, d],
|
|
9
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
10
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
11
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
12
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
13
|
+
],
|
|
14
|
+
results: [
|
|
15
|
+
[a],
|
|
16
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
17
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
18
|
+
[g, i],
|
|
19
|
+
["https://geo-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
20
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
21
|
+
["https://geo-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
22
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
23
|
+
["https://geo.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
24
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
25
|
+
["https://geo.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
26
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
27
|
+
]
|
|
28
|
+
};
|
|
29
|
+
const root = 2;
|
|
30
|
+
const r = 100_000_000;
|
|
31
|
+
const nodes = new Int32Array([
|
|
32
|
+
-1, 1, -1,
|
|
33
|
+
0, 12, 3,
|
|
34
|
+
1, 4, r + 11,
|
|
35
|
+
2, 5, r + 11,
|
|
36
|
+
3, 8, 6,
|
|
37
|
+
4, 7, r + 10,
|
|
38
|
+
5, r + 8, r + 9,
|
|
39
|
+
4, 10, 9,
|
|
40
|
+
6, r + 6, r + 7,
|
|
41
|
+
5, 11, r + 5,
|
|
42
|
+
6, r + 4, r + 5,
|
|
43
|
+
3, r + 1, 13,
|
|
44
|
+
4, r + 2, r + 3,
|
|
45
|
+
]);
|
|
46
|
+
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
-
import { customEndpointFunctions,
|
|
3
|
-
import {
|
|
2
|
+
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/util-endpoints";
|
|
3
|
+
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
|
5
5
|
size: 50,
|
|
6
6
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
7
|
});
|
|
8
8
|
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
-
return cache.get(endpointParams, () =>
|
|
9
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
10
10
|
endpointParams: endpointParams,
|
|
11
11
|
logger: context.logger,
|
|
12
12
|
}));
|
package/dist-es/index.js
CHANGED
package/dist-es/models/enums.js
CHANGED
|
@@ -1 +1,25 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export const JobStatus = {
|
|
2
|
+
CANCELLED: "Cancelled",
|
|
3
|
+
CANCELLING: "Cancelling",
|
|
4
|
+
COMPLETED: "Completed",
|
|
5
|
+
FAILED: "Failed",
|
|
6
|
+
PENDING: "Pending",
|
|
7
|
+
RUNNING: "Running",
|
|
8
|
+
};
|
|
9
|
+
export const JobAction = {
|
|
10
|
+
VALIDATE_ADDRESS: "ValidateAddress",
|
|
11
|
+
};
|
|
12
|
+
export const ValidateAddressAdditionalFeature = {
|
|
13
|
+
COUNTRY_SPECIFIC_ATTRIBUTES: "CountrySpecificAttributes",
|
|
14
|
+
POSITION: "Position",
|
|
15
|
+
};
|
|
16
|
+
export const JobErrorCode = {
|
|
17
|
+
INTERNAL_SERVER_ERROR: "InternalServerError",
|
|
18
|
+
VALIDATION_ERROR: "ValidationError",
|
|
19
|
+
};
|
|
20
|
+
export const JobInputFormat = {
|
|
21
|
+
PARQUET: "Parquet",
|
|
22
|
+
};
|
|
23
|
+
export const JobOutputFormat = {
|
|
24
|
+
PARQUET: "Parquet",
|
|
25
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListJobsCommand } from "../commands/ListJobsCommand";
|
|
3
|
+
import { LocationClient } from "../LocationClient";
|
|
4
|
+
export const paginateListJobs = createPaginator(LocationClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -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";
|
|
@@ -8,10 +8,12 @@ const _AAl = "AllowActions";
|
|
|
8
8
|
const _AAp = "AppleApp";
|
|
9
9
|
const _ADE = "AccessDeniedException";
|
|
10
10
|
const _AF = "AvoidFerries";
|
|
11
|
+
const _AFd = "AdditionalFeatures";
|
|
11
12
|
const _AK = "ApiKey";
|
|
12
13
|
const _AKF = "ApiKeyFilter";
|
|
13
14
|
const _AKR = "ApiKeyRestrictions";
|
|
14
15
|
const _AN = "AddressNumber";
|
|
16
|
+
const _AO = "ActionOptions";
|
|
15
17
|
const _AR = "AllowResources";
|
|
16
18
|
const _ARl = "AllowReferers";
|
|
17
19
|
const _AT = "AvoidTolls";
|
|
@@ -19,6 +21,7 @@ const _ATC = "AssociateTrackerConsumer";
|
|
|
19
21
|
const _ATCR = "AssociateTrackerConsumerRequest";
|
|
20
22
|
const _ATCRs = "AssociateTrackerConsumerResponse";
|
|
21
23
|
const _ATr = "ArrivalTime";
|
|
24
|
+
const _Ac = "Action";
|
|
22
25
|
const _B = "Blob";
|
|
23
26
|
const _BB = "BoundingBox";
|
|
24
27
|
const _BDDPH = "BatchDeleteDevicePositionHistory";
|
|
@@ -64,6 +67,7 @@ const _CA = "ConsumerArn";
|
|
|
64
67
|
const _CAa = "CalculatorArn";
|
|
65
68
|
const _CAo = "CollectionArn";
|
|
66
69
|
const _CAon = "ConsumerArns";
|
|
70
|
+
const _CAr = "CreatedAt";
|
|
67
71
|
const _CC = "CountryCode3";
|
|
68
72
|
const _CCL = "CountryCodeList";
|
|
69
73
|
const _CCOE = "CountryCode3OrEmpty";
|
|
@@ -75,6 +79,9 @@ const _CGC = "CreateGeofenceCollection";
|
|
|
75
79
|
const _CGCR = "CreateGeofenceCollectionRequest";
|
|
76
80
|
const _CGCRr = "CreateGeofenceCollectionResponse";
|
|
77
81
|
const _CI = "CellId";
|
|
82
|
+
const _CJ = "CancelJob";
|
|
83
|
+
const _CJR = "CancelJobRequest";
|
|
84
|
+
const _CJRa = "CancelJobResponse";
|
|
78
85
|
const _CK = "CreateKey";
|
|
79
86
|
const _CKR = "CreateKeyRequest";
|
|
80
87
|
const _CKRr = "CreateKeyResponse";
|
|
@@ -106,6 +113,7 @@ const _CT = "CreateTime";
|
|
|
106
113
|
const _CTR = "CreateTrackerRequest";
|
|
107
114
|
const _CTRr = "CreateTrackerResponse";
|
|
108
115
|
const _CT_ = "Content-Type";
|
|
116
|
+
const _CTl = "ClientToken";
|
|
109
117
|
const _CTo = "ContentType";
|
|
110
118
|
const _CTr = "CreateTracker";
|
|
111
119
|
const _CU = "ConfigurationUpdate";
|
|
@@ -177,17 +185,19 @@ const _DU = "DistanceUnit";
|
|
|
177
185
|
const _De = "Description";
|
|
178
186
|
const _Di = "Dimensions";
|
|
179
187
|
const _E = "Error";
|
|
188
|
+
const _EA = "EndedAt";
|
|
180
189
|
const _EBE = "EventBridgeEnabled";
|
|
181
190
|
const _EC = "ErrorCount";
|
|
182
191
|
const _EI = "EventId";
|
|
183
192
|
const _EP = "EndPosition";
|
|
193
|
+
const _ERA = "ExecutionRoleArn";
|
|
184
194
|
const _ET = "ExpireTime";
|
|
185
195
|
const _ETE = "EndTimeExclusive";
|
|
186
196
|
const _ETv = "EventType";
|
|
187
197
|
const _Ea = "Earfcn";
|
|
188
198
|
const _En = "Entries";
|
|
189
199
|
const _Er = "Errors";
|
|
190
|
-
const _F = "
|
|
200
|
+
const _F = "Format";
|
|
191
201
|
const _FBB = "FilterBBox";
|
|
192
202
|
const _FBT = "ForecastedBreachTime";
|
|
193
203
|
const _FC = "FilterCountries";
|
|
@@ -207,6 +217,7 @@ const _FPCL = "FilterPlaceCategoryList";
|
|
|
207
217
|
const _FS = "FontStack";
|
|
208
218
|
const _FU = "ForceUpdate";
|
|
209
219
|
const _FUR = "FontUnicodeRange";
|
|
220
|
+
const _Fi = "Filter";
|
|
210
221
|
const _G = "Geometry";
|
|
211
222
|
const _GC = "GeofenceCount";
|
|
212
223
|
const _GDP = "GetDevicePosition";
|
|
@@ -221,6 +232,9 @@ const _GGRe = "GetGeofenceResponse";
|
|
|
221
232
|
const _GGe = "GetGeofence";
|
|
222
233
|
const _GI = "GeofenceId";
|
|
223
234
|
const _GIe = "GeofenceIds";
|
|
235
|
+
const _GJ = "GetJob";
|
|
236
|
+
const _GJR = "GetJobRequest";
|
|
237
|
+
const _GJRe = "GetJobResponse";
|
|
224
238
|
const _GMG = "GetMapGlyphs";
|
|
225
239
|
const _GMGR = "GetMapGlyphsRequest";
|
|
226
240
|
const _GMGRe = "GetMapGlyphsResponse";
|
|
@@ -247,9 +261,18 @@ const _IAp = "Ipv4Address";
|
|
|
247
261
|
const _IDIG = "IsDeviceInGeofence";
|
|
248
262
|
const _ILG = "IncludeLegGeometry";
|
|
249
263
|
const _IN = "IndexName";
|
|
264
|
+
const _IO = "InputOptions";
|
|
250
265
|
const _IS = "InferredState";
|
|
251
266
|
const _ISE = "InternalServerException";
|
|
252
267
|
const _IU = "IntendedUse";
|
|
268
|
+
const _JA = "JobArn";
|
|
269
|
+
const _JAO = "JobActionOptions";
|
|
270
|
+
const _JE = "JobError";
|
|
271
|
+
const _JF = "JobsFilter";
|
|
272
|
+
const _JI = "JobId";
|
|
273
|
+
const _JIO = "JobInputOptions";
|
|
274
|
+
const _JOO = "JobOutputOptions";
|
|
275
|
+
const _JS = "JobStatus";
|
|
253
276
|
const _K = "Key";
|
|
254
277
|
const _KA = "KeyArn";
|
|
255
278
|
const _KKEGQ = "KmsKeyEnableGeospatialQueries";
|
|
@@ -276,6 +299,11 @@ const _LGREL = "ListGeofenceResponseEntryList";
|
|
|
276
299
|
const _LGRi = "ListGeofencesResponse";
|
|
277
300
|
const _LGi = "ListGeofences";
|
|
278
301
|
const _LI = "LocalId";
|
|
302
|
+
const _LJ = "ListJobs";
|
|
303
|
+
const _LJR = "ListJobsRequest";
|
|
304
|
+
const _LJRE = "ListJobsResponseEntry";
|
|
305
|
+
const _LJREL = "ListJobsResponseEntryList";
|
|
306
|
+
const _LJRi = "ListJobsResponse";
|
|
279
307
|
const _LK = "ListKeys";
|
|
280
308
|
const _LKR = "ListKeysRequest";
|
|
281
309
|
const _LKRE = "ListKeysResponseEntry";
|
|
@@ -318,6 +346,7 @@ const _La = "Language";
|
|
|
318
346
|
const _Lab = "Label";
|
|
319
347
|
const _Le = "Leg";
|
|
320
348
|
const _Len = "Length";
|
|
349
|
+
const _Lo = "Location";
|
|
321
350
|
const _M = "Message";
|
|
322
351
|
const _MA = "MapArn";
|
|
323
352
|
const _MAa = "MacAddress";
|
|
@@ -328,17 +357,19 @@ const _MN = "MapName";
|
|
|
328
357
|
const _MP = "MultiPolygon";
|
|
329
358
|
const _MR = "MaxResults";
|
|
330
359
|
const _Mc = "Mcc";
|
|
360
|
+
const _Me = "Messages";
|
|
331
361
|
const _Mn = "Mnc";
|
|
332
362
|
const _Mu = "Municipality";
|
|
333
|
-
const _N = "
|
|
363
|
+
const _N = "Name";
|
|
334
364
|
const _NC = "NrCapable";
|
|
335
365
|
const _ND = "NearestDistance";
|
|
336
366
|
const _NE = "NoExpiry";
|
|
337
367
|
const _NM = "NetworkMeasurements";
|
|
338
368
|
const _NT = "NextToken";
|
|
339
|
-
const
|
|
369
|
+
const _Ne = "Neighborhood";
|
|
340
370
|
const _O = "Offset";
|
|
341
371
|
const _OF = "OptimizeFor";
|
|
372
|
+
const _OO = "OutputOptions";
|
|
342
373
|
const _P = "Package";
|
|
343
374
|
const _PA = "PositionalAccuracy";
|
|
344
375
|
const _PC = "PlaceCategory";
|
|
@@ -399,6 +430,9 @@ const _SFSRL = "SearchForSuggestionsResultList";
|
|
|
399
430
|
const _SFTR = "SearchForTextResult";
|
|
400
431
|
const _SFTRL = "SearchForTextResultList";
|
|
401
432
|
const _SI = "SensitiveInteger";
|
|
433
|
+
const _SJ = "StartJob";
|
|
434
|
+
const _SJR = "StartJobRequest";
|
|
435
|
+
const _SJRt = "StartJobResponse";
|
|
402
436
|
const _SL = "StepList";
|
|
403
437
|
const _SM = "SubMunicipality";
|
|
404
438
|
const _SP = "StartPosition";
|
|
@@ -448,6 +482,7 @@ const _Tac = "Tac";
|
|
|
448
482
|
const _Te = "Text";
|
|
449
483
|
const _To = "Total";
|
|
450
484
|
const _U = "Updates";
|
|
485
|
+
const _UA = "UpdatedAt";
|
|
451
486
|
const _UGC = "UpdateGeofenceCollection";
|
|
452
487
|
const _UGCR = "UpdateGeofenceCollectionRequest";
|
|
453
488
|
const _UGCRp = "UpdateGeofenceCollectionResponse";
|
|
@@ -473,6 +508,8 @@ const _UTRp = "UpdateTrackerResponse";
|
|
|
473
508
|
const _UTn = "UnitType";
|
|
474
509
|
const _UTp = "UpdateTracker";
|
|
475
510
|
const _Un = "Unit";
|
|
511
|
+
const _VA = "ValidateAddress";
|
|
512
|
+
const _VAAO = "ValidateAddressActionOptions";
|
|
476
513
|
const _VDP = "VerifyDevicePosition";
|
|
477
514
|
const _VDPR = "VerifyDevicePositionRequest";
|
|
478
515
|
const _VDPRe = "VerifyDevicePositionResponse";
|
|
@@ -749,6 +786,16 @@ export var CalculateRouteTruckModeOptions$ = [3, n0, _CRTMO,
|
|
|
749
786
|
[_AF, _AT, _Di, _W],
|
|
750
787
|
[[() => SensitiveBoolean, 0], [() => SensitiveBoolean, 0], [() => TruckDimensions$, 0], [() => TruckWeight$, 0]]
|
|
751
788
|
];
|
|
789
|
+
export var CancelJobRequest$ = [3, n0, _CJR,
|
|
790
|
+
0,
|
|
791
|
+
[_JI],
|
|
792
|
+
[0], 1
|
|
793
|
+
];
|
|
794
|
+
export var CancelJobResponse$ = [3, n0, _CJRa,
|
|
795
|
+
0,
|
|
796
|
+
[_JA, _JI, _St],
|
|
797
|
+
[0, 0, 0], 3
|
|
798
|
+
];
|
|
752
799
|
export var CellSignals$ = [3, n0, _CS,
|
|
753
800
|
0,
|
|
754
801
|
[_LCD],
|
|
@@ -1024,6 +1071,16 @@ export var GetGeofenceResponse$ = [3, n0, _GGRe,
|
|
|
1024
1071
|
[_GI, _G, _St, _CT, _UT, _GP],
|
|
1025
1072
|
[0, [() => GeofenceGeometry$, 0], 0, [() => Timestamp, 0], [() => Timestamp, 0], [() => PropertyMap, 0]], 5
|
|
1026
1073
|
];
|
|
1074
|
+
export var GetJobRequest$ = [3, n0, _GJR,
|
|
1075
|
+
0,
|
|
1076
|
+
[_JI],
|
|
1077
|
+
[[0, 1]], 1
|
|
1078
|
+
];
|
|
1079
|
+
export var GetJobResponse$ = [3, n0, _GJRe,
|
|
1080
|
+
0,
|
|
1081
|
+
[_Ac, _CAr, _ERA, _IO, _JA, _JI, _OO, _St, _UA, _AO, _EA, _E, _N, _Ta],
|
|
1082
|
+
[0, [() => Timestamp, 0], 0, () => JobInputOptions$, 0, 0, () => JobOutputOptions$, 0, [() => Timestamp, 0], () => JobActionOptions$, [() => Timestamp, 0], () => JobError$, 0, 128 | 0], 9
|
|
1083
|
+
];
|
|
1027
1084
|
export var GetMapGlyphsRequest$ = [3, n0, _GMGR,
|
|
1028
1085
|
0,
|
|
1029
1086
|
[_MN, _FS, _FUR, _K],
|
|
@@ -1079,6 +1136,31 @@ export var InferredState$ = [3, n0, _IS,
|
|
|
1079
1136
|
[_PD, _Po, _A, _DD],
|
|
1080
1137
|
[2, [() => Position, 0], [() => PositionalAccuracy$, 0], 1], 1
|
|
1081
1138
|
];
|
|
1139
|
+
export var JobActionOptions$ = [3, n0, _JAO,
|
|
1140
|
+
0,
|
|
1141
|
+
[_VA],
|
|
1142
|
+
[() => ValidateAddressActionOptions$]
|
|
1143
|
+
];
|
|
1144
|
+
export var JobError$ = [3, n0, _JE,
|
|
1145
|
+
0,
|
|
1146
|
+
[_C, _Me],
|
|
1147
|
+
[0, 64 | 0], 1
|
|
1148
|
+
];
|
|
1149
|
+
export var JobInputOptions$ = [3, n0, _JIO,
|
|
1150
|
+
0,
|
|
1151
|
+
[_Lo, _F],
|
|
1152
|
+
[0, 0], 2
|
|
1153
|
+
];
|
|
1154
|
+
export var JobOutputOptions$ = [3, n0, _JOO,
|
|
1155
|
+
0,
|
|
1156
|
+
[_F, _Lo],
|
|
1157
|
+
[0, 0], 2
|
|
1158
|
+
];
|
|
1159
|
+
export var JobsFilter$ = [3, n0, _JF,
|
|
1160
|
+
0,
|
|
1161
|
+
[_JS],
|
|
1162
|
+
[0]
|
|
1163
|
+
];
|
|
1082
1164
|
export var Leg$ = [3, n0, _Le,
|
|
1083
1165
|
0,
|
|
1084
1166
|
[_SP, _EP, _D, _DSu, _Ste, _G],
|
|
@@ -1134,9 +1216,24 @@ export var ListGeofencesResponse$ = [3, n0, _LGRi,
|
|
|
1134
1216
|
[_En, _NT],
|
|
1135
1217
|
[[() => ListGeofenceResponseEntryList, 0], 0], 1
|
|
1136
1218
|
];
|
|
1219
|
+
export var ListJobsRequest$ = [3, n0, _LJR,
|
|
1220
|
+
0,
|
|
1221
|
+
[_Fi, _MR, _NT],
|
|
1222
|
+
[() => JobsFilter$, 1, 0]
|
|
1223
|
+
];
|
|
1224
|
+
export var ListJobsResponse$ = [3, n0, _LJRi,
|
|
1225
|
+
0,
|
|
1226
|
+
[_En, _NT],
|
|
1227
|
+
[[() => ListJobsResponseEntryList, 0], 0], 1
|
|
1228
|
+
];
|
|
1229
|
+
export var ListJobsResponseEntry$ = [3, n0, _LJRE,
|
|
1230
|
+
0,
|
|
1231
|
+
[_Ac, _CAr, _ERA, _IO, _JI, _JA, _OO, _St, _UA, _AO, _EA, _E, _N],
|
|
1232
|
+
[0, [() => Timestamp, 0], 0, () => JobInputOptions$, 0, 0, () => JobOutputOptions$, 0, [() => Timestamp, 0], () => JobActionOptions$, [() => Timestamp, 0], () => JobError$, 0], 9
|
|
1233
|
+
];
|
|
1137
1234
|
export var ListKeysRequest$ = [3, n0, _LKR,
|
|
1138
1235
|
0,
|
|
1139
|
-
[_MR, _NT,
|
|
1236
|
+
[_MR, _NT, _Fi],
|
|
1140
1237
|
[1, 0, () => ApiKeyFilter$]
|
|
1141
1238
|
];
|
|
1142
1239
|
export var ListKeysResponse$ = [3, n0, _LKRi,
|
|
@@ -1256,7 +1353,7 @@ export var MapConfigurationUpdate$ = [3, n0, _MCU,
|
|
|
1256
1353
|
];
|
|
1257
1354
|
export var Place$ = [3, n0, _Pl,
|
|
1258
1355
|
0,
|
|
1259
|
-
[_G, _Lab, _AN, _Str,
|
|
1356
|
+
[_G, _Lab, _AN, _Str, _Ne, _Mu, _SR, _Reg, _Cou, _PCo, _I, _TZ, _UTn, _UN, _Ca, _SC, _SM],
|
|
1260
1357
|
[[() => PlaceGeometry$, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => SensitiveBoolean, 0], [() => TimeZone$, 0], [() => SensitiveString, 0], [() => SensitiveString, 0], [() => PlaceCategoryList, 0], [() => PlaceSupplementalCategoryList, 0], [() => SensitiveString, 0]], 1
|
|
1261
1358
|
];
|
|
1262
1359
|
export var PlaceGeometry$ = [3, n0, _PG,
|
|
@@ -1349,6 +1446,16 @@ export var SearchPlaceIndexForTextSummary$ = [3, n0, _SPIFTS,
|
|
|
1349
1446
|
[_Te, _DS, _BP, _FBB, _FC, _MR, _RBBe, _La, _FCi],
|
|
1350
1447
|
[[() => SensitiveString, 0], 0, [() => Position, 0], [() => BoundingBox, 0], [() => CountryCodeList, 0], 1, [() => BoundingBox, 0], 0, [() => FilterPlaceCategoryList, 0]], 2
|
|
1351
1448
|
];
|
|
1449
|
+
export var StartJobRequest$ = [3, n0, _SJR,
|
|
1450
|
+
0,
|
|
1451
|
+
[_Ac, _ERA, _IO, _OO, _CTl, _AO, _N, _Ta],
|
|
1452
|
+
[0, 0, () => JobInputOptions$, () => JobOutputOptions$, [0, 4], () => JobActionOptions$, 0, 128 | 0], 4
|
|
1453
|
+
];
|
|
1454
|
+
export var StartJobResponse$ = [3, n0, _SJRt,
|
|
1455
|
+
0,
|
|
1456
|
+
[_CAr, _JA, _JI, _St],
|
|
1457
|
+
[[() => Timestamp, 0], 0, 0, 0], 4
|
|
1458
|
+
];
|
|
1352
1459
|
export var Step$ = [3, n0, _Step,
|
|
1353
1460
|
0,
|
|
1354
1461
|
[_SP, _EP, _D, _DSu, _GO],
|
|
@@ -1366,7 +1473,7 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
|
|
|
1366
1473
|
];
|
|
1367
1474
|
export var TimeZone$ = [3, n0, _TZ,
|
|
1368
1475
|
0,
|
|
1369
|
-
[
|
|
1476
|
+
[_N, _O],
|
|
1370
1477
|
[[() => SensitiveString, 0], [() => SensitiveInteger, 0]], 1
|
|
1371
1478
|
];
|
|
1372
1479
|
export var TrackingFilterGeometry$ = [3, n0, _TFG,
|
|
@@ -1454,9 +1561,14 @@ export var UpdateTrackerResponse$ = [3, n0, _UTRp,
|
|
|
1454
1561
|
[_TN, _TA, _UT],
|
|
1455
1562
|
[0, 0, [() => Timestamp, 0]], 3
|
|
1456
1563
|
];
|
|
1564
|
+
export var ValidateAddressActionOptions$ = [3, n0, _VAAO,
|
|
1565
|
+
0,
|
|
1566
|
+
[_AFd],
|
|
1567
|
+
[64 | 0]
|
|
1568
|
+
];
|
|
1457
1569
|
export var ValidationExceptionField$ = [3, n0, _VEF,
|
|
1458
1570
|
0,
|
|
1459
|
-
[
|
|
1571
|
+
[_N, _M],
|
|
1460
1572
|
[[0, { [_jN]: _n }], [0, { [_jN]: _m }]], 2
|
|
1461
1573
|
];
|
|
1462
1574
|
export var VerifyDevicePositionRequest$ = [3, n0, _VDPR,
|
|
@@ -1537,6 +1649,7 @@ var ForecastedEventsList = [1, n0, _FEL,
|
|
|
1537
1649
|
];
|
|
1538
1650
|
var GeoArnList = 64 | 0;
|
|
1539
1651
|
var IdList = 64 | 0;
|
|
1652
|
+
var JobErrorMessagesList = 64 | 0;
|
|
1540
1653
|
var LegList = [1, n0, _LL,
|
|
1541
1654
|
0, [() => Leg$,
|
|
1542
1655
|
0]
|
|
@@ -1565,6 +1678,10 @@ var ListGeofenceResponseEntryList = [1, n0, _LGREL,
|
|
|
1565
1678
|
0, [() => ListGeofenceResponseEntry$,
|
|
1566
1679
|
0]
|
|
1567
1680
|
];
|
|
1681
|
+
var ListJobsResponseEntryList = [1, n0, _LJREL,
|
|
1682
|
+
0, [() => ListJobsResponseEntry$,
|
|
1683
|
+
0]
|
|
1684
|
+
];
|
|
1568
1685
|
var ListKeysResponseEntryList = [1, n0, _LKREL,
|
|
1569
1686
|
0, [() => ListKeysResponseEntry$,
|
|
1570
1687
|
0]
|
|
@@ -1639,6 +1756,7 @@ var StepList = [1, n0, _SL,
|
|
|
1639
1756
|
0]
|
|
1640
1757
|
];
|
|
1641
1758
|
var TagKeys = 64 | 0;
|
|
1759
|
+
var ValidateAddressAdditionalFeatureList = 64 | 0;
|
|
1642
1760
|
var ValidationExceptionFieldList = [1, n0, _VEFL,
|
|
1643
1761
|
0, [() => ValidationExceptionField$,
|
|
1644
1762
|
0]
|
|
@@ -1684,6 +1802,9 @@ export var CalculateRoute$ = [9, n0, _CR,
|
|
|
1684
1802
|
export var CalculateRouteMatrix$ = [9, n0, _CRM,
|
|
1685
1803
|
{ [_en]: ["routes."], [_h]: ["POST", "/routes/v0/calculators/{CalculatorName}/calculate/route-matrix", 200] }, () => CalculateRouteMatrixRequest$, () => CalculateRouteMatrixResponse$
|
|
1686
1804
|
];
|
|
1805
|
+
export var CancelJob$ = [9, n0, _CJ,
|
|
1806
|
+
{ [_en]: ["metadata."], [_h]: ["POST", "/metadata/v0/jobs/cancel-job", 200] }, () => CancelJobRequest$, () => CancelJobResponse$
|
|
1807
|
+
];
|
|
1687
1808
|
export var CreateGeofenceCollection$ = [9, n0, _CGC,
|
|
1688
1809
|
{ [_en]: ["cp.geofencing."], [_h]: ["POST", "/geofencing/v0/collections", 200] }, () => CreateGeofenceCollectionRequest$, () => CreateGeofenceCollectionResponse$
|
|
1689
1810
|
];
|
|
@@ -1753,6 +1874,9 @@ export var GetDevicePositionHistory$ = [9, n0, _GDPH,
|
|
|
1753
1874
|
export var GetGeofence$ = [9, n0, _GGe,
|
|
1754
1875
|
{ [_en]: ["geofencing."], [_h]: ["GET", "/geofencing/v0/collections/{CollectionName}/geofences/{GeofenceId}", 200] }, () => GetGeofenceRequest$, () => GetGeofenceResponse$
|
|
1755
1876
|
];
|
|
1877
|
+
export var GetJob$ = [9, n0, _GJ,
|
|
1878
|
+
{ [_en]: ["metadata."], [_h]: ["GET", "/metadata/v0/jobs/{JobId}", 200] }, () => GetJobRequest$, () => GetJobResponse$
|
|
1879
|
+
];
|
|
1756
1880
|
export var GetMapGlyphs$ = [9, n0, _GMG,
|
|
1757
1881
|
{ [_en]: ["maps."], [_h]: ["GET", "/maps/v0/maps/{MapName}/glyphs/{FontStack}/{FontUnicodeRange}", 200] }, () => GetMapGlyphsRequest$, () => GetMapGlyphsResponse$
|
|
1758
1882
|
];
|
|
@@ -1777,6 +1901,9 @@ export var ListGeofenceCollections$ = [9, n0, _LGC,
|
|
|
1777
1901
|
export var ListGeofences$ = [9, n0, _LGi,
|
|
1778
1902
|
{ [_en]: ["geofencing."], [_h]: ["POST", "/geofencing/v0/collections/{CollectionName}/list-geofences", 200] }, () => ListGeofencesRequest$, () => ListGeofencesResponse$
|
|
1779
1903
|
];
|
|
1904
|
+
export var ListJobs$ = [9, n0, _LJ,
|
|
1905
|
+
{ [_en]: ["metadata."], [_h]: ["POST", "/metadata/v0/jobs/list-jobs", 200] }, () => ListJobsRequest$, () => ListJobsResponse$
|
|
1906
|
+
];
|
|
1780
1907
|
export var ListKeys$ = [9, n0, _LK,
|
|
1781
1908
|
{ [_en]: ["cp.metadata."], [_h]: ["POST", "/metadata/v0/list-keys", 200] }, () => ListKeysRequest$, () => ListKeysResponse$
|
|
1782
1909
|
];
|
|
@@ -1810,6 +1937,9 @@ export var SearchPlaceIndexForSuggestions$ = [9, n0, _SPIFS,
|
|
|
1810
1937
|
export var SearchPlaceIndexForText$ = [9, n0, _SPIFT,
|
|
1811
1938
|
{ [_en]: ["places."], [_h]: ["POST", "/places/v0/indexes/{IndexName}/search/text", 200] }, () => SearchPlaceIndexForTextRequest$, () => SearchPlaceIndexForTextResponse$
|
|
1812
1939
|
];
|
|
1940
|
+
export var StartJob$ = [9, n0, _SJ,
|
|
1941
|
+
{ [_en]: ["metadata."], [_h]: ["POST", "/metadata/v0/jobs", 200] }, () => StartJobRequest$, () => StartJobResponse$
|
|
1942
|
+
];
|
|
1813
1943
|
export var TagResource$ = [9, n0, _TR,
|
|
1814
1944
|
{ [_en]: ["cp.metadata."], [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1815
1945
|
];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./waitForJobCompleted";
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { checkExceptions, createWaiter, WaiterState, } from "@smithy/util-waiter";
|
|
2
|
+
import { GetJobCommand } from "../commands/GetJobCommand";
|
|
3
|
+
const checkState = async (client, input) => {
|
|
4
|
+
let reason;
|
|
5
|
+
try {
|
|
6
|
+
let result = await client.send(new GetJobCommand(input));
|
|
7
|
+
reason = result;
|
|
8
|
+
try {
|
|
9
|
+
const returnComparator = () => {
|
|
10
|
+
return result.Status;
|
|
11
|
+
};
|
|
12
|
+
if (returnComparator() === "Completed") {
|
|
13
|
+
return { state: WaiterState.SUCCESS, reason };
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch (e) { }
|
|
17
|
+
try {
|
|
18
|
+
const returnComparator = () => {
|
|
19
|
+
return result.Status;
|
|
20
|
+
};
|
|
21
|
+
if (returnComparator() === "Failed") {
|
|
22
|
+
return { state: WaiterState.FAILURE, reason };
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
catch (e) { }
|
|
26
|
+
try {
|
|
27
|
+
const returnComparator = () => {
|
|
28
|
+
return result.Status;
|
|
29
|
+
};
|
|
30
|
+
if (returnComparator() === "Cancelled") {
|
|
31
|
+
return { state: WaiterState.FAILURE, reason };
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
catch (e) { }
|
|
35
|
+
}
|
|
36
|
+
catch (exception) {
|
|
37
|
+
reason = exception;
|
|
38
|
+
}
|
|
39
|
+
return { state: WaiterState.RETRY, reason };
|
|
40
|
+
};
|
|
41
|
+
export const waitForJobCompleted = async (params, input) => {
|
|
42
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
43
|
+
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
44
|
+
};
|
|
45
|
+
export const waitUntilJobCompleted = async (params, input) => {
|
|
46
|
+
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
47
|
+
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
48
|
+
return checkExceptions(result);
|
|
49
|
+
};
|
package/dist-types/Location.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
2
|
+
import type { WaiterResult } from "@smithy/util-waiter";
|
|
2
3
|
import { type AssociateTrackerConsumerCommandInput, type AssociateTrackerConsumerCommandOutput } from "./commands/AssociateTrackerConsumerCommand";
|
|
3
4
|
import { type BatchDeleteDevicePositionHistoryCommandInput, type BatchDeleteDevicePositionHistoryCommandOutput } from "./commands/BatchDeleteDevicePositionHistoryCommand";
|
|
4
5
|
import { type BatchDeleteGeofenceCommandInput, type BatchDeleteGeofenceCommandOutput } from "./commands/BatchDeleteGeofenceCommand";
|
|
@@ -8,6 +9,7 @@ import { type BatchPutGeofenceCommandInput, type BatchPutGeofenceCommandOutput }
|
|
|
8
9
|
import { type BatchUpdateDevicePositionCommandInput, type BatchUpdateDevicePositionCommandOutput } from "./commands/BatchUpdateDevicePositionCommand";
|
|
9
10
|
import { type CalculateRouteCommandInput, type CalculateRouteCommandOutput } from "./commands/CalculateRouteCommand";
|
|
10
11
|
import { type CalculateRouteMatrixCommandInput, type CalculateRouteMatrixCommandOutput } from "./commands/CalculateRouteMatrixCommand";
|
|
12
|
+
import { type CancelJobCommandInput, type CancelJobCommandOutput } from "./commands/CancelJobCommand";
|
|
11
13
|
import { type CreateGeofenceCollectionCommandInput, type CreateGeofenceCollectionCommandOutput } from "./commands/CreateGeofenceCollectionCommand";
|
|
12
14
|
import { type CreateKeyCommandInput, type CreateKeyCommandOutput } from "./commands/CreateKeyCommand";
|
|
13
15
|
import { type CreateMapCommandInput, type CreateMapCommandOutput } from "./commands/CreateMapCommand";
|
|
@@ -31,6 +33,7 @@ import { type ForecastGeofenceEventsCommandInput, type ForecastGeofenceEventsCom
|
|
|
31
33
|
import { type GetDevicePositionCommandInput, type GetDevicePositionCommandOutput } from "./commands/GetDevicePositionCommand";
|
|
32
34
|
import { type GetDevicePositionHistoryCommandInput, type GetDevicePositionHistoryCommandOutput } from "./commands/GetDevicePositionHistoryCommand";
|
|
33
35
|
import { type GetGeofenceCommandInput, type GetGeofenceCommandOutput } from "./commands/GetGeofenceCommand";
|
|
36
|
+
import { type GetJobCommandInput, type GetJobCommandOutput } from "./commands/GetJobCommand";
|
|
34
37
|
import { type GetMapGlyphsCommandInput, type GetMapGlyphsCommandOutput } from "./commands/GetMapGlyphsCommand";
|
|
35
38
|
import { type GetMapSpritesCommandInput, type GetMapSpritesCommandOutput } from "./commands/GetMapSpritesCommand";
|
|
36
39
|
import { type GetMapStyleDescriptorCommandInput, type GetMapStyleDescriptorCommandOutput } from "./commands/GetMapStyleDescriptorCommand";
|
|
@@ -39,6 +42,7 @@ import { type GetPlaceCommandInput, type GetPlaceCommandOutput } from "./command
|
|
|
39
42
|
import { type ListDevicePositionsCommandInput, type ListDevicePositionsCommandOutput } from "./commands/ListDevicePositionsCommand";
|
|
40
43
|
import { type ListGeofenceCollectionsCommandInput, type ListGeofenceCollectionsCommandOutput } from "./commands/ListGeofenceCollectionsCommand";
|
|
41
44
|
import { type ListGeofencesCommandInput, type ListGeofencesCommandOutput } from "./commands/ListGeofencesCommand";
|
|
45
|
+
import { type ListJobsCommandInput, type ListJobsCommandOutput } from "./commands/ListJobsCommand";
|
|
42
46
|
import { type ListKeysCommandInput, type ListKeysCommandOutput } from "./commands/ListKeysCommand";
|
|
43
47
|
import { type ListMapsCommandInput, type ListMapsCommandOutput } from "./commands/ListMapsCommand";
|
|
44
48
|
import { type ListPlaceIndexesCommandInput, type ListPlaceIndexesCommandOutput } from "./commands/ListPlaceIndexesCommand";
|
|
@@ -50,6 +54,7 @@ import { type PutGeofenceCommandInput, type PutGeofenceCommandOutput } from "./c
|
|
|
50
54
|
import { type SearchPlaceIndexForPositionCommandInput, type SearchPlaceIndexForPositionCommandOutput } from "./commands/SearchPlaceIndexForPositionCommand";
|
|
51
55
|
import { type SearchPlaceIndexForSuggestionsCommandInput, type SearchPlaceIndexForSuggestionsCommandOutput } from "./commands/SearchPlaceIndexForSuggestionsCommand";
|
|
52
56
|
import { type SearchPlaceIndexForTextCommandInput, type SearchPlaceIndexForTextCommandOutput } from "./commands/SearchPlaceIndexForTextCommand";
|
|
57
|
+
import { type StartJobCommandInput, type StartJobCommandOutput } from "./commands/StartJobCommand";
|
|
53
58
|
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
54
59
|
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
55
60
|
import { type UpdateGeofenceCollectionCommandInput, type UpdateGeofenceCollectionCommandOutput } from "./commands/UpdateGeofenceCollectionCommand";
|
|
@@ -115,6 +120,12 @@ export interface Location {
|
|
|
115
120
|
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options?: __HttpHandlerOptions): Promise<CalculateRouteMatrixCommandOutput>;
|
|
116
121
|
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
|
|
117
122
|
calculateRouteMatrix(args: CalculateRouteMatrixCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CalculateRouteMatrixCommandOutput) => void): void;
|
|
123
|
+
/**
|
|
124
|
+
* @see {@link CancelJobCommand}
|
|
125
|
+
*/
|
|
126
|
+
cancelJob(args: CancelJobCommandInput, options?: __HttpHandlerOptions): Promise<CancelJobCommandOutput>;
|
|
127
|
+
cancelJob(args: CancelJobCommandInput, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
|
|
128
|
+
cancelJob(args: CancelJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelJobCommandOutput) => void): void;
|
|
118
129
|
/**
|
|
119
130
|
* @see {@link CreateGeofenceCollectionCommand}
|
|
120
131
|
*/
|
|
@@ -253,6 +264,12 @@ export interface Location {
|
|
|
253
264
|
getGeofence(args: GetGeofenceCommandInput, options?: __HttpHandlerOptions): Promise<GetGeofenceCommandOutput>;
|
|
254
265
|
getGeofence(args: GetGeofenceCommandInput, cb: (err: any, data?: GetGeofenceCommandOutput) => void): void;
|
|
255
266
|
getGeofence(args: GetGeofenceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetGeofenceCommandOutput) => void): void;
|
|
267
|
+
/**
|
|
268
|
+
* @see {@link GetJobCommand}
|
|
269
|
+
*/
|
|
270
|
+
getJob(args: GetJobCommandInput, options?: __HttpHandlerOptions): Promise<GetJobCommandOutput>;
|
|
271
|
+
getJob(args: GetJobCommandInput, cb: (err: any, data?: GetJobCommandOutput) => void): void;
|
|
272
|
+
getJob(args: GetJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetJobCommandOutput) => void): void;
|
|
256
273
|
/**
|
|
257
274
|
* @see {@link GetMapGlyphsCommand}
|
|
258
275
|
*/
|
|
@@ -302,6 +319,13 @@ export interface Location {
|
|
|
302
319
|
listGeofences(args: ListGeofencesCommandInput, options?: __HttpHandlerOptions): Promise<ListGeofencesCommandOutput>;
|
|
303
320
|
listGeofences(args: ListGeofencesCommandInput, cb: (err: any, data?: ListGeofencesCommandOutput) => void): void;
|
|
304
321
|
listGeofences(args: ListGeofencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeofencesCommandOutput) => void): void;
|
|
322
|
+
/**
|
|
323
|
+
* @see {@link ListJobsCommand}
|
|
324
|
+
*/
|
|
325
|
+
listJobs(): Promise<ListJobsCommandOutput>;
|
|
326
|
+
listJobs(args: ListJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListJobsCommandOutput>;
|
|
327
|
+
listJobs(args: ListJobsCommandInput, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
328
|
+
listJobs(args: ListJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListJobsCommandOutput) => void): void;
|
|
305
329
|
/**
|
|
306
330
|
* @see {@link ListKeysCommand}
|
|
307
331
|
*/
|
|
@@ -373,6 +397,12 @@ export interface Location {
|
|
|
373
397
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, options?: __HttpHandlerOptions): Promise<SearchPlaceIndexForTextCommandOutput>;
|
|
374
398
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
|
|
375
399
|
searchPlaceIndexForText(args: SearchPlaceIndexForTextCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchPlaceIndexForTextCommandOutput) => void): void;
|
|
400
|
+
/**
|
|
401
|
+
* @see {@link StartJobCommand}
|
|
402
|
+
*/
|
|
403
|
+
startJob(args: StartJobCommandInput, options?: __HttpHandlerOptions): Promise<StartJobCommandOutput>;
|
|
404
|
+
startJob(args: StartJobCommandInput, cb: (err: any, data?: StartJobCommandOutput) => void): void;
|
|
405
|
+
startJob(args: StartJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartJobCommandOutput) => void): void;
|
|
376
406
|
/**
|
|
377
407
|
* @see {@link TagResourceCommand}
|
|
378
408
|
*/
|
|
@@ -462,6 +492,13 @@ export interface Location {
|
|
|
462
492
|
* @returns AsyncIterable of {@link ListGeofencesCommandOutput}.
|
|
463
493
|
*/
|
|
464
494
|
paginateListGeofences(args: ListGeofencesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListGeofencesCommandOutput>;
|
|
495
|
+
/**
|
|
496
|
+
* @see {@link ListJobsCommand}
|
|
497
|
+
* @param args - command input.
|
|
498
|
+
* @param paginationConfig - optional pagination config.
|
|
499
|
+
* @returns AsyncIterable of {@link ListJobsCommandOutput}.
|
|
500
|
+
*/
|
|
501
|
+
paginateListJobs(args?: ListJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListJobsCommandOutput>;
|
|
465
502
|
/**
|
|
466
503
|
* @see {@link ListKeysCommand}
|
|
467
504
|
* @param args - command input.
|
|
@@ -504,6 +541,12 @@ export interface Location {
|
|
|
504
541
|
* @returns AsyncIterable of {@link ListTrackersCommandOutput}.
|
|
505
542
|
*/
|
|
506
543
|
paginateListTrackers(args?: ListTrackersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTrackersCommandOutput>;
|
|
544
|
+
/**
|
|
545
|
+
* @see {@link GetJobCommand}
|
|
546
|
+
* @param args - command input.
|
|
547
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
548
|
+
*/
|
|
549
|
+
waitUntilJobCompleted(args: GetJobCommandInput, waiterConfig: number | Omit<WaiterConfiguration<Location>, "client">): Promise<WaiterResult>;
|
|
507
550
|
}
|
|
508
551
|
/**
|
|
509
552
|
* <p>"Suite of geospatial services including Maps, Places, Routes, Tracking, and Geofencing"</p>
|