@aws-sdk/client-lookoutequipment 3.312.0 → 3.315.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/protocols/Aws_json1_0.js +376 -1127
- package/dist-es/protocols/Aws_json1_0.js +377 -1128
- package/package.json +6 -6
|
@@ -45,91 +45,91 @@ exports.se_CreateModelCommand = se_CreateModelCommand;
|
|
|
45
45
|
const se_DeleteDatasetCommand = async (input, context) => {
|
|
46
46
|
const headers = sharedHeaders("DeleteDataset");
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify(
|
|
48
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
49
49
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
50
|
};
|
|
51
51
|
exports.se_DeleteDatasetCommand = se_DeleteDatasetCommand;
|
|
52
52
|
const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
53
53
|
const headers = sharedHeaders("DeleteInferenceScheduler");
|
|
54
54
|
let body;
|
|
55
|
-
body = JSON.stringify(
|
|
55
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
56
56
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
57
57
|
};
|
|
58
58
|
exports.se_DeleteInferenceSchedulerCommand = se_DeleteInferenceSchedulerCommand;
|
|
59
59
|
const se_DeleteLabelCommand = async (input, context) => {
|
|
60
60
|
const headers = sharedHeaders("DeleteLabel");
|
|
61
61
|
let body;
|
|
62
|
-
body = JSON.stringify(
|
|
62
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
63
63
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
64
64
|
};
|
|
65
65
|
exports.se_DeleteLabelCommand = se_DeleteLabelCommand;
|
|
66
66
|
const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
67
67
|
const headers = sharedHeaders("DeleteLabelGroup");
|
|
68
68
|
let body;
|
|
69
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
70
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
71
|
};
|
|
72
72
|
exports.se_DeleteLabelGroupCommand = se_DeleteLabelGroupCommand;
|
|
73
73
|
const se_DeleteModelCommand = async (input, context) => {
|
|
74
74
|
const headers = sharedHeaders("DeleteModel");
|
|
75
75
|
let body;
|
|
76
|
-
body = JSON.stringify(
|
|
76
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
77
77
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
78
78
|
};
|
|
79
79
|
exports.se_DeleteModelCommand = se_DeleteModelCommand;
|
|
80
80
|
const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
81
81
|
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
82
82
|
let body;
|
|
83
|
-
body = JSON.stringify(
|
|
83
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
84
84
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
85
|
};
|
|
86
86
|
exports.se_DescribeDataIngestionJobCommand = se_DescribeDataIngestionJobCommand;
|
|
87
87
|
const se_DescribeDatasetCommand = async (input, context) => {
|
|
88
88
|
const headers = sharedHeaders("DescribeDataset");
|
|
89
89
|
let body;
|
|
90
|
-
body = JSON.stringify(
|
|
90
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
91
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
92
92
|
};
|
|
93
93
|
exports.se_DescribeDatasetCommand = se_DescribeDatasetCommand;
|
|
94
94
|
const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
95
95
|
const headers = sharedHeaders("DescribeInferenceScheduler");
|
|
96
96
|
let body;
|
|
97
|
-
body = JSON.stringify(
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
98
98
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
99
|
};
|
|
100
100
|
exports.se_DescribeInferenceSchedulerCommand = se_DescribeInferenceSchedulerCommand;
|
|
101
101
|
const se_DescribeLabelCommand = async (input, context) => {
|
|
102
102
|
const headers = sharedHeaders("DescribeLabel");
|
|
103
103
|
let body;
|
|
104
|
-
body = JSON.stringify(
|
|
104
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
105
105
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
106
106
|
};
|
|
107
107
|
exports.se_DescribeLabelCommand = se_DescribeLabelCommand;
|
|
108
108
|
const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("DescribeLabelGroup");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
exports.se_DescribeLabelGroupCommand = se_DescribeLabelGroupCommand;
|
|
115
115
|
const se_DescribeModelCommand = async (input, context) => {
|
|
116
116
|
const headers = sharedHeaders("DescribeModel");
|
|
117
117
|
let body;
|
|
118
|
-
body = JSON.stringify(
|
|
118
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
119
119
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
120
120
|
};
|
|
121
121
|
exports.se_DescribeModelCommand = se_DescribeModelCommand;
|
|
122
122
|
const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
123
123
|
const headers = sharedHeaders("ListDataIngestionJobs");
|
|
124
124
|
let body;
|
|
125
|
-
body = JSON.stringify(
|
|
125
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
126
126
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
127
127
|
};
|
|
128
128
|
exports.se_ListDataIngestionJobsCommand = se_ListDataIngestionJobsCommand;
|
|
129
129
|
const se_ListDatasetsCommand = async (input, context) => {
|
|
130
130
|
const headers = sharedHeaders("ListDatasets");
|
|
131
131
|
let body;
|
|
132
|
-
body = JSON.stringify(
|
|
132
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
133
133
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
134
134
|
};
|
|
135
135
|
exports.se_ListDatasetsCommand = se_ListDatasetsCommand;
|
|
@@ -150,14 +150,14 @@ exports.se_ListInferenceExecutionsCommand = se_ListInferenceExecutionsCommand;
|
|
|
150
150
|
const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("ListInferenceSchedulers");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
exports.se_ListInferenceSchedulersCommand = se_ListInferenceSchedulersCommand;
|
|
157
157
|
const se_ListLabelGroupsCommand = async (input, context) => {
|
|
158
158
|
const headers = sharedHeaders("ListLabelGroups");
|
|
159
159
|
let body;
|
|
160
|
-
body = JSON.stringify(
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
161
161
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
162
|
};
|
|
163
163
|
exports.se_ListLabelGroupsCommand = se_ListLabelGroupsCommand;
|
|
@@ -171,21 +171,21 @@ exports.se_ListLabelsCommand = se_ListLabelsCommand;
|
|
|
171
171
|
const se_ListModelsCommand = async (input, context) => {
|
|
172
172
|
const headers = sharedHeaders("ListModels");
|
|
173
173
|
let body;
|
|
174
|
-
body = JSON.stringify(
|
|
174
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
175
175
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
176
176
|
};
|
|
177
177
|
exports.se_ListModelsCommand = se_ListModelsCommand;
|
|
178
178
|
const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
179
179
|
const headers = sharedHeaders("ListSensorStatistics");
|
|
180
180
|
let body;
|
|
181
|
-
body = JSON.stringify(
|
|
181
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
182
182
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
183
183
|
};
|
|
184
184
|
exports.se_ListSensorStatisticsCommand = se_ListSensorStatisticsCommand;
|
|
185
185
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
186
186
|
const headers = sharedHeaders("ListTagsForResource");
|
|
187
187
|
let body;
|
|
188
|
-
body = JSON.stringify(
|
|
188
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
189
189
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
190
190
|
};
|
|
191
191
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
@@ -199,42 +199,42 @@ exports.se_StartDataIngestionJobCommand = se_StartDataIngestionJobCommand;
|
|
|
199
199
|
const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
200
200
|
const headers = sharedHeaders("StartInferenceScheduler");
|
|
201
201
|
let body;
|
|
202
|
-
body = JSON.stringify(
|
|
202
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
203
203
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
204
204
|
};
|
|
205
205
|
exports.se_StartInferenceSchedulerCommand = se_StartInferenceSchedulerCommand;
|
|
206
206
|
const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
207
207
|
const headers = sharedHeaders("StopInferenceScheduler");
|
|
208
208
|
let body;
|
|
209
|
-
body = JSON.stringify(
|
|
209
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
210
210
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
211
211
|
};
|
|
212
212
|
exports.se_StopInferenceSchedulerCommand = se_StopInferenceSchedulerCommand;
|
|
213
213
|
const se_TagResourceCommand = async (input, context) => {
|
|
214
214
|
const headers = sharedHeaders("TagResource");
|
|
215
215
|
let body;
|
|
216
|
-
body = JSON.stringify(
|
|
216
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
217
217
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
218
|
};
|
|
219
219
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
220
220
|
const se_UntagResourceCommand = async (input, context) => {
|
|
221
221
|
const headers = sharedHeaders("UntagResource");
|
|
222
222
|
let body;
|
|
223
|
-
body = JSON.stringify(
|
|
223
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
224
224
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
225
225
|
};
|
|
226
226
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
227
227
|
const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
228
228
|
const headers = sharedHeaders("UpdateInferenceScheduler");
|
|
229
229
|
let body;
|
|
230
|
-
body = JSON.stringify(
|
|
230
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
231
231
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
232
232
|
};
|
|
233
233
|
exports.se_UpdateInferenceSchedulerCommand = se_UpdateInferenceSchedulerCommand;
|
|
234
234
|
const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
235
235
|
const headers = sharedHeaders("UpdateLabelGroup");
|
|
236
236
|
let body;
|
|
237
|
-
body = JSON.stringify(
|
|
237
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
238
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
239
|
};
|
|
240
240
|
exports.se_UpdateLabelGroupCommand = se_UpdateLabelGroupCommand;
|
|
@@ -244,12 +244,12 @@ const de_CreateDatasetCommand = async (output, context) => {
|
|
|
244
244
|
}
|
|
245
245
|
const data = await parseBody(output.body, context);
|
|
246
246
|
let contents = {};
|
|
247
|
-
contents =
|
|
247
|
+
contents = (0, smithy_client_1._json)(data);
|
|
248
248
|
const response = {
|
|
249
249
|
$metadata: deserializeMetadata(output),
|
|
250
250
|
...contents,
|
|
251
251
|
};
|
|
252
|
-
return
|
|
252
|
+
return response;
|
|
253
253
|
};
|
|
254
254
|
exports.de_CreateDatasetCommand = de_CreateDatasetCommand;
|
|
255
255
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
@@ -279,10 +279,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
279
279
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
280
280
|
default:
|
|
281
281
|
const parsedBody = parsedOutput.body;
|
|
282
|
-
|
|
282
|
+
return throwDefaultError({
|
|
283
283
|
output,
|
|
284
284
|
parsedBody,
|
|
285
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
286
285
|
errorCode,
|
|
287
286
|
});
|
|
288
287
|
}
|
|
@@ -293,12 +292,12 @@ const de_CreateInferenceSchedulerCommand = async (output, context) => {
|
|
|
293
292
|
}
|
|
294
293
|
const data = await parseBody(output.body, context);
|
|
295
294
|
let contents = {};
|
|
296
|
-
contents =
|
|
295
|
+
contents = (0, smithy_client_1._json)(data);
|
|
297
296
|
const response = {
|
|
298
297
|
$metadata: deserializeMetadata(output),
|
|
299
298
|
...contents,
|
|
300
299
|
};
|
|
301
|
-
return
|
|
300
|
+
return response;
|
|
302
301
|
};
|
|
303
302
|
exports.de_CreateInferenceSchedulerCommand = de_CreateInferenceSchedulerCommand;
|
|
304
303
|
const de_CreateInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -331,10 +330,9 @@ const de_CreateInferenceSchedulerCommandError = async (output, context) => {
|
|
|
331
330
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
332
331
|
default:
|
|
333
332
|
const parsedBody = parsedOutput.body;
|
|
334
|
-
|
|
333
|
+
return throwDefaultError({
|
|
335
334
|
output,
|
|
336
335
|
parsedBody,
|
|
337
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
338
336
|
errorCode,
|
|
339
337
|
});
|
|
340
338
|
}
|
|
@@ -345,12 +343,12 @@ const de_CreateLabelCommand = async (output, context) => {
|
|
|
345
343
|
}
|
|
346
344
|
const data = await parseBody(output.body, context);
|
|
347
345
|
let contents = {};
|
|
348
|
-
contents =
|
|
346
|
+
contents = (0, smithy_client_1._json)(data);
|
|
349
347
|
const response = {
|
|
350
348
|
$metadata: deserializeMetadata(output),
|
|
351
349
|
...contents,
|
|
352
350
|
};
|
|
353
|
-
return
|
|
351
|
+
return response;
|
|
354
352
|
};
|
|
355
353
|
exports.de_CreateLabelCommand = de_CreateLabelCommand;
|
|
356
354
|
const de_CreateLabelCommandError = async (output, context) => {
|
|
@@ -383,10 +381,9 @@ const de_CreateLabelCommandError = async (output, context) => {
|
|
|
383
381
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
384
382
|
default:
|
|
385
383
|
const parsedBody = parsedOutput.body;
|
|
386
|
-
|
|
384
|
+
return throwDefaultError({
|
|
387
385
|
output,
|
|
388
386
|
parsedBody,
|
|
389
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
390
387
|
errorCode,
|
|
391
388
|
});
|
|
392
389
|
}
|
|
@@ -397,12 +394,12 @@ const de_CreateLabelGroupCommand = async (output, context) => {
|
|
|
397
394
|
}
|
|
398
395
|
const data = await parseBody(output.body, context);
|
|
399
396
|
let contents = {};
|
|
400
|
-
contents =
|
|
397
|
+
contents = (0, smithy_client_1._json)(data);
|
|
401
398
|
const response = {
|
|
402
399
|
$metadata: deserializeMetadata(output),
|
|
403
400
|
...contents,
|
|
404
401
|
};
|
|
405
|
-
return
|
|
402
|
+
return response;
|
|
406
403
|
};
|
|
407
404
|
exports.de_CreateLabelGroupCommand = de_CreateLabelGroupCommand;
|
|
408
405
|
const de_CreateLabelGroupCommandError = async (output, context) => {
|
|
@@ -432,10 +429,9 @@ const de_CreateLabelGroupCommandError = async (output, context) => {
|
|
|
432
429
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
433
430
|
default:
|
|
434
431
|
const parsedBody = parsedOutput.body;
|
|
435
|
-
|
|
432
|
+
return throwDefaultError({
|
|
436
433
|
output,
|
|
437
434
|
parsedBody,
|
|
438
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
439
435
|
errorCode,
|
|
440
436
|
});
|
|
441
437
|
}
|
|
@@ -446,12 +442,12 @@ const de_CreateModelCommand = async (output, context) => {
|
|
|
446
442
|
}
|
|
447
443
|
const data = await parseBody(output.body, context);
|
|
448
444
|
let contents = {};
|
|
449
|
-
contents =
|
|
445
|
+
contents = (0, smithy_client_1._json)(data);
|
|
450
446
|
const response = {
|
|
451
447
|
$metadata: deserializeMetadata(output),
|
|
452
448
|
...contents,
|
|
453
449
|
};
|
|
454
|
-
return
|
|
450
|
+
return response;
|
|
455
451
|
};
|
|
456
452
|
exports.de_CreateModelCommand = de_CreateModelCommand;
|
|
457
453
|
const de_CreateModelCommandError = async (output, context) => {
|
|
@@ -484,10 +480,9 @@ const de_CreateModelCommandError = async (output, context) => {
|
|
|
484
480
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
485
481
|
default:
|
|
486
482
|
const parsedBody = parsedOutput.body;
|
|
487
|
-
|
|
483
|
+
return throwDefaultError({
|
|
488
484
|
output,
|
|
489
485
|
parsedBody,
|
|
490
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
491
486
|
errorCode,
|
|
492
487
|
});
|
|
493
488
|
}
|
|
@@ -500,7 +495,7 @@ const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
500
495
|
const response = {
|
|
501
496
|
$metadata: deserializeMetadata(output),
|
|
502
497
|
};
|
|
503
|
-
return
|
|
498
|
+
return response;
|
|
504
499
|
};
|
|
505
500
|
exports.de_DeleteDatasetCommand = de_DeleteDatasetCommand;
|
|
506
501
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
@@ -530,10 +525,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
530
525
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
531
526
|
default:
|
|
532
527
|
const parsedBody = parsedOutput.body;
|
|
533
|
-
|
|
528
|
+
return throwDefaultError({
|
|
534
529
|
output,
|
|
535
530
|
parsedBody,
|
|
536
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
537
531
|
errorCode,
|
|
538
532
|
});
|
|
539
533
|
}
|
|
@@ -546,7 +540,7 @@ const de_DeleteInferenceSchedulerCommand = async (output, context) => {
|
|
|
546
540
|
const response = {
|
|
547
541
|
$metadata: deserializeMetadata(output),
|
|
548
542
|
};
|
|
549
|
-
return
|
|
543
|
+
return response;
|
|
550
544
|
};
|
|
551
545
|
exports.de_DeleteInferenceSchedulerCommand = de_DeleteInferenceSchedulerCommand;
|
|
552
546
|
const de_DeleteInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -576,10 +570,9 @@ const de_DeleteInferenceSchedulerCommandError = async (output, context) => {
|
|
|
576
570
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
577
571
|
default:
|
|
578
572
|
const parsedBody = parsedOutput.body;
|
|
579
|
-
|
|
573
|
+
return throwDefaultError({
|
|
580
574
|
output,
|
|
581
575
|
parsedBody,
|
|
582
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
583
576
|
errorCode,
|
|
584
577
|
});
|
|
585
578
|
}
|
|
@@ -592,7 +585,7 @@ const de_DeleteLabelCommand = async (output, context) => {
|
|
|
592
585
|
const response = {
|
|
593
586
|
$metadata: deserializeMetadata(output),
|
|
594
587
|
};
|
|
595
|
-
return
|
|
588
|
+
return response;
|
|
596
589
|
};
|
|
597
590
|
exports.de_DeleteLabelCommand = de_DeleteLabelCommand;
|
|
598
591
|
const de_DeleteLabelCommandError = async (output, context) => {
|
|
@@ -622,10 +615,9 @@ const de_DeleteLabelCommandError = async (output, context) => {
|
|
|
622
615
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
623
616
|
default:
|
|
624
617
|
const parsedBody = parsedOutput.body;
|
|
625
|
-
|
|
618
|
+
return throwDefaultError({
|
|
626
619
|
output,
|
|
627
620
|
parsedBody,
|
|
628
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
629
621
|
errorCode,
|
|
630
622
|
});
|
|
631
623
|
}
|
|
@@ -638,7 +630,7 @@ const de_DeleteLabelGroupCommand = async (output, context) => {
|
|
|
638
630
|
const response = {
|
|
639
631
|
$metadata: deserializeMetadata(output),
|
|
640
632
|
};
|
|
641
|
-
return
|
|
633
|
+
return response;
|
|
642
634
|
};
|
|
643
635
|
exports.de_DeleteLabelGroupCommand = de_DeleteLabelGroupCommand;
|
|
644
636
|
const de_DeleteLabelGroupCommandError = async (output, context) => {
|
|
@@ -668,10 +660,9 @@ const de_DeleteLabelGroupCommandError = async (output, context) => {
|
|
|
668
660
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
669
661
|
default:
|
|
670
662
|
const parsedBody = parsedOutput.body;
|
|
671
|
-
|
|
663
|
+
return throwDefaultError({
|
|
672
664
|
output,
|
|
673
665
|
parsedBody,
|
|
674
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
675
666
|
errorCode,
|
|
676
667
|
});
|
|
677
668
|
}
|
|
@@ -684,7 +675,7 @@ const de_DeleteModelCommand = async (output, context) => {
|
|
|
684
675
|
const response = {
|
|
685
676
|
$metadata: deserializeMetadata(output),
|
|
686
677
|
};
|
|
687
|
-
return
|
|
678
|
+
return response;
|
|
688
679
|
};
|
|
689
680
|
exports.de_DeleteModelCommand = de_DeleteModelCommand;
|
|
690
681
|
const de_DeleteModelCommandError = async (output, context) => {
|
|
@@ -714,10 +705,9 @@ const de_DeleteModelCommandError = async (output, context) => {
|
|
|
714
705
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
715
706
|
default:
|
|
716
707
|
const parsedBody = parsedOutput.body;
|
|
717
|
-
|
|
708
|
+
return throwDefaultError({
|
|
718
709
|
output,
|
|
719
710
|
parsedBody,
|
|
720
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
721
711
|
errorCode,
|
|
722
712
|
});
|
|
723
713
|
}
|
|
@@ -733,7 +723,7 @@ const de_DescribeDataIngestionJobCommand = async (output, context) => {
|
|
|
733
723
|
$metadata: deserializeMetadata(output),
|
|
734
724
|
...contents,
|
|
735
725
|
};
|
|
736
|
-
return
|
|
726
|
+
return response;
|
|
737
727
|
};
|
|
738
728
|
exports.de_DescribeDataIngestionJobCommand = de_DescribeDataIngestionJobCommand;
|
|
739
729
|
const de_DescribeDataIngestionJobCommandError = async (output, context) => {
|
|
@@ -760,10 +750,9 @@ const de_DescribeDataIngestionJobCommandError = async (output, context) => {
|
|
|
760
750
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
761
751
|
default:
|
|
762
752
|
const parsedBody = parsedOutput.body;
|
|
763
|
-
|
|
753
|
+
return throwDefaultError({
|
|
764
754
|
output,
|
|
765
755
|
parsedBody,
|
|
766
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
767
756
|
errorCode,
|
|
768
757
|
});
|
|
769
758
|
}
|
|
@@ -779,7 +768,7 @@ const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
779
768
|
$metadata: deserializeMetadata(output),
|
|
780
769
|
...contents,
|
|
781
770
|
};
|
|
782
|
-
return
|
|
771
|
+
return response;
|
|
783
772
|
};
|
|
784
773
|
exports.de_DescribeDatasetCommand = de_DescribeDatasetCommand;
|
|
785
774
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
@@ -806,10 +795,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
806
795
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
807
796
|
default:
|
|
808
797
|
const parsedBody = parsedOutput.body;
|
|
809
|
-
|
|
798
|
+
return throwDefaultError({
|
|
810
799
|
output,
|
|
811
800
|
parsedBody,
|
|
812
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
813
801
|
errorCode,
|
|
814
802
|
});
|
|
815
803
|
}
|
|
@@ -825,7 +813,7 @@ const de_DescribeInferenceSchedulerCommand = async (output, context) => {
|
|
|
825
813
|
$metadata: deserializeMetadata(output),
|
|
826
814
|
...contents,
|
|
827
815
|
};
|
|
828
|
-
return
|
|
816
|
+
return response;
|
|
829
817
|
};
|
|
830
818
|
exports.de_DescribeInferenceSchedulerCommand = de_DescribeInferenceSchedulerCommand;
|
|
831
819
|
const de_DescribeInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -852,10 +840,9 @@ const de_DescribeInferenceSchedulerCommandError = async (output, context) => {
|
|
|
852
840
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
853
841
|
default:
|
|
854
842
|
const parsedBody = parsedOutput.body;
|
|
855
|
-
|
|
843
|
+
return throwDefaultError({
|
|
856
844
|
output,
|
|
857
845
|
parsedBody,
|
|
858
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
859
846
|
errorCode,
|
|
860
847
|
});
|
|
861
848
|
}
|
|
@@ -871,7 +858,7 @@ const de_DescribeLabelCommand = async (output, context) => {
|
|
|
871
858
|
$metadata: deserializeMetadata(output),
|
|
872
859
|
...contents,
|
|
873
860
|
};
|
|
874
|
-
return
|
|
861
|
+
return response;
|
|
875
862
|
};
|
|
876
863
|
exports.de_DescribeLabelCommand = de_DescribeLabelCommand;
|
|
877
864
|
const de_DescribeLabelCommandError = async (output, context) => {
|
|
@@ -898,10 +885,9 @@ const de_DescribeLabelCommandError = async (output, context) => {
|
|
|
898
885
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
899
886
|
default:
|
|
900
887
|
const parsedBody = parsedOutput.body;
|
|
901
|
-
|
|
888
|
+
return throwDefaultError({
|
|
902
889
|
output,
|
|
903
890
|
parsedBody,
|
|
904
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
905
891
|
errorCode,
|
|
906
892
|
});
|
|
907
893
|
}
|
|
@@ -917,7 +903,7 @@ const de_DescribeLabelGroupCommand = async (output, context) => {
|
|
|
917
903
|
$metadata: deserializeMetadata(output),
|
|
918
904
|
...contents,
|
|
919
905
|
};
|
|
920
|
-
return
|
|
906
|
+
return response;
|
|
921
907
|
};
|
|
922
908
|
exports.de_DescribeLabelGroupCommand = de_DescribeLabelGroupCommand;
|
|
923
909
|
const de_DescribeLabelGroupCommandError = async (output, context) => {
|
|
@@ -944,10 +930,9 @@ const de_DescribeLabelGroupCommandError = async (output, context) => {
|
|
|
944
930
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
945
931
|
default:
|
|
946
932
|
const parsedBody = parsedOutput.body;
|
|
947
|
-
|
|
933
|
+
return throwDefaultError({
|
|
948
934
|
output,
|
|
949
935
|
parsedBody,
|
|
950
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
951
936
|
errorCode,
|
|
952
937
|
});
|
|
953
938
|
}
|
|
@@ -963,7 +948,7 @@ const de_DescribeModelCommand = async (output, context) => {
|
|
|
963
948
|
$metadata: deserializeMetadata(output),
|
|
964
949
|
...contents,
|
|
965
950
|
};
|
|
966
|
-
return
|
|
951
|
+
return response;
|
|
967
952
|
};
|
|
968
953
|
exports.de_DescribeModelCommand = de_DescribeModelCommand;
|
|
969
954
|
const de_DescribeModelCommandError = async (output, context) => {
|
|
@@ -990,10 +975,9 @@ const de_DescribeModelCommandError = async (output, context) => {
|
|
|
990
975
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
991
976
|
default:
|
|
992
977
|
const parsedBody = parsedOutput.body;
|
|
993
|
-
|
|
978
|
+
return throwDefaultError({
|
|
994
979
|
output,
|
|
995
980
|
parsedBody,
|
|
996
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
997
981
|
errorCode,
|
|
998
982
|
});
|
|
999
983
|
}
|
|
@@ -1004,12 +988,12 @@ const de_ListDataIngestionJobsCommand = async (output, context) => {
|
|
|
1004
988
|
}
|
|
1005
989
|
const data = await parseBody(output.body, context);
|
|
1006
990
|
let contents = {};
|
|
1007
|
-
contents =
|
|
991
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1008
992
|
const response = {
|
|
1009
993
|
$metadata: deserializeMetadata(output),
|
|
1010
994
|
...contents,
|
|
1011
995
|
};
|
|
1012
|
-
return
|
|
996
|
+
return response;
|
|
1013
997
|
};
|
|
1014
998
|
exports.de_ListDataIngestionJobsCommand = de_ListDataIngestionJobsCommand;
|
|
1015
999
|
const de_ListDataIngestionJobsCommandError = async (output, context) => {
|
|
@@ -1033,10 +1017,9 @@ const de_ListDataIngestionJobsCommandError = async (output, context) => {
|
|
|
1033
1017
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1034
1018
|
default:
|
|
1035
1019
|
const parsedBody = parsedOutput.body;
|
|
1036
|
-
|
|
1020
|
+
return throwDefaultError({
|
|
1037
1021
|
output,
|
|
1038
1022
|
parsedBody,
|
|
1039
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1040
1023
|
errorCode,
|
|
1041
1024
|
});
|
|
1042
1025
|
}
|
|
@@ -1052,7 +1035,7 @@ const de_ListDatasetsCommand = async (output, context) => {
|
|
|
1052
1035
|
$metadata: deserializeMetadata(output),
|
|
1053
1036
|
...contents,
|
|
1054
1037
|
};
|
|
1055
|
-
return
|
|
1038
|
+
return response;
|
|
1056
1039
|
};
|
|
1057
1040
|
exports.de_ListDatasetsCommand = de_ListDatasetsCommand;
|
|
1058
1041
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
@@ -1076,10 +1059,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
1076
1059
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1077
1060
|
default:
|
|
1078
1061
|
const parsedBody = parsedOutput.body;
|
|
1079
|
-
|
|
1062
|
+
return throwDefaultError({
|
|
1080
1063
|
output,
|
|
1081
1064
|
parsedBody,
|
|
1082
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1083
1065
|
errorCode,
|
|
1084
1066
|
});
|
|
1085
1067
|
}
|
|
@@ -1095,7 +1077,7 @@ const de_ListInferenceEventsCommand = async (output, context) => {
|
|
|
1095
1077
|
$metadata: deserializeMetadata(output),
|
|
1096
1078
|
...contents,
|
|
1097
1079
|
};
|
|
1098
|
-
return
|
|
1080
|
+
return response;
|
|
1099
1081
|
};
|
|
1100
1082
|
exports.de_ListInferenceEventsCommand = de_ListInferenceEventsCommand;
|
|
1101
1083
|
const de_ListInferenceEventsCommandError = async (output, context) => {
|
|
@@ -1122,10 +1104,9 @@ const de_ListInferenceEventsCommandError = async (output, context) => {
|
|
|
1122
1104
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1123
1105
|
default:
|
|
1124
1106
|
const parsedBody = parsedOutput.body;
|
|
1125
|
-
|
|
1107
|
+
return throwDefaultError({
|
|
1126
1108
|
output,
|
|
1127
1109
|
parsedBody,
|
|
1128
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1129
1110
|
errorCode,
|
|
1130
1111
|
});
|
|
1131
1112
|
}
|
|
@@ -1141,7 +1122,7 @@ const de_ListInferenceExecutionsCommand = async (output, context) => {
|
|
|
1141
1122
|
$metadata: deserializeMetadata(output),
|
|
1142
1123
|
...contents,
|
|
1143
1124
|
};
|
|
1144
|
-
return
|
|
1125
|
+
return response;
|
|
1145
1126
|
};
|
|
1146
1127
|
exports.de_ListInferenceExecutionsCommand = de_ListInferenceExecutionsCommand;
|
|
1147
1128
|
const de_ListInferenceExecutionsCommandError = async (output, context) => {
|
|
@@ -1168,10 +1149,9 @@ const de_ListInferenceExecutionsCommandError = async (output, context) => {
|
|
|
1168
1149
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1169
1150
|
default:
|
|
1170
1151
|
const parsedBody = parsedOutput.body;
|
|
1171
|
-
|
|
1152
|
+
return throwDefaultError({
|
|
1172
1153
|
output,
|
|
1173
1154
|
parsedBody,
|
|
1174
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1175
1155
|
errorCode,
|
|
1176
1156
|
});
|
|
1177
1157
|
}
|
|
@@ -1182,12 +1162,12 @@ const de_ListInferenceSchedulersCommand = async (output, context) => {
|
|
|
1182
1162
|
}
|
|
1183
1163
|
const data = await parseBody(output.body, context);
|
|
1184
1164
|
let contents = {};
|
|
1185
|
-
contents =
|
|
1165
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1186
1166
|
const response = {
|
|
1187
1167
|
$metadata: deserializeMetadata(output),
|
|
1188
1168
|
...contents,
|
|
1189
1169
|
};
|
|
1190
|
-
return
|
|
1170
|
+
return response;
|
|
1191
1171
|
};
|
|
1192
1172
|
exports.de_ListInferenceSchedulersCommand = de_ListInferenceSchedulersCommand;
|
|
1193
1173
|
const de_ListInferenceSchedulersCommandError = async (output, context) => {
|
|
@@ -1211,10 +1191,9 @@ const de_ListInferenceSchedulersCommandError = async (output, context) => {
|
|
|
1211
1191
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1212
1192
|
default:
|
|
1213
1193
|
const parsedBody = parsedOutput.body;
|
|
1214
|
-
|
|
1194
|
+
return throwDefaultError({
|
|
1215
1195
|
output,
|
|
1216
1196
|
parsedBody,
|
|
1217
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1218
1197
|
errorCode,
|
|
1219
1198
|
});
|
|
1220
1199
|
}
|
|
@@ -1230,7 +1209,7 @@ const de_ListLabelGroupsCommand = async (output, context) => {
|
|
|
1230
1209
|
$metadata: deserializeMetadata(output),
|
|
1231
1210
|
...contents,
|
|
1232
1211
|
};
|
|
1233
|
-
return
|
|
1212
|
+
return response;
|
|
1234
1213
|
};
|
|
1235
1214
|
exports.de_ListLabelGroupsCommand = de_ListLabelGroupsCommand;
|
|
1236
1215
|
const de_ListLabelGroupsCommandError = async (output, context) => {
|
|
@@ -1254,10 +1233,9 @@ const de_ListLabelGroupsCommandError = async (output, context) => {
|
|
|
1254
1233
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1255
1234
|
default:
|
|
1256
1235
|
const parsedBody = parsedOutput.body;
|
|
1257
|
-
|
|
1236
|
+
return throwDefaultError({
|
|
1258
1237
|
output,
|
|
1259
1238
|
parsedBody,
|
|
1260
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1261
1239
|
errorCode,
|
|
1262
1240
|
});
|
|
1263
1241
|
}
|
|
@@ -1273,7 +1251,7 @@ const de_ListLabelsCommand = async (output, context) => {
|
|
|
1273
1251
|
$metadata: deserializeMetadata(output),
|
|
1274
1252
|
...contents,
|
|
1275
1253
|
};
|
|
1276
|
-
return
|
|
1254
|
+
return response;
|
|
1277
1255
|
};
|
|
1278
1256
|
exports.de_ListLabelsCommand = de_ListLabelsCommand;
|
|
1279
1257
|
const de_ListLabelsCommandError = async (output, context) => {
|
|
@@ -1297,10 +1275,9 @@ const de_ListLabelsCommandError = async (output, context) => {
|
|
|
1297
1275
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1298
1276
|
default:
|
|
1299
1277
|
const parsedBody = parsedOutput.body;
|
|
1300
|
-
|
|
1278
|
+
return throwDefaultError({
|
|
1301
1279
|
output,
|
|
1302
1280
|
parsedBody,
|
|
1303
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1304
1281
|
errorCode,
|
|
1305
1282
|
});
|
|
1306
1283
|
}
|
|
@@ -1316,7 +1293,7 @@ const de_ListModelsCommand = async (output, context) => {
|
|
|
1316
1293
|
$metadata: deserializeMetadata(output),
|
|
1317
1294
|
...contents,
|
|
1318
1295
|
};
|
|
1319
|
-
return
|
|
1296
|
+
return response;
|
|
1320
1297
|
};
|
|
1321
1298
|
exports.de_ListModelsCommand = de_ListModelsCommand;
|
|
1322
1299
|
const de_ListModelsCommandError = async (output, context) => {
|
|
@@ -1340,10 +1317,9 @@ const de_ListModelsCommandError = async (output, context) => {
|
|
|
1340
1317
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1341
1318
|
default:
|
|
1342
1319
|
const parsedBody = parsedOutput.body;
|
|
1343
|
-
|
|
1320
|
+
return throwDefaultError({
|
|
1344
1321
|
output,
|
|
1345
1322
|
parsedBody,
|
|
1346
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1347
1323
|
errorCode,
|
|
1348
1324
|
});
|
|
1349
1325
|
}
|
|
@@ -1359,7 +1335,7 @@ const de_ListSensorStatisticsCommand = async (output, context) => {
|
|
|
1359
1335
|
$metadata: deserializeMetadata(output),
|
|
1360
1336
|
...contents,
|
|
1361
1337
|
};
|
|
1362
|
-
return
|
|
1338
|
+
return response;
|
|
1363
1339
|
};
|
|
1364
1340
|
exports.de_ListSensorStatisticsCommand = de_ListSensorStatisticsCommand;
|
|
1365
1341
|
const de_ListSensorStatisticsCommandError = async (output, context) => {
|
|
@@ -1386,10 +1362,9 @@ const de_ListSensorStatisticsCommandError = async (output, context) => {
|
|
|
1386
1362
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1387
1363
|
default:
|
|
1388
1364
|
const parsedBody = parsedOutput.body;
|
|
1389
|
-
|
|
1365
|
+
return throwDefaultError({
|
|
1390
1366
|
output,
|
|
1391
1367
|
parsedBody,
|
|
1392
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1393
1368
|
errorCode,
|
|
1394
1369
|
});
|
|
1395
1370
|
}
|
|
@@ -1400,12 +1375,12 @@ const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1400
1375
|
}
|
|
1401
1376
|
const data = await parseBody(output.body, context);
|
|
1402
1377
|
let contents = {};
|
|
1403
|
-
contents =
|
|
1378
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1404
1379
|
const response = {
|
|
1405
1380
|
$metadata: deserializeMetadata(output),
|
|
1406
1381
|
...contents,
|
|
1407
1382
|
};
|
|
1408
|
-
return
|
|
1383
|
+
return response;
|
|
1409
1384
|
};
|
|
1410
1385
|
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
1411
1386
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -1432,10 +1407,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1432
1407
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1433
1408
|
default:
|
|
1434
1409
|
const parsedBody = parsedOutput.body;
|
|
1435
|
-
|
|
1410
|
+
return throwDefaultError({
|
|
1436
1411
|
output,
|
|
1437
1412
|
parsedBody,
|
|
1438
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1439
1413
|
errorCode,
|
|
1440
1414
|
});
|
|
1441
1415
|
}
|
|
@@ -1446,12 +1420,12 @@ const de_StartDataIngestionJobCommand = async (output, context) => {
|
|
|
1446
1420
|
}
|
|
1447
1421
|
const data = await parseBody(output.body, context);
|
|
1448
1422
|
let contents = {};
|
|
1449
|
-
contents =
|
|
1423
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1450
1424
|
const response = {
|
|
1451
1425
|
$metadata: deserializeMetadata(output),
|
|
1452
1426
|
...contents,
|
|
1453
1427
|
};
|
|
1454
|
-
return
|
|
1428
|
+
return response;
|
|
1455
1429
|
};
|
|
1456
1430
|
exports.de_StartDataIngestionJobCommand = de_StartDataIngestionJobCommand;
|
|
1457
1431
|
const de_StartDataIngestionJobCommandError = async (output, context) => {
|
|
@@ -1484,10 +1458,9 @@ const de_StartDataIngestionJobCommandError = async (output, context) => {
|
|
|
1484
1458
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1485
1459
|
default:
|
|
1486
1460
|
const parsedBody = parsedOutput.body;
|
|
1487
|
-
|
|
1461
|
+
return throwDefaultError({
|
|
1488
1462
|
output,
|
|
1489
1463
|
parsedBody,
|
|
1490
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1491
1464
|
errorCode,
|
|
1492
1465
|
});
|
|
1493
1466
|
}
|
|
@@ -1498,12 +1471,12 @@ const de_StartInferenceSchedulerCommand = async (output, context) => {
|
|
|
1498
1471
|
}
|
|
1499
1472
|
const data = await parseBody(output.body, context);
|
|
1500
1473
|
let contents = {};
|
|
1501
|
-
contents =
|
|
1474
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1502
1475
|
const response = {
|
|
1503
1476
|
$metadata: deserializeMetadata(output),
|
|
1504
1477
|
...contents,
|
|
1505
1478
|
};
|
|
1506
|
-
return
|
|
1479
|
+
return response;
|
|
1507
1480
|
};
|
|
1508
1481
|
exports.de_StartInferenceSchedulerCommand = de_StartInferenceSchedulerCommand;
|
|
1509
1482
|
const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -1533,10 +1506,9 @@ const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1533
1506
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1534
1507
|
default:
|
|
1535
1508
|
const parsedBody = parsedOutput.body;
|
|
1536
|
-
|
|
1509
|
+
return throwDefaultError({
|
|
1537
1510
|
output,
|
|
1538
1511
|
parsedBody,
|
|
1539
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1540
1512
|
errorCode,
|
|
1541
1513
|
});
|
|
1542
1514
|
}
|
|
@@ -1547,12 +1519,12 @@ const de_StopInferenceSchedulerCommand = async (output, context) => {
|
|
|
1547
1519
|
}
|
|
1548
1520
|
const data = await parseBody(output.body, context);
|
|
1549
1521
|
let contents = {};
|
|
1550
|
-
contents =
|
|
1522
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1551
1523
|
const response = {
|
|
1552
1524
|
$metadata: deserializeMetadata(output),
|
|
1553
1525
|
...contents,
|
|
1554
1526
|
};
|
|
1555
|
-
return
|
|
1527
|
+
return response;
|
|
1556
1528
|
};
|
|
1557
1529
|
exports.de_StopInferenceSchedulerCommand = de_StopInferenceSchedulerCommand;
|
|
1558
1530
|
const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -1582,10 +1554,9 @@ const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1582
1554
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1583
1555
|
default:
|
|
1584
1556
|
const parsedBody = parsedOutput.body;
|
|
1585
|
-
|
|
1557
|
+
return throwDefaultError({
|
|
1586
1558
|
output,
|
|
1587
1559
|
parsedBody,
|
|
1588
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1589
1560
|
errorCode,
|
|
1590
1561
|
});
|
|
1591
1562
|
}
|
|
@@ -1596,12 +1567,12 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
1596
1567
|
}
|
|
1597
1568
|
const data = await parseBody(output.body, context);
|
|
1598
1569
|
let contents = {};
|
|
1599
|
-
contents =
|
|
1570
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1600
1571
|
const response = {
|
|
1601
1572
|
$metadata: deserializeMetadata(output),
|
|
1602
1573
|
...contents,
|
|
1603
1574
|
};
|
|
1604
|
-
return
|
|
1575
|
+
return response;
|
|
1605
1576
|
};
|
|
1606
1577
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
1607
1578
|
const de_TagResourceCommandError = async (output, context) => {
|
|
@@ -1631,10 +1602,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1631
1602
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1632
1603
|
default:
|
|
1633
1604
|
const parsedBody = parsedOutput.body;
|
|
1634
|
-
|
|
1605
|
+
return throwDefaultError({
|
|
1635
1606
|
output,
|
|
1636
1607
|
parsedBody,
|
|
1637
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1638
1608
|
errorCode,
|
|
1639
1609
|
});
|
|
1640
1610
|
}
|
|
@@ -1645,12 +1615,12 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
1645
1615
|
}
|
|
1646
1616
|
const data = await parseBody(output.body, context);
|
|
1647
1617
|
let contents = {};
|
|
1648
|
-
contents =
|
|
1618
|
+
contents = (0, smithy_client_1._json)(data);
|
|
1649
1619
|
const response = {
|
|
1650
1620
|
$metadata: deserializeMetadata(output),
|
|
1651
1621
|
...contents,
|
|
1652
1622
|
};
|
|
1653
|
-
return
|
|
1623
|
+
return response;
|
|
1654
1624
|
};
|
|
1655
1625
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
1656
1626
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
@@ -1677,10 +1647,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1677
1647
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1678
1648
|
default:
|
|
1679
1649
|
const parsedBody = parsedOutput.body;
|
|
1680
|
-
|
|
1650
|
+
return throwDefaultError({
|
|
1681
1651
|
output,
|
|
1682
1652
|
parsedBody,
|
|
1683
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1684
1653
|
errorCode,
|
|
1685
1654
|
});
|
|
1686
1655
|
}
|
|
@@ -1693,7 +1662,7 @@ const de_UpdateInferenceSchedulerCommand = async (output, context) => {
|
|
|
1693
1662
|
const response = {
|
|
1694
1663
|
$metadata: deserializeMetadata(output),
|
|
1695
1664
|
};
|
|
1696
|
-
return
|
|
1665
|
+
return response;
|
|
1697
1666
|
};
|
|
1698
1667
|
exports.de_UpdateInferenceSchedulerCommand = de_UpdateInferenceSchedulerCommand;
|
|
1699
1668
|
const de_UpdateInferenceSchedulerCommandError = async (output, context) => {
|
|
@@ -1723,10 +1692,9 @@ const de_UpdateInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1723
1692
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1724
1693
|
default:
|
|
1725
1694
|
const parsedBody = parsedOutput.body;
|
|
1726
|
-
|
|
1695
|
+
return throwDefaultError({
|
|
1727
1696
|
output,
|
|
1728
1697
|
parsedBody,
|
|
1729
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1730
1698
|
errorCode,
|
|
1731
1699
|
});
|
|
1732
1700
|
}
|
|
@@ -1739,7 +1707,7 @@ const de_UpdateLabelGroupCommand = async (output, context) => {
|
|
|
1739
1707
|
const response = {
|
|
1740
1708
|
$metadata: deserializeMetadata(output),
|
|
1741
1709
|
};
|
|
1742
|
-
return
|
|
1710
|
+
return response;
|
|
1743
1711
|
};
|
|
1744
1712
|
exports.de_UpdateLabelGroupCommand = de_UpdateLabelGroupCommand;
|
|
1745
1713
|
const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
@@ -1769,17 +1737,16 @@ const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
|
1769
1737
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1770
1738
|
default:
|
|
1771
1739
|
const parsedBody = parsedOutput.body;
|
|
1772
|
-
|
|
1740
|
+
return throwDefaultError({
|
|
1773
1741
|
output,
|
|
1774
1742
|
parsedBody,
|
|
1775
|
-
exceptionCtor: LookoutEquipmentServiceException_1.LookoutEquipmentServiceException,
|
|
1776
1743
|
errorCode,
|
|
1777
1744
|
});
|
|
1778
1745
|
}
|
|
1779
1746
|
};
|
|
1780
1747
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1781
1748
|
const body = parsedOutput.body;
|
|
1782
|
-
const deserialized =
|
|
1749
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1783
1750
|
const exception = new models_0_1.AccessDeniedException({
|
|
1784
1751
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1785
1752
|
...deserialized,
|
|
@@ -1788,7 +1755,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1788
1755
|
};
|
|
1789
1756
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1790
1757
|
const body = parsedOutput.body;
|
|
1791
|
-
const deserialized =
|
|
1758
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1792
1759
|
const exception = new models_0_1.ConflictException({
|
|
1793
1760
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1794
1761
|
...deserialized,
|
|
@@ -1797,7 +1764,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1797
1764
|
};
|
|
1798
1765
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1799
1766
|
const body = parsedOutput.body;
|
|
1800
|
-
const deserialized =
|
|
1767
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1801
1768
|
const exception = new models_0_1.InternalServerException({
|
|
1802
1769
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1803
1770
|
...deserialized,
|
|
@@ -1806,7 +1773,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1806
1773
|
};
|
|
1807
1774
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1808
1775
|
const body = parsedOutput.body;
|
|
1809
|
-
const deserialized =
|
|
1776
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1810
1777
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1811
1778
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1812
1779
|
...deserialized,
|
|
@@ -1815,7 +1782,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1815
1782
|
};
|
|
1816
1783
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1817
1784
|
const body = parsedOutput.body;
|
|
1818
|
-
const deserialized =
|
|
1785
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1819
1786
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1820
1787
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1821
1788
|
...deserialized,
|
|
@@ -1824,7 +1791,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1824
1791
|
};
|
|
1825
1792
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1826
1793
|
const body = parsedOutput.body;
|
|
1827
|
-
const deserialized =
|
|
1794
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1828
1795
|
const exception = new models_0_1.ThrottlingException({
|
|
1829
1796
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1830
1797
|
...deserialized,
|
|
@@ -1833,7 +1800,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1833
1800
|
};
|
|
1834
1801
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1835
1802
|
const body = parsedOutput.body;
|
|
1836
|
-
const deserialized =
|
|
1803
|
+
const deserialized = (0, smithy_client_1._json)(body);
|
|
1837
1804
|
const exception = new models_0_1.ValidationException({
|
|
1838
1805
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1839
1806
|
...deserialized,
|
|
@@ -1841,1113 +1808,394 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1841
1808
|
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
1842
1809
|
};
|
|
1843
1810
|
const se_CreateDatasetRequest = (input, context) => {
|
|
1844
|
-
return {
|
|
1845
|
-
ClientToken:
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
};
|
|
1811
|
+
return (0, smithy_client_1.take)(input, {
|
|
1812
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1813
|
+
DatasetName: [],
|
|
1814
|
+
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1815
|
+
ServerSideKmsKeyId: [],
|
|
1816
|
+
Tags: smithy_client_1._json,
|
|
1817
|
+
});
|
|
1851
1818
|
};
|
|
1852
1819
|
const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
1853
|
-
return {
|
|
1854
|
-
ClientToken:
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1866
|
-
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1867
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1868
|
-
};
|
|
1820
|
+
return (0, smithy_client_1.take)(input, {
|
|
1821
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1822
|
+
DataDelayOffsetInMinutes: [],
|
|
1823
|
+
DataInputConfiguration: smithy_client_1._json,
|
|
1824
|
+
DataOutputConfiguration: smithy_client_1._json,
|
|
1825
|
+
DataUploadFrequency: [],
|
|
1826
|
+
InferenceSchedulerName: [],
|
|
1827
|
+
ModelName: [],
|
|
1828
|
+
RoleArn: [],
|
|
1829
|
+
ServerSideKmsKeyId: [],
|
|
1830
|
+
Tags: smithy_client_1._json,
|
|
1831
|
+
});
|
|
1869
1832
|
};
|
|
1870
1833
|
const se_CreateLabelGroupRequest = (input, context) => {
|
|
1871
|
-
return {
|
|
1872
|
-
ClientToken:
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
};
|
|
1834
|
+
return (0, smithy_client_1.take)(input, {
|
|
1835
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1836
|
+
FaultCodes: smithy_client_1._json,
|
|
1837
|
+
LabelGroupName: [],
|
|
1838
|
+
Tags: smithy_client_1._json,
|
|
1839
|
+
});
|
|
1877
1840
|
};
|
|
1878
1841
|
const se_CreateLabelRequest = (input, context) => {
|
|
1879
|
-
return {
|
|
1880
|
-
ClientToken:
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
};
|
|
1842
|
+
return (0, smithy_client_1.take)(input, {
|
|
1843
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1844
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1845
|
+
Equipment: [],
|
|
1846
|
+
FaultCode: [],
|
|
1847
|
+
LabelGroupName: [],
|
|
1848
|
+
Notes: [],
|
|
1849
|
+
Rating: [],
|
|
1850
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1851
|
+
});
|
|
1889
1852
|
};
|
|
1890
1853
|
const se_CreateModelRequest = (input, context) => {
|
|
1891
|
-
return {
|
|
1892
|
-
ClientToken:
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1908
|
-
...(input.OffCondition != null && { OffCondition: input.OffCondition }),
|
|
1909
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1910
|
-
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1911
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1912
|
-
...(input.TrainingDataEndTime != null && {
|
|
1913
|
-
TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000),
|
|
1914
|
-
}),
|
|
1915
|
-
...(input.TrainingDataStartTime != null && {
|
|
1916
|
-
TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000),
|
|
1917
|
-
}),
|
|
1918
|
-
};
|
|
1919
|
-
};
|
|
1920
|
-
const se_DataPreProcessingConfiguration = (input, context) => {
|
|
1921
|
-
return {
|
|
1922
|
-
...(input.TargetSamplingRate != null && { TargetSamplingRate: input.TargetSamplingRate }),
|
|
1923
|
-
};
|
|
1854
|
+
return (0, smithy_client_1.take)(input, {
|
|
1855
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1856
|
+
DataPreProcessingConfiguration: smithy_client_1._json,
|
|
1857
|
+
DatasetName: [],
|
|
1858
|
+
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1859
|
+
EvaluationDataEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1860
|
+
EvaluationDataStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1861
|
+
LabelsInputConfiguration: smithy_client_1._json,
|
|
1862
|
+
ModelName: [],
|
|
1863
|
+
OffCondition: [],
|
|
1864
|
+
RoleArn: [],
|
|
1865
|
+
ServerSideKmsKeyId: [],
|
|
1866
|
+
Tags: smithy_client_1._json,
|
|
1867
|
+
TrainingDataEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1868
|
+
TrainingDataStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1869
|
+
});
|
|
1924
1870
|
};
|
|
1925
1871
|
const se_DatasetSchema = (input, context) => {
|
|
1926
|
-
return {
|
|
1927
|
-
|
|
1928
|
-
};
|
|
1929
|
-
};
|
|
1930
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
1931
|
-
return {
|
|
1932
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1933
|
-
};
|
|
1934
|
-
};
|
|
1935
|
-
const se_DeleteInferenceSchedulerRequest = (input, context) => {
|
|
1936
|
-
return {
|
|
1937
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1938
|
-
};
|
|
1939
|
-
};
|
|
1940
|
-
const se_DeleteLabelGroupRequest = (input, context) => {
|
|
1941
|
-
return {
|
|
1942
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1943
|
-
};
|
|
1944
|
-
};
|
|
1945
|
-
const se_DeleteLabelRequest = (input, context) => {
|
|
1946
|
-
return {
|
|
1947
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1948
|
-
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
1949
|
-
};
|
|
1950
|
-
};
|
|
1951
|
-
const se_DeleteModelRequest = (input, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1954
|
-
};
|
|
1955
|
-
};
|
|
1956
|
-
const se_DescribeDataIngestionJobRequest = (input, context) => {
|
|
1957
|
-
return {
|
|
1958
|
-
...(input.JobId != null && { JobId: input.JobId }),
|
|
1959
|
-
};
|
|
1960
|
-
};
|
|
1961
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
1962
|
-
return {
|
|
1963
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1964
|
-
};
|
|
1965
|
-
};
|
|
1966
|
-
const se_DescribeInferenceSchedulerRequest = (input, context) => {
|
|
1967
|
-
return {
|
|
1968
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
const se_DescribeLabelGroupRequest = (input, context) => {
|
|
1972
|
-
return {
|
|
1973
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1974
|
-
};
|
|
1975
|
-
};
|
|
1976
|
-
const se_DescribeLabelRequest = (input, context) => {
|
|
1977
|
-
return {
|
|
1978
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1979
|
-
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
1980
|
-
};
|
|
1981
|
-
};
|
|
1982
|
-
const se_DescribeModelRequest = (input, context) => {
|
|
1983
|
-
return {
|
|
1984
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1985
|
-
};
|
|
1986
|
-
};
|
|
1987
|
-
const se_FaultCodes = (input, context) => {
|
|
1988
|
-
return input
|
|
1989
|
-
.filter((e) => e != null)
|
|
1990
|
-
.map((entry) => {
|
|
1991
|
-
return entry;
|
|
1872
|
+
return (0, smithy_client_1.take)(input, {
|
|
1873
|
+
InlineDataSchema: smithy_client_1.LazyJsonString.fromObject,
|
|
1992
1874
|
});
|
|
1993
1875
|
};
|
|
1994
|
-
const se_InferenceInputConfiguration = (input, context) => {
|
|
1995
|
-
return {
|
|
1996
|
-
...(input.InferenceInputNameConfiguration != null && {
|
|
1997
|
-
InferenceInputNameConfiguration: se_InferenceInputNameConfiguration(input.InferenceInputNameConfiguration, context),
|
|
1998
|
-
}),
|
|
1999
|
-
...(input.InputTimeZoneOffset != null && { InputTimeZoneOffset: input.InputTimeZoneOffset }),
|
|
2000
|
-
...(input.S3InputConfiguration != null && {
|
|
2001
|
-
S3InputConfiguration: se_InferenceS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2002
|
-
}),
|
|
2003
|
-
};
|
|
2004
|
-
};
|
|
2005
|
-
const se_InferenceInputNameConfiguration = (input, context) => {
|
|
2006
|
-
return {
|
|
2007
|
-
...(input.ComponentTimestampDelimiter != null && {
|
|
2008
|
-
ComponentTimestampDelimiter: input.ComponentTimestampDelimiter,
|
|
2009
|
-
}),
|
|
2010
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
2011
|
-
};
|
|
2012
|
-
};
|
|
2013
|
-
const se_InferenceOutputConfiguration = (input, context) => {
|
|
2014
|
-
return {
|
|
2015
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
2016
|
-
...(input.S3OutputConfiguration != null && {
|
|
2017
|
-
S3OutputConfiguration: se_InferenceS3OutputConfiguration(input.S3OutputConfiguration, context),
|
|
2018
|
-
}),
|
|
2019
|
-
};
|
|
2020
|
-
};
|
|
2021
|
-
const se_InferenceS3InputConfiguration = (input, context) => {
|
|
2022
|
-
return {
|
|
2023
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2024
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
const se_InferenceS3OutputConfiguration = (input, context) => {
|
|
2028
|
-
return {
|
|
2029
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2030
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2031
|
-
};
|
|
2032
|
-
};
|
|
2033
|
-
const se_IngestionInputConfiguration = (input, context) => {
|
|
2034
|
-
return {
|
|
2035
|
-
...(input.S3InputConfiguration != null && {
|
|
2036
|
-
S3InputConfiguration: se_IngestionS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2037
|
-
}),
|
|
2038
|
-
};
|
|
2039
|
-
};
|
|
2040
|
-
const se_IngestionS3InputConfiguration = (input, context) => {
|
|
2041
|
-
return {
|
|
2042
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2043
|
-
...(input.KeyPattern != null && { KeyPattern: input.KeyPattern }),
|
|
2044
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2045
|
-
};
|
|
2046
|
-
};
|
|
2047
|
-
const se_LabelsInputConfiguration = (input, context) => {
|
|
2048
|
-
return {
|
|
2049
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2050
|
-
...(input.S3InputConfiguration != null && {
|
|
2051
|
-
S3InputConfiguration: se_LabelsS3InputConfiguration(input.S3InputConfiguration, context),
|
|
2052
|
-
}),
|
|
2053
|
-
};
|
|
2054
|
-
};
|
|
2055
|
-
const se_LabelsS3InputConfiguration = (input, context) => {
|
|
2056
|
-
return {
|
|
2057
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
2058
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
2059
|
-
};
|
|
2060
|
-
};
|
|
2061
|
-
const se_ListDataIngestionJobsRequest = (input, context) => {
|
|
2062
|
-
return {
|
|
2063
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2064
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2065
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2066
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2067
|
-
};
|
|
2068
|
-
};
|
|
2069
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
2070
|
-
return {
|
|
2071
|
-
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2072
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2073
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2074
|
-
};
|
|
2075
|
-
};
|
|
2076
1876
|
const se_ListInferenceEventsRequest = (input, context) => {
|
|
2077
|
-
return {
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
};
|
|
1877
|
+
return (0, smithy_client_1.take)(input, {
|
|
1878
|
+
InferenceSchedulerName: [],
|
|
1879
|
+
IntervalEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1880
|
+
IntervalStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1881
|
+
MaxResults: [],
|
|
1882
|
+
NextToken: [],
|
|
1883
|
+
});
|
|
2084
1884
|
};
|
|
2085
1885
|
const se_ListInferenceExecutionsRequest = (input, context) => {
|
|
2086
|
-
return {
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2095
|
-
};
|
|
2096
|
-
};
|
|
2097
|
-
const se_ListInferenceSchedulersRequest = (input, context) => {
|
|
2098
|
-
return {
|
|
2099
|
-
...(input.InferenceSchedulerNameBeginsWith != null && {
|
|
2100
|
-
InferenceSchedulerNameBeginsWith: input.InferenceSchedulerNameBeginsWith,
|
|
2101
|
-
}),
|
|
2102
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2103
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2104
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2105
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2106
|
-
};
|
|
2107
|
-
};
|
|
2108
|
-
const se_ListLabelGroupsRequest = (input, context) => {
|
|
2109
|
-
return {
|
|
2110
|
-
...(input.LabelGroupNameBeginsWith != null && { LabelGroupNameBeginsWith: input.LabelGroupNameBeginsWith }),
|
|
2111
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2112
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2113
|
-
};
|
|
1886
|
+
return (0, smithy_client_1.take)(input, {
|
|
1887
|
+
DataEndTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
1888
|
+
DataStartTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
1889
|
+
InferenceSchedulerName: [],
|
|
1890
|
+
MaxResults: [],
|
|
1891
|
+
NextToken: [],
|
|
1892
|
+
Status: [],
|
|
1893
|
+
});
|
|
2114
1894
|
};
|
|
2115
1895
|
const se_ListLabelsRequest = (input, context) => {
|
|
2116
|
-
return {
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
};
|
|
2125
|
-
};
|
|
2126
|
-
const se_ListModelsRequest = (input, context) => {
|
|
2127
|
-
return {
|
|
2128
|
-
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2129
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2130
|
-
...(input.ModelNameBeginsWith != null && { ModelNameBeginsWith: input.ModelNameBeginsWith }),
|
|
2131
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2132
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2133
|
-
};
|
|
2134
|
-
};
|
|
2135
|
-
const se_ListSensorStatisticsRequest = (input, context) => {
|
|
2136
|
-
return {
|
|
2137
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2138
|
-
...(input.IngestionJobId != null && { IngestionJobId: input.IngestionJobId }),
|
|
2139
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2140
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2141
|
-
};
|
|
2142
|
-
};
|
|
2143
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2144
|
-
return {
|
|
2145
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2146
|
-
};
|
|
2147
|
-
};
|
|
2148
|
-
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
2149
|
-
return {
|
|
2150
|
-
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
2151
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2152
|
-
...(input.IngestionInputConfiguration != null && {
|
|
2153
|
-
IngestionInputConfiguration: se_IngestionInputConfiguration(input.IngestionInputConfiguration, context),
|
|
2154
|
-
}),
|
|
2155
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2156
|
-
};
|
|
2157
|
-
};
|
|
2158
|
-
const se_StartInferenceSchedulerRequest = (input, context) => {
|
|
2159
|
-
return {
|
|
2160
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
const se_StopInferenceSchedulerRequest = (input, context) => {
|
|
2164
|
-
return {
|
|
2165
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2166
|
-
};
|
|
2167
|
-
};
|
|
2168
|
-
const se_Tag = (input, context) => {
|
|
2169
|
-
return {
|
|
2170
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2171
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2172
|
-
};
|
|
2173
|
-
};
|
|
2174
|
-
const se_TagKeyList = (input, context) => {
|
|
2175
|
-
return input
|
|
2176
|
-
.filter((e) => e != null)
|
|
2177
|
-
.map((entry) => {
|
|
2178
|
-
return entry;
|
|
1896
|
+
return (0, smithy_client_1.take)(input, {
|
|
1897
|
+
Equipment: [],
|
|
1898
|
+
FaultCode: [],
|
|
1899
|
+
IntervalEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1900
|
+
IntervalStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1901
|
+
LabelGroupName: [],
|
|
1902
|
+
MaxResults: [],
|
|
1903
|
+
NextToken: [],
|
|
2179
1904
|
});
|
|
2180
1905
|
};
|
|
2181
|
-
const
|
|
2182
|
-
return input
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
1906
|
+
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
1907
|
+
return (0, smithy_client_1.take)(input, {
|
|
1908
|
+
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1909
|
+
DatasetName: [],
|
|
1910
|
+
IngestionInputConfiguration: smithy_client_1._json,
|
|
1911
|
+
RoleArn: [],
|
|
2186
1912
|
});
|
|
2187
1913
|
};
|
|
2188
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2189
|
-
return {
|
|
2190
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2191
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2192
|
-
};
|
|
2193
|
-
};
|
|
2194
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2195
|
-
return {
|
|
2196
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2197
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2198
|
-
};
|
|
2199
|
-
};
|
|
2200
|
-
const se_UpdateInferenceSchedulerRequest = (input, context) => {
|
|
2201
|
-
return {
|
|
2202
|
-
...(input.DataDelayOffsetInMinutes != null && { DataDelayOffsetInMinutes: input.DataDelayOffsetInMinutes }),
|
|
2203
|
-
...(input.DataInputConfiguration != null && {
|
|
2204
|
-
DataInputConfiguration: se_InferenceInputConfiguration(input.DataInputConfiguration, context),
|
|
2205
|
-
}),
|
|
2206
|
-
...(input.DataOutputConfiguration != null && {
|
|
2207
|
-
DataOutputConfiguration: se_InferenceOutputConfiguration(input.DataOutputConfiguration, context),
|
|
2208
|
-
}),
|
|
2209
|
-
...(input.DataUploadFrequency != null && { DataUploadFrequency: input.DataUploadFrequency }),
|
|
2210
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2211
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2212
|
-
};
|
|
2213
|
-
};
|
|
2214
|
-
const se_UpdateLabelGroupRequest = (input, context) => {
|
|
2215
|
-
return {
|
|
2216
|
-
...(input.FaultCodes != null && { FaultCodes: se_FaultCodes(input.FaultCodes, context) }),
|
|
2217
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2218
|
-
};
|
|
2219
|
-
};
|
|
2220
|
-
const de_AccessDeniedException = (output, context) => {
|
|
2221
|
-
return {
|
|
2222
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
const de_CategoricalValues = (output, context) => {
|
|
2226
|
-
return {
|
|
2227
|
-
NumberOfCategory: (0, smithy_client_1.expectInt32)(output.NumberOfCategory),
|
|
2228
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2229
|
-
};
|
|
2230
|
-
};
|
|
2231
|
-
const de_ConflictException = (output, context) => {
|
|
2232
|
-
return {
|
|
2233
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2234
|
-
};
|
|
2235
|
-
};
|
|
2236
1914
|
const de_CountPercent = (output, context) => {
|
|
2237
|
-
return {
|
|
2238
|
-
Count:
|
|
2239
|
-
Percentage:
|
|
2240
|
-
};
|
|
2241
|
-
};
|
|
2242
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
2243
|
-
return {
|
|
2244
|
-
DatasetArn: (0, smithy_client_1.expectString)(output.DatasetArn),
|
|
2245
|
-
DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
|
|
2246
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2247
|
-
};
|
|
2248
|
-
};
|
|
2249
|
-
const de_CreateInferenceSchedulerResponse = (output, context) => {
|
|
2250
|
-
return {
|
|
2251
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2252
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2253
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2254
|
-
};
|
|
2255
|
-
};
|
|
2256
|
-
const de_CreateLabelGroupResponse = (output, context) => {
|
|
2257
|
-
return {
|
|
2258
|
-
LabelGroupArn: (0, smithy_client_1.expectString)(output.LabelGroupArn),
|
|
2259
|
-
LabelGroupName: (0, smithy_client_1.expectString)(output.LabelGroupName),
|
|
2260
|
-
};
|
|
2261
|
-
};
|
|
2262
|
-
const de_CreateLabelResponse = (output, context) => {
|
|
2263
|
-
return {
|
|
2264
|
-
LabelId: (0, smithy_client_1.expectString)(output.LabelId),
|
|
2265
|
-
};
|
|
2266
|
-
};
|
|
2267
|
-
const de_CreateModelResponse = (output, context) => {
|
|
2268
|
-
return {
|
|
2269
|
-
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
2270
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2271
|
-
};
|
|
2272
|
-
};
|
|
2273
|
-
const de_DataIngestionJobSummaries = (output, context) => {
|
|
2274
|
-
const retVal = (output || [])
|
|
2275
|
-
.filter((e) => e != null)
|
|
2276
|
-
.map((entry) => {
|
|
2277
|
-
if (entry === null) {
|
|
2278
|
-
return null;
|
|
2279
|
-
}
|
|
2280
|
-
return de_DataIngestionJobSummary(entry, context);
|
|
1915
|
+
return (0, smithy_client_1.take)(output, {
|
|
1916
|
+
Count: smithy_client_1.expectInt32,
|
|
1917
|
+
Percentage: smithy_client_1.limitedParseFloat32,
|
|
2281
1918
|
});
|
|
2282
|
-
return retVal;
|
|
2283
|
-
};
|
|
2284
|
-
const de_DataIngestionJobSummary = (output, context) => {
|
|
2285
|
-
return {
|
|
2286
|
-
DatasetArn: (0, smithy_client_1.expectString)(output.DatasetArn),
|
|
2287
|
-
DatasetName: (0, smithy_client_1.expectString)(output.DatasetName),
|
|
2288
|
-
IngestionInputConfiguration: output.IngestionInputConfiguration != null
|
|
2289
|
-
? de_IngestionInputConfiguration(output.IngestionInputConfiguration, context)
|
|
2290
|
-
: undefined,
|
|
2291
|
-
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2292
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
|
-
const de_DataPreProcessingConfiguration = (output, context) => {
|
|
2296
|
-
return {
|
|
2297
|
-
TargetSamplingRate: (0, smithy_client_1.expectString)(output.TargetSamplingRate),
|
|
2298
|
-
};
|
|
2299
|
-
};
|
|
2300
|
-
const de_DataQualitySummary = (output, context) => {
|
|
2301
|
-
return {
|
|
2302
|
-
DuplicateTimestamps: output.DuplicateTimestamps != null ? de_DuplicateTimestamps(output.DuplicateTimestamps, context) : undefined,
|
|
2303
|
-
InsufficientSensorData: output.InsufficientSensorData != null
|
|
2304
|
-
? de_InsufficientSensorData(output.InsufficientSensorData, context)
|
|
2305
|
-
: undefined,
|
|
2306
|
-
InvalidSensorData: output.InvalidSensorData != null ? de_InvalidSensorData(output.InvalidSensorData, context) : undefined,
|
|
2307
|
-
MissingSensorData: output.MissingSensorData != null ? de_MissingSensorData(output.MissingSensorData, context) : undefined,
|
|
2308
|
-
UnsupportedTimestamps: output.UnsupportedTimestamps != null
|
|
2309
|
-
? de_UnsupportedTimestamps(output.UnsupportedTimestamps, context)
|
|
2310
|
-
: undefined,
|
|
2311
|
-
};
|
|
2312
1919
|
};
|
|
2313
1920
|
const de_DatasetSummaries = (output, context) => {
|
|
2314
1921
|
const retVal = (output || [])
|
|
2315
1922
|
.filter((e) => e != null)
|
|
2316
1923
|
.map((entry) => {
|
|
2317
|
-
if (entry === null) {
|
|
2318
|
-
return null;
|
|
2319
|
-
}
|
|
2320
1924
|
return de_DatasetSummary(entry, context);
|
|
2321
1925
|
});
|
|
2322
1926
|
return retVal;
|
|
2323
1927
|
};
|
|
2324
1928
|
const de_DatasetSummary = (output, context) => {
|
|
2325
|
-
return {
|
|
2326
|
-
CreatedAt:
|
|
2327
|
-
DatasetArn:
|
|
2328
|
-
DatasetName:
|
|
2329
|
-
Status:
|
|
2330
|
-
};
|
|
1929
|
+
return (0, smithy_client_1.take)(output, {
|
|
1930
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1931
|
+
DatasetArn: smithy_client_1.expectString,
|
|
1932
|
+
DatasetName: smithy_client_1.expectString,
|
|
1933
|
+
Status: smithy_client_1.expectString,
|
|
1934
|
+
});
|
|
2331
1935
|
};
|
|
2332
1936
|
const de_DescribeDataIngestionJobResponse = (output, context) => {
|
|
2333
|
-
return {
|
|
2334
|
-
CreatedAt:
|
|
2335
|
-
DataEndTime:
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
: undefined,
|
|
2349
|
-
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2350
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
2351
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2352
|
-
StatusDetail: (0, smithy_client_1.expectString)(output.StatusDetail),
|
|
2353
|
-
};
|
|
1937
|
+
return (0, smithy_client_1.take)(output, {
|
|
1938
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1939
|
+
DataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1940
|
+
DataQualitySummary: smithy_client_1._json,
|
|
1941
|
+
DataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1942
|
+
DatasetArn: smithy_client_1.expectString,
|
|
1943
|
+
FailedReason: smithy_client_1.expectString,
|
|
1944
|
+
IngestedDataSize: smithy_client_1.expectLong,
|
|
1945
|
+
IngestedFilesSummary: smithy_client_1._json,
|
|
1946
|
+
IngestionInputConfiguration: smithy_client_1._json,
|
|
1947
|
+
JobId: smithy_client_1.expectString,
|
|
1948
|
+
RoleArn: smithy_client_1.expectString,
|
|
1949
|
+
Status: smithy_client_1.expectString,
|
|
1950
|
+
StatusDetail: smithy_client_1.expectString,
|
|
1951
|
+
});
|
|
2354
1952
|
};
|
|
2355
1953
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
2356
|
-
return {
|
|
2357
|
-
CreatedAt:
|
|
2358
|
-
DataEndTime:
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
LastUpdatedAt: output.LastUpdatedAt != null
|
|
2372
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedAt)))
|
|
2373
|
-
: undefined,
|
|
2374
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
2375
|
-
Schema: output.Schema != null ? new smithy_client_1.LazyJsonString(output.Schema) : undefined,
|
|
2376
|
-
ServerSideKmsKeyId: (0, smithy_client_1.expectString)(output.ServerSideKmsKeyId),
|
|
2377
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2378
|
-
};
|
|
1954
|
+
return (0, smithy_client_1.take)(output, {
|
|
1955
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1956
|
+
DataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1957
|
+
DataQualitySummary: smithy_client_1._json,
|
|
1958
|
+
DataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1959
|
+
DatasetArn: smithy_client_1.expectString,
|
|
1960
|
+
DatasetName: smithy_client_1.expectString,
|
|
1961
|
+
IngestedFilesSummary: smithy_client_1._json,
|
|
1962
|
+
IngestionInputConfiguration: smithy_client_1._json,
|
|
1963
|
+
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1964
|
+
RoleArn: smithy_client_1.expectString,
|
|
1965
|
+
Schema: (_) => new smithy_client_1.LazyJsonString(_),
|
|
1966
|
+
ServerSideKmsKeyId: smithy_client_1.expectString,
|
|
1967
|
+
Status: smithy_client_1.expectString,
|
|
1968
|
+
});
|
|
2379
1969
|
};
|
|
2380
1970
|
const de_DescribeInferenceSchedulerResponse = (output, context) => {
|
|
2381
|
-
return {
|
|
2382
|
-
CreatedAt:
|
|
2383
|
-
DataDelayOffsetInMinutes:
|
|
2384
|
-
DataInputConfiguration:
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
ServerSideKmsKeyId: (0, smithy_client_1.expectString)(output.ServerSideKmsKeyId),
|
|
2398
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2399
|
-
UpdatedAt: output.UpdatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdatedAt))) : undefined,
|
|
2400
|
-
};
|
|
1971
|
+
return (0, smithy_client_1.take)(output, {
|
|
1972
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1973
|
+
DataDelayOffsetInMinutes: smithy_client_1.expectLong,
|
|
1974
|
+
DataInputConfiguration: smithy_client_1._json,
|
|
1975
|
+
DataOutputConfiguration: smithy_client_1._json,
|
|
1976
|
+
DataUploadFrequency: smithy_client_1.expectString,
|
|
1977
|
+
InferenceSchedulerArn: smithy_client_1.expectString,
|
|
1978
|
+
InferenceSchedulerName: smithy_client_1.expectString,
|
|
1979
|
+
LatestInferenceResult: smithy_client_1.expectString,
|
|
1980
|
+
ModelArn: smithy_client_1.expectString,
|
|
1981
|
+
ModelName: smithy_client_1.expectString,
|
|
1982
|
+
RoleArn: smithy_client_1.expectString,
|
|
1983
|
+
ServerSideKmsKeyId: smithy_client_1.expectString,
|
|
1984
|
+
Status: smithy_client_1.expectString,
|
|
1985
|
+
UpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1986
|
+
});
|
|
2401
1987
|
};
|
|
2402
1988
|
const de_DescribeLabelGroupResponse = (output, context) => {
|
|
2403
|
-
return {
|
|
2404
|
-
CreatedAt:
|
|
2405
|
-
FaultCodes:
|
|
2406
|
-
LabelGroupArn:
|
|
2407
|
-
LabelGroupName:
|
|
2408
|
-
UpdatedAt:
|
|
2409
|
-
};
|
|
1989
|
+
return (0, smithy_client_1.take)(output, {
|
|
1990
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1991
|
+
FaultCodes: smithy_client_1._json,
|
|
1992
|
+
LabelGroupArn: smithy_client_1.expectString,
|
|
1993
|
+
LabelGroupName: smithy_client_1.expectString,
|
|
1994
|
+
UpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
1995
|
+
});
|
|
2410
1996
|
};
|
|
2411
1997
|
const de_DescribeLabelResponse = (output, context) => {
|
|
2412
|
-
return {
|
|
2413
|
-
CreatedAt:
|
|
2414
|
-
EndTime:
|
|
2415
|
-
Equipment:
|
|
2416
|
-
FaultCode:
|
|
2417
|
-
LabelGroupArn:
|
|
2418
|
-
LabelGroupName:
|
|
2419
|
-
LabelId:
|
|
2420
|
-
Notes:
|
|
2421
|
-
Rating:
|
|
2422
|
-
StartTime:
|
|
2423
|
-
};
|
|
1998
|
+
return (0, smithy_client_1.take)(output, {
|
|
1999
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2000
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2001
|
+
Equipment: smithy_client_1.expectString,
|
|
2002
|
+
FaultCode: smithy_client_1.expectString,
|
|
2003
|
+
LabelGroupArn: smithy_client_1.expectString,
|
|
2004
|
+
LabelGroupName: smithy_client_1.expectString,
|
|
2005
|
+
LabelId: smithy_client_1.expectString,
|
|
2006
|
+
Notes: smithy_client_1.expectString,
|
|
2007
|
+
Rating: smithy_client_1.expectString,
|
|
2008
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2009
|
+
});
|
|
2424
2010
|
};
|
|
2425
2011
|
const de_DescribeModelResponse = (output, context) => {
|
|
2426
|
-
return {
|
|
2427
|
-
CreatedAt:
|
|
2428
|
-
DataPreProcessingConfiguration:
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
2449
|
-
OffCondition: (0, smithy_client_1.expectString)(output.OffCondition),
|
|
2450
|
-
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
2451
|
-
Schema: output.Schema != null ? new smithy_client_1.LazyJsonString(output.Schema) : undefined,
|
|
2452
|
-
ServerSideKmsKeyId: (0, smithy_client_1.expectString)(output.ServerSideKmsKeyId),
|
|
2453
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2454
|
-
TrainingDataEndTime: output.TrainingDataEndTime != null
|
|
2455
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingDataEndTime)))
|
|
2456
|
-
: undefined,
|
|
2457
|
-
TrainingDataStartTime: output.TrainingDataStartTime != null
|
|
2458
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingDataStartTime)))
|
|
2459
|
-
: undefined,
|
|
2460
|
-
TrainingExecutionEndTime: output.TrainingExecutionEndTime != null
|
|
2461
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingExecutionEndTime)))
|
|
2462
|
-
: undefined,
|
|
2463
|
-
TrainingExecutionStartTime: output.TrainingExecutionStartTime != null
|
|
2464
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TrainingExecutionStartTime)))
|
|
2465
|
-
: undefined,
|
|
2466
|
-
};
|
|
2467
|
-
};
|
|
2468
|
-
const de_DuplicateTimestamps = (output, context) => {
|
|
2469
|
-
return {
|
|
2470
|
-
TotalNumberOfDuplicateTimestamps: (0, smithy_client_1.expectInt32)(output.TotalNumberOfDuplicateTimestamps),
|
|
2471
|
-
};
|
|
2472
|
-
};
|
|
2473
|
-
const de_FaultCodes = (output, context) => {
|
|
2474
|
-
const retVal = (output || [])
|
|
2475
|
-
.filter((e) => e != null)
|
|
2476
|
-
.map((entry) => {
|
|
2477
|
-
if (entry === null) {
|
|
2478
|
-
return null;
|
|
2479
|
-
}
|
|
2480
|
-
return (0, smithy_client_1.expectString)(entry);
|
|
2012
|
+
return (0, smithy_client_1.take)(output, {
|
|
2013
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2014
|
+
DataPreProcessingConfiguration: smithy_client_1._json,
|
|
2015
|
+
DatasetArn: smithy_client_1.expectString,
|
|
2016
|
+
DatasetName: smithy_client_1.expectString,
|
|
2017
|
+
EvaluationDataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2018
|
+
EvaluationDataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2019
|
+
FailedReason: smithy_client_1.expectString,
|
|
2020
|
+
LabelsInputConfiguration: smithy_client_1._json,
|
|
2021
|
+
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2022
|
+
ModelArn: smithy_client_1.expectString,
|
|
2023
|
+
ModelMetrics: (_) => new smithy_client_1.LazyJsonString(_),
|
|
2024
|
+
ModelName: smithy_client_1.expectString,
|
|
2025
|
+
OffCondition: smithy_client_1.expectString,
|
|
2026
|
+
RoleArn: smithy_client_1.expectString,
|
|
2027
|
+
Schema: (_) => new smithy_client_1.LazyJsonString(_),
|
|
2028
|
+
ServerSideKmsKeyId: smithy_client_1.expectString,
|
|
2029
|
+
Status: smithy_client_1.expectString,
|
|
2030
|
+
TrainingDataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2031
|
+
TrainingDataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2032
|
+
TrainingExecutionEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2033
|
+
TrainingExecutionStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2481
2034
|
});
|
|
2482
|
-
return retVal;
|
|
2483
2035
|
};
|
|
2484
2036
|
const de_InferenceEventSummaries = (output, context) => {
|
|
2485
2037
|
const retVal = (output || [])
|
|
2486
2038
|
.filter((e) => e != null)
|
|
2487
2039
|
.map((entry) => {
|
|
2488
|
-
if (entry === null) {
|
|
2489
|
-
return null;
|
|
2490
|
-
}
|
|
2491
2040
|
return de_InferenceEventSummary(entry, context);
|
|
2492
2041
|
});
|
|
2493
2042
|
return retVal;
|
|
2494
2043
|
};
|
|
2495
2044
|
const de_InferenceEventSummary = (output, context) => {
|
|
2496
|
-
return {
|
|
2497
|
-
Diagnostics:
|
|
2498
|
-
EventDurationInSeconds:
|
|
2499
|
-
EventEndTime:
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
: undefined,
|
|
2505
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2506
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2507
|
-
};
|
|
2045
|
+
return (0, smithy_client_1.take)(output, {
|
|
2046
|
+
Diagnostics: smithy_client_1.expectString,
|
|
2047
|
+
EventDurationInSeconds: smithy_client_1.expectLong,
|
|
2048
|
+
EventEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2049
|
+
EventStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2050
|
+
InferenceSchedulerArn: smithy_client_1.expectString,
|
|
2051
|
+
InferenceSchedulerName: smithy_client_1.expectString,
|
|
2052
|
+
});
|
|
2508
2053
|
};
|
|
2509
2054
|
const de_InferenceExecutionSummaries = (output, context) => {
|
|
2510
2055
|
const retVal = (output || [])
|
|
2511
2056
|
.filter((e) => e != null)
|
|
2512
2057
|
.map((entry) => {
|
|
2513
|
-
if (entry === null) {
|
|
2514
|
-
return null;
|
|
2515
|
-
}
|
|
2516
2058
|
return de_InferenceExecutionSummary(entry, context);
|
|
2517
2059
|
});
|
|
2518
2060
|
return retVal;
|
|
2519
2061
|
};
|
|
2520
2062
|
const de_InferenceExecutionSummary = (output, context) => {
|
|
2521
|
-
return {
|
|
2522
|
-
CustomerResultObject:
|
|
2523
|
-
DataEndTime:
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
: undefined,
|
|
2535
|
-
FailedReason: (0, smithy_client_1.expectString)(output.FailedReason),
|
|
2536
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2537
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2538
|
-
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
2539
|
-
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
2540
|
-
ScheduledStartTime: output.ScheduledStartTime != null
|
|
2541
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ScheduledStartTime)))
|
|
2542
|
-
: undefined,
|
|
2543
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2544
|
-
};
|
|
2545
|
-
};
|
|
2546
|
-
const de_InferenceInputConfiguration = (output, context) => {
|
|
2547
|
-
return {
|
|
2548
|
-
InferenceInputNameConfiguration: output.InferenceInputNameConfiguration != null
|
|
2549
|
-
? de_InferenceInputNameConfiguration(output.InferenceInputNameConfiguration, context)
|
|
2550
|
-
: undefined,
|
|
2551
|
-
InputTimeZoneOffset: (0, smithy_client_1.expectString)(output.InputTimeZoneOffset),
|
|
2552
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2553
|
-
? de_InferenceS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2554
|
-
: undefined,
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
const de_InferenceInputNameConfiguration = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
ComponentTimestampDelimiter: (0, smithy_client_1.expectString)(output.ComponentTimestampDelimiter),
|
|
2560
|
-
TimestampFormat: (0, smithy_client_1.expectString)(output.TimestampFormat),
|
|
2561
|
-
};
|
|
2562
|
-
};
|
|
2563
|
-
const de_InferenceOutputConfiguration = (output, context) => {
|
|
2564
|
-
return {
|
|
2565
|
-
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
2566
|
-
S3OutputConfiguration: output.S3OutputConfiguration != null
|
|
2567
|
-
? de_InferenceS3OutputConfiguration(output.S3OutputConfiguration, context)
|
|
2568
|
-
: undefined,
|
|
2569
|
-
};
|
|
2570
|
-
};
|
|
2571
|
-
const de_InferenceS3InputConfiguration = (output, context) => {
|
|
2572
|
-
return {
|
|
2573
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
2574
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2575
|
-
};
|
|
2576
|
-
};
|
|
2577
|
-
const de_InferenceS3OutputConfiguration = (output, context) => {
|
|
2578
|
-
return {
|
|
2579
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
2580
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2581
|
-
};
|
|
2582
|
-
};
|
|
2583
|
-
const de_InferenceSchedulerSummaries = (output, context) => {
|
|
2584
|
-
const retVal = (output || [])
|
|
2585
|
-
.filter((e) => e != null)
|
|
2586
|
-
.map((entry) => {
|
|
2587
|
-
if (entry === null) {
|
|
2588
|
-
return null;
|
|
2589
|
-
}
|
|
2590
|
-
return de_InferenceSchedulerSummary(entry, context);
|
|
2063
|
+
return (0, smithy_client_1.take)(output, {
|
|
2064
|
+
CustomerResultObject: smithy_client_1._json,
|
|
2065
|
+
DataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2066
|
+
DataInputConfiguration: smithy_client_1._json,
|
|
2067
|
+
DataOutputConfiguration: smithy_client_1._json,
|
|
2068
|
+
DataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2069
|
+
FailedReason: smithy_client_1.expectString,
|
|
2070
|
+
InferenceSchedulerArn: smithy_client_1.expectString,
|
|
2071
|
+
InferenceSchedulerName: smithy_client_1.expectString,
|
|
2072
|
+
ModelArn: smithy_client_1.expectString,
|
|
2073
|
+
ModelName: smithy_client_1.expectString,
|
|
2074
|
+
ScheduledStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2075
|
+
Status: smithy_client_1.expectString,
|
|
2591
2076
|
});
|
|
2592
|
-
return retVal;
|
|
2593
|
-
};
|
|
2594
|
-
const de_InferenceSchedulerSummary = (output, context) => {
|
|
2595
|
-
return {
|
|
2596
|
-
DataDelayOffsetInMinutes: (0, smithy_client_1.expectLong)(output.DataDelayOffsetInMinutes),
|
|
2597
|
-
DataUploadFrequency: (0, smithy_client_1.expectString)(output.DataUploadFrequency),
|
|
2598
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2599
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2600
|
-
LatestInferenceResult: (0, smithy_client_1.expectString)(output.LatestInferenceResult),
|
|
2601
|
-
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
2602
|
-
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
2603
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2604
|
-
};
|
|
2605
|
-
};
|
|
2606
|
-
const de_IngestedFilesSummary = (output, context) => {
|
|
2607
|
-
return {
|
|
2608
|
-
DiscardedFiles: output.DiscardedFiles != null ? de_ListOfDiscardedFiles(output.DiscardedFiles, context) : undefined,
|
|
2609
|
-
IngestedNumberOfFiles: (0, smithy_client_1.expectInt32)(output.IngestedNumberOfFiles),
|
|
2610
|
-
TotalNumberOfFiles: (0, smithy_client_1.expectInt32)(output.TotalNumberOfFiles),
|
|
2611
|
-
};
|
|
2612
|
-
};
|
|
2613
|
-
const de_IngestionInputConfiguration = (output, context) => {
|
|
2614
|
-
return {
|
|
2615
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2616
|
-
? de_IngestionS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2617
|
-
: undefined,
|
|
2618
|
-
};
|
|
2619
|
-
};
|
|
2620
|
-
const de_IngestionS3InputConfiguration = (output, context) => {
|
|
2621
|
-
return {
|
|
2622
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
2623
|
-
KeyPattern: (0, smithy_client_1.expectString)(output.KeyPattern),
|
|
2624
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2625
|
-
};
|
|
2626
|
-
};
|
|
2627
|
-
const de_InsufficientSensorData = (output, context) => {
|
|
2628
|
-
return {
|
|
2629
|
-
MissingCompleteSensorData: output.MissingCompleteSensorData != null
|
|
2630
|
-
? de_MissingCompleteSensorData(output.MissingCompleteSensorData, context)
|
|
2631
|
-
: undefined,
|
|
2632
|
-
SensorsWithShortDateRange: output.SensorsWithShortDateRange != null
|
|
2633
|
-
? de_SensorsWithShortDateRange(output.SensorsWithShortDateRange, context)
|
|
2634
|
-
: undefined,
|
|
2635
|
-
};
|
|
2636
|
-
};
|
|
2637
|
-
const de_InternalServerException = (output, context) => {
|
|
2638
|
-
return {
|
|
2639
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
const de_InvalidSensorData = (output, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
AffectedSensorCount: (0, smithy_client_1.expectInt32)(output.AffectedSensorCount),
|
|
2645
|
-
TotalNumberOfInvalidValues: (0, smithy_client_1.expectInt32)(output.TotalNumberOfInvalidValues),
|
|
2646
|
-
};
|
|
2647
2077
|
};
|
|
2648
2078
|
const de_LabelGroupSummaries = (output, context) => {
|
|
2649
2079
|
const retVal = (output || [])
|
|
2650
2080
|
.filter((e) => e != null)
|
|
2651
2081
|
.map((entry) => {
|
|
2652
|
-
if (entry === null) {
|
|
2653
|
-
return null;
|
|
2654
|
-
}
|
|
2655
2082
|
return de_LabelGroupSummary(entry, context);
|
|
2656
2083
|
});
|
|
2657
2084
|
return retVal;
|
|
2658
2085
|
};
|
|
2659
2086
|
const de_LabelGroupSummary = (output, context) => {
|
|
2660
|
-
return {
|
|
2661
|
-
CreatedAt:
|
|
2662
|
-
LabelGroupArn:
|
|
2663
|
-
LabelGroupName:
|
|
2664
|
-
UpdatedAt:
|
|
2665
|
-
};
|
|
2666
|
-
};
|
|
2667
|
-
const de_LabelsInputConfiguration = (output, context) => {
|
|
2668
|
-
return {
|
|
2669
|
-
LabelGroupName: (0, smithy_client_1.expectString)(output.LabelGroupName),
|
|
2670
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2671
|
-
? de_LabelsS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2672
|
-
: undefined,
|
|
2673
|
-
};
|
|
2674
|
-
};
|
|
2675
|
-
const de_LabelsS3InputConfiguration = (output, context) => {
|
|
2676
|
-
return {
|
|
2677
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
2678
|
-
Prefix: (0, smithy_client_1.expectString)(output.Prefix),
|
|
2679
|
-
};
|
|
2087
|
+
return (0, smithy_client_1.take)(output, {
|
|
2088
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2089
|
+
LabelGroupArn: smithy_client_1.expectString,
|
|
2090
|
+
LabelGroupName: smithy_client_1.expectString,
|
|
2091
|
+
UpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2092
|
+
});
|
|
2680
2093
|
};
|
|
2681
2094
|
const de_LabelSummaries = (output, context) => {
|
|
2682
2095
|
const retVal = (output || [])
|
|
2683
2096
|
.filter((e) => e != null)
|
|
2684
2097
|
.map((entry) => {
|
|
2685
|
-
if (entry === null) {
|
|
2686
|
-
return null;
|
|
2687
|
-
}
|
|
2688
2098
|
return de_LabelSummary(entry, context);
|
|
2689
2099
|
});
|
|
2690
2100
|
return retVal;
|
|
2691
2101
|
};
|
|
2692
2102
|
const de_LabelSummary = (output, context) => {
|
|
2693
|
-
return {
|
|
2694
|
-
CreatedAt:
|
|
2695
|
-
EndTime:
|
|
2696
|
-
Equipment:
|
|
2697
|
-
FaultCode:
|
|
2698
|
-
LabelGroupArn:
|
|
2699
|
-
LabelGroupName:
|
|
2700
|
-
LabelId:
|
|
2701
|
-
Rating:
|
|
2702
|
-
StartTime:
|
|
2703
|
-
};
|
|
2704
|
-
};
|
|
2705
|
-
const de_LargeTimestampGaps = (output, context) => {
|
|
2706
|
-
return {
|
|
2707
|
-
MaxTimestampGapInDays: (0, smithy_client_1.expectInt32)(output.MaxTimestampGapInDays),
|
|
2708
|
-
NumberOfLargeTimestampGaps: (0, smithy_client_1.expectInt32)(output.NumberOfLargeTimestampGaps),
|
|
2709
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2710
|
-
};
|
|
2711
|
-
};
|
|
2712
|
-
const de_ListDataIngestionJobsResponse = (output, context) => {
|
|
2713
|
-
return {
|
|
2714
|
-
DataIngestionJobSummaries: output.DataIngestionJobSummaries != null
|
|
2715
|
-
? de_DataIngestionJobSummaries(output.DataIngestionJobSummaries, context)
|
|
2716
|
-
: undefined,
|
|
2717
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2718
|
-
};
|
|
2103
|
+
return (0, smithy_client_1.take)(output, {
|
|
2104
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2105
|
+
EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2106
|
+
Equipment: smithy_client_1.expectString,
|
|
2107
|
+
FaultCode: smithy_client_1.expectString,
|
|
2108
|
+
LabelGroupArn: smithy_client_1.expectString,
|
|
2109
|
+
LabelGroupName: smithy_client_1.expectString,
|
|
2110
|
+
LabelId: smithy_client_1.expectString,
|
|
2111
|
+
Rating: smithy_client_1.expectString,
|
|
2112
|
+
StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2113
|
+
});
|
|
2719
2114
|
};
|
|
2720
2115
|
const de_ListDatasetsResponse = (output, context) => {
|
|
2721
|
-
return {
|
|
2722
|
-
DatasetSummaries:
|
|
2723
|
-
NextToken:
|
|
2724
|
-
};
|
|
2116
|
+
return (0, smithy_client_1.take)(output, {
|
|
2117
|
+
DatasetSummaries: (_) => de_DatasetSummaries(_, context),
|
|
2118
|
+
NextToken: smithy_client_1.expectString,
|
|
2119
|
+
});
|
|
2725
2120
|
};
|
|
2726
2121
|
const de_ListInferenceEventsResponse = (output, context) => {
|
|
2727
|
-
return {
|
|
2728
|
-
InferenceEventSummaries:
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2732
|
-
};
|
|
2122
|
+
return (0, smithy_client_1.take)(output, {
|
|
2123
|
+
InferenceEventSummaries: (_) => de_InferenceEventSummaries(_, context),
|
|
2124
|
+
NextToken: smithy_client_1.expectString,
|
|
2125
|
+
});
|
|
2733
2126
|
};
|
|
2734
2127
|
const de_ListInferenceExecutionsResponse = (output, context) => {
|
|
2735
|
-
return {
|
|
2736
|
-
InferenceExecutionSummaries:
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2740
|
-
};
|
|
2741
|
-
};
|
|
2742
|
-
const de_ListInferenceSchedulersResponse = (output, context) => {
|
|
2743
|
-
return {
|
|
2744
|
-
InferenceSchedulerSummaries: output.InferenceSchedulerSummaries != null
|
|
2745
|
-
? de_InferenceSchedulerSummaries(output.InferenceSchedulerSummaries, context)
|
|
2746
|
-
: undefined,
|
|
2747
|
-
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
2748
|
-
};
|
|
2128
|
+
return (0, smithy_client_1.take)(output, {
|
|
2129
|
+
InferenceExecutionSummaries: (_) => de_InferenceExecutionSummaries(_, context),
|
|
2130
|
+
NextToken: smithy_client_1.expectString,
|
|
2131
|
+
});
|
|
2749
2132
|
};
|
|
2750
2133
|
const de_ListLabelGroupsResponse = (output, context) => {
|
|
2751
|
-
return {
|
|
2752
|
-
LabelGroupSummaries:
|
|
2753
|
-
NextToken:
|
|
2754
|
-
};
|
|
2134
|
+
return (0, smithy_client_1.take)(output, {
|
|
2135
|
+
LabelGroupSummaries: (_) => de_LabelGroupSummaries(_, context),
|
|
2136
|
+
NextToken: smithy_client_1.expectString,
|
|
2137
|
+
});
|
|
2755
2138
|
};
|
|
2756
2139
|
const de_ListLabelsResponse = (output, context) => {
|
|
2757
|
-
return {
|
|
2758
|
-
LabelSummaries:
|
|
2759
|
-
NextToken:
|
|
2760
|
-
};
|
|
2140
|
+
return (0, smithy_client_1.take)(output, {
|
|
2141
|
+
LabelSummaries: (_) => de_LabelSummaries(_, context),
|
|
2142
|
+
NextToken: smithy_client_1.expectString,
|
|
2143
|
+
});
|
|
2761
2144
|
};
|
|
2762
2145
|
const de_ListModelsResponse = (output, context) => {
|
|
2763
|
-
return {
|
|
2764
|
-
ModelSummaries:
|
|
2765
|
-
NextToken:
|
|
2766
|
-
};
|
|
2767
|
-
};
|
|
2768
|
-
const de_ListOfDiscardedFiles = (output, context) => {
|
|
2769
|
-
const retVal = (output || [])
|
|
2770
|
-
.filter((e) => e != null)
|
|
2771
|
-
.map((entry) => {
|
|
2772
|
-
if (entry === null) {
|
|
2773
|
-
return null;
|
|
2774
|
-
}
|
|
2775
|
-
return de_S3Object(entry, context);
|
|
2146
|
+
return (0, smithy_client_1.take)(output, {
|
|
2147
|
+
ModelSummaries: (_) => de_ModelSummaries(_, context),
|
|
2148
|
+
NextToken: smithy_client_1.expectString,
|
|
2776
2149
|
});
|
|
2777
|
-
return retVal;
|
|
2778
2150
|
};
|
|
2779
2151
|
const de_ListSensorStatisticsResponse = (output, context) => {
|
|
2780
|
-
return {
|
|
2781
|
-
NextToken:
|
|
2782
|
-
SensorStatisticsSummaries:
|
|
2783
|
-
|
|
2784
|
-
: undefined,
|
|
2785
|
-
};
|
|
2786
|
-
};
|
|
2787
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2788
|
-
return {
|
|
2789
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2790
|
-
};
|
|
2791
|
-
};
|
|
2792
|
-
const de_MissingCompleteSensorData = (output, context) => {
|
|
2793
|
-
return {
|
|
2794
|
-
AffectedSensorCount: (0, smithy_client_1.expectInt32)(output.AffectedSensorCount),
|
|
2795
|
-
};
|
|
2796
|
-
};
|
|
2797
|
-
const de_MissingSensorData = (output, context) => {
|
|
2798
|
-
return {
|
|
2799
|
-
AffectedSensorCount: (0, smithy_client_1.expectInt32)(output.AffectedSensorCount),
|
|
2800
|
-
TotalNumberOfMissingValues: (0, smithy_client_1.expectInt32)(output.TotalNumberOfMissingValues),
|
|
2801
|
-
};
|
|
2152
|
+
return (0, smithy_client_1.take)(output, {
|
|
2153
|
+
NextToken: smithy_client_1.expectString,
|
|
2154
|
+
SensorStatisticsSummaries: (_) => de_SensorStatisticsSummaries(_, context),
|
|
2155
|
+
});
|
|
2802
2156
|
};
|
|
2803
2157
|
const de_ModelSummaries = (output, context) => {
|
|
2804
2158
|
const retVal = (output || [])
|
|
2805
2159
|
.filter((e) => e != null)
|
|
2806
2160
|
.map((entry) => {
|
|
2807
|
-
if (entry === null) {
|
|
2808
|
-
return null;
|
|
2809
|
-
}
|
|
2810
2161
|
return de_ModelSummary(entry, context);
|
|
2811
2162
|
});
|
|
2812
2163
|
return retVal;
|
|
2813
2164
|
};
|
|
2814
2165
|
const de_ModelSummary = (output, context) => {
|
|
2815
|
-
return {
|
|
2816
|
-
CreatedAt:
|
|
2817
|
-
DatasetArn:
|
|
2818
|
-
DatasetName:
|
|
2819
|
-
ModelArn:
|
|
2820
|
-
ModelName:
|
|
2821
|
-
Status:
|
|
2822
|
-
};
|
|
2823
|
-
};
|
|
2824
|
-
const de_MonotonicValues = (output, context) => {
|
|
2825
|
-
return {
|
|
2826
|
-
Monotonicity: (0, smithy_client_1.expectString)(output.Monotonicity),
|
|
2827
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2828
|
-
};
|
|
2829
|
-
};
|
|
2830
|
-
const de_MultipleOperatingModes = (output, context) => {
|
|
2831
|
-
return {
|
|
2832
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2833
|
-
};
|
|
2834
|
-
};
|
|
2835
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2836
|
-
return {
|
|
2837
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2838
|
-
};
|
|
2839
|
-
};
|
|
2840
|
-
const de_S3Object = (output, context) => {
|
|
2841
|
-
return {
|
|
2842
|
-
Bucket: (0, smithy_client_1.expectString)(output.Bucket),
|
|
2843
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2844
|
-
};
|
|
2166
|
+
return (0, smithy_client_1.take)(output, {
|
|
2167
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2168
|
+
DatasetArn: smithy_client_1.expectString,
|
|
2169
|
+
DatasetName: smithy_client_1.expectString,
|
|
2170
|
+
ModelArn: smithy_client_1.expectString,
|
|
2171
|
+
ModelName: smithy_client_1.expectString,
|
|
2172
|
+
Status: smithy_client_1.expectString,
|
|
2173
|
+
});
|
|
2845
2174
|
};
|
|
2846
2175
|
const de_SensorStatisticsSummaries = (output, context) => {
|
|
2847
2176
|
const retVal = (output || [])
|
|
2848
2177
|
.filter((e) => e != null)
|
|
2849
2178
|
.map((entry) => {
|
|
2850
|
-
if (entry === null) {
|
|
2851
|
-
return null;
|
|
2852
|
-
}
|
|
2853
2179
|
return de_SensorStatisticsSummary(entry, context);
|
|
2854
2180
|
});
|
|
2855
2181
|
return retVal;
|
|
2856
2182
|
};
|
|
2857
2183
|
const de_SensorStatisticsSummary = (output, context) => {
|
|
2858
|
-
return {
|
|
2859
|
-
CategoricalValues:
|
|
2860
|
-
ComponentName:
|
|
2861
|
-
DataEndTime:
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
MissingValues: output.MissingValues != null ? de_CountPercent(output.MissingValues, context) : undefined,
|
|
2873
|
-
MonotonicValues: output.MonotonicValues != null ? de_MonotonicValues(output.MonotonicValues, context) : undefined,
|
|
2874
|
-
MultipleOperatingModes: output.MultipleOperatingModes != null
|
|
2875
|
-
? de_MultipleOperatingModes(output.MultipleOperatingModes, context)
|
|
2876
|
-
: undefined,
|
|
2877
|
-
SensorName: (0, smithy_client_1.expectString)(output.SensorName),
|
|
2878
|
-
};
|
|
2879
|
-
};
|
|
2880
|
-
const de_SensorsWithShortDateRange = (output, context) => {
|
|
2881
|
-
return {
|
|
2882
|
-
AffectedSensorCount: (0, smithy_client_1.expectInt32)(output.AffectedSensorCount),
|
|
2883
|
-
};
|
|
2884
|
-
};
|
|
2885
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2886
|
-
return {
|
|
2887
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2888
|
-
};
|
|
2889
|
-
};
|
|
2890
|
-
const de_StartDataIngestionJobResponse = (output, context) => {
|
|
2891
|
-
return {
|
|
2892
|
-
JobId: (0, smithy_client_1.expectString)(output.JobId),
|
|
2893
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2894
|
-
};
|
|
2895
|
-
};
|
|
2896
|
-
const de_StartInferenceSchedulerResponse = (output, context) => {
|
|
2897
|
-
return {
|
|
2898
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2899
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2900
|
-
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
2901
|
-
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
2902
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2903
|
-
};
|
|
2904
|
-
};
|
|
2905
|
-
const de_StopInferenceSchedulerResponse = (output, context) => {
|
|
2906
|
-
return {
|
|
2907
|
-
InferenceSchedulerArn: (0, smithy_client_1.expectString)(output.InferenceSchedulerArn),
|
|
2908
|
-
InferenceSchedulerName: (0, smithy_client_1.expectString)(output.InferenceSchedulerName),
|
|
2909
|
-
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
2910
|
-
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
2911
|
-
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2912
|
-
};
|
|
2913
|
-
};
|
|
2914
|
-
const de_Tag = (output, context) => {
|
|
2915
|
-
return {
|
|
2916
|
-
Key: (0, smithy_client_1.expectString)(output.Key),
|
|
2917
|
-
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2918
|
-
};
|
|
2919
|
-
};
|
|
2920
|
-
const de_TagList = (output, context) => {
|
|
2921
|
-
const retVal = (output || [])
|
|
2922
|
-
.filter((e) => e != null)
|
|
2923
|
-
.map((entry) => {
|
|
2924
|
-
if (entry === null) {
|
|
2925
|
-
return null;
|
|
2926
|
-
}
|
|
2927
|
-
return de_Tag(entry, context);
|
|
2184
|
+
return (0, smithy_client_1.take)(output, {
|
|
2185
|
+
CategoricalValues: smithy_client_1._json,
|
|
2186
|
+
ComponentName: smithy_client_1.expectString,
|
|
2187
|
+
DataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2188
|
+
DataExists: smithy_client_1.expectBoolean,
|
|
2189
|
+
DataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2190
|
+
DuplicateTimestamps: (_) => de_CountPercent(_, context),
|
|
2191
|
+
InvalidDateEntries: (_) => de_CountPercent(_, context),
|
|
2192
|
+
InvalidValues: (_) => de_CountPercent(_, context),
|
|
2193
|
+
LargeTimestampGaps: smithy_client_1._json,
|
|
2194
|
+
MissingValues: (_) => de_CountPercent(_, context),
|
|
2195
|
+
MonotonicValues: smithy_client_1._json,
|
|
2196
|
+
MultipleOperatingModes: smithy_client_1._json,
|
|
2197
|
+
SensorName: smithy_client_1.expectString,
|
|
2928
2198
|
});
|
|
2929
|
-
return retVal;
|
|
2930
|
-
};
|
|
2931
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2932
|
-
return {};
|
|
2933
|
-
};
|
|
2934
|
-
const de_ThrottlingException = (output, context) => {
|
|
2935
|
-
return {
|
|
2936
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2937
|
-
};
|
|
2938
|
-
};
|
|
2939
|
-
const de_UnsupportedTimestamps = (output, context) => {
|
|
2940
|
-
return {
|
|
2941
|
-
TotalNumberOfUnsupportedTimestamps: (0, smithy_client_1.expectInt32)(output.TotalNumberOfUnsupportedTimestamps),
|
|
2942
|
-
};
|
|
2943
|
-
};
|
|
2944
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2945
|
-
return {};
|
|
2946
|
-
};
|
|
2947
|
-
const de_ValidationException = (output, context) => {
|
|
2948
|
-
return {
|
|
2949
|
-
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
2950
|
-
};
|
|
2951
2199
|
};
|
|
2952
2200
|
const deserializeMetadata = (output) => ({
|
|
2953
2201
|
httpStatusCode: output.statusCode,
|
|
@@ -2962,6 +2210,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2962
2210
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2963
2211
|
};
|
|
2964
2212
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2213
|
+
const throwDefaultError = (0, smithy_client_1.withBaseException)(LookoutEquipmentServiceException_1.LookoutEquipmentServiceException);
|
|
2965
2214
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2966
2215
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2967
2216
|
const contents = {
|