@aws-sdk/client-iot-jobs-data-plane 3.948.0 → 3.953.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/dist-cjs/index.js +129 -98
- package/dist-cjs/runtimeConfig.shared.js +6 -1
- package/dist-es/commands/DescribeJobExecutionCommand.js +2 -2
- package/dist-es/commands/GetPendingJobExecutionsCommand.js +2 -2
- package/dist-es/commands/StartCommandExecutionCommand.js +2 -2
- package/dist-es/commands/StartNextPendingJobExecutionCommand.js +2 -2
- package/dist-es/commands/UpdateJobExecutionCommand.js +2 -2
- package/dist-es/index.js +1 -0
- package/dist-es/runtimeConfig.shared.js +6 -1
- package/dist-es/schemas/schemas_0.js +60 -60
- package/dist-types/IoTJobsDataPlaneClient.d.ts +1 -10
- package/dist-types/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +6 -2
- package/dist-types/runtimeConfig.d.ts +6 -2
- package/dist-types/runtimeConfig.native.d.ts +6 -2
- package/dist-types/runtimeConfig.shared.d.ts +6 -1
- package/dist-types/schemas/schemas_0.d.ts +32 -35
- package/dist-types/ts3.4/IoTJobsDataPlaneClient.d.ts +0 -4
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -5
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -36
- package/package.json +34 -34
package/dist-cjs/index.js
CHANGED
|
@@ -110,14 +110,14 @@ class IoTJobsDataPlaneClient extends smithyClient.Client {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
class IoTJobsDataPlaneServiceException extends smithyClient.ServiceException {
|
|
114
114
|
constructor(options) {
|
|
115
115
|
super(options);
|
|
116
116
|
Object.setPrototypeOf(this, IoTJobsDataPlaneServiceException.prototype);
|
|
117
117
|
}
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
class CertificateValidationException extends IoTJobsDataPlaneServiceException {
|
|
121
121
|
name = "CertificateValidationException";
|
|
122
122
|
$fault = "client";
|
|
123
123
|
constructor(opts) {
|
|
@@ -128,8 +128,8 @@ let CertificateValidationException$1 = class CertificateValidationException exte
|
|
|
128
128
|
});
|
|
129
129
|
Object.setPrototypeOf(this, CertificateValidationException.prototype);
|
|
130
130
|
}
|
|
131
|
-
}
|
|
132
|
-
|
|
131
|
+
}
|
|
132
|
+
class ConflictException extends IoTJobsDataPlaneServiceException {
|
|
133
133
|
name = "ConflictException";
|
|
134
134
|
$fault = "client";
|
|
135
135
|
resourceId;
|
|
@@ -142,8 +142,8 @@ let ConflictException$1 = class ConflictException extends IoTJobsDataPlaneServic
|
|
|
142
142
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
143
143
|
this.resourceId = opts.resourceId;
|
|
144
144
|
}
|
|
145
|
-
}
|
|
146
|
-
|
|
145
|
+
}
|
|
146
|
+
class InvalidRequestException extends IoTJobsDataPlaneServiceException {
|
|
147
147
|
name = "InvalidRequestException";
|
|
148
148
|
$fault = "client";
|
|
149
149
|
constructor(opts) {
|
|
@@ -154,8 +154,8 @@ let InvalidRequestException$1 = class InvalidRequestException extends IoTJobsDat
|
|
|
154
154
|
});
|
|
155
155
|
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
156
156
|
}
|
|
157
|
-
}
|
|
158
|
-
|
|
157
|
+
}
|
|
158
|
+
class ResourceNotFoundException extends IoTJobsDataPlaneServiceException {
|
|
159
159
|
name = "ResourceNotFoundException";
|
|
160
160
|
$fault = "client";
|
|
161
161
|
constructor(opts) {
|
|
@@ -166,8 +166,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends IoTJob
|
|
|
166
166
|
});
|
|
167
167
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
168
168
|
}
|
|
169
|
-
}
|
|
170
|
-
|
|
169
|
+
}
|
|
170
|
+
class ServiceUnavailableException extends IoTJobsDataPlaneServiceException {
|
|
171
171
|
name = "ServiceUnavailableException";
|
|
172
172
|
$fault = "server";
|
|
173
173
|
constructor(opts) {
|
|
@@ -178,8 +178,8 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Io
|
|
|
178
178
|
});
|
|
179
179
|
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
180
180
|
}
|
|
181
|
-
}
|
|
182
|
-
|
|
181
|
+
}
|
|
182
|
+
class TerminalStateException extends IoTJobsDataPlaneServiceException {
|
|
183
183
|
name = "TerminalStateException";
|
|
184
184
|
$fault = "client";
|
|
185
185
|
constructor(opts) {
|
|
@@ -190,8 +190,8 @@ let TerminalStateException$1 = class TerminalStateException extends IoTJobsDataP
|
|
|
190
190
|
});
|
|
191
191
|
Object.setPrototypeOf(this, TerminalStateException.prototype);
|
|
192
192
|
}
|
|
193
|
-
}
|
|
194
|
-
|
|
193
|
+
}
|
|
194
|
+
class ThrottlingException extends IoTJobsDataPlaneServiceException {
|
|
195
195
|
name = "ThrottlingException";
|
|
196
196
|
$fault = "client";
|
|
197
197
|
payload;
|
|
@@ -204,8 +204,8 @@ let ThrottlingException$1 = class ThrottlingException extends IoTJobsDataPlaneSe
|
|
|
204
204
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
205
205
|
this.payload = opts.payload;
|
|
206
206
|
}
|
|
207
|
-
}
|
|
208
|
-
|
|
207
|
+
}
|
|
208
|
+
class InternalServerException extends IoTJobsDataPlaneServiceException {
|
|
209
209
|
name = "InternalServerException";
|
|
210
210
|
$fault = "server";
|
|
211
211
|
constructor(opts) {
|
|
@@ -216,8 +216,8 @@ let InternalServerException$1 = class InternalServerException extends IoTJobsDat
|
|
|
216
216
|
});
|
|
217
217
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
218
218
|
}
|
|
219
|
-
}
|
|
220
|
-
|
|
219
|
+
}
|
|
220
|
+
class InvalidStateTransitionException extends IoTJobsDataPlaneServiceException {
|
|
221
221
|
name = "InvalidStateTransitionException";
|
|
222
222
|
$fault = "client";
|
|
223
223
|
constructor(opts) {
|
|
@@ -228,8 +228,8 @@ let InvalidStateTransitionException$1 = class InvalidStateTransitionException ex
|
|
|
228
228
|
});
|
|
229
229
|
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
230
230
|
}
|
|
231
|
-
}
|
|
232
|
-
|
|
231
|
+
}
|
|
232
|
+
class ServiceQuotaExceededException extends IoTJobsDataPlaneServiceException {
|
|
233
233
|
name = "ServiceQuotaExceededException";
|
|
234
234
|
$fault = "client";
|
|
235
235
|
constructor(opts) {
|
|
@@ -240,8 +240,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
|
|
|
240
240
|
});
|
|
241
241
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
242
242
|
}
|
|
243
|
-
}
|
|
244
|
-
|
|
243
|
+
}
|
|
244
|
+
class ValidationException extends IoTJobsDataPlaneServiceException {
|
|
245
245
|
name = "ValidationException";
|
|
246
246
|
$fault = "client";
|
|
247
247
|
constructor(opts) {
|
|
@@ -252,7 +252,7 @@ let ValidationException$1 = class ValidationException extends IoTJobsDataPlaneSe
|
|
|
252
252
|
});
|
|
253
253
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
254
254
|
}
|
|
255
|
-
}
|
|
255
|
+
}
|
|
256
256
|
|
|
257
257
|
const _B = "B";
|
|
258
258
|
const _BIN = "BIN";
|
|
@@ -329,9 +329,9 @@ const _tA = "targetArn";
|
|
|
329
329
|
const _tN = "thingName";
|
|
330
330
|
const _vN = "versionNumber";
|
|
331
331
|
const n0 = "com.amazonaws.iotjobsdataplane";
|
|
332
|
-
var CertificateValidationException = [-3, n0, _CVE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
333
|
-
schema.TypeRegistry.for(n0).registerError(CertificateValidationException
|
|
334
|
-
var CommandParameterValue = [
|
|
332
|
+
var CertificateValidationException$ = [-3, n0, _CVE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
333
|
+
schema.TypeRegistry.for(n0).registerError(CertificateValidationException$, CertificateValidationException);
|
|
334
|
+
var CommandParameterValue$ = [
|
|
335
335
|
3,
|
|
336
336
|
n0,
|
|
337
337
|
_CPV,
|
|
@@ -339,9 +339,9 @@ var CommandParameterValue = [
|
|
|
339
339
|
[_S, _B, _I, _L, _D, _BIN, _UL],
|
|
340
340
|
[0, 2, 1, 1, 1, 21, 0],
|
|
341
341
|
];
|
|
342
|
-
var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI], [0, 0]];
|
|
343
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException
|
|
344
|
-
var DescribeJobExecutionRequest = [
|
|
342
|
+
var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_m, _rI], [0, 0]];
|
|
343
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
344
|
+
var DescribeJobExecutionRequest$ = [
|
|
345
345
|
3,
|
|
346
346
|
n0,
|
|
347
347
|
_DJER,
|
|
@@ -354,9 +354,9 @@ var DescribeJobExecutionRequest = [
|
|
|
354
354
|
[1, { [_hQ]: _eN }],
|
|
355
355
|
],
|
|
356
356
|
];
|
|
357
|
-
var DescribeJobExecutionResponse = [3, n0, _DJERe, 0, [_ex], [() => JobExecution]];
|
|
358
|
-
var GetPendingJobExecutionsRequest = [3, n0, _GPJER, 0, [_tN], [[0, 1]]];
|
|
359
|
-
var GetPendingJobExecutionsResponse = [
|
|
357
|
+
var DescribeJobExecutionResponse$ = [3, n0, _DJERe, 0, [_ex], [() => JobExecution$]];
|
|
358
|
+
var GetPendingJobExecutionsRequest$ = [3, n0, _GPJER, 0, [_tN], [[0, 1]]];
|
|
359
|
+
var GetPendingJobExecutionsResponse$ = [
|
|
360
360
|
3,
|
|
361
361
|
n0,
|
|
362
362
|
_GPJERe,
|
|
@@ -364,13 +364,13 @@ var GetPendingJobExecutionsResponse = [
|
|
|
364
364
|
[_iPJ, _qJ],
|
|
365
365
|
[() => JobExecutionSummaryList, () => JobExecutionSummaryList],
|
|
366
366
|
];
|
|
367
|
-
var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
368
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException
|
|
369
|
-
var InvalidRequestException = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
370
|
-
schema.TypeRegistry.for(n0).registerError(InvalidRequestException
|
|
371
|
-
var InvalidStateTransitionException = [-3, n0, _ISTE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
372
|
-
schema.TypeRegistry.for(n0).registerError(InvalidStateTransitionException
|
|
373
|
-
var JobExecution = [
|
|
367
|
+
var InternalServerException$ = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_m], [0]];
|
|
368
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
369
|
+
var InvalidRequestException$ = [-3, n0, _IRE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
370
|
+
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
371
|
+
var InvalidStateTransitionException$ = [-3, n0, _ISTE, { [_e]: _c, [_hE]: 409 }, [_m], [0]];
|
|
372
|
+
schema.TypeRegistry.for(n0).registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
|
|
373
|
+
var JobExecution$ = [
|
|
374
374
|
3,
|
|
375
375
|
n0,
|
|
376
376
|
_JE,
|
|
@@ -378,8 +378,8 @@ var JobExecution = [
|
|
|
378
378
|
[_jI, _tN, _st, _sD, _qA, _sA, _lUA, _aSBTO, _vN, _eN, _jD],
|
|
379
379
|
[0, 0, 0, 128 | 0, 1, 1, 1, 1, 1, 1, 0],
|
|
380
380
|
];
|
|
381
|
-
var JobExecutionState = [3, n0, _JES, 0, [_st, _sD, _vN], [0, 128 | 0, 1]];
|
|
382
|
-
var JobExecutionSummary = [
|
|
381
|
+
var JobExecutionState$ = [3, n0, _JES, 0, [_st, _sD, _vN], [0, 128 | 0, 1]];
|
|
382
|
+
var JobExecutionSummary$ = [
|
|
383
383
|
3,
|
|
384
384
|
n0,
|
|
385
385
|
_JESo,
|
|
@@ -387,13 +387,13 @@ var JobExecutionSummary = [
|
|
|
387
387
|
[_jI, _qA, _sA, _lUA, _vN, _eN],
|
|
388
388
|
[0, 1, 1, 1, 1, 1],
|
|
389
389
|
];
|
|
390
|
-
var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
391
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException
|
|
392
|
-
var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
393
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException
|
|
394
|
-
var ServiceUnavailableException = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
|
|
395
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException
|
|
396
|
-
var StartCommandExecutionRequest = [
|
|
390
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_m], [0]];
|
|
391
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
392
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_m], [0]];
|
|
393
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
394
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE, { [_e]: _s, [_hE]: 503 }, [_m], [0]];
|
|
395
|
+
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
396
|
+
var StartCommandExecutionRequest$ = [
|
|
397
397
|
3,
|
|
398
398
|
n0,
|
|
399
399
|
_SCER,
|
|
@@ -401,8 +401,8 @@ var StartCommandExecutionRequest = [
|
|
|
401
401
|
[_tA, _cA, _p, _eTS, _cT],
|
|
402
402
|
[0, 0, () => CommandExecutionParameterMap, 1, [0, 4]],
|
|
403
403
|
];
|
|
404
|
-
var StartCommandExecutionResponse = [3, n0, _SCERt, 0, [_eI], [0]];
|
|
405
|
-
var StartNextPendingJobExecutionRequest = [
|
|
404
|
+
var StartCommandExecutionResponse$ = [3, n0, _SCERt, 0, [_eI], [0]];
|
|
405
|
+
var StartNextPendingJobExecutionRequest$ = [
|
|
406
406
|
3,
|
|
407
407
|
n0,
|
|
408
408
|
_SNPJER,
|
|
@@ -410,19 +410,19 @@ var StartNextPendingJobExecutionRequest = [
|
|
|
410
410
|
[_tN, _sD, _sTIM],
|
|
411
411
|
[[0, 1], 128 | 0, 1],
|
|
412
412
|
];
|
|
413
|
-
var StartNextPendingJobExecutionResponse = [
|
|
413
|
+
var StartNextPendingJobExecutionResponse$ = [
|
|
414
414
|
3,
|
|
415
415
|
n0,
|
|
416
416
|
_SNPJERt,
|
|
417
417
|
0,
|
|
418
418
|
[_ex],
|
|
419
|
-
[() => JobExecution],
|
|
419
|
+
[() => JobExecution$],
|
|
420
420
|
];
|
|
421
|
-
var TerminalStateException = [-3, n0, _TSE, { [_e]: _c, [_hE]: 410 }, [_m], [0]];
|
|
422
|
-
schema.TypeRegistry.for(n0).registerError(TerminalStateException
|
|
423
|
-
var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m, _pa], [0, 21]];
|
|
424
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException
|
|
425
|
-
var UpdateJobExecutionRequest = [
|
|
421
|
+
var TerminalStateException$ = [-3, n0, _TSE, { [_e]: _c, [_hE]: 410 }, [_m], [0]];
|
|
422
|
+
schema.TypeRegistry.for(n0).registerError(TerminalStateException$, TerminalStateException);
|
|
423
|
+
var ThrottlingException$ = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_m, _pa], [0, 21]];
|
|
424
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
425
|
+
var UpdateJobExecutionRequest$ = [
|
|
426
426
|
3,
|
|
427
427
|
n0,
|
|
428
428
|
_UJER,
|
|
@@ -430,17 +430,17 @@ var UpdateJobExecutionRequest = [
|
|
|
430
430
|
[_jI, _tN, _st, _sD, _sTIM, _eV, _iJES, _iJD, _eN],
|
|
431
431
|
[[0, 1], [0, 1], 0, 128 | 0, 1, 1, 2, 2, 1],
|
|
432
432
|
];
|
|
433
|
-
var UpdateJobExecutionResponse = [
|
|
433
|
+
var UpdateJobExecutionResponse$ = [
|
|
434
434
|
3,
|
|
435
435
|
n0,
|
|
436
436
|
_UJERp,
|
|
437
437
|
0,
|
|
438
438
|
[_eS, _jD],
|
|
439
|
-
[() => JobExecutionState
|
|
439
|
+
[() => JobExecutionState$, 0],
|
|
440
440
|
];
|
|
441
|
-
var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
442
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException
|
|
443
|
-
var IoTJobsDataPlaneServiceException = [
|
|
441
|
+
var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_m], [0]];
|
|
442
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
443
|
+
var IoTJobsDataPlaneServiceException$ = [
|
|
444
444
|
-3,
|
|
445
445
|
_sm,
|
|
446
446
|
"IoTJobsDataPlaneServiceException",
|
|
@@ -448,48 +448,48 @@ var IoTJobsDataPlaneServiceException = [
|
|
|
448
448
|
[],
|
|
449
449
|
[],
|
|
450
450
|
];
|
|
451
|
-
schema.TypeRegistry.for(_sm).registerError(IoTJobsDataPlaneServiceException
|
|
452
|
-
var JobExecutionSummaryList = [1, n0, _JESL, 0, () => JobExecutionSummary];
|
|
453
|
-
var CommandExecutionParameterMap = [2, n0, _CEPM, 0, 0, () => CommandParameterValue];
|
|
454
|
-
var DescribeJobExecution = [
|
|
451
|
+
schema.TypeRegistry.for(_sm).registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
452
|
+
var JobExecutionSummaryList = [1, n0, _JESL, 0, () => JobExecutionSummary$];
|
|
453
|
+
var CommandExecutionParameterMap = [2, n0, _CEPM, 0, 0, () => CommandParameterValue$];
|
|
454
|
+
var DescribeJobExecution$ = [
|
|
455
455
|
9,
|
|
456
456
|
n0,
|
|
457
457
|
_DJE,
|
|
458
458
|
{ [_h]: ["GET", "/things/{thingName}/jobs/{jobId}", 200] },
|
|
459
|
-
() => DescribeJobExecutionRequest
|
|
460
|
-
() => DescribeJobExecutionResponse
|
|
459
|
+
() => DescribeJobExecutionRequest$,
|
|
460
|
+
() => DescribeJobExecutionResponse$,
|
|
461
461
|
];
|
|
462
|
-
var GetPendingJobExecutions = [
|
|
462
|
+
var GetPendingJobExecutions$ = [
|
|
463
463
|
9,
|
|
464
464
|
n0,
|
|
465
465
|
_GPJE,
|
|
466
466
|
{ [_h]: ["GET", "/things/{thingName}/jobs", 200] },
|
|
467
|
-
() => GetPendingJobExecutionsRequest
|
|
468
|
-
() => GetPendingJobExecutionsResponse
|
|
467
|
+
() => GetPendingJobExecutionsRequest$,
|
|
468
|
+
() => GetPendingJobExecutionsResponse$,
|
|
469
469
|
];
|
|
470
|
-
var StartCommandExecution = [
|
|
470
|
+
var StartCommandExecution$ = [
|
|
471
471
|
9,
|
|
472
472
|
n0,
|
|
473
473
|
_SCE,
|
|
474
474
|
{ [_h]: ["POST", "/command-executions", 200] },
|
|
475
|
-
() => StartCommandExecutionRequest
|
|
476
|
-
() => StartCommandExecutionResponse
|
|
475
|
+
() => StartCommandExecutionRequest$,
|
|
476
|
+
() => StartCommandExecutionResponse$,
|
|
477
477
|
];
|
|
478
|
-
var StartNextPendingJobExecution = [
|
|
478
|
+
var StartNextPendingJobExecution$ = [
|
|
479
479
|
9,
|
|
480
480
|
n0,
|
|
481
481
|
_SNPJE,
|
|
482
482
|
{ [_h]: ["PUT", "/things/{thingName}/jobs/$next", 200] },
|
|
483
|
-
() => StartNextPendingJobExecutionRequest
|
|
484
|
-
() => StartNextPendingJobExecutionResponse
|
|
483
|
+
() => StartNextPendingJobExecutionRequest$,
|
|
484
|
+
() => StartNextPendingJobExecutionResponse$,
|
|
485
485
|
];
|
|
486
|
-
var UpdateJobExecution = [
|
|
486
|
+
var UpdateJobExecution$ = [
|
|
487
487
|
9,
|
|
488
488
|
n0,
|
|
489
489
|
_UJE,
|
|
490
490
|
{ [_h]: ["POST", "/things/{thingName}/jobs/{jobId}", 200] },
|
|
491
|
-
() => UpdateJobExecutionRequest
|
|
492
|
-
() => UpdateJobExecutionResponse
|
|
491
|
+
() => UpdateJobExecutionRequest$,
|
|
492
|
+
() => UpdateJobExecutionResponse$,
|
|
493
493
|
];
|
|
494
494
|
|
|
495
495
|
class DescribeJobExecutionCommand extends smithyClient.Command
|
|
@@ -500,7 +500,7 @@ class DescribeJobExecutionCommand extends smithyClient.Command
|
|
|
500
500
|
})
|
|
501
501
|
.s("IotLaserThingJobManagerExternalService", "DescribeJobExecution", {})
|
|
502
502
|
.n("IoTJobsDataPlaneClient", "DescribeJobExecutionCommand")
|
|
503
|
-
.sc(DescribeJobExecution)
|
|
503
|
+
.sc(DescribeJobExecution$)
|
|
504
504
|
.build() {
|
|
505
505
|
}
|
|
506
506
|
|
|
@@ -512,7 +512,7 @@ class GetPendingJobExecutionsCommand extends smithyClient.Command
|
|
|
512
512
|
})
|
|
513
513
|
.s("IotLaserThingJobManagerExternalService", "GetPendingJobExecutions", {})
|
|
514
514
|
.n("IoTJobsDataPlaneClient", "GetPendingJobExecutionsCommand")
|
|
515
|
-
.sc(GetPendingJobExecutions)
|
|
515
|
+
.sc(GetPendingJobExecutions$)
|
|
516
516
|
.build() {
|
|
517
517
|
}
|
|
518
518
|
|
|
@@ -524,7 +524,7 @@ class StartCommandExecutionCommand extends smithyClient.Command
|
|
|
524
524
|
})
|
|
525
525
|
.s("IotLaserThingJobManagerExternalService", "StartCommandExecution", {})
|
|
526
526
|
.n("IoTJobsDataPlaneClient", "StartCommandExecutionCommand")
|
|
527
|
-
.sc(StartCommandExecution)
|
|
527
|
+
.sc(StartCommandExecution$)
|
|
528
528
|
.build() {
|
|
529
529
|
}
|
|
530
530
|
|
|
@@ -536,7 +536,7 @@ class StartNextPendingJobExecutionCommand extends smithyClient.Command
|
|
|
536
536
|
})
|
|
537
537
|
.s("IotLaserThingJobManagerExternalService", "StartNextPendingJobExecution", {})
|
|
538
538
|
.n("IoTJobsDataPlaneClient", "StartNextPendingJobExecutionCommand")
|
|
539
|
-
.sc(StartNextPendingJobExecution)
|
|
539
|
+
.sc(StartNextPendingJobExecution$)
|
|
540
540
|
.build() {
|
|
541
541
|
}
|
|
542
542
|
|
|
@@ -548,7 +548,7 @@ class UpdateJobExecutionCommand extends smithyClient.Command
|
|
|
548
548
|
})
|
|
549
549
|
.s("IotLaserThingJobManagerExternalService", "UpdateJobExecution", {})
|
|
550
550
|
.n("IoTJobsDataPlaneClient", "UpdateJobExecutionCommand")
|
|
551
|
-
.sc(UpdateJobExecution)
|
|
551
|
+
.sc(UpdateJobExecution$)
|
|
552
552
|
.build() {
|
|
553
553
|
}
|
|
554
554
|
|
|
@@ -582,23 +582,54 @@ Object.defineProperty(exports, "__Client", {
|
|
|
582
582
|
enumerable: true,
|
|
583
583
|
get: function () { return smithyClient.Client; }
|
|
584
584
|
});
|
|
585
|
-
exports.CertificateValidationException = CertificateValidationException
|
|
586
|
-
exports.
|
|
585
|
+
exports.CertificateValidationException = CertificateValidationException;
|
|
586
|
+
exports.CertificateValidationException$ = CertificateValidationException$;
|
|
587
|
+
exports.CommandParameterValue$ = CommandParameterValue$;
|
|
588
|
+
exports.ConflictException = ConflictException;
|
|
589
|
+
exports.ConflictException$ = ConflictException$;
|
|
590
|
+
exports.DescribeJobExecution$ = DescribeJobExecution$;
|
|
587
591
|
exports.DescribeJobExecutionCommand = DescribeJobExecutionCommand;
|
|
592
|
+
exports.DescribeJobExecutionRequest$ = DescribeJobExecutionRequest$;
|
|
593
|
+
exports.DescribeJobExecutionResponse$ = DescribeJobExecutionResponse$;
|
|
594
|
+
exports.GetPendingJobExecutions$ = GetPendingJobExecutions$;
|
|
588
595
|
exports.GetPendingJobExecutionsCommand = GetPendingJobExecutionsCommand;
|
|
589
|
-
exports.
|
|
590
|
-
exports.
|
|
591
|
-
exports.
|
|
596
|
+
exports.GetPendingJobExecutionsRequest$ = GetPendingJobExecutionsRequest$;
|
|
597
|
+
exports.GetPendingJobExecutionsResponse$ = GetPendingJobExecutionsResponse$;
|
|
598
|
+
exports.InternalServerException = InternalServerException;
|
|
599
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
600
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
601
|
+
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
602
|
+
exports.InvalidStateTransitionException = InvalidStateTransitionException;
|
|
603
|
+
exports.InvalidStateTransitionException$ = InvalidStateTransitionException$;
|
|
592
604
|
exports.IoTJobsDataPlane = IoTJobsDataPlane;
|
|
593
605
|
exports.IoTJobsDataPlaneClient = IoTJobsDataPlaneClient;
|
|
594
|
-
exports.IoTJobsDataPlaneServiceException = IoTJobsDataPlaneServiceException
|
|
606
|
+
exports.IoTJobsDataPlaneServiceException = IoTJobsDataPlaneServiceException;
|
|
607
|
+
exports.IoTJobsDataPlaneServiceException$ = IoTJobsDataPlaneServiceException$;
|
|
608
|
+
exports.JobExecution$ = JobExecution$;
|
|
609
|
+
exports.JobExecutionState$ = JobExecutionState$;
|
|
595
610
|
exports.JobExecutionStatus = JobExecutionStatus;
|
|
596
|
-
exports.
|
|
597
|
-
exports.
|
|
598
|
-
exports.
|
|
611
|
+
exports.JobExecutionSummary$ = JobExecutionSummary$;
|
|
612
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
613
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
614
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
615
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
616
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
617
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
618
|
+
exports.StartCommandExecution$ = StartCommandExecution$;
|
|
599
619
|
exports.StartCommandExecutionCommand = StartCommandExecutionCommand;
|
|
620
|
+
exports.StartCommandExecutionRequest$ = StartCommandExecutionRequest$;
|
|
621
|
+
exports.StartCommandExecutionResponse$ = StartCommandExecutionResponse$;
|
|
622
|
+
exports.StartNextPendingJobExecution$ = StartNextPendingJobExecution$;
|
|
600
623
|
exports.StartNextPendingJobExecutionCommand = StartNextPendingJobExecutionCommand;
|
|
601
|
-
exports.
|
|
602
|
-
exports.
|
|
624
|
+
exports.StartNextPendingJobExecutionRequest$ = StartNextPendingJobExecutionRequest$;
|
|
625
|
+
exports.StartNextPendingJobExecutionResponse$ = StartNextPendingJobExecutionResponse$;
|
|
626
|
+
exports.TerminalStateException = TerminalStateException;
|
|
627
|
+
exports.TerminalStateException$ = TerminalStateException$;
|
|
628
|
+
exports.ThrottlingException = ThrottlingException;
|
|
629
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
630
|
+
exports.UpdateJobExecution$ = UpdateJobExecution$;
|
|
603
631
|
exports.UpdateJobExecutionCommand = UpdateJobExecutionCommand;
|
|
604
|
-
exports.
|
|
632
|
+
exports.UpdateJobExecutionRequest$ = UpdateJobExecutionRequest$;
|
|
633
|
+
exports.UpdateJobExecutionResponse$ = UpdateJobExecutionResponse$;
|
|
634
|
+
exports.ValidationException = ValidationException;
|
|
635
|
+
exports.ValidationException$ = ValidationException$;
|
|
@@ -26,7 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
26
26
|
},
|
|
27
27
|
],
|
|
28
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
-
protocol: config?.protocol ??
|
|
29
|
+
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
31
|
+
defaultNamespace: "com.amazonaws.iotjobsdataplane",
|
|
32
|
+
version: "2017-09-29",
|
|
33
|
+
serviceTarget: "IotLaserThingJobManagerExternalService",
|
|
34
|
+
},
|
|
30
35
|
serviceId: config?.serviceId ?? "IoT Jobs Data Plane",
|
|
31
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
32
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { DescribeJobExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { DescribeJobExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class DescribeJobExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class DescribeJobExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotLaserThingJobManagerExternalService", "DescribeJobExecution", {})
|
|
13
13
|
.n("IoTJobsDataPlaneClient", "DescribeJobExecutionCommand")
|
|
14
|
-
.sc(DescribeJobExecution)
|
|
14
|
+
.sc(DescribeJobExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { GetPendingJobExecutions } from "../schemas/schemas_0";
|
|
4
|
+
import { GetPendingJobExecutions$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class GetPendingJobExecutionsCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class GetPendingJobExecutionsCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotLaserThingJobManagerExternalService", "GetPendingJobExecutions", {})
|
|
13
13
|
.n("IoTJobsDataPlaneClient", "GetPendingJobExecutionsCommand")
|
|
14
|
-
.sc(GetPendingJobExecutions)
|
|
14
|
+
.sc(GetPendingJobExecutions$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartCommandExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { StartCommandExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartCommandExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartCommandExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotLaserThingJobManagerExternalService", "StartCommandExecution", {})
|
|
13
13
|
.n("IoTJobsDataPlaneClient", "StartCommandExecutionCommand")
|
|
14
|
-
.sc(StartCommandExecution)
|
|
14
|
+
.sc(StartCommandExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { StartNextPendingJobExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { StartNextPendingJobExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class StartNextPendingJobExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class StartNextPendingJobExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotLaserThingJobManagerExternalService", "StartNextPendingJobExecution", {})
|
|
13
13
|
.n("IoTJobsDataPlaneClient", "StartNextPendingJobExecutionCommand")
|
|
14
|
-
.sc(StartNextPendingJobExecution)
|
|
14
|
+
.sc(StartNextPendingJobExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
-
import { UpdateJobExecution } from "../schemas/schemas_0";
|
|
4
|
+
import { UpdateJobExecution$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
6
6
|
export class UpdateJobExecutionCommand extends $Command
|
|
7
7
|
.classBuilder()
|
|
@@ -11,6 +11,6 @@ export class UpdateJobExecutionCommand extends $Command
|
|
|
11
11
|
})
|
|
12
12
|
.s("IotLaserThingJobManagerExternalService", "UpdateJobExecution", {})
|
|
13
13
|
.n("IoTJobsDataPlaneClient", "UpdateJobExecutionCommand")
|
|
14
|
-
.sc(UpdateJobExecution)
|
|
14
|
+
.sc(UpdateJobExecution$)
|
|
15
15
|
.build() {
|
|
16
16
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./IoTJobsDataPlaneClient";
|
|
2
2
|
export * from "./IoTJobsDataPlane";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export * from "./schemas/schemas_0";
|
|
4
5
|
export * from "./models/enums";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export { IoTJobsDataPlaneServiceException } from "./models/IoTJobsDataPlaneServiceException";
|
|
@@ -23,7 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
23
23
|
},
|
|
24
24
|
],
|
|
25
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
-
protocol: config?.protocol ??
|
|
26
|
+
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
28
|
+
defaultNamespace: "com.amazonaws.iotjobsdataplane",
|
|
29
|
+
version: "2017-09-29",
|
|
30
|
+
serviceTarget: "IotLaserThingJobManagerExternalService",
|
|
31
|
+
},
|
|
27
32
|
serviceId: config?.serviceId ?? "IoT Jobs Data Plane",
|
|
28
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
29
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|