@aws-sdk/client-iot-jobs-data-plane 3.987.0 → 3.988.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 +24 -427
- package/dist-cjs/models/IoTJobsDataPlaneServiceException.js +12 -0
- package/dist-cjs/models/errors.js +151 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +247 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +74 -68
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var IoTJobsDataPlaneServiceException = require('./models/IoTJobsDataPlaneServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,385 +113,6 @@ class IoTJobsDataPlaneClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class IoTJobsDataPlaneServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, IoTJobsDataPlaneServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class CertificateValidationException extends IoTJobsDataPlaneServiceException {
|
|
121
|
-
name = "CertificateValidationException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "CertificateValidationException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, CertificateValidationException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ConflictException extends IoTJobsDataPlaneServiceException {
|
|
133
|
-
name = "ConflictException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
resourceId;
|
|
136
|
-
constructor(opts) {
|
|
137
|
-
super({
|
|
138
|
-
name: "ConflictException",
|
|
139
|
-
$fault: "client",
|
|
140
|
-
...opts,
|
|
141
|
-
});
|
|
142
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
143
|
-
this.resourceId = opts.resourceId;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
class InvalidRequestException extends IoTJobsDataPlaneServiceException {
|
|
147
|
-
name = "InvalidRequestException";
|
|
148
|
-
$fault = "client";
|
|
149
|
-
constructor(opts) {
|
|
150
|
-
super({
|
|
151
|
-
name: "InvalidRequestException",
|
|
152
|
-
$fault: "client",
|
|
153
|
-
...opts,
|
|
154
|
-
});
|
|
155
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
class ResourceNotFoundException extends IoTJobsDataPlaneServiceException {
|
|
159
|
-
name = "ResourceNotFoundException";
|
|
160
|
-
$fault = "client";
|
|
161
|
-
constructor(opts) {
|
|
162
|
-
super({
|
|
163
|
-
name: "ResourceNotFoundException",
|
|
164
|
-
$fault: "client",
|
|
165
|
-
...opts,
|
|
166
|
-
});
|
|
167
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
class ServiceUnavailableException extends IoTJobsDataPlaneServiceException {
|
|
171
|
-
name = "ServiceUnavailableException";
|
|
172
|
-
$fault = "server";
|
|
173
|
-
constructor(opts) {
|
|
174
|
-
super({
|
|
175
|
-
name: "ServiceUnavailableException",
|
|
176
|
-
$fault: "server",
|
|
177
|
-
...opts,
|
|
178
|
-
});
|
|
179
|
-
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
class TerminalStateException extends IoTJobsDataPlaneServiceException {
|
|
183
|
-
name = "TerminalStateException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
constructor(opts) {
|
|
186
|
-
super({
|
|
187
|
-
name: "TerminalStateException",
|
|
188
|
-
$fault: "client",
|
|
189
|
-
...opts,
|
|
190
|
-
});
|
|
191
|
-
Object.setPrototypeOf(this, TerminalStateException.prototype);
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
class ThrottlingException extends IoTJobsDataPlaneServiceException {
|
|
195
|
-
name = "ThrottlingException";
|
|
196
|
-
$fault = "client";
|
|
197
|
-
payload;
|
|
198
|
-
constructor(opts) {
|
|
199
|
-
super({
|
|
200
|
-
name: "ThrottlingException",
|
|
201
|
-
$fault: "client",
|
|
202
|
-
...opts,
|
|
203
|
-
});
|
|
204
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
205
|
-
this.payload = opts.payload;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
class InternalServerException extends IoTJobsDataPlaneServiceException {
|
|
209
|
-
name = "InternalServerException";
|
|
210
|
-
$fault = "server";
|
|
211
|
-
constructor(opts) {
|
|
212
|
-
super({
|
|
213
|
-
name: "InternalServerException",
|
|
214
|
-
$fault: "server",
|
|
215
|
-
...opts,
|
|
216
|
-
});
|
|
217
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
class InvalidStateTransitionException extends IoTJobsDataPlaneServiceException {
|
|
221
|
-
name = "InvalidStateTransitionException";
|
|
222
|
-
$fault = "client";
|
|
223
|
-
constructor(opts) {
|
|
224
|
-
super({
|
|
225
|
-
name: "InvalidStateTransitionException",
|
|
226
|
-
$fault: "client",
|
|
227
|
-
...opts,
|
|
228
|
-
});
|
|
229
|
-
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
class ServiceQuotaExceededException extends IoTJobsDataPlaneServiceException {
|
|
233
|
-
name = "ServiceQuotaExceededException";
|
|
234
|
-
$fault = "client";
|
|
235
|
-
constructor(opts) {
|
|
236
|
-
super({
|
|
237
|
-
name: "ServiceQuotaExceededException",
|
|
238
|
-
$fault: "client",
|
|
239
|
-
...opts,
|
|
240
|
-
});
|
|
241
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
class ValidationException extends IoTJobsDataPlaneServiceException {
|
|
245
|
-
name = "ValidationException";
|
|
246
|
-
$fault = "client";
|
|
247
|
-
constructor(opts) {
|
|
248
|
-
super({
|
|
249
|
-
name: "ValidationException",
|
|
250
|
-
$fault: "client",
|
|
251
|
-
...opts,
|
|
252
|
-
});
|
|
253
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
const _B = "B";
|
|
258
|
-
const _BIN = "BIN";
|
|
259
|
-
const _CE = "ConflictException";
|
|
260
|
-
const _CEPM = "CommandExecutionParameterMap";
|
|
261
|
-
const _CPV = "CommandParameterValue";
|
|
262
|
-
const _CVE = "CertificateValidationException";
|
|
263
|
-
const _D = "D";
|
|
264
|
-
const _DJE = "DescribeJobExecution";
|
|
265
|
-
const _DJER = "DescribeJobExecutionRequest";
|
|
266
|
-
const _DJERe = "DescribeJobExecutionResponse";
|
|
267
|
-
const _GPJE = "GetPendingJobExecutions";
|
|
268
|
-
const _GPJER = "GetPendingJobExecutionsRequest";
|
|
269
|
-
const _GPJERe = "GetPendingJobExecutionsResponse";
|
|
270
|
-
const _I = "I";
|
|
271
|
-
const _IRE = "InvalidRequestException";
|
|
272
|
-
const _ISE = "InternalServerException";
|
|
273
|
-
const _ISTE = "InvalidStateTransitionException";
|
|
274
|
-
const _JE = "JobExecution";
|
|
275
|
-
const _JES = "JobExecutionState";
|
|
276
|
-
const _JESL = "JobExecutionSummaryList";
|
|
277
|
-
const _JESo = "JobExecutionSummary";
|
|
278
|
-
const _L = "L";
|
|
279
|
-
const _RNFE = "ResourceNotFoundException";
|
|
280
|
-
const _S = "S";
|
|
281
|
-
const _SCE = "StartCommandExecution";
|
|
282
|
-
const _SCER = "StartCommandExecutionRequest";
|
|
283
|
-
const _SCERt = "StartCommandExecutionResponse";
|
|
284
|
-
const _SNPJE = "StartNextPendingJobExecution";
|
|
285
|
-
const _SNPJER = "StartNextPendingJobExecutionRequest";
|
|
286
|
-
const _SNPJERt = "StartNextPendingJobExecutionResponse";
|
|
287
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
288
|
-
const _SUE = "ServiceUnavailableException";
|
|
289
|
-
const _TE = "ThrottlingException";
|
|
290
|
-
const _TSE = "TerminalStateException";
|
|
291
|
-
const _UJE = "UpdateJobExecution";
|
|
292
|
-
const _UJER = "UpdateJobExecutionRequest";
|
|
293
|
-
const _UJERp = "UpdateJobExecutionResponse";
|
|
294
|
-
const _UL = "UL";
|
|
295
|
-
const _VE = "ValidationException";
|
|
296
|
-
const _aSBTO = "approximateSecondsBeforeTimedOut";
|
|
297
|
-
const _c = "client";
|
|
298
|
-
const _cA = "commandArn";
|
|
299
|
-
const _cT = "clientToken";
|
|
300
|
-
const _e = "error";
|
|
301
|
-
const _eI = "executionId";
|
|
302
|
-
const _eN = "executionNumber";
|
|
303
|
-
const _eS = "executionState";
|
|
304
|
-
const _eTS = "executionTimeoutSeconds";
|
|
305
|
-
const _eV = "expectedVersion";
|
|
306
|
-
const _ex = "execution";
|
|
307
|
-
const _h = "http";
|
|
308
|
-
const _hE = "httpError";
|
|
309
|
-
const _hQ = "httpQuery";
|
|
310
|
-
const _iJD = "includeJobDocument";
|
|
311
|
-
const _iJES = "includeJobExecutionState";
|
|
312
|
-
const _iPJ = "inProgressJobs";
|
|
313
|
-
const _jD = "jobDocument";
|
|
314
|
-
const _jI = "jobId";
|
|
315
|
-
const _lUA = "lastUpdatedAt";
|
|
316
|
-
const _m = "message";
|
|
317
|
-
const _p = "parameters";
|
|
318
|
-
const _pa = "payload";
|
|
319
|
-
const _qA = "queuedAt";
|
|
320
|
-
const _qJ = "queuedJobs";
|
|
321
|
-
const _rI = "resourceId";
|
|
322
|
-
const _s = "server";
|
|
323
|
-
const _sA = "startedAt";
|
|
324
|
-
const _sD = "statusDetails";
|
|
325
|
-
const _sTIM = "stepTimeoutInMinutes";
|
|
326
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.iotjobsdataplane";
|
|
327
|
-
const _st = "status";
|
|
328
|
-
const _tA = "targetArn";
|
|
329
|
-
const _tN = "thingName";
|
|
330
|
-
const _vN = "versionNumber";
|
|
331
|
-
const n0 = "com.amazonaws.iotjobsdataplane";
|
|
332
|
-
var CertificateValidationException$ = [-3, n0, _CVE,
|
|
333
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
334
|
-
[_m],
|
|
335
|
-
[0]
|
|
336
|
-
];
|
|
337
|
-
schema.TypeRegistry.for(n0).registerError(CertificateValidationException$, CertificateValidationException);
|
|
338
|
-
var CommandParameterValue$ = [3, n0, _CPV,
|
|
339
|
-
0,
|
|
340
|
-
[_S, _B, _I, _L, _D, _BIN, _UL],
|
|
341
|
-
[0, 2, 1, 1, 1, 21, 0]
|
|
342
|
-
];
|
|
343
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
344
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
345
|
-
[_m, _rI],
|
|
346
|
-
[0, 0]
|
|
347
|
-
];
|
|
348
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
349
|
-
var DescribeJobExecutionRequest$ = [3, n0, _DJER,
|
|
350
|
-
0,
|
|
351
|
-
[_jI, _tN, _iJD, _eN],
|
|
352
|
-
[[0, 1], [0, 1], [2, { [_hQ]: _iJD }], [1, { [_hQ]: _eN }]], 2
|
|
353
|
-
];
|
|
354
|
-
var DescribeJobExecutionResponse$ = [3, n0, _DJERe,
|
|
355
|
-
0,
|
|
356
|
-
[_ex],
|
|
357
|
-
[() => JobExecution$]
|
|
358
|
-
];
|
|
359
|
-
var GetPendingJobExecutionsRequest$ = [3, n0, _GPJER,
|
|
360
|
-
0,
|
|
361
|
-
[_tN],
|
|
362
|
-
[[0, 1]], 1
|
|
363
|
-
];
|
|
364
|
-
var GetPendingJobExecutionsResponse$ = [3, n0, _GPJERe,
|
|
365
|
-
0,
|
|
366
|
-
[_iPJ, _qJ],
|
|
367
|
-
[() => JobExecutionSummaryList, () => JobExecutionSummaryList]
|
|
368
|
-
];
|
|
369
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
370
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
371
|
-
[_m],
|
|
372
|
-
[0]
|
|
373
|
-
];
|
|
374
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
375
|
-
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
376
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
377
|
-
[_m],
|
|
378
|
-
[0]
|
|
379
|
-
];
|
|
380
|
-
schema.TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
381
|
-
var InvalidStateTransitionException$ = [-3, n0, _ISTE,
|
|
382
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
383
|
-
[_m],
|
|
384
|
-
[0]
|
|
385
|
-
];
|
|
386
|
-
schema.TypeRegistry.for(n0).registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
|
|
387
|
-
var JobExecution$ = [3, n0, _JE,
|
|
388
|
-
0,
|
|
389
|
-
[_jI, _tN, _st, _sD, _qA, _sA, _lUA, _aSBTO, _vN, _eN, _jD],
|
|
390
|
-
[0, 0, 0, 128 | 0, 1, 1, 1, 1, 1, 1, 0]
|
|
391
|
-
];
|
|
392
|
-
var JobExecutionState$ = [3, n0, _JES,
|
|
393
|
-
0,
|
|
394
|
-
[_st, _sD, _vN],
|
|
395
|
-
[0, 128 | 0, 1]
|
|
396
|
-
];
|
|
397
|
-
var JobExecutionSummary$ = [3, n0, _JESo,
|
|
398
|
-
0,
|
|
399
|
-
[_jI, _qA, _sA, _lUA, _vN, _eN],
|
|
400
|
-
[0, 1, 1, 1, 1, 1]
|
|
401
|
-
];
|
|
402
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
403
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
404
|
-
[_m],
|
|
405
|
-
[0]
|
|
406
|
-
];
|
|
407
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
408
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
409
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
410
|
-
[_m],
|
|
411
|
-
[0]
|
|
412
|
-
];
|
|
413
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
414
|
-
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
415
|
-
{ [_e]: _s, [_hE]: 503 },
|
|
416
|
-
[_m],
|
|
417
|
-
[0]
|
|
418
|
-
];
|
|
419
|
-
schema.TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
420
|
-
var StartCommandExecutionRequest$ = [3, n0, _SCER,
|
|
421
|
-
0,
|
|
422
|
-
[_tA, _cA, _p, _eTS, _cT],
|
|
423
|
-
[0, 0, () => CommandExecutionParameterMap, 1, [0, 4]], 2
|
|
424
|
-
];
|
|
425
|
-
var StartCommandExecutionResponse$ = [3, n0, _SCERt,
|
|
426
|
-
0,
|
|
427
|
-
[_eI],
|
|
428
|
-
[0]
|
|
429
|
-
];
|
|
430
|
-
var StartNextPendingJobExecutionRequest$ = [3, n0, _SNPJER,
|
|
431
|
-
0,
|
|
432
|
-
[_tN, _sD, _sTIM],
|
|
433
|
-
[[0, 1], 128 | 0, 1], 1
|
|
434
|
-
];
|
|
435
|
-
var StartNextPendingJobExecutionResponse$ = [3, n0, _SNPJERt,
|
|
436
|
-
0,
|
|
437
|
-
[_ex],
|
|
438
|
-
[() => JobExecution$]
|
|
439
|
-
];
|
|
440
|
-
var TerminalStateException$ = [-3, n0, _TSE,
|
|
441
|
-
{ [_e]: _c, [_hE]: 410 },
|
|
442
|
-
[_m],
|
|
443
|
-
[0]
|
|
444
|
-
];
|
|
445
|
-
schema.TypeRegistry.for(n0).registerError(TerminalStateException$, TerminalStateException);
|
|
446
|
-
var ThrottlingException$ = [-3, n0, _TE,
|
|
447
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
448
|
-
[_m, _pa],
|
|
449
|
-
[0, 21]
|
|
450
|
-
];
|
|
451
|
-
schema.TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
452
|
-
var UpdateJobExecutionRequest$ = [3, n0, _UJER,
|
|
453
|
-
0,
|
|
454
|
-
[_jI, _tN, _st, _sD, _sTIM, _eV, _iJES, _iJD, _eN],
|
|
455
|
-
[[0, 1], [0, 1], 0, 128 | 0, 1, 1, 2, 2, 1], 3
|
|
456
|
-
];
|
|
457
|
-
var UpdateJobExecutionResponse$ = [3, n0, _UJERp,
|
|
458
|
-
0,
|
|
459
|
-
[_eS, _jD],
|
|
460
|
-
[() => JobExecutionState$, 0]
|
|
461
|
-
];
|
|
462
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
463
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
464
|
-
[_m],
|
|
465
|
-
[0]
|
|
466
|
-
];
|
|
467
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
468
|
-
var IoTJobsDataPlaneServiceException$ = [-3, _sm, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
469
|
-
schema.TypeRegistry.for(_sm).registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
470
|
-
var JobExecutionSummaryList = [1, n0, _JESL,
|
|
471
|
-
0, () => JobExecutionSummary$
|
|
472
|
-
];
|
|
473
|
-
var CommandExecutionParameterMap = [2, n0, _CEPM,
|
|
474
|
-
0, 0, () => CommandParameterValue$
|
|
475
|
-
];
|
|
476
|
-
var DescribeJobExecution$ = [9, n0, _DJE,
|
|
477
|
-
{ [_h]: ["GET", "/things/{thingName}/jobs/{jobId}", 200] }, () => DescribeJobExecutionRequest$, () => DescribeJobExecutionResponse$
|
|
478
|
-
];
|
|
479
|
-
var GetPendingJobExecutions$ = [9, n0, _GPJE,
|
|
480
|
-
{ [_h]: ["GET", "/things/{thingName}/jobs", 200] }, () => GetPendingJobExecutionsRequest$, () => GetPendingJobExecutionsResponse$
|
|
481
|
-
];
|
|
482
|
-
var StartCommandExecution$ = [9, n0, _SCE,
|
|
483
|
-
{ [_h]: ["POST", "/command-executions", 200] }, () => StartCommandExecutionRequest$, () => StartCommandExecutionResponse$
|
|
484
|
-
];
|
|
485
|
-
var StartNextPendingJobExecution$ = [9, n0, _SNPJE,
|
|
486
|
-
{ [_h]: ["PUT", "/things/{thingName}/jobs/$next", 200] }, () => StartNextPendingJobExecutionRequest$, () => StartNextPendingJobExecutionResponse$
|
|
487
|
-
];
|
|
488
|
-
var UpdateJobExecution$ = [9, n0, _UJE,
|
|
489
|
-
{ [_h]: ["POST", "/things/{thingName}/jobs/{jobId}", 200] }, () => UpdateJobExecutionRequest$, () => UpdateJobExecutionResponse$
|
|
490
|
-
];
|
|
491
|
-
|
|
492
116
|
class DescribeJobExecutionCommand extends smithyClient.Command
|
|
493
117
|
.classBuilder()
|
|
494
118
|
.ep(commonParams)
|
|
@@ -497,7 +121,7 @@ class DescribeJobExecutionCommand extends smithyClient.Command
|
|
|
497
121
|
})
|
|
498
122
|
.s("IotLaserThingJobManagerExternalService", "DescribeJobExecution", {})
|
|
499
123
|
.n("IoTJobsDataPlaneClient", "DescribeJobExecutionCommand")
|
|
500
|
-
.sc(DescribeJobExecution$)
|
|
124
|
+
.sc(schemas_0.DescribeJobExecution$)
|
|
501
125
|
.build() {
|
|
502
126
|
}
|
|
503
127
|
|
|
@@ -509,7 +133,7 @@ class GetPendingJobExecutionsCommand extends smithyClient.Command
|
|
|
509
133
|
})
|
|
510
134
|
.s("IotLaserThingJobManagerExternalService", "GetPendingJobExecutions", {})
|
|
511
135
|
.n("IoTJobsDataPlaneClient", "GetPendingJobExecutionsCommand")
|
|
512
|
-
.sc(GetPendingJobExecutions$)
|
|
136
|
+
.sc(schemas_0.GetPendingJobExecutions$)
|
|
513
137
|
.build() {
|
|
514
138
|
}
|
|
515
139
|
|
|
@@ -521,7 +145,7 @@ class StartCommandExecutionCommand extends smithyClient.Command
|
|
|
521
145
|
})
|
|
522
146
|
.s("IotLaserThingJobManagerExternalService", "StartCommandExecution", {})
|
|
523
147
|
.n("IoTJobsDataPlaneClient", "StartCommandExecutionCommand")
|
|
524
|
-
.sc(StartCommandExecution$)
|
|
148
|
+
.sc(schemas_0.StartCommandExecution$)
|
|
525
149
|
.build() {
|
|
526
150
|
}
|
|
527
151
|
|
|
@@ -533,7 +157,7 @@ class StartNextPendingJobExecutionCommand extends smithyClient.Command
|
|
|
533
157
|
})
|
|
534
158
|
.s("IotLaserThingJobManagerExternalService", "StartNextPendingJobExecution", {})
|
|
535
159
|
.n("IoTJobsDataPlaneClient", "StartNextPendingJobExecutionCommand")
|
|
536
|
-
.sc(StartNextPendingJobExecution$)
|
|
160
|
+
.sc(schemas_0.StartNextPendingJobExecution$)
|
|
537
161
|
.build() {
|
|
538
162
|
}
|
|
539
163
|
|
|
@@ -545,7 +169,7 @@ class UpdateJobExecutionCommand extends smithyClient.Command
|
|
|
545
169
|
})
|
|
546
170
|
.s("IotLaserThingJobManagerExternalService", "UpdateJobExecution", {})
|
|
547
171
|
.n("IoTJobsDataPlaneClient", "UpdateJobExecutionCommand")
|
|
548
|
-
.sc(UpdateJobExecution$)
|
|
172
|
+
.sc(schemas_0.UpdateJobExecution$)
|
|
549
173
|
.build() {
|
|
550
174
|
}
|
|
551
175
|
|
|
@@ -579,54 +203,27 @@ Object.defineProperty(exports, "__Client", {
|
|
|
579
203
|
enumerable: true,
|
|
580
204
|
get: function () { return smithyClient.Client; }
|
|
581
205
|
});
|
|
582
|
-
exports
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
exports.ConflictException$ = ConflictException$;
|
|
587
|
-
exports.DescribeJobExecution$ = DescribeJobExecution$;
|
|
206
|
+
Object.defineProperty(exports, "IoTJobsDataPlaneServiceException", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function () { return IoTJobsDataPlaneServiceException.IoTJobsDataPlaneServiceException; }
|
|
209
|
+
});
|
|
588
210
|
exports.DescribeJobExecutionCommand = DescribeJobExecutionCommand;
|
|
589
|
-
exports.DescribeJobExecutionRequest$ = DescribeJobExecutionRequest$;
|
|
590
|
-
exports.DescribeJobExecutionResponse$ = DescribeJobExecutionResponse$;
|
|
591
|
-
exports.GetPendingJobExecutions$ = GetPendingJobExecutions$;
|
|
592
211
|
exports.GetPendingJobExecutionsCommand = GetPendingJobExecutionsCommand;
|
|
593
|
-
exports.GetPendingJobExecutionsRequest$ = GetPendingJobExecutionsRequest$;
|
|
594
|
-
exports.GetPendingJobExecutionsResponse$ = GetPendingJobExecutionsResponse$;
|
|
595
|
-
exports.InternalServerException = InternalServerException;
|
|
596
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
597
|
-
exports.InvalidRequestException = InvalidRequestException;
|
|
598
|
-
exports.InvalidRequestException$ = InvalidRequestException$;
|
|
599
|
-
exports.InvalidStateTransitionException = InvalidStateTransitionException;
|
|
600
|
-
exports.InvalidStateTransitionException$ = InvalidStateTransitionException$;
|
|
601
212
|
exports.IoTJobsDataPlane = IoTJobsDataPlane;
|
|
602
213
|
exports.IoTJobsDataPlaneClient = IoTJobsDataPlaneClient;
|
|
603
|
-
exports.IoTJobsDataPlaneServiceException = IoTJobsDataPlaneServiceException;
|
|
604
|
-
exports.IoTJobsDataPlaneServiceException$ = IoTJobsDataPlaneServiceException$;
|
|
605
|
-
exports.JobExecution$ = JobExecution$;
|
|
606
|
-
exports.JobExecutionState$ = JobExecutionState$;
|
|
607
214
|
exports.JobExecutionStatus = JobExecutionStatus;
|
|
608
|
-
exports.JobExecutionSummary$ = JobExecutionSummary$;
|
|
609
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
610
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
611
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
612
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
613
|
-
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
614
|
-
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
615
|
-
exports.StartCommandExecution$ = StartCommandExecution$;
|
|
616
215
|
exports.StartCommandExecutionCommand = StartCommandExecutionCommand;
|
|
617
|
-
exports.StartCommandExecutionRequest$ = StartCommandExecutionRequest$;
|
|
618
|
-
exports.StartCommandExecutionResponse$ = StartCommandExecutionResponse$;
|
|
619
|
-
exports.StartNextPendingJobExecution$ = StartNextPendingJobExecution$;
|
|
620
216
|
exports.StartNextPendingJobExecutionCommand = StartNextPendingJobExecutionCommand;
|
|
621
|
-
exports.StartNextPendingJobExecutionRequest$ = StartNextPendingJobExecutionRequest$;
|
|
622
|
-
exports.StartNextPendingJobExecutionResponse$ = StartNextPendingJobExecutionResponse$;
|
|
623
|
-
exports.TerminalStateException = TerminalStateException;
|
|
624
|
-
exports.TerminalStateException$ = TerminalStateException$;
|
|
625
|
-
exports.ThrottlingException = ThrottlingException;
|
|
626
|
-
exports.ThrottlingException$ = ThrottlingException$;
|
|
627
|
-
exports.UpdateJobExecution$ = UpdateJobExecution$;
|
|
628
217
|
exports.UpdateJobExecutionCommand = UpdateJobExecutionCommand;
|
|
629
|
-
|
|
630
|
-
exports.
|
|
631
|
-
|
|
632
|
-
|
|
218
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
219
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return schemas_0[k]; }
|
|
222
|
+
});
|
|
223
|
+
});
|
|
224
|
+
Object.keys(errors).forEach(function (k) {
|
|
225
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
226
|
+
enumerable: true,
|
|
227
|
+
get: function () { return errors[k]; }
|
|
228
|
+
});
|
|
229
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IoTJobsDataPlaneServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class IoTJobsDataPlaneServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, IoTJobsDataPlaneServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.IoTJobsDataPlaneServiceException = IoTJobsDataPlaneServiceException;
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationException = exports.ServiceQuotaExceededException = exports.InvalidStateTransitionException = exports.InternalServerException = exports.ThrottlingException = exports.TerminalStateException = exports.ServiceUnavailableException = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.ConflictException = exports.CertificateValidationException = void 0;
|
|
4
|
+
const IoTJobsDataPlaneServiceException_1 = require("./IoTJobsDataPlaneServiceException");
|
|
5
|
+
class CertificateValidationException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
6
|
+
name = "CertificateValidationException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "CertificateValidationException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, CertificateValidationException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.CertificateValidationException = CertificateValidationException;
|
|
18
|
+
class ConflictException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
19
|
+
name = "ConflictException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
resourceId;
|
|
22
|
+
constructor(opts) {
|
|
23
|
+
super({
|
|
24
|
+
name: "ConflictException",
|
|
25
|
+
$fault: "client",
|
|
26
|
+
...opts,
|
|
27
|
+
});
|
|
28
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
+
this.resourceId = opts.resourceId;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.ConflictException = ConflictException;
|
|
33
|
+
class InvalidRequestException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
34
|
+
name = "InvalidRequestException";
|
|
35
|
+
$fault = "client";
|
|
36
|
+
constructor(opts) {
|
|
37
|
+
super({
|
|
38
|
+
name: "InvalidRequestException",
|
|
39
|
+
$fault: "client",
|
|
40
|
+
...opts,
|
|
41
|
+
});
|
|
42
|
+
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.InvalidRequestException = InvalidRequestException;
|
|
46
|
+
class ResourceNotFoundException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
47
|
+
name = "ResourceNotFoundException";
|
|
48
|
+
$fault = "client";
|
|
49
|
+
constructor(opts) {
|
|
50
|
+
super({
|
|
51
|
+
name: "ResourceNotFoundException",
|
|
52
|
+
$fault: "client",
|
|
53
|
+
...opts,
|
|
54
|
+
});
|
|
55
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
59
|
+
class ServiceUnavailableException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
60
|
+
name = "ServiceUnavailableException";
|
|
61
|
+
$fault = "server";
|
|
62
|
+
constructor(opts) {
|
|
63
|
+
super({
|
|
64
|
+
name: "ServiceUnavailableException",
|
|
65
|
+
$fault: "server",
|
|
66
|
+
...opts,
|
|
67
|
+
});
|
|
68
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
72
|
+
class TerminalStateException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
73
|
+
name = "TerminalStateException";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
constructor(opts) {
|
|
76
|
+
super({
|
|
77
|
+
name: "TerminalStateException",
|
|
78
|
+
$fault: "client",
|
|
79
|
+
...opts,
|
|
80
|
+
});
|
|
81
|
+
Object.setPrototypeOf(this, TerminalStateException.prototype);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.TerminalStateException = TerminalStateException;
|
|
85
|
+
class ThrottlingException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
86
|
+
name = "ThrottlingException";
|
|
87
|
+
$fault = "client";
|
|
88
|
+
payload;
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "ThrottlingException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
96
|
+
this.payload = opts.payload;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.ThrottlingException = ThrottlingException;
|
|
100
|
+
class InternalServerException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
101
|
+
name = "InternalServerException";
|
|
102
|
+
$fault = "server";
|
|
103
|
+
constructor(opts) {
|
|
104
|
+
super({
|
|
105
|
+
name: "InternalServerException",
|
|
106
|
+
$fault: "server",
|
|
107
|
+
...opts,
|
|
108
|
+
});
|
|
109
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
exports.InternalServerException = InternalServerException;
|
|
113
|
+
class InvalidStateTransitionException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
114
|
+
name = "InvalidStateTransitionException";
|
|
115
|
+
$fault = "client";
|
|
116
|
+
constructor(opts) {
|
|
117
|
+
super({
|
|
118
|
+
name: "InvalidStateTransitionException",
|
|
119
|
+
$fault: "client",
|
|
120
|
+
...opts,
|
|
121
|
+
});
|
|
122
|
+
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.InvalidStateTransitionException = InvalidStateTransitionException;
|
|
126
|
+
class ServiceQuotaExceededException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
127
|
+
name = "ServiceQuotaExceededException";
|
|
128
|
+
$fault = "client";
|
|
129
|
+
constructor(opts) {
|
|
130
|
+
super({
|
|
131
|
+
name: "ServiceQuotaExceededException",
|
|
132
|
+
$fault: "client",
|
|
133
|
+
...opts,
|
|
134
|
+
});
|
|
135
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
139
|
+
class ValidationException extends IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException {
|
|
140
|
+
name = "ValidationException";
|
|
141
|
+
$fault = "client";
|
|
142
|
+
constructor(opts) {
|
|
143
|
+
super({
|
|
144
|
+
name: "ValidationException",
|
|
145
|
+
$fault: "client",
|
|
146
|
+
...opts,
|
|
147
|
+
});
|
|
148
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.ValidationException = ValidationException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2017-09-29",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.iotjobsdataplane",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2017-09-29",
|
|
33
35
|
serviceTarget: "IotLaserThingJobManagerExternalService",
|
|
34
36
|
},
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateJobExecution$ = exports.StartNextPendingJobExecution$ = exports.StartCommandExecution$ = exports.GetPendingJobExecutions$ = exports.DescribeJobExecution$ = exports.UpdateJobExecutionResponse$ = exports.UpdateJobExecutionRequest$ = exports.StartNextPendingJobExecutionResponse$ = exports.StartNextPendingJobExecutionRequest$ = exports.StartCommandExecutionResponse$ = exports.StartCommandExecutionRequest$ = exports.JobExecutionSummary$ = exports.JobExecutionState$ = exports.JobExecution$ = exports.GetPendingJobExecutionsResponse$ = exports.GetPendingJobExecutionsRequest$ = exports.DescribeJobExecutionResponse$ = exports.DescribeJobExecutionRequest$ = exports.CommandParameterValue$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.TerminalStateException$ = exports.ServiceUnavailableException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InvalidStateTransitionException$ = exports.InvalidRequestException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.CertificateValidationException$ = exports.IoTJobsDataPlaneServiceException$ = void 0;
|
|
4
|
+
const _B = "B";
|
|
5
|
+
const _BIN = "BIN";
|
|
6
|
+
const _CE = "ConflictException";
|
|
7
|
+
const _CEPM = "CommandExecutionParameterMap";
|
|
8
|
+
const _CPV = "CommandParameterValue";
|
|
9
|
+
const _CVE = "CertificateValidationException";
|
|
10
|
+
const _D = "D";
|
|
11
|
+
const _DJE = "DescribeJobExecution";
|
|
12
|
+
const _DJER = "DescribeJobExecutionRequest";
|
|
13
|
+
const _DJERe = "DescribeJobExecutionResponse";
|
|
14
|
+
const _GPJE = "GetPendingJobExecutions";
|
|
15
|
+
const _GPJER = "GetPendingJobExecutionsRequest";
|
|
16
|
+
const _GPJERe = "GetPendingJobExecutionsResponse";
|
|
17
|
+
const _I = "I";
|
|
18
|
+
const _IRE = "InvalidRequestException";
|
|
19
|
+
const _ISE = "InternalServerException";
|
|
20
|
+
const _ISTE = "InvalidStateTransitionException";
|
|
21
|
+
const _JE = "JobExecution";
|
|
22
|
+
const _JES = "JobExecutionState";
|
|
23
|
+
const _JESL = "JobExecutionSummaryList";
|
|
24
|
+
const _JESo = "JobExecutionSummary";
|
|
25
|
+
const _L = "L";
|
|
26
|
+
const _RNFE = "ResourceNotFoundException";
|
|
27
|
+
const _S = "S";
|
|
28
|
+
const _SCE = "StartCommandExecution";
|
|
29
|
+
const _SCER = "StartCommandExecutionRequest";
|
|
30
|
+
const _SCERt = "StartCommandExecutionResponse";
|
|
31
|
+
const _SNPJE = "StartNextPendingJobExecution";
|
|
32
|
+
const _SNPJER = "StartNextPendingJobExecutionRequest";
|
|
33
|
+
const _SNPJERt = "StartNextPendingJobExecutionResponse";
|
|
34
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
35
|
+
const _SUE = "ServiceUnavailableException";
|
|
36
|
+
const _TE = "ThrottlingException";
|
|
37
|
+
const _TSE = "TerminalStateException";
|
|
38
|
+
const _UJE = "UpdateJobExecution";
|
|
39
|
+
const _UJER = "UpdateJobExecutionRequest";
|
|
40
|
+
const _UJERp = "UpdateJobExecutionResponse";
|
|
41
|
+
const _UL = "UL";
|
|
42
|
+
const _VE = "ValidationException";
|
|
43
|
+
const _aSBTO = "approximateSecondsBeforeTimedOut";
|
|
44
|
+
const _c = "client";
|
|
45
|
+
const _cA = "commandArn";
|
|
46
|
+
const _cT = "clientToken";
|
|
47
|
+
const _e = "error";
|
|
48
|
+
const _eI = "executionId";
|
|
49
|
+
const _eN = "executionNumber";
|
|
50
|
+
const _eS = "executionState";
|
|
51
|
+
const _eTS = "executionTimeoutSeconds";
|
|
52
|
+
const _eV = "expectedVersion";
|
|
53
|
+
const _ex = "execution";
|
|
54
|
+
const _h = "http";
|
|
55
|
+
const _hE = "httpError";
|
|
56
|
+
const _hQ = "httpQuery";
|
|
57
|
+
const _iJD = "includeJobDocument";
|
|
58
|
+
const _iJES = "includeJobExecutionState";
|
|
59
|
+
const _iPJ = "inProgressJobs";
|
|
60
|
+
const _jD = "jobDocument";
|
|
61
|
+
const _jI = "jobId";
|
|
62
|
+
const _lUA = "lastUpdatedAt";
|
|
63
|
+
const _m = "message";
|
|
64
|
+
const _p = "payload";
|
|
65
|
+
const _pa = "parameters";
|
|
66
|
+
const _qA = "queuedAt";
|
|
67
|
+
const _qJ = "queuedJobs";
|
|
68
|
+
const _rI = "resourceId";
|
|
69
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotjobsdataplane";
|
|
70
|
+
const _sA = "startedAt";
|
|
71
|
+
const _sD = "statusDetails";
|
|
72
|
+
const _sTIM = "stepTimeoutInMinutes";
|
|
73
|
+
const _se = "server";
|
|
74
|
+
const _st = "status";
|
|
75
|
+
const _tA = "targetArn";
|
|
76
|
+
const _tN = "thingName";
|
|
77
|
+
const _vN = "versionNumber";
|
|
78
|
+
const n0 = "com.amazonaws.iotjobsdataplane";
|
|
79
|
+
const schema_1 = require("@smithy/core/schema");
|
|
80
|
+
const errors_1 = require("../models/errors");
|
|
81
|
+
const IoTJobsDataPlaneServiceException_1 = require("../models/IoTJobsDataPlaneServiceException");
|
|
82
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
83
|
+
exports.IoTJobsDataPlaneServiceException$ = [-3, _s, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
84
|
+
_s_registry.registerError(exports.IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException_1.IoTJobsDataPlaneServiceException);
|
|
85
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
86
|
+
exports.CertificateValidationException$ = [-3, n0, _CVE,
|
|
87
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
88
|
+
[_m],
|
|
89
|
+
[0]
|
|
90
|
+
];
|
|
91
|
+
n0_registry.registerError(exports.CertificateValidationException$, errors_1.CertificateValidationException);
|
|
92
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
93
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
94
|
+
[_m, _rI],
|
|
95
|
+
[0, 0]
|
|
96
|
+
];
|
|
97
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
98
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
99
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
100
|
+
[_m],
|
|
101
|
+
[0]
|
|
102
|
+
];
|
|
103
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
104
|
+
exports.InvalidRequestException$ = [-3, n0, _IRE,
|
|
105
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
106
|
+
[_m],
|
|
107
|
+
[0]
|
|
108
|
+
];
|
|
109
|
+
n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
|
|
110
|
+
exports.InvalidStateTransitionException$ = [-3, n0, _ISTE,
|
|
111
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
112
|
+
[_m],
|
|
113
|
+
[0]
|
|
114
|
+
];
|
|
115
|
+
n0_registry.registerError(exports.InvalidStateTransitionException$, errors_1.InvalidStateTransitionException);
|
|
116
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
117
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
118
|
+
[_m],
|
|
119
|
+
[0]
|
|
120
|
+
];
|
|
121
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
122
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
123
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
124
|
+
[_m],
|
|
125
|
+
[0]
|
|
126
|
+
];
|
|
127
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
128
|
+
exports.ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
129
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
130
|
+
[_m],
|
|
131
|
+
[0]
|
|
132
|
+
];
|
|
133
|
+
n0_registry.registerError(exports.ServiceUnavailableException$, errors_1.ServiceUnavailableException);
|
|
134
|
+
exports.TerminalStateException$ = [-3, n0, _TSE,
|
|
135
|
+
{ [_e]: _c, [_hE]: 410 },
|
|
136
|
+
[_m],
|
|
137
|
+
[0]
|
|
138
|
+
];
|
|
139
|
+
n0_registry.registerError(exports.TerminalStateException$, errors_1.TerminalStateException);
|
|
140
|
+
exports.ThrottlingException$ = [-3, n0, _TE,
|
|
141
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
142
|
+
[_m, _p],
|
|
143
|
+
[0, 21]
|
|
144
|
+
];
|
|
145
|
+
n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
|
|
146
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
147
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
148
|
+
[_m],
|
|
149
|
+
[0]
|
|
150
|
+
];
|
|
151
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
152
|
+
exports.errorTypeRegistries = [
|
|
153
|
+
_s_registry,
|
|
154
|
+
n0_registry,
|
|
155
|
+
];
|
|
156
|
+
exports.CommandParameterValue$ = [3, n0, _CPV,
|
|
157
|
+
0,
|
|
158
|
+
[_S, _B, _I, _L, _D, _BIN, _UL],
|
|
159
|
+
[0, 2, 1, 1, 1, 21, 0]
|
|
160
|
+
];
|
|
161
|
+
exports.DescribeJobExecutionRequest$ = [3, n0, _DJER,
|
|
162
|
+
0,
|
|
163
|
+
[_jI, _tN, _iJD, _eN],
|
|
164
|
+
[[0, 1], [0, 1], [2, { [_hQ]: _iJD }], [1, { [_hQ]: _eN }]], 2
|
|
165
|
+
];
|
|
166
|
+
exports.DescribeJobExecutionResponse$ = [3, n0, _DJERe,
|
|
167
|
+
0,
|
|
168
|
+
[_ex],
|
|
169
|
+
[() => exports.JobExecution$]
|
|
170
|
+
];
|
|
171
|
+
exports.GetPendingJobExecutionsRequest$ = [3, n0, _GPJER,
|
|
172
|
+
0,
|
|
173
|
+
[_tN],
|
|
174
|
+
[[0, 1]], 1
|
|
175
|
+
];
|
|
176
|
+
exports.GetPendingJobExecutionsResponse$ = [3, n0, _GPJERe,
|
|
177
|
+
0,
|
|
178
|
+
[_iPJ, _qJ],
|
|
179
|
+
[() => JobExecutionSummaryList, () => JobExecutionSummaryList]
|
|
180
|
+
];
|
|
181
|
+
exports.JobExecution$ = [3, n0, _JE,
|
|
182
|
+
0,
|
|
183
|
+
[_jI, _tN, _st, _sD, _qA, _sA, _lUA, _aSBTO, _vN, _eN, _jD],
|
|
184
|
+
[0, 0, 0, 128 | 0, 1, 1, 1, 1, 1, 1, 0]
|
|
185
|
+
];
|
|
186
|
+
exports.JobExecutionState$ = [3, n0, _JES,
|
|
187
|
+
0,
|
|
188
|
+
[_st, _sD, _vN],
|
|
189
|
+
[0, 128 | 0, 1]
|
|
190
|
+
];
|
|
191
|
+
exports.JobExecutionSummary$ = [3, n0, _JESo,
|
|
192
|
+
0,
|
|
193
|
+
[_jI, _qA, _sA, _lUA, _vN, _eN],
|
|
194
|
+
[0, 1, 1, 1, 1, 1]
|
|
195
|
+
];
|
|
196
|
+
exports.StartCommandExecutionRequest$ = [3, n0, _SCER,
|
|
197
|
+
0,
|
|
198
|
+
[_tA, _cA, _pa, _eTS, _cT],
|
|
199
|
+
[0, 0, () => CommandExecutionParameterMap, 1, [0, 4]], 2
|
|
200
|
+
];
|
|
201
|
+
exports.StartCommandExecutionResponse$ = [3, n0, _SCERt,
|
|
202
|
+
0,
|
|
203
|
+
[_eI],
|
|
204
|
+
[0]
|
|
205
|
+
];
|
|
206
|
+
exports.StartNextPendingJobExecutionRequest$ = [3, n0, _SNPJER,
|
|
207
|
+
0,
|
|
208
|
+
[_tN, _sD, _sTIM],
|
|
209
|
+
[[0, 1], 128 | 0, 1], 1
|
|
210
|
+
];
|
|
211
|
+
exports.StartNextPendingJobExecutionResponse$ = [3, n0, _SNPJERt,
|
|
212
|
+
0,
|
|
213
|
+
[_ex],
|
|
214
|
+
[() => exports.JobExecution$]
|
|
215
|
+
];
|
|
216
|
+
exports.UpdateJobExecutionRequest$ = [3, n0, _UJER,
|
|
217
|
+
0,
|
|
218
|
+
[_jI, _tN, _st, _sD, _sTIM, _eV, _iJES, _iJD, _eN],
|
|
219
|
+
[[0, 1], [0, 1], 0, 128 | 0, 1, 1, 2, 2, 1], 3
|
|
220
|
+
];
|
|
221
|
+
exports.UpdateJobExecutionResponse$ = [3, n0, _UJERp,
|
|
222
|
+
0,
|
|
223
|
+
[_eS, _jD],
|
|
224
|
+
[() => exports.JobExecutionState$, 0]
|
|
225
|
+
];
|
|
226
|
+
var JobExecutionSummaryList = [1, n0, _JESL,
|
|
227
|
+
0, () => exports.JobExecutionSummary$
|
|
228
|
+
];
|
|
229
|
+
var CommandExecutionParameterMap = [2, n0, _CEPM,
|
|
230
|
+
0, 0, () => exports.CommandParameterValue$
|
|
231
|
+
];
|
|
232
|
+
var DetailsMap = 128 | 0;
|
|
233
|
+
exports.DescribeJobExecution$ = [9, n0, _DJE,
|
|
234
|
+
{ [_h]: ["GET", "/things/{thingName}/jobs/{jobId}", 200] }, () => exports.DescribeJobExecutionRequest$, () => exports.DescribeJobExecutionResponse$
|
|
235
|
+
];
|
|
236
|
+
exports.GetPendingJobExecutions$ = [9, n0, _GPJE,
|
|
237
|
+
{ [_h]: ["GET", "/things/{thingName}/jobs", 200] }, () => exports.GetPendingJobExecutionsRequest$, () => exports.GetPendingJobExecutionsResponse$
|
|
238
|
+
];
|
|
239
|
+
exports.StartCommandExecution$ = [9, n0, _SCE,
|
|
240
|
+
{ [_h]: ["POST", "/command-executions", 200] }, () => exports.StartCommandExecutionRequest$, () => exports.StartCommandExecutionResponse$
|
|
241
|
+
];
|
|
242
|
+
exports.StartNextPendingJobExecution$ = [9, n0, _SNPJE,
|
|
243
|
+
{ [_h]: ["PUT", "/things/{thingName}/jobs/$next", 200] }, () => exports.StartNextPendingJobExecutionRequest$, () => exports.StartNextPendingJobExecutionResponse$
|
|
244
|
+
];
|
|
245
|
+
exports.UpdateJobExecution$ = [9, n0, _UJE,
|
|
246
|
+
{ [_h]: ["POST", "/things/{thingName}/jobs/{jobId}", 200] }, () => exports.UpdateJobExecutionRequest$, () => exports.UpdateJobExecutionResponse$
|
|
247
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultIoTJobsDataPlaneHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2017-09-29",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.iotjobsdataplane",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2017-09-29",
|
|
30
32
|
serviceTarget: "IotLaserThingJobManagerExternalService",
|
|
31
33
|
},
|
|
@@ -58,16 +58,16 @@ const _jD = "jobDocument";
|
|
|
58
58
|
const _jI = "jobId";
|
|
59
59
|
const _lUA = "lastUpdatedAt";
|
|
60
60
|
const _m = "message";
|
|
61
|
-
const _p = "
|
|
62
|
-
const _pa = "
|
|
61
|
+
const _p = "payload";
|
|
62
|
+
const _pa = "parameters";
|
|
63
63
|
const _qA = "queuedAt";
|
|
64
64
|
const _qJ = "queuedJobs";
|
|
65
65
|
const _rI = "resourceId";
|
|
66
|
-
const _s = "
|
|
66
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.iotjobsdataplane";
|
|
67
67
|
const _sA = "startedAt";
|
|
68
68
|
const _sD = "statusDetails";
|
|
69
69
|
const _sTIM = "stepTimeoutInMinutes";
|
|
70
|
-
const
|
|
70
|
+
const _se = "server";
|
|
71
71
|
const _st = "status";
|
|
72
72
|
const _tA = "targetArn";
|
|
73
73
|
const _tN = "thingName";
|
|
@@ -76,23 +76,85 @@ const n0 = "com.amazonaws.iotjobsdataplane";
|
|
|
76
76
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
77
77
|
import { CertificateValidationException, ConflictException, InternalServerException, InvalidRequestException, InvalidStateTransitionException, ResourceNotFoundException, ServiceQuotaExceededException, ServiceUnavailableException, TerminalStateException, ThrottlingException, ValidationException, } from "../models/errors";
|
|
78
78
|
import { IoTJobsDataPlaneServiceException } from "../models/IoTJobsDataPlaneServiceException";
|
|
79
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
80
|
+
export var IoTJobsDataPlaneServiceException$ = [-3, _s, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
81
|
+
_s_registry.registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
82
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
79
83
|
export var CertificateValidationException$ = [-3, n0, _CVE,
|
|
80
84
|
{ [_e]: _c, [_hE]: 400 },
|
|
81
85
|
[_m],
|
|
82
86
|
[0]
|
|
83
87
|
];
|
|
84
|
-
|
|
85
|
-
export var CommandParameterValue$ = [3, n0, _CPV,
|
|
86
|
-
0,
|
|
87
|
-
[_S, _B, _I, _L, _D, _BIN, _UL],
|
|
88
|
-
[0, 2, 1, 1, 1, 21, 0]
|
|
89
|
-
];
|
|
88
|
+
n0_registry.registerError(CertificateValidationException$, CertificateValidationException);
|
|
90
89
|
export var ConflictException$ = [-3, n0, _CE,
|
|
91
90
|
{ [_e]: _c, [_hE]: 409 },
|
|
92
91
|
[_m, _rI],
|
|
93
92
|
[0, 0]
|
|
94
93
|
];
|
|
95
|
-
|
|
94
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
95
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
96
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
97
|
+
[_m],
|
|
98
|
+
[0]
|
|
99
|
+
];
|
|
100
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
101
|
+
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
102
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
103
|
+
[_m],
|
|
104
|
+
[0]
|
|
105
|
+
];
|
|
106
|
+
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
107
|
+
export var InvalidStateTransitionException$ = [-3, n0, _ISTE,
|
|
108
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
109
|
+
[_m],
|
|
110
|
+
[0]
|
|
111
|
+
];
|
|
112
|
+
n0_registry.registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
|
|
113
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
114
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
115
|
+
[_m],
|
|
116
|
+
[0]
|
|
117
|
+
];
|
|
118
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
119
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
120
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
121
|
+
[_m],
|
|
122
|
+
[0]
|
|
123
|
+
];
|
|
124
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
125
|
+
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
126
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
127
|
+
[_m],
|
|
128
|
+
[0]
|
|
129
|
+
];
|
|
130
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
131
|
+
export var TerminalStateException$ = [-3, n0, _TSE,
|
|
132
|
+
{ [_e]: _c, [_hE]: 410 },
|
|
133
|
+
[_m],
|
|
134
|
+
[0]
|
|
135
|
+
];
|
|
136
|
+
n0_registry.registerError(TerminalStateException$, TerminalStateException);
|
|
137
|
+
export var ThrottlingException$ = [-3, n0, _TE,
|
|
138
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
139
|
+
[_m, _p],
|
|
140
|
+
[0, 21]
|
|
141
|
+
];
|
|
142
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
143
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
144
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
145
|
+
[_m],
|
|
146
|
+
[0]
|
|
147
|
+
];
|
|
148
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
149
|
+
export const errorTypeRegistries = [
|
|
150
|
+
_s_registry,
|
|
151
|
+
n0_registry,
|
|
152
|
+
];
|
|
153
|
+
export var CommandParameterValue$ = [3, n0, _CPV,
|
|
154
|
+
0,
|
|
155
|
+
[_S, _B, _I, _L, _D, _BIN, _UL],
|
|
156
|
+
[0, 2, 1, 1, 1, 21, 0]
|
|
157
|
+
];
|
|
96
158
|
export var DescribeJobExecutionRequest$ = [3, n0, _DJER,
|
|
97
159
|
0,
|
|
98
160
|
[_jI, _tN, _iJD, _eN],
|
|
@@ -113,24 +175,6 @@ export var GetPendingJobExecutionsResponse$ = [3, n0, _GPJERe,
|
|
|
113
175
|
[_iPJ, _qJ],
|
|
114
176
|
[() => JobExecutionSummaryList, () => JobExecutionSummaryList]
|
|
115
177
|
];
|
|
116
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
117
|
-
{ [_e]: _s, [_hE]: 500 },
|
|
118
|
-
[_m],
|
|
119
|
-
[0]
|
|
120
|
-
];
|
|
121
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
122
|
-
export var InvalidRequestException$ = [-3, n0, _IRE,
|
|
123
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
124
|
-
[_m],
|
|
125
|
-
[0]
|
|
126
|
-
];
|
|
127
|
-
TypeRegistry.for(n0).registerError(InvalidRequestException$, InvalidRequestException);
|
|
128
|
-
export var InvalidStateTransitionException$ = [-3, n0, _ISTE,
|
|
129
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
130
|
-
[_m],
|
|
131
|
-
[0]
|
|
132
|
-
];
|
|
133
|
-
TypeRegistry.for(n0).registerError(InvalidStateTransitionException$, InvalidStateTransitionException);
|
|
134
178
|
export var JobExecution$ = [3, n0, _JE,
|
|
135
179
|
0,
|
|
136
180
|
[_jI, _tN, _st, _sD, _qA, _sA, _lUA, _aSBTO, _vN, _eN, _jD],
|
|
@@ -146,27 +190,9 @@ export var JobExecutionSummary$ = [3, n0, _JESo,
|
|
|
146
190
|
[_jI, _qA, _sA, _lUA, _vN, _eN],
|
|
147
191
|
[0, 1, 1, 1, 1, 1]
|
|
148
192
|
];
|
|
149
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
150
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
151
|
-
[_m],
|
|
152
|
-
[0]
|
|
153
|
-
];
|
|
154
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
155
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
156
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
157
|
-
[_m],
|
|
158
|
-
[0]
|
|
159
|
-
];
|
|
160
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
161
|
-
export var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
162
|
-
{ [_e]: _s, [_hE]: 503 },
|
|
163
|
-
[_m],
|
|
164
|
-
[0]
|
|
165
|
-
];
|
|
166
|
-
TypeRegistry.for(n0).registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
167
193
|
export var StartCommandExecutionRequest$ = [3, n0, _SCER,
|
|
168
194
|
0,
|
|
169
|
-
[_tA, _cA,
|
|
195
|
+
[_tA, _cA, _pa, _eTS, _cT],
|
|
170
196
|
[0, 0, () => CommandExecutionParameterMap, 1, [0, 4]], 2
|
|
171
197
|
];
|
|
172
198
|
export var StartCommandExecutionResponse$ = [3, n0, _SCERt,
|
|
@@ -184,18 +210,6 @@ export var StartNextPendingJobExecutionResponse$ = [3, n0, _SNPJERt,
|
|
|
184
210
|
[_ex],
|
|
185
211
|
[() => JobExecution$]
|
|
186
212
|
];
|
|
187
|
-
export var TerminalStateException$ = [-3, n0, _TSE,
|
|
188
|
-
{ [_e]: _c, [_hE]: 410 },
|
|
189
|
-
[_m],
|
|
190
|
-
[0]
|
|
191
|
-
];
|
|
192
|
-
TypeRegistry.for(n0).registerError(TerminalStateException$, TerminalStateException);
|
|
193
|
-
export var ThrottlingException$ = [-3, n0, _TE,
|
|
194
|
-
{ [_e]: _c, [_hE]: 429 },
|
|
195
|
-
[_m, _pa],
|
|
196
|
-
[0, 21]
|
|
197
|
-
];
|
|
198
|
-
TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
|
|
199
213
|
export var UpdateJobExecutionRequest$ = [3, n0, _UJER,
|
|
200
214
|
0,
|
|
201
215
|
[_jI, _tN, _st, _sD, _sTIM, _eV, _iJES, _iJD, _eN],
|
|
@@ -206,14 +220,6 @@ export var UpdateJobExecutionResponse$ = [3, n0, _UJERp,
|
|
|
206
220
|
[_eS, _jD],
|
|
207
221
|
[() => JobExecutionState$, 0]
|
|
208
222
|
];
|
|
209
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
210
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
211
|
-
[_m],
|
|
212
|
-
[0]
|
|
213
|
-
];
|
|
214
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
215
|
-
export var IoTJobsDataPlaneServiceException$ = [-3, _sm, "IoTJobsDataPlaneServiceException", 0, [], []];
|
|
216
|
-
TypeRegistry.for(_sm).registerError(IoTJobsDataPlaneServiceException$, IoTJobsDataPlaneServiceException);
|
|
217
223
|
var JobExecutionSummaryList = [1, n0, _JESL,
|
|
218
224
|
0, () => JobExecutionSummary$
|
|
219
225
|
];
|
|
@@ -1,30 +1,37 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var IoTJobsDataPlaneServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var CertificateValidationException$: StaticErrorSchema;
|
|
3
|
-
export declare var CommandParameterValue$: StaticStructureSchema;
|
|
4
5
|
export declare var ConflictException$: StaticErrorSchema;
|
|
6
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
7
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
8
|
+
export declare var InvalidStateTransitionException$: StaticErrorSchema;
|
|
9
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
10
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
12
|
+
export declare var TerminalStateException$: StaticErrorSchema;
|
|
13
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
14
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
15
|
+
/**
|
|
16
|
+
* TypeRegistry instances containing modeled errors.
|
|
17
|
+
* @internal
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
21
|
+
export declare var CommandParameterValue$: StaticStructureSchema;
|
|
5
22
|
export declare var DescribeJobExecutionRequest$: StaticStructureSchema;
|
|
6
23
|
export declare var DescribeJobExecutionResponse$: StaticStructureSchema;
|
|
7
24
|
export declare var GetPendingJobExecutionsRequest$: StaticStructureSchema;
|
|
8
25
|
export declare var GetPendingJobExecutionsResponse$: StaticStructureSchema;
|
|
9
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
10
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
11
|
-
export declare var InvalidStateTransitionException$: StaticErrorSchema;
|
|
12
26
|
export declare var JobExecution$: StaticStructureSchema;
|
|
13
27
|
export declare var JobExecutionState$: StaticStructureSchema;
|
|
14
28
|
export declare var JobExecutionSummary$: StaticStructureSchema;
|
|
15
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
16
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
17
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
18
29
|
export declare var StartCommandExecutionRequest$: StaticStructureSchema;
|
|
19
30
|
export declare var StartCommandExecutionResponse$: StaticStructureSchema;
|
|
20
31
|
export declare var StartNextPendingJobExecutionRequest$: StaticStructureSchema;
|
|
21
32
|
export declare var StartNextPendingJobExecutionResponse$: StaticStructureSchema;
|
|
22
|
-
export declare var TerminalStateException$: StaticErrorSchema;
|
|
23
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
24
33
|
export declare var UpdateJobExecutionRequest$: StaticStructureSchema;
|
|
25
34
|
export declare var UpdateJobExecutionResponse$: StaticStructureSchema;
|
|
26
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
27
|
-
export declare var IoTJobsDataPlaneServiceException$: StaticErrorSchema;
|
|
28
35
|
export declare var DescribeJobExecution$: StaticOperationSchema;
|
|
29
36
|
export declare var GetPendingJobExecutions$: StaticOperationSchema;
|
|
30
37
|
export declare var StartCommandExecution$: StaticOperationSchema;
|
|
@@ -1,34 +1,36 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var IoTJobsDataPlaneServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var CertificateValidationException$: StaticErrorSchema;
|
|
7
|
-
export declare var CommandParameterValue$: StaticStructureSchema;
|
|
8
9
|
export declare var ConflictException$: StaticErrorSchema;
|
|
10
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
11
|
+
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
12
|
+
export declare var InvalidStateTransitionException$: StaticErrorSchema;
|
|
13
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
15
|
+
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
16
|
+
export declare var TerminalStateException$: StaticErrorSchema;
|
|
17
|
+
export declare var ThrottlingException$: StaticErrorSchema;
|
|
18
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
19
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
20
|
+
export declare var CommandParameterValue$: StaticStructureSchema;
|
|
9
21
|
export declare var DescribeJobExecutionRequest$: StaticStructureSchema;
|
|
10
22
|
export declare var DescribeJobExecutionResponse$: StaticStructureSchema;
|
|
11
23
|
export declare var GetPendingJobExecutionsRequest$: StaticStructureSchema;
|
|
12
24
|
export declare var GetPendingJobExecutionsResponse$: StaticStructureSchema;
|
|
13
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
14
|
-
export declare var InvalidRequestException$: StaticErrorSchema;
|
|
15
|
-
export declare var InvalidStateTransitionException$: StaticErrorSchema;
|
|
16
25
|
export declare var JobExecution$: StaticStructureSchema;
|
|
17
26
|
export declare var JobExecutionState$: StaticStructureSchema;
|
|
18
27
|
export declare var JobExecutionSummary$: StaticStructureSchema;
|
|
19
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
20
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
21
|
-
export declare var ServiceUnavailableException$: StaticErrorSchema;
|
|
22
28
|
export declare var StartCommandExecutionRequest$: StaticStructureSchema;
|
|
23
29
|
export declare var StartCommandExecutionResponse$: StaticStructureSchema;
|
|
24
30
|
export declare var StartNextPendingJobExecutionRequest$: StaticStructureSchema;
|
|
25
31
|
export declare var StartNextPendingJobExecutionResponse$: StaticStructureSchema;
|
|
26
|
-
export declare var TerminalStateException$: StaticErrorSchema;
|
|
27
|
-
export declare var ThrottlingException$: StaticErrorSchema;
|
|
28
32
|
export declare var UpdateJobExecutionRequest$: StaticStructureSchema;
|
|
29
33
|
export declare var UpdateJobExecutionResponse$: StaticStructureSchema;
|
|
30
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
31
|
-
export declare var IoTJobsDataPlaneServiceException$: StaticErrorSchema;
|
|
32
34
|
export declare var DescribeJobExecution$: StaticOperationSchema;
|
|
33
35
|
export declare var GetPendingJobExecutions$: StaticOperationSchema;
|
|
34
36
|
export declare var StartCommandExecution$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iot-jobs-data-plane",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iot Jobs Data Plane Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-iot-jobs-data-plane",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|