@aws-sdk/client-lookoutequipment 3.312.0 → 3.316.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/LookoutEquipment.js +37 -462
- package/dist-cjs/protocols/Aws_json1_0.js +376 -1127
- package/dist-es/LookoutEquipment.js +37 -462
- package/dist-es/protocols/Aws_json1_0.js +377 -1128
- package/dist-types/LookoutEquipment.d.ts +41 -130
- package/dist-types/ts3.4/LookoutEquipment.d.ts +4 -1
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { LookoutEquipmentServiceException as __BaseException } from "../models/LookoutEquipmentServiceException";
|
|
5
5
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -36,79 +36,79 @@ export const se_CreateModelCommand = async (input, context) => {
|
|
|
36
36
|
export const se_DeleteDatasetCommand = async (input, context) => {
|
|
37
37
|
const headers = sharedHeaders("DeleteDataset");
|
|
38
38
|
let body;
|
|
39
|
-
body = JSON.stringify(
|
|
39
|
+
body = JSON.stringify(_json(input));
|
|
40
40
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
41
|
};
|
|
42
42
|
export const se_DeleteInferenceSchedulerCommand = async (input, context) => {
|
|
43
43
|
const headers = sharedHeaders("DeleteInferenceScheduler");
|
|
44
44
|
let body;
|
|
45
|
-
body = JSON.stringify(
|
|
45
|
+
body = JSON.stringify(_json(input));
|
|
46
46
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
47
|
};
|
|
48
48
|
export const se_DeleteLabelCommand = async (input, context) => {
|
|
49
49
|
const headers = sharedHeaders("DeleteLabel");
|
|
50
50
|
let body;
|
|
51
|
-
body = JSON.stringify(
|
|
51
|
+
body = JSON.stringify(_json(input));
|
|
52
52
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
53
|
};
|
|
54
54
|
export const se_DeleteLabelGroupCommand = async (input, context) => {
|
|
55
55
|
const headers = sharedHeaders("DeleteLabelGroup");
|
|
56
56
|
let body;
|
|
57
|
-
body = JSON.stringify(
|
|
57
|
+
body = JSON.stringify(_json(input));
|
|
58
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
59
|
};
|
|
60
60
|
export const se_DeleteModelCommand = async (input, context) => {
|
|
61
61
|
const headers = sharedHeaders("DeleteModel");
|
|
62
62
|
let body;
|
|
63
|
-
body = JSON.stringify(
|
|
63
|
+
body = JSON.stringify(_json(input));
|
|
64
64
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
65
|
};
|
|
66
66
|
export const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
67
67
|
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
68
68
|
let body;
|
|
69
|
-
body = JSON.stringify(
|
|
69
|
+
body = JSON.stringify(_json(input));
|
|
70
70
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
71
|
};
|
|
72
72
|
export const se_DescribeDatasetCommand = async (input, context) => {
|
|
73
73
|
const headers = sharedHeaders("DescribeDataset");
|
|
74
74
|
let body;
|
|
75
|
-
body = JSON.stringify(
|
|
75
|
+
body = JSON.stringify(_json(input));
|
|
76
76
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
77
|
};
|
|
78
78
|
export const se_DescribeInferenceSchedulerCommand = async (input, context) => {
|
|
79
79
|
const headers = sharedHeaders("DescribeInferenceScheduler");
|
|
80
80
|
let body;
|
|
81
|
-
body = JSON.stringify(
|
|
81
|
+
body = JSON.stringify(_json(input));
|
|
82
82
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
83
|
};
|
|
84
84
|
export const se_DescribeLabelCommand = async (input, context) => {
|
|
85
85
|
const headers = sharedHeaders("DescribeLabel");
|
|
86
86
|
let body;
|
|
87
|
-
body = JSON.stringify(
|
|
87
|
+
body = JSON.stringify(_json(input));
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
90
|
export const se_DescribeLabelGroupCommand = async (input, context) => {
|
|
91
91
|
const headers = sharedHeaders("DescribeLabelGroup");
|
|
92
92
|
let body;
|
|
93
|
-
body = JSON.stringify(
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
94
94
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
95
|
};
|
|
96
96
|
export const se_DescribeModelCommand = async (input, context) => {
|
|
97
97
|
const headers = sharedHeaders("DescribeModel");
|
|
98
98
|
let body;
|
|
99
|
-
body = JSON.stringify(
|
|
99
|
+
body = JSON.stringify(_json(input));
|
|
100
100
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
101
|
};
|
|
102
102
|
export const se_ListDataIngestionJobsCommand = async (input, context) => {
|
|
103
103
|
const headers = sharedHeaders("ListDataIngestionJobs");
|
|
104
104
|
let body;
|
|
105
|
-
body = JSON.stringify(
|
|
105
|
+
body = JSON.stringify(_json(input));
|
|
106
106
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
107
|
};
|
|
108
108
|
export const se_ListDatasetsCommand = async (input, context) => {
|
|
109
109
|
const headers = sharedHeaders("ListDatasets");
|
|
110
110
|
let body;
|
|
111
|
-
body = JSON.stringify(
|
|
111
|
+
body = JSON.stringify(_json(input));
|
|
112
112
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
113
|
};
|
|
114
114
|
export const se_ListInferenceEventsCommand = async (input, context) => {
|
|
@@ -126,13 +126,13 @@ export const se_ListInferenceExecutionsCommand = async (input, context) => {
|
|
|
126
126
|
export const se_ListInferenceSchedulersCommand = async (input, context) => {
|
|
127
127
|
const headers = sharedHeaders("ListInferenceSchedulers");
|
|
128
128
|
let body;
|
|
129
|
-
body = JSON.stringify(
|
|
129
|
+
body = JSON.stringify(_json(input));
|
|
130
130
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
131
|
};
|
|
132
132
|
export const se_ListLabelGroupsCommand = async (input, context) => {
|
|
133
133
|
const headers = sharedHeaders("ListLabelGroups");
|
|
134
134
|
let body;
|
|
135
|
-
body = JSON.stringify(
|
|
135
|
+
body = JSON.stringify(_json(input));
|
|
136
136
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
137
|
};
|
|
138
138
|
export const se_ListLabelsCommand = async (input, context) => {
|
|
@@ -144,19 +144,19 @@ export const se_ListLabelsCommand = async (input, context) => {
|
|
|
144
144
|
export const se_ListModelsCommand = async (input, context) => {
|
|
145
145
|
const headers = sharedHeaders("ListModels");
|
|
146
146
|
let body;
|
|
147
|
-
body = JSON.stringify(
|
|
147
|
+
body = JSON.stringify(_json(input));
|
|
148
148
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
149
|
};
|
|
150
150
|
export const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
151
151
|
const headers = sharedHeaders("ListSensorStatistics");
|
|
152
152
|
let body;
|
|
153
|
-
body = JSON.stringify(
|
|
153
|
+
body = JSON.stringify(_json(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
156
|
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
157
157
|
const headers = sharedHeaders("ListTagsForResource");
|
|
158
158
|
let body;
|
|
159
|
-
body = JSON.stringify(
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
160
160
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
161
|
};
|
|
162
162
|
export const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
@@ -168,37 +168,37 @@ export const se_StartDataIngestionJobCommand = async (input, context) => {
|
|
|
168
168
|
export const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
169
169
|
const headers = sharedHeaders("StartInferenceScheduler");
|
|
170
170
|
let body;
|
|
171
|
-
body = JSON.stringify(
|
|
171
|
+
body = JSON.stringify(_json(input));
|
|
172
172
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
173
|
};
|
|
174
174
|
export const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
175
175
|
const headers = sharedHeaders("StopInferenceScheduler");
|
|
176
176
|
let body;
|
|
177
|
-
body = JSON.stringify(
|
|
177
|
+
body = JSON.stringify(_json(input));
|
|
178
178
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
179
|
};
|
|
180
180
|
export const se_TagResourceCommand = async (input, context) => {
|
|
181
181
|
const headers = sharedHeaders("TagResource");
|
|
182
182
|
let body;
|
|
183
|
-
body = JSON.stringify(
|
|
183
|
+
body = JSON.stringify(_json(input));
|
|
184
184
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
185
|
};
|
|
186
186
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
187
187
|
const headers = sharedHeaders("UntagResource");
|
|
188
188
|
let body;
|
|
189
|
-
body = JSON.stringify(
|
|
189
|
+
body = JSON.stringify(_json(input));
|
|
190
190
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
191
|
};
|
|
192
192
|
export const se_UpdateInferenceSchedulerCommand = async (input, context) => {
|
|
193
193
|
const headers = sharedHeaders("UpdateInferenceScheduler");
|
|
194
194
|
let body;
|
|
195
|
-
body = JSON.stringify(
|
|
195
|
+
body = JSON.stringify(_json(input));
|
|
196
196
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
197
|
};
|
|
198
198
|
export const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
199
199
|
const headers = sharedHeaders("UpdateLabelGroup");
|
|
200
200
|
let body;
|
|
201
|
-
body = JSON.stringify(
|
|
201
|
+
body = JSON.stringify(_json(input));
|
|
202
202
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
203
|
};
|
|
204
204
|
export const de_CreateDatasetCommand = async (output, context) => {
|
|
@@ -207,12 +207,12 @@ export const de_CreateDatasetCommand = async (output, context) => {
|
|
|
207
207
|
}
|
|
208
208
|
const data = await parseBody(output.body, context);
|
|
209
209
|
let contents = {};
|
|
210
|
-
contents =
|
|
210
|
+
contents = _json(data);
|
|
211
211
|
const response = {
|
|
212
212
|
$metadata: deserializeMetadata(output),
|
|
213
213
|
...contents,
|
|
214
214
|
};
|
|
215
|
-
return
|
|
215
|
+
return response;
|
|
216
216
|
};
|
|
217
217
|
const de_CreateDatasetCommandError = async (output, context) => {
|
|
218
218
|
const parsedOutput = {
|
|
@@ -241,10 +241,9 @@ const de_CreateDatasetCommandError = async (output, context) => {
|
|
|
241
241
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
242
242
|
default:
|
|
243
243
|
const parsedBody = parsedOutput.body;
|
|
244
|
-
throwDefaultError({
|
|
244
|
+
return throwDefaultError({
|
|
245
245
|
output,
|
|
246
246
|
parsedBody,
|
|
247
|
-
exceptionCtor: __BaseException,
|
|
248
247
|
errorCode,
|
|
249
248
|
});
|
|
250
249
|
}
|
|
@@ -255,12 +254,12 @@ export const de_CreateInferenceSchedulerCommand = async (output, context) => {
|
|
|
255
254
|
}
|
|
256
255
|
const data = await parseBody(output.body, context);
|
|
257
256
|
let contents = {};
|
|
258
|
-
contents =
|
|
257
|
+
contents = _json(data);
|
|
259
258
|
const response = {
|
|
260
259
|
$metadata: deserializeMetadata(output),
|
|
261
260
|
...contents,
|
|
262
261
|
};
|
|
263
|
-
return
|
|
262
|
+
return response;
|
|
264
263
|
};
|
|
265
264
|
const de_CreateInferenceSchedulerCommandError = async (output, context) => {
|
|
266
265
|
const parsedOutput = {
|
|
@@ -292,10 +291,9 @@ const de_CreateInferenceSchedulerCommandError = async (output, context) => {
|
|
|
292
291
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
293
292
|
default:
|
|
294
293
|
const parsedBody = parsedOutput.body;
|
|
295
|
-
throwDefaultError({
|
|
294
|
+
return throwDefaultError({
|
|
296
295
|
output,
|
|
297
296
|
parsedBody,
|
|
298
|
-
exceptionCtor: __BaseException,
|
|
299
297
|
errorCode,
|
|
300
298
|
});
|
|
301
299
|
}
|
|
@@ -306,12 +304,12 @@ export const de_CreateLabelCommand = async (output, context) => {
|
|
|
306
304
|
}
|
|
307
305
|
const data = await parseBody(output.body, context);
|
|
308
306
|
let contents = {};
|
|
309
|
-
contents =
|
|
307
|
+
contents = _json(data);
|
|
310
308
|
const response = {
|
|
311
309
|
$metadata: deserializeMetadata(output),
|
|
312
310
|
...contents,
|
|
313
311
|
};
|
|
314
|
-
return
|
|
312
|
+
return response;
|
|
315
313
|
};
|
|
316
314
|
const de_CreateLabelCommandError = async (output, context) => {
|
|
317
315
|
const parsedOutput = {
|
|
@@ -343,10 +341,9 @@ const de_CreateLabelCommandError = async (output, context) => {
|
|
|
343
341
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
344
342
|
default:
|
|
345
343
|
const parsedBody = parsedOutput.body;
|
|
346
|
-
throwDefaultError({
|
|
344
|
+
return throwDefaultError({
|
|
347
345
|
output,
|
|
348
346
|
parsedBody,
|
|
349
|
-
exceptionCtor: __BaseException,
|
|
350
347
|
errorCode,
|
|
351
348
|
});
|
|
352
349
|
}
|
|
@@ -357,12 +354,12 @@ export const de_CreateLabelGroupCommand = async (output, context) => {
|
|
|
357
354
|
}
|
|
358
355
|
const data = await parseBody(output.body, context);
|
|
359
356
|
let contents = {};
|
|
360
|
-
contents =
|
|
357
|
+
contents = _json(data);
|
|
361
358
|
const response = {
|
|
362
359
|
$metadata: deserializeMetadata(output),
|
|
363
360
|
...contents,
|
|
364
361
|
};
|
|
365
|
-
return
|
|
362
|
+
return response;
|
|
366
363
|
};
|
|
367
364
|
const de_CreateLabelGroupCommandError = async (output, context) => {
|
|
368
365
|
const parsedOutput = {
|
|
@@ -391,10 +388,9 @@ const de_CreateLabelGroupCommandError = async (output, context) => {
|
|
|
391
388
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
392
389
|
default:
|
|
393
390
|
const parsedBody = parsedOutput.body;
|
|
394
|
-
throwDefaultError({
|
|
391
|
+
return throwDefaultError({
|
|
395
392
|
output,
|
|
396
393
|
parsedBody,
|
|
397
|
-
exceptionCtor: __BaseException,
|
|
398
394
|
errorCode,
|
|
399
395
|
});
|
|
400
396
|
}
|
|
@@ -405,12 +401,12 @@ export const de_CreateModelCommand = async (output, context) => {
|
|
|
405
401
|
}
|
|
406
402
|
const data = await parseBody(output.body, context);
|
|
407
403
|
let contents = {};
|
|
408
|
-
contents =
|
|
404
|
+
contents = _json(data);
|
|
409
405
|
const response = {
|
|
410
406
|
$metadata: deserializeMetadata(output),
|
|
411
407
|
...contents,
|
|
412
408
|
};
|
|
413
|
-
return
|
|
409
|
+
return response;
|
|
414
410
|
};
|
|
415
411
|
const de_CreateModelCommandError = async (output, context) => {
|
|
416
412
|
const parsedOutput = {
|
|
@@ -442,10 +438,9 @@ const de_CreateModelCommandError = async (output, context) => {
|
|
|
442
438
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
443
439
|
default:
|
|
444
440
|
const parsedBody = parsedOutput.body;
|
|
445
|
-
throwDefaultError({
|
|
441
|
+
return throwDefaultError({
|
|
446
442
|
output,
|
|
447
443
|
parsedBody,
|
|
448
|
-
exceptionCtor: __BaseException,
|
|
449
444
|
errorCode,
|
|
450
445
|
});
|
|
451
446
|
}
|
|
@@ -458,7 +453,7 @@ export const de_DeleteDatasetCommand = async (output, context) => {
|
|
|
458
453
|
const response = {
|
|
459
454
|
$metadata: deserializeMetadata(output),
|
|
460
455
|
};
|
|
461
|
-
return
|
|
456
|
+
return response;
|
|
462
457
|
};
|
|
463
458
|
const de_DeleteDatasetCommandError = async (output, context) => {
|
|
464
459
|
const parsedOutput = {
|
|
@@ -487,10 +482,9 @@ const de_DeleteDatasetCommandError = async (output, context) => {
|
|
|
487
482
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
488
483
|
default:
|
|
489
484
|
const parsedBody = parsedOutput.body;
|
|
490
|
-
throwDefaultError({
|
|
485
|
+
return throwDefaultError({
|
|
491
486
|
output,
|
|
492
487
|
parsedBody,
|
|
493
|
-
exceptionCtor: __BaseException,
|
|
494
488
|
errorCode,
|
|
495
489
|
});
|
|
496
490
|
}
|
|
@@ -503,7 +497,7 @@ export const de_DeleteInferenceSchedulerCommand = async (output, context) => {
|
|
|
503
497
|
const response = {
|
|
504
498
|
$metadata: deserializeMetadata(output),
|
|
505
499
|
};
|
|
506
|
-
return
|
|
500
|
+
return response;
|
|
507
501
|
};
|
|
508
502
|
const de_DeleteInferenceSchedulerCommandError = async (output, context) => {
|
|
509
503
|
const parsedOutput = {
|
|
@@ -532,10 +526,9 @@ const de_DeleteInferenceSchedulerCommandError = async (output, context) => {
|
|
|
532
526
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
533
527
|
default:
|
|
534
528
|
const parsedBody = parsedOutput.body;
|
|
535
|
-
throwDefaultError({
|
|
529
|
+
return throwDefaultError({
|
|
536
530
|
output,
|
|
537
531
|
parsedBody,
|
|
538
|
-
exceptionCtor: __BaseException,
|
|
539
532
|
errorCode,
|
|
540
533
|
});
|
|
541
534
|
}
|
|
@@ -548,7 +541,7 @@ export const de_DeleteLabelCommand = async (output, context) => {
|
|
|
548
541
|
const response = {
|
|
549
542
|
$metadata: deserializeMetadata(output),
|
|
550
543
|
};
|
|
551
|
-
return
|
|
544
|
+
return response;
|
|
552
545
|
};
|
|
553
546
|
const de_DeleteLabelCommandError = async (output, context) => {
|
|
554
547
|
const parsedOutput = {
|
|
@@ -577,10 +570,9 @@ const de_DeleteLabelCommandError = async (output, context) => {
|
|
|
577
570
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
578
571
|
default:
|
|
579
572
|
const parsedBody = parsedOutput.body;
|
|
580
|
-
throwDefaultError({
|
|
573
|
+
return throwDefaultError({
|
|
581
574
|
output,
|
|
582
575
|
parsedBody,
|
|
583
|
-
exceptionCtor: __BaseException,
|
|
584
576
|
errorCode,
|
|
585
577
|
});
|
|
586
578
|
}
|
|
@@ -593,7 +585,7 @@ export const de_DeleteLabelGroupCommand = async (output, context) => {
|
|
|
593
585
|
const response = {
|
|
594
586
|
$metadata: deserializeMetadata(output),
|
|
595
587
|
};
|
|
596
|
-
return
|
|
588
|
+
return response;
|
|
597
589
|
};
|
|
598
590
|
const de_DeleteLabelGroupCommandError = async (output, context) => {
|
|
599
591
|
const parsedOutput = {
|
|
@@ -622,10 +614,9 @@ const de_DeleteLabelGroupCommandError = async (output, context) => {
|
|
|
622
614
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
623
615
|
default:
|
|
624
616
|
const parsedBody = parsedOutput.body;
|
|
625
|
-
throwDefaultError({
|
|
617
|
+
return throwDefaultError({
|
|
626
618
|
output,
|
|
627
619
|
parsedBody,
|
|
628
|
-
exceptionCtor: __BaseException,
|
|
629
620
|
errorCode,
|
|
630
621
|
});
|
|
631
622
|
}
|
|
@@ -638,7 +629,7 @@ export const de_DeleteModelCommand = async (output, context) => {
|
|
|
638
629
|
const response = {
|
|
639
630
|
$metadata: deserializeMetadata(output),
|
|
640
631
|
};
|
|
641
|
-
return
|
|
632
|
+
return response;
|
|
642
633
|
};
|
|
643
634
|
const de_DeleteModelCommandError = async (output, context) => {
|
|
644
635
|
const parsedOutput = {
|
|
@@ -667,10 +658,9 @@ const de_DeleteModelCommandError = async (output, context) => {
|
|
|
667
658
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
668
659
|
default:
|
|
669
660
|
const parsedBody = parsedOutput.body;
|
|
670
|
-
throwDefaultError({
|
|
661
|
+
return throwDefaultError({
|
|
671
662
|
output,
|
|
672
663
|
parsedBody,
|
|
673
|
-
exceptionCtor: __BaseException,
|
|
674
664
|
errorCode,
|
|
675
665
|
});
|
|
676
666
|
}
|
|
@@ -686,7 +676,7 @@ export const de_DescribeDataIngestionJobCommand = async (output, context) => {
|
|
|
686
676
|
$metadata: deserializeMetadata(output),
|
|
687
677
|
...contents,
|
|
688
678
|
};
|
|
689
|
-
return
|
|
679
|
+
return response;
|
|
690
680
|
};
|
|
691
681
|
const de_DescribeDataIngestionJobCommandError = async (output, context) => {
|
|
692
682
|
const parsedOutput = {
|
|
@@ -712,10 +702,9 @@ const de_DescribeDataIngestionJobCommandError = async (output, context) => {
|
|
|
712
702
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
713
703
|
default:
|
|
714
704
|
const parsedBody = parsedOutput.body;
|
|
715
|
-
throwDefaultError({
|
|
705
|
+
return throwDefaultError({
|
|
716
706
|
output,
|
|
717
707
|
parsedBody,
|
|
718
|
-
exceptionCtor: __BaseException,
|
|
719
708
|
errorCode,
|
|
720
709
|
});
|
|
721
710
|
}
|
|
@@ -731,7 +720,7 @@ export const de_DescribeDatasetCommand = async (output, context) => {
|
|
|
731
720
|
$metadata: deserializeMetadata(output),
|
|
732
721
|
...contents,
|
|
733
722
|
};
|
|
734
|
-
return
|
|
723
|
+
return response;
|
|
735
724
|
};
|
|
736
725
|
const de_DescribeDatasetCommandError = async (output, context) => {
|
|
737
726
|
const parsedOutput = {
|
|
@@ -757,10 +746,9 @@ const de_DescribeDatasetCommandError = async (output, context) => {
|
|
|
757
746
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
758
747
|
default:
|
|
759
748
|
const parsedBody = parsedOutput.body;
|
|
760
|
-
throwDefaultError({
|
|
749
|
+
return throwDefaultError({
|
|
761
750
|
output,
|
|
762
751
|
parsedBody,
|
|
763
|
-
exceptionCtor: __BaseException,
|
|
764
752
|
errorCode,
|
|
765
753
|
});
|
|
766
754
|
}
|
|
@@ -776,7 +764,7 @@ export const de_DescribeInferenceSchedulerCommand = async (output, context) => {
|
|
|
776
764
|
$metadata: deserializeMetadata(output),
|
|
777
765
|
...contents,
|
|
778
766
|
};
|
|
779
|
-
return
|
|
767
|
+
return response;
|
|
780
768
|
};
|
|
781
769
|
const de_DescribeInferenceSchedulerCommandError = async (output, context) => {
|
|
782
770
|
const parsedOutput = {
|
|
@@ -802,10 +790,9 @@ const de_DescribeInferenceSchedulerCommandError = async (output, context) => {
|
|
|
802
790
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
803
791
|
default:
|
|
804
792
|
const parsedBody = parsedOutput.body;
|
|
805
|
-
throwDefaultError({
|
|
793
|
+
return throwDefaultError({
|
|
806
794
|
output,
|
|
807
795
|
parsedBody,
|
|
808
|
-
exceptionCtor: __BaseException,
|
|
809
796
|
errorCode,
|
|
810
797
|
});
|
|
811
798
|
}
|
|
@@ -821,7 +808,7 @@ export const de_DescribeLabelCommand = async (output, context) => {
|
|
|
821
808
|
$metadata: deserializeMetadata(output),
|
|
822
809
|
...contents,
|
|
823
810
|
};
|
|
824
|
-
return
|
|
811
|
+
return response;
|
|
825
812
|
};
|
|
826
813
|
const de_DescribeLabelCommandError = async (output, context) => {
|
|
827
814
|
const parsedOutput = {
|
|
@@ -847,10 +834,9 @@ const de_DescribeLabelCommandError = async (output, context) => {
|
|
|
847
834
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
848
835
|
default:
|
|
849
836
|
const parsedBody = parsedOutput.body;
|
|
850
|
-
throwDefaultError({
|
|
837
|
+
return throwDefaultError({
|
|
851
838
|
output,
|
|
852
839
|
parsedBody,
|
|
853
|
-
exceptionCtor: __BaseException,
|
|
854
840
|
errorCode,
|
|
855
841
|
});
|
|
856
842
|
}
|
|
@@ -866,7 +852,7 @@ export const de_DescribeLabelGroupCommand = async (output, context) => {
|
|
|
866
852
|
$metadata: deserializeMetadata(output),
|
|
867
853
|
...contents,
|
|
868
854
|
};
|
|
869
|
-
return
|
|
855
|
+
return response;
|
|
870
856
|
};
|
|
871
857
|
const de_DescribeLabelGroupCommandError = async (output, context) => {
|
|
872
858
|
const parsedOutput = {
|
|
@@ -892,10 +878,9 @@ const de_DescribeLabelGroupCommandError = async (output, context) => {
|
|
|
892
878
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
893
879
|
default:
|
|
894
880
|
const parsedBody = parsedOutput.body;
|
|
895
|
-
throwDefaultError({
|
|
881
|
+
return throwDefaultError({
|
|
896
882
|
output,
|
|
897
883
|
parsedBody,
|
|
898
|
-
exceptionCtor: __BaseException,
|
|
899
884
|
errorCode,
|
|
900
885
|
});
|
|
901
886
|
}
|
|
@@ -911,7 +896,7 @@ export const de_DescribeModelCommand = async (output, context) => {
|
|
|
911
896
|
$metadata: deserializeMetadata(output),
|
|
912
897
|
...contents,
|
|
913
898
|
};
|
|
914
|
-
return
|
|
899
|
+
return response;
|
|
915
900
|
};
|
|
916
901
|
const de_DescribeModelCommandError = async (output, context) => {
|
|
917
902
|
const parsedOutput = {
|
|
@@ -937,10 +922,9 @@ const de_DescribeModelCommandError = async (output, context) => {
|
|
|
937
922
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
938
923
|
default:
|
|
939
924
|
const parsedBody = parsedOutput.body;
|
|
940
|
-
throwDefaultError({
|
|
925
|
+
return throwDefaultError({
|
|
941
926
|
output,
|
|
942
927
|
parsedBody,
|
|
943
|
-
exceptionCtor: __BaseException,
|
|
944
928
|
errorCode,
|
|
945
929
|
});
|
|
946
930
|
}
|
|
@@ -951,12 +935,12 @@ export const de_ListDataIngestionJobsCommand = async (output, context) => {
|
|
|
951
935
|
}
|
|
952
936
|
const data = await parseBody(output.body, context);
|
|
953
937
|
let contents = {};
|
|
954
|
-
contents =
|
|
938
|
+
contents = _json(data);
|
|
955
939
|
const response = {
|
|
956
940
|
$metadata: deserializeMetadata(output),
|
|
957
941
|
...contents,
|
|
958
942
|
};
|
|
959
|
-
return
|
|
943
|
+
return response;
|
|
960
944
|
};
|
|
961
945
|
const de_ListDataIngestionJobsCommandError = async (output, context) => {
|
|
962
946
|
const parsedOutput = {
|
|
@@ -979,10 +963,9 @@ const de_ListDataIngestionJobsCommandError = async (output, context) => {
|
|
|
979
963
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
980
964
|
default:
|
|
981
965
|
const parsedBody = parsedOutput.body;
|
|
982
|
-
throwDefaultError({
|
|
966
|
+
return throwDefaultError({
|
|
983
967
|
output,
|
|
984
968
|
parsedBody,
|
|
985
|
-
exceptionCtor: __BaseException,
|
|
986
969
|
errorCode,
|
|
987
970
|
});
|
|
988
971
|
}
|
|
@@ -998,7 +981,7 @@ export const de_ListDatasetsCommand = async (output, context) => {
|
|
|
998
981
|
$metadata: deserializeMetadata(output),
|
|
999
982
|
...contents,
|
|
1000
983
|
};
|
|
1001
|
-
return
|
|
984
|
+
return response;
|
|
1002
985
|
};
|
|
1003
986
|
const de_ListDatasetsCommandError = async (output, context) => {
|
|
1004
987
|
const parsedOutput = {
|
|
@@ -1021,10 +1004,9 @@ const de_ListDatasetsCommandError = async (output, context) => {
|
|
|
1021
1004
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1022
1005
|
default:
|
|
1023
1006
|
const parsedBody = parsedOutput.body;
|
|
1024
|
-
throwDefaultError({
|
|
1007
|
+
return throwDefaultError({
|
|
1025
1008
|
output,
|
|
1026
1009
|
parsedBody,
|
|
1027
|
-
exceptionCtor: __BaseException,
|
|
1028
1010
|
errorCode,
|
|
1029
1011
|
});
|
|
1030
1012
|
}
|
|
@@ -1040,7 +1022,7 @@ export const de_ListInferenceEventsCommand = async (output, context) => {
|
|
|
1040
1022
|
$metadata: deserializeMetadata(output),
|
|
1041
1023
|
...contents,
|
|
1042
1024
|
};
|
|
1043
|
-
return
|
|
1025
|
+
return response;
|
|
1044
1026
|
};
|
|
1045
1027
|
const de_ListInferenceEventsCommandError = async (output, context) => {
|
|
1046
1028
|
const parsedOutput = {
|
|
@@ -1066,10 +1048,9 @@ const de_ListInferenceEventsCommandError = async (output, context) => {
|
|
|
1066
1048
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1067
1049
|
default:
|
|
1068
1050
|
const parsedBody = parsedOutput.body;
|
|
1069
|
-
throwDefaultError({
|
|
1051
|
+
return throwDefaultError({
|
|
1070
1052
|
output,
|
|
1071
1053
|
parsedBody,
|
|
1072
|
-
exceptionCtor: __BaseException,
|
|
1073
1054
|
errorCode,
|
|
1074
1055
|
});
|
|
1075
1056
|
}
|
|
@@ -1085,7 +1066,7 @@ export const de_ListInferenceExecutionsCommand = async (output, context) => {
|
|
|
1085
1066
|
$metadata: deserializeMetadata(output),
|
|
1086
1067
|
...contents,
|
|
1087
1068
|
};
|
|
1088
|
-
return
|
|
1069
|
+
return response;
|
|
1089
1070
|
};
|
|
1090
1071
|
const de_ListInferenceExecutionsCommandError = async (output, context) => {
|
|
1091
1072
|
const parsedOutput = {
|
|
@@ -1111,10 +1092,9 @@ const de_ListInferenceExecutionsCommandError = async (output, context) => {
|
|
|
1111
1092
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1112
1093
|
default:
|
|
1113
1094
|
const parsedBody = parsedOutput.body;
|
|
1114
|
-
throwDefaultError({
|
|
1095
|
+
return throwDefaultError({
|
|
1115
1096
|
output,
|
|
1116
1097
|
parsedBody,
|
|
1117
|
-
exceptionCtor: __BaseException,
|
|
1118
1098
|
errorCode,
|
|
1119
1099
|
});
|
|
1120
1100
|
}
|
|
@@ -1125,12 +1105,12 @@ export const de_ListInferenceSchedulersCommand = async (output, context) => {
|
|
|
1125
1105
|
}
|
|
1126
1106
|
const data = await parseBody(output.body, context);
|
|
1127
1107
|
let contents = {};
|
|
1128
|
-
contents =
|
|
1108
|
+
contents = _json(data);
|
|
1129
1109
|
const response = {
|
|
1130
1110
|
$metadata: deserializeMetadata(output),
|
|
1131
1111
|
...contents,
|
|
1132
1112
|
};
|
|
1133
|
-
return
|
|
1113
|
+
return response;
|
|
1134
1114
|
};
|
|
1135
1115
|
const de_ListInferenceSchedulersCommandError = async (output, context) => {
|
|
1136
1116
|
const parsedOutput = {
|
|
@@ -1153,10 +1133,9 @@ const de_ListInferenceSchedulersCommandError = async (output, context) => {
|
|
|
1153
1133
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1154
1134
|
default:
|
|
1155
1135
|
const parsedBody = parsedOutput.body;
|
|
1156
|
-
throwDefaultError({
|
|
1136
|
+
return throwDefaultError({
|
|
1157
1137
|
output,
|
|
1158
1138
|
parsedBody,
|
|
1159
|
-
exceptionCtor: __BaseException,
|
|
1160
1139
|
errorCode,
|
|
1161
1140
|
});
|
|
1162
1141
|
}
|
|
@@ -1172,7 +1151,7 @@ export const de_ListLabelGroupsCommand = async (output, context) => {
|
|
|
1172
1151
|
$metadata: deserializeMetadata(output),
|
|
1173
1152
|
...contents,
|
|
1174
1153
|
};
|
|
1175
|
-
return
|
|
1154
|
+
return response;
|
|
1176
1155
|
};
|
|
1177
1156
|
const de_ListLabelGroupsCommandError = async (output, context) => {
|
|
1178
1157
|
const parsedOutput = {
|
|
@@ -1195,10 +1174,9 @@ const de_ListLabelGroupsCommandError = async (output, context) => {
|
|
|
1195
1174
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1196
1175
|
default:
|
|
1197
1176
|
const parsedBody = parsedOutput.body;
|
|
1198
|
-
throwDefaultError({
|
|
1177
|
+
return throwDefaultError({
|
|
1199
1178
|
output,
|
|
1200
1179
|
parsedBody,
|
|
1201
|
-
exceptionCtor: __BaseException,
|
|
1202
1180
|
errorCode,
|
|
1203
1181
|
});
|
|
1204
1182
|
}
|
|
@@ -1214,7 +1192,7 @@ export const de_ListLabelsCommand = async (output, context) => {
|
|
|
1214
1192
|
$metadata: deserializeMetadata(output),
|
|
1215
1193
|
...contents,
|
|
1216
1194
|
};
|
|
1217
|
-
return
|
|
1195
|
+
return response;
|
|
1218
1196
|
};
|
|
1219
1197
|
const de_ListLabelsCommandError = async (output, context) => {
|
|
1220
1198
|
const parsedOutput = {
|
|
@@ -1237,10 +1215,9 @@ const de_ListLabelsCommandError = async (output, context) => {
|
|
|
1237
1215
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1238
1216
|
default:
|
|
1239
1217
|
const parsedBody = parsedOutput.body;
|
|
1240
|
-
throwDefaultError({
|
|
1218
|
+
return throwDefaultError({
|
|
1241
1219
|
output,
|
|
1242
1220
|
parsedBody,
|
|
1243
|
-
exceptionCtor: __BaseException,
|
|
1244
1221
|
errorCode,
|
|
1245
1222
|
});
|
|
1246
1223
|
}
|
|
@@ -1256,7 +1233,7 @@ export const de_ListModelsCommand = async (output, context) => {
|
|
|
1256
1233
|
$metadata: deserializeMetadata(output),
|
|
1257
1234
|
...contents,
|
|
1258
1235
|
};
|
|
1259
|
-
return
|
|
1236
|
+
return response;
|
|
1260
1237
|
};
|
|
1261
1238
|
const de_ListModelsCommandError = async (output, context) => {
|
|
1262
1239
|
const parsedOutput = {
|
|
@@ -1279,10 +1256,9 @@ const de_ListModelsCommandError = async (output, context) => {
|
|
|
1279
1256
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1280
1257
|
default:
|
|
1281
1258
|
const parsedBody = parsedOutput.body;
|
|
1282
|
-
throwDefaultError({
|
|
1259
|
+
return throwDefaultError({
|
|
1283
1260
|
output,
|
|
1284
1261
|
parsedBody,
|
|
1285
|
-
exceptionCtor: __BaseException,
|
|
1286
1262
|
errorCode,
|
|
1287
1263
|
});
|
|
1288
1264
|
}
|
|
@@ -1298,7 +1274,7 @@ export const de_ListSensorStatisticsCommand = async (output, context) => {
|
|
|
1298
1274
|
$metadata: deserializeMetadata(output),
|
|
1299
1275
|
...contents,
|
|
1300
1276
|
};
|
|
1301
|
-
return
|
|
1277
|
+
return response;
|
|
1302
1278
|
};
|
|
1303
1279
|
const de_ListSensorStatisticsCommandError = async (output, context) => {
|
|
1304
1280
|
const parsedOutput = {
|
|
@@ -1324,10 +1300,9 @@ const de_ListSensorStatisticsCommandError = async (output, context) => {
|
|
|
1324
1300
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1325
1301
|
default:
|
|
1326
1302
|
const parsedBody = parsedOutput.body;
|
|
1327
|
-
throwDefaultError({
|
|
1303
|
+
return throwDefaultError({
|
|
1328
1304
|
output,
|
|
1329
1305
|
parsedBody,
|
|
1330
|
-
exceptionCtor: __BaseException,
|
|
1331
1306
|
errorCode,
|
|
1332
1307
|
});
|
|
1333
1308
|
}
|
|
@@ -1338,12 +1313,12 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1338
1313
|
}
|
|
1339
1314
|
const data = await parseBody(output.body, context);
|
|
1340
1315
|
let contents = {};
|
|
1341
|
-
contents =
|
|
1316
|
+
contents = _json(data);
|
|
1342
1317
|
const response = {
|
|
1343
1318
|
$metadata: deserializeMetadata(output),
|
|
1344
1319
|
...contents,
|
|
1345
1320
|
};
|
|
1346
|
-
return
|
|
1321
|
+
return response;
|
|
1347
1322
|
};
|
|
1348
1323
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
1349
1324
|
const parsedOutput = {
|
|
@@ -1369,10 +1344,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
1369
1344
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1370
1345
|
default:
|
|
1371
1346
|
const parsedBody = parsedOutput.body;
|
|
1372
|
-
throwDefaultError({
|
|
1347
|
+
return throwDefaultError({
|
|
1373
1348
|
output,
|
|
1374
1349
|
parsedBody,
|
|
1375
|
-
exceptionCtor: __BaseException,
|
|
1376
1350
|
errorCode,
|
|
1377
1351
|
});
|
|
1378
1352
|
}
|
|
@@ -1383,12 +1357,12 @@ export const de_StartDataIngestionJobCommand = async (output, context) => {
|
|
|
1383
1357
|
}
|
|
1384
1358
|
const data = await parseBody(output.body, context);
|
|
1385
1359
|
let contents = {};
|
|
1386
|
-
contents =
|
|
1360
|
+
contents = _json(data);
|
|
1387
1361
|
const response = {
|
|
1388
1362
|
$metadata: deserializeMetadata(output),
|
|
1389
1363
|
...contents,
|
|
1390
1364
|
};
|
|
1391
|
-
return
|
|
1365
|
+
return response;
|
|
1392
1366
|
};
|
|
1393
1367
|
const de_StartDataIngestionJobCommandError = async (output, context) => {
|
|
1394
1368
|
const parsedOutput = {
|
|
@@ -1420,10 +1394,9 @@ const de_StartDataIngestionJobCommandError = async (output, context) => {
|
|
|
1420
1394
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1421
1395
|
default:
|
|
1422
1396
|
const parsedBody = parsedOutput.body;
|
|
1423
|
-
throwDefaultError({
|
|
1397
|
+
return throwDefaultError({
|
|
1424
1398
|
output,
|
|
1425
1399
|
parsedBody,
|
|
1426
|
-
exceptionCtor: __BaseException,
|
|
1427
1400
|
errorCode,
|
|
1428
1401
|
});
|
|
1429
1402
|
}
|
|
@@ -1434,12 +1407,12 @@ export const de_StartInferenceSchedulerCommand = async (output, context) => {
|
|
|
1434
1407
|
}
|
|
1435
1408
|
const data = await parseBody(output.body, context);
|
|
1436
1409
|
let contents = {};
|
|
1437
|
-
contents =
|
|
1410
|
+
contents = _json(data);
|
|
1438
1411
|
const response = {
|
|
1439
1412
|
$metadata: deserializeMetadata(output),
|
|
1440
1413
|
...contents,
|
|
1441
1414
|
};
|
|
1442
|
-
return
|
|
1415
|
+
return response;
|
|
1443
1416
|
};
|
|
1444
1417
|
const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
1445
1418
|
const parsedOutput = {
|
|
@@ -1468,10 +1441,9 @@ const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1468
1441
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1469
1442
|
default:
|
|
1470
1443
|
const parsedBody = parsedOutput.body;
|
|
1471
|
-
throwDefaultError({
|
|
1444
|
+
return throwDefaultError({
|
|
1472
1445
|
output,
|
|
1473
1446
|
parsedBody,
|
|
1474
|
-
exceptionCtor: __BaseException,
|
|
1475
1447
|
errorCode,
|
|
1476
1448
|
});
|
|
1477
1449
|
}
|
|
@@ -1482,12 +1454,12 @@ export const de_StopInferenceSchedulerCommand = async (output, context) => {
|
|
|
1482
1454
|
}
|
|
1483
1455
|
const data = await parseBody(output.body, context);
|
|
1484
1456
|
let contents = {};
|
|
1485
|
-
contents =
|
|
1457
|
+
contents = _json(data);
|
|
1486
1458
|
const response = {
|
|
1487
1459
|
$metadata: deserializeMetadata(output),
|
|
1488
1460
|
...contents,
|
|
1489
1461
|
};
|
|
1490
|
-
return
|
|
1462
|
+
return response;
|
|
1491
1463
|
};
|
|
1492
1464
|
const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
1493
1465
|
const parsedOutput = {
|
|
@@ -1516,10 +1488,9 @@ const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1516
1488
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1517
1489
|
default:
|
|
1518
1490
|
const parsedBody = parsedOutput.body;
|
|
1519
|
-
throwDefaultError({
|
|
1491
|
+
return throwDefaultError({
|
|
1520
1492
|
output,
|
|
1521
1493
|
parsedBody,
|
|
1522
|
-
exceptionCtor: __BaseException,
|
|
1523
1494
|
errorCode,
|
|
1524
1495
|
});
|
|
1525
1496
|
}
|
|
@@ -1530,12 +1501,12 @@ export const de_TagResourceCommand = async (output, context) => {
|
|
|
1530
1501
|
}
|
|
1531
1502
|
const data = await parseBody(output.body, context);
|
|
1532
1503
|
let contents = {};
|
|
1533
|
-
contents =
|
|
1504
|
+
contents = _json(data);
|
|
1534
1505
|
const response = {
|
|
1535
1506
|
$metadata: deserializeMetadata(output),
|
|
1536
1507
|
...contents,
|
|
1537
1508
|
};
|
|
1538
|
-
return
|
|
1509
|
+
return response;
|
|
1539
1510
|
};
|
|
1540
1511
|
const de_TagResourceCommandError = async (output, context) => {
|
|
1541
1512
|
const parsedOutput = {
|
|
@@ -1564,10 +1535,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
1564
1535
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1565
1536
|
default:
|
|
1566
1537
|
const parsedBody = parsedOutput.body;
|
|
1567
|
-
throwDefaultError({
|
|
1538
|
+
return throwDefaultError({
|
|
1568
1539
|
output,
|
|
1569
1540
|
parsedBody,
|
|
1570
|
-
exceptionCtor: __BaseException,
|
|
1571
1541
|
errorCode,
|
|
1572
1542
|
});
|
|
1573
1543
|
}
|
|
@@ -1578,12 +1548,12 @@ export const de_UntagResourceCommand = async (output, context) => {
|
|
|
1578
1548
|
}
|
|
1579
1549
|
const data = await parseBody(output.body, context);
|
|
1580
1550
|
let contents = {};
|
|
1581
|
-
contents =
|
|
1551
|
+
contents = _json(data);
|
|
1582
1552
|
const response = {
|
|
1583
1553
|
$metadata: deserializeMetadata(output),
|
|
1584
1554
|
...contents,
|
|
1585
1555
|
};
|
|
1586
|
-
return
|
|
1556
|
+
return response;
|
|
1587
1557
|
};
|
|
1588
1558
|
const de_UntagResourceCommandError = async (output, context) => {
|
|
1589
1559
|
const parsedOutput = {
|
|
@@ -1609,10 +1579,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
1609
1579
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1610
1580
|
default:
|
|
1611
1581
|
const parsedBody = parsedOutput.body;
|
|
1612
|
-
throwDefaultError({
|
|
1582
|
+
return throwDefaultError({
|
|
1613
1583
|
output,
|
|
1614
1584
|
parsedBody,
|
|
1615
|
-
exceptionCtor: __BaseException,
|
|
1616
1585
|
errorCode,
|
|
1617
1586
|
});
|
|
1618
1587
|
}
|
|
@@ -1625,7 +1594,7 @@ export const de_UpdateInferenceSchedulerCommand = async (output, context) => {
|
|
|
1625
1594
|
const response = {
|
|
1626
1595
|
$metadata: deserializeMetadata(output),
|
|
1627
1596
|
};
|
|
1628
|
-
return
|
|
1597
|
+
return response;
|
|
1629
1598
|
};
|
|
1630
1599
|
const de_UpdateInferenceSchedulerCommandError = async (output, context) => {
|
|
1631
1600
|
const parsedOutput = {
|
|
@@ -1654,10 +1623,9 @@ const de_UpdateInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1654
1623
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1655
1624
|
default:
|
|
1656
1625
|
const parsedBody = parsedOutput.body;
|
|
1657
|
-
throwDefaultError({
|
|
1626
|
+
return throwDefaultError({
|
|
1658
1627
|
output,
|
|
1659
1628
|
parsedBody,
|
|
1660
|
-
exceptionCtor: __BaseException,
|
|
1661
1629
|
errorCode,
|
|
1662
1630
|
});
|
|
1663
1631
|
}
|
|
@@ -1670,7 +1638,7 @@ export const de_UpdateLabelGroupCommand = async (output, context) => {
|
|
|
1670
1638
|
const response = {
|
|
1671
1639
|
$metadata: deserializeMetadata(output),
|
|
1672
1640
|
};
|
|
1673
|
-
return
|
|
1641
|
+
return response;
|
|
1674
1642
|
};
|
|
1675
1643
|
const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
1676
1644
|
const parsedOutput = {
|
|
@@ -1699,17 +1667,16 @@ const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
|
1699
1667
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1700
1668
|
default:
|
|
1701
1669
|
const parsedBody = parsedOutput.body;
|
|
1702
|
-
throwDefaultError({
|
|
1670
|
+
return throwDefaultError({
|
|
1703
1671
|
output,
|
|
1704
1672
|
parsedBody,
|
|
1705
|
-
exceptionCtor: __BaseException,
|
|
1706
1673
|
errorCode,
|
|
1707
1674
|
});
|
|
1708
1675
|
}
|
|
1709
1676
|
};
|
|
1710
1677
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1711
1678
|
const body = parsedOutput.body;
|
|
1712
|
-
const deserialized =
|
|
1679
|
+
const deserialized = _json(body);
|
|
1713
1680
|
const exception = new AccessDeniedException({
|
|
1714
1681
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1715
1682
|
...deserialized,
|
|
@@ -1718,7 +1685,7 @@ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
|
1718
1685
|
};
|
|
1719
1686
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1720
1687
|
const body = parsedOutput.body;
|
|
1721
|
-
const deserialized =
|
|
1688
|
+
const deserialized = _json(body);
|
|
1722
1689
|
const exception = new ConflictException({
|
|
1723
1690
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1724
1691
|
...deserialized,
|
|
@@ -1727,7 +1694,7 @@ const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
|
1727
1694
|
};
|
|
1728
1695
|
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1729
1696
|
const body = parsedOutput.body;
|
|
1730
|
-
const deserialized =
|
|
1697
|
+
const deserialized = _json(body);
|
|
1731
1698
|
const exception = new InternalServerException({
|
|
1732
1699
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1733
1700
|
...deserialized,
|
|
@@ -1736,7 +1703,7 @@ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
|
1736
1703
|
};
|
|
1737
1704
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1738
1705
|
const body = parsedOutput.body;
|
|
1739
|
-
const deserialized =
|
|
1706
|
+
const deserialized = _json(body);
|
|
1740
1707
|
const exception = new ResourceNotFoundException({
|
|
1741
1708
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1742
1709
|
...deserialized,
|
|
@@ -1745,7 +1712,7 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
1745
1712
|
};
|
|
1746
1713
|
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1747
1714
|
const body = parsedOutput.body;
|
|
1748
|
-
const deserialized =
|
|
1715
|
+
const deserialized = _json(body);
|
|
1749
1716
|
const exception = new ServiceQuotaExceededException({
|
|
1750
1717
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1751
1718
|
...deserialized,
|
|
@@ -1754,7 +1721,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
1754
1721
|
};
|
|
1755
1722
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1756
1723
|
const body = parsedOutput.body;
|
|
1757
|
-
const deserialized =
|
|
1724
|
+
const deserialized = _json(body);
|
|
1758
1725
|
const exception = new ThrottlingException({
|
|
1759
1726
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1760
1727
|
...deserialized,
|
|
@@ -1763,7 +1730,7 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
1763
1730
|
};
|
|
1764
1731
|
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1765
1732
|
const body = parsedOutput.body;
|
|
1766
|
-
const deserialized =
|
|
1733
|
+
const deserialized = _json(body);
|
|
1767
1734
|
const exception = new ValidationException({
|
|
1768
1735
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1769
1736
|
...deserialized,
|
|
@@ -1771,1113 +1738,394 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
1771
1738
|
return __decorateServiceException(exception, body);
|
|
1772
1739
|
};
|
|
1773
1740
|
const se_CreateDatasetRequest = (input, context) => {
|
|
1774
|
-
return {
|
|
1775
|
-
ClientToken:
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
};
|
|
1741
|
+
return take(input, {
|
|
1742
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1743
|
+
DatasetName: [],
|
|
1744
|
+
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1745
|
+
ServerSideKmsKeyId: [],
|
|
1746
|
+
Tags: _json,
|
|
1747
|
+
});
|
|
1781
1748
|
};
|
|
1782
1749
|
const se_CreateInferenceSchedulerRequest = (input, context) => {
|
|
1783
|
-
return {
|
|
1784
|
-
ClientToken:
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1796
|
-
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1797
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1798
|
-
};
|
|
1750
|
+
return take(input, {
|
|
1751
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1752
|
+
DataDelayOffsetInMinutes: [],
|
|
1753
|
+
DataInputConfiguration: _json,
|
|
1754
|
+
DataOutputConfiguration: _json,
|
|
1755
|
+
DataUploadFrequency: [],
|
|
1756
|
+
InferenceSchedulerName: [],
|
|
1757
|
+
ModelName: [],
|
|
1758
|
+
RoleArn: [],
|
|
1759
|
+
ServerSideKmsKeyId: [],
|
|
1760
|
+
Tags: _json,
|
|
1761
|
+
});
|
|
1799
1762
|
};
|
|
1800
1763
|
const se_CreateLabelGroupRequest = (input, context) => {
|
|
1801
|
-
return {
|
|
1802
|
-
ClientToken:
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
};
|
|
1764
|
+
return take(input, {
|
|
1765
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1766
|
+
FaultCodes: _json,
|
|
1767
|
+
LabelGroupName: [],
|
|
1768
|
+
Tags: _json,
|
|
1769
|
+
});
|
|
1807
1770
|
};
|
|
1808
1771
|
const se_CreateLabelRequest = (input, context) => {
|
|
1809
|
-
return {
|
|
1810
|
-
ClientToken:
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
};
|
|
1772
|
+
return take(input, {
|
|
1773
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1774
|
+
EndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1775
|
+
Equipment: [],
|
|
1776
|
+
FaultCode: [],
|
|
1777
|
+
LabelGroupName: [],
|
|
1778
|
+
Notes: [],
|
|
1779
|
+
Rating: [],
|
|
1780
|
+
StartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1781
|
+
});
|
|
1819
1782
|
};
|
|
1820
1783
|
const se_CreateModelRequest = (input, context) => {
|
|
1821
|
-
return {
|
|
1822
|
-
ClientToken:
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1838
|
-
...(input.OffCondition != null && { OffCondition: input.OffCondition }),
|
|
1839
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
1840
|
-
...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
|
|
1841
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
1842
|
-
...(input.TrainingDataEndTime != null && {
|
|
1843
|
-
TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000),
|
|
1844
|
-
}),
|
|
1845
|
-
...(input.TrainingDataStartTime != null && {
|
|
1846
|
-
TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000),
|
|
1847
|
-
}),
|
|
1848
|
-
};
|
|
1849
|
-
};
|
|
1850
|
-
const se_DataPreProcessingConfiguration = (input, context) => {
|
|
1851
|
-
return {
|
|
1852
|
-
...(input.TargetSamplingRate != null && { TargetSamplingRate: input.TargetSamplingRate }),
|
|
1853
|
-
};
|
|
1784
|
+
return take(input, {
|
|
1785
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1786
|
+
DataPreProcessingConfiguration: _json,
|
|
1787
|
+
DatasetName: [],
|
|
1788
|
+
DatasetSchema: (_) => se_DatasetSchema(_, context),
|
|
1789
|
+
EvaluationDataEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1790
|
+
EvaluationDataStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1791
|
+
LabelsInputConfiguration: _json,
|
|
1792
|
+
ModelName: [],
|
|
1793
|
+
OffCondition: [],
|
|
1794
|
+
RoleArn: [],
|
|
1795
|
+
ServerSideKmsKeyId: [],
|
|
1796
|
+
Tags: _json,
|
|
1797
|
+
TrainingDataEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1798
|
+
TrainingDataStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1799
|
+
});
|
|
1854
1800
|
};
|
|
1855
1801
|
const se_DatasetSchema = (input, context) => {
|
|
1856
|
-
return {
|
|
1857
|
-
|
|
1858
|
-
};
|
|
1859
|
-
};
|
|
1860
|
-
const se_DeleteDatasetRequest = (input, context) => {
|
|
1861
|
-
return {
|
|
1862
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1863
|
-
};
|
|
1864
|
-
};
|
|
1865
|
-
const se_DeleteInferenceSchedulerRequest = (input, context) => {
|
|
1866
|
-
return {
|
|
1867
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1868
|
-
};
|
|
1869
|
-
};
|
|
1870
|
-
const se_DeleteLabelGroupRequest = (input, context) => {
|
|
1871
|
-
return {
|
|
1872
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
const se_DeleteLabelRequest = (input, context) => {
|
|
1876
|
-
return {
|
|
1877
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1878
|
-
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
1879
|
-
};
|
|
1880
|
-
};
|
|
1881
|
-
const se_DeleteModelRequest = (input, context) => {
|
|
1882
|
-
return {
|
|
1883
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1884
|
-
};
|
|
1885
|
-
};
|
|
1886
|
-
const se_DescribeDataIngestionJobRequest = (input, context) => {
|
|
1887
|
-
return {
|
|
1888
|
-
...(input.JobId != null && { JobId: input.JobId }),
|
|
1889
|
-
};
|
|
1890
|
-
};
|
|
1891
|
-
const se_DescribeDatasetRequest = (input, context) => {
|
|
1892
|
-
return {
|
|
1893
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1894
|
-
};
|
|
1895
|
-
};
|
|
1896
|
-
const se_DescribeInferenceSchedulerRequest = (input, context) => {
|
|
1897
|
-
return {
|
|
1898
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
1899
|
-
};
|
|
1900
|
-
};
|
|
1901
|
-
const se_DescribeLabelGroupRequest = (input, context) => {
|
|
1902
|
-
return {
|
|
1903
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1904
|
-
};
|
|
1905
|
-
};
|
|
1906
|
-
const se_DescribeLabelRequest = (input, context) => {
|
|
1907
|
-
return {
|
|
1908
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1909
|
-
...(input.LabelId != null && { LabelId: input.LabelId }),
|
|
1910
|
-
};
|
|
1911
|
-
};
|
|
1912
|
-
const se_DescribeModelRequest = (input, context) => {
|
|
1913
|
-
return {
|
|
1914
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
1915
|
-
};
|
|
1916
|
-
};
|
|
1917
|
-
const se_FaultCodes = (input, context) => {
|
|
1918
|
-
return input
|
|
1919
|
-
.filter((e) => e != null)
|
|
1920
|
-
.map((entry) => {
|
|
1921
|
-
return entry;
|
|
1802
|
+
return take(input, {
|
|
1803
|
+
InlineDataSchema: __LazyJsonString.fromObject,
|
|
1922
1804
|
});
|
|
1923
1805
|
};
|
|
1924
|
-
const se_InferenceInputConfiguration = (input, context) => {
|
|
1925
|
-
return {
|
|
1926
|
-
...(input.InferenceInputNameConfiguration != null && {
|
|
1927
|
-
InferenceInputNameConfiguration: se_InferenceInputNameConfiguration(input.InferenceInputNameConfiguration, context),
|
|
1928
|
-
}),
|
|
1929
|
-
...(input.InputTimeZoneOffset != null && { InputTimeZoneOffset: input.InputTimeZoneOffset }),
|
|
1930
|
-
...(input.S3InputConfiguration != null && {
|
|
1931
|
-
S3InputConfiguration: se_InferenceS3InputConfiguration(input.S3InputConfiguration, context),
|
|
1932
|
-
}),
|
|
1933
|
-
};
|
|
1934
|
-
};
|
|
1935
|
-
const se_InferenceInputNameConfiguration = (input, context) => {
|
|
1936
|
-
return {
|
|
1937
|
-
...(input.ComponentTimestampDelimiter != null && {
|
|
1938
|
-
ComponentTimestampDelimiter: input.ComponentTimestampDelimiter,
|
|
1939
|
-
}),
|
|
1940
|
-
...(input.TimestampFormat != null && { TimestampFormat: input.TimestampFormat }),
|
|
1941
|
-
};
|
|
1942
|
-
};
|
|
1943
|
-
const se_InferenceOutputConfiguration = (input, context) => {
|
|
1944
|
-
return {
|
|
1945
|
-
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
1946
|
-
...(input.S3OutputConfiguration != null && {
|
|
1947
|
-
S3OutputConfiguration: se_InferenceS3OutputConfiguration(input.S3OutputConfiguration, context),
|
|
1948
|
-
}),
|
|
1949
|
-
};
|
|
1950
|
-
};
|
|
1951
|
-
const se_InferenceS3InputConfiguration = (input, context) => {
|
|
1952
|
-
return {
|
|
1953
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
1954
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1955
|
-
};
|
|
1956
|
-
};
|
|
1957
|
-
const se_InferenceS3OutputConfiguration = (input, context) => {
|
|
1958
|
-
return {
|
|
1959
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
1960
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1961
|
-
};
|
|
1962
|
-
};
|
|
1963
|
-
const se_IngestionInputConfiguration = (input, context) => {
|
|
1964
|
-
return {
|
|
1965
|
-
...(input.S3InputConfiguration != null && {
|
|
1966
|
-
S3InputConfiguration: se_IngestionS3InputConfiguration(input.S3InputConfiguration, context),
|
|
1967
|
-
}),
|
|
1968
|
-
};
|
|
1969
|
-
};
|
|
1970
|
-
const se_IngestionS3InputConfiguration = (input, context) => {
|
|
1971
|
-
return {
|
|
1972
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
1973
|
-
...(input.KeyPattern != null && { KeyPattern: input.KeyPattern }),
|
|
1974
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1975
|
-
};
|
|
1976
|
-
};
|
|
1977
|
-
const se_LabelsInputConfiguration = (input, context) => {
|
|
1978
|
-
return {
|
|
1979
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
1980
|
-
...(input.S3InputConfiguration != null && {
|
|
1981
|
-
S3InputConfiguration: se_LabelsS3InputConfiguration(input.S3InputConfiguration, context),
|
|
1982
|
-
}),
|
|
1983
|
-
};
|
|
1984
|
-
};
|
|
1985
|
-
const se_LabelsS3InputConfiguration = (input, context) => {
|
|
1986
|
-
return {
|
|
1987
|
-
...(input.Bucket != null && { Bucket: input.Bucket }),
|
|
1988
|
-
...(input.Prefix != null && { Prefix: input.Prefix }),
|
|
1989
|
-
};
|
|
1990
|
-
};
|
|
1991
|
-
const se_ListDataIngestionJobsRequest = (input, context) => {
|
|
1992
|
-
return {
|
|
1993
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
1994
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
1995
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
1996
|
-
...(input.Status != null && { Status: input.Status }),
|
|
1997
|
-
};
|
|
1998
|
-
};
|
|
1999
|
-
const se_ListDatasetsRequest = (input, context) => {
|
|
2000
|
-
return {
|
|
2001
|
-
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2002
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2003
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2004
|
-
};
|
|
2005
|
-
};
|
|
2006
1806
|
const se_ListInferenceEventsRequest = (input, context) => {
|
|
2007
|
-
return {
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
};
|
|
1807
|
+
return take(input, {
|
|
1808
|
+
InferenceSchedulerName: [],
|
|
1809
|
+
IntervalEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1810
|
+
IntervalStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1811
|
+
MaxResults: [],
|
|
1812
|
+
NextToken: [],
|
|
1813
|
+
});
|
|
2014
1814
|
};
|
|
2015
1815
|
const se_ListInferenceExecutionsRequest = (input, context) => {
|
|
2016
|
-
return {
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2025
|
-
};
|
|
2026
|
-
};
|
|
2027
|
-
const se_ListInferenceSchedulersRequest = (input, context) => {
|
|
2028
|
-
return {
|
|
2029
|
-
...(input.InferenceSchedulerNameBeginsWith != null && {
|
|
2030
|
-
InferenceSchedulerNameBeginsWith: input.InferenceSchedulerNameBeginsWith,
|
|
2031
|
-
}),
|
|
2032
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2033
|
-
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
2034
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2035
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2036
|
-
};
|
|
2037
|
-
};
|
|
2038
|
-
const se_ListLabelGroupsRequest = (input, context) => {
|
|
2039
|
-
return {
|
|
2040
|
-
...(input.LabelGroupNameBeginsWith != null && { LabelGroupNameBeginsWith: input.LabelGroupNameBeginsWith }),
|
|
2041
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2042
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2043
|
-
};
|
|
1816
|
+
return take(input, {
|
|
1817
|
+
DataEndTimeBefore: (_) => Math.round(_.getTime() / 1000),
|
|
1818
|
+
DataStartTimeAfter: (_) => Math.round(_.getTime() / 1000),
|
|
1819
|
+
InferenceSchedulerName: [],
|
|
1820
|
+
MaxResults: [],
|
|
1821
|
+
NextToken: [],
|
|
1822
|
+
Status: [],
|
|
1823
|
+
});
|
|
2044
1824
|
};
|
|
2045
1825
|
const se_ListLabelsRequest = (input, context) => {
|
|
2046
|
-
return {
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
};
|
|
2055
|
-
};
|
|
2056
|
-
const se_ListModelsRequest = (input, context) => {
|
|
2057
|
-
return {
|
|
2058
|
-
...(input.DatasetNameBeginsWith != null && { DatasetNameBeginsWith: input.DatasetNameBeginsWith }),
|
|
2059
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2060
|
-
...(input.ModelNameBeginsWith != null && { ModelNameBeginsWith: input.ModelNameBeginsWith }),
|
|
2061
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2062
|
-
...(input.Status != null && { Status: input.Status }),
|
|
2063
|
-
};
|
|
2064
|
-
};
|
|
2065
|
-
const se_ListSensorStatisticsRequest = (input, context) => {
|
|
2066
|
-
return {
|
|
2067
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2068
|
-
...(input.IngestionJobId != null && { IngestionJobId: input.IngestionJobId }),
|
|
2069
|
-
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
2070
|
-
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
2071
|
-
};
|
|
2072
|
-
};
|
|
2073
|
-
const se_ListTagsForResourceRequest = (input, context) => {
|
|
2074
|
-
return {
|
|
2075
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2076
|
-
};
|
|
2077
|
-
};
|
|
2078
|
-
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
2079
|
-
return {
|
|
2080
|
-
ClientToken: input.ClientToken ?? generateIdempotencyToken(),
|
|
2081
|
-
...(input.DatasetName != null && { DatasetName: input.DatasetName }),
|
|
2082
|
-
...(input.IngestionInputConfiguration != null && {
|
|
2083
|
-
IngestionInputConfiguration: se_IngestionInputConfiguration(input.IngestionInputConfiguration, context),
|
|
2084
|
-
}),
|
|
2085
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2086
|
-
};
|
|
2087
|
-
};
|
|
2088
|
-
const se_StartInferenceSchedulerRequest = (input, context) => {
|
|
2089
|
-
return {
|
|
2090
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2091
|
-
};
|
|
2092
|
-
};
|
|
2093
|
-
const se_StopInferenceSchedulerRequest = (input, context) => {
|
|
2094
|
-
return {
|
|
2095
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2096
|
-
};
|
|
2097
|
-
};
|
|
2098
|
-
const se_Tag = (input, context) => {
|
|
2099
|
-
return {
|
|
2100
|
-
...(input.Key != null && { Key: input.Key }),
|
|
2101
|
-
...(input.Value != null && { Value: input.Value }),
|
|
2102
|
-
};
|
|
2103
|
-
};
|
|
2104
|
-
const se_TagKeyList = (input, context) => {
|
|
2105
|
-
return input
|
|
2106
|
-
.filter((e) => e != null)
|
|
2107
|
-
.map((entry) => {
|
|
2108
|
-
return entry;
|
|
1826
|
+
return take(input, {
|
|
1827
|
+
Equipment: [],
|
|
1828
|
+
FaultCode: [],
|
|
1829
|
+
IntervalEndTime: (_) => Math.round(_.getTime() / 1000),
|
|
1830
|
+
IntervalStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
1831
|
+
LabelGroupName: [],
|
|
1832
|
+
MaxResults: [],
|
|
1833
|
+
NextToken: [],
|
|
2109
1834
|
});
|
|
2110
1835
|
};
|
|
2111
|
-
const
|
|
2112
|
-
return input
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
1836
|
+
const se_StartDataIngestionJobRequest = (input, context) => {
|
|
1837
|
+
return take(input, {
|
|
1838
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
1839
|
+
DatasetName: [],
|
|
1840
|
+
IngestionInputConfiguration: _json,
|
|
1841
|
+
RoleArn: [],
|
|
2116
1842
|
});
|
|
2117
1843
|
};
|
|
2118
|
-
const se_TagResourceRequest = (input, context) => {
|
|
2119
|
-
return {
|
|
2120
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2121
|
-
...(input.Tags != null && { Tags: se_TagList(input.Tags, context) }),
|
|
2122
|
-
};
|
|
2123
|
-
};
|
|
2124
|
-
const se_UntagResourceRequest = (input, context) => {
|
|
2125
|
-
return {
|
|
2126
|
-
...(input.ResourceArn != null && { ResourceArn: input.ResourceArn }),
|
|
2127
|
-
...(input.TagKeys != null && { TagKeys: se_TagKeyList(input.TagKeys, context) }),
|
|
2128
|
-
};
|
|
2129
|
-
};
|
|
2130
|
-
const se_UpdateInferenceSchedulerRequest = (input, context) => {
|
|
2131
|
-
return {
|
|
2132
|
-
...(input.DataDelayOffsetInMinutes != null && { DataDelayOffsetInMinutes: input.DataDelayOffsetInMinutes }),
|
|
2133
|
-
...(input.DataInputConfiguration != null && {
|
|
2134
|
-
DataInputConfiguration: se_InferenceInputConfiguration(input.DataInputConfiguration, context),
|
|
2135
|
-
}),
|
|
2136
|
-
...(input.DataOutputConfiguration != null && {
|
|
2137
|
-
DataOutputConfiguration: se_InferenceOutputConfiguration(input.DataOutputConfiguration, context),
|
|
2138
|
-
}),
|
|
2139
|
-
...(input.DataUploadFrequency != null && { DataUploadFrequency: input.DataUploadFrequency }),
|
|
2140
|
-
...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
|
|
2141
|
-
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
2142
|
-
};
|
|
2143
|
-
};
|
|
2144
|
-
const se_UpdateLabelGroupRequest = (input, context) => {
|
|
2145
|
-
return {
|
|
2146
|
-
...(input.FaultCodes != null && { FaultCodes: se_FaultCodes(input.FaultCodes, context) }),
|
|
2147
|
-
...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
const de_AccessDeniedException = (output, context) => {
|
|
2151
|
-
return {
|
|
2152
|
-
Message: __expectString(output.Message),
|
|
2153
|
-
};
|
|
2154
|
-
};
|
|
2155
|
-
const de_CategoricalValues = (output, context) => {
|
|
2156
|
-
return {
|
|
2157
|
-
NumberOfCategory: __expectInt32(output.NumberOfCategory),
|
|
2158
|
-
Status: __expectString(output.Status),
|
|
2159
|
-
};
|
|
2160
|
-
};
|
|
2161
|
-
const de_ConflictException = (output, context) => {
|
|
2162
|
-
return {
|
|
2163
|
-
Message: __expectString(output.Message),
|
|
2164
|
-
};
|
|
2165
|
-
};
|
|
2166
1844
|
const de_CountPercent = (output, context) => {
|
|
2167
|
-
return {
|
|
2168
|
-
Count: __expectInt32
|
|
2169
|
-
Percentage: __limitedParseFloat32
|
|
2170
|
-
};
|
|
2171
|
-
};
|
|
2172
|
-
const de_CreateDatasetResponse = (output, context) => {
|
|
2173
|
-
return {
|
|
2174
|
-
DatasetArn: __expectString(output.DatasetArn),
|
|
2175
|
-
DatasetName: __expectString(output.DatasetName),
|
|
2176
|
-
Status: __expectString(output.Status),
|
|
2177
|
-
};
|
|
2178
|
-
};
|
|
2179
|
-
const de_CreateInferenceSchedulerResponse = (output, context) => {
|
|
2180
|
-
return {
|
|
2181
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2182
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2183
|
-
Status: __expectString(output.Status),
|
|
2184
|
-
};
|
|
2185
|
-
};
|
|
2186
|
-
const de_CreateLabelGroupResponse = (output, context) => {
|
|
2187
|
-
return {
|
|
2188
|
-
LabelGroupArn: __expectString(output.LabelGroupArn),
|
|
2189
|
-
LabelGroupName: __expectString(output.LabelGroupName),
|
|
2190
|
-
};
|
|
2191
|
-
};
|
|
2192
|
-
const de_CreateLabelResponse = (output, context) => {
|
|
2193
|
-
return {
|
|
2194
|
-
LabelId: __expectString(output.LabelId),
|
|
2195
|
-
};
|
|
2196
|
-
};
|
|
2197
|
-
const de_CreateModelResponse = (output, context) => {
|
|
2198
|
-
return {
|
|
2199
|
-
ModelArn: __expectString(output.ModelArn),
|
|
2200
|
-
Status: __expectString(output.Status),
|
|
2201
|
-
};
|
|
2202
|
-
};
|
|
2203
|
-
const de_DataIngestionJobSummaries = (output, context) => {
|
|
2204
|
-
const retVal = (output || [])
|
|
2205
|
-
.filter((e) => e != null)
|
|
2206
|
-
.map((entry) => {
|
|
2207
|
-
if (entry === null) {
|
|
2208
|
-
return null;
|
|
2209
|
-
}
|
|
2210
|
-
return de_DataIngestionJobSummary(entry, context);
|
|
1845
|
+
return take(output, {
|
|
1846
|
+
Count: __expectInt32,
|
|
1847
|
+
Percentage: __limitedParseFloat32,
|
|
2211
1848
|
});
|
|
2212
|
-
return retVal;
|
|
2213
|
-
};
|
|
2214
|
-
const de_DataIngestionJobSummary = (output, context) => {
|
|
2215
|
-
return {
|
|
2216
|
-
DatasetArn: __expectString(output.DatasetArn),
|
|
2217
|
-
DatasetName: __expectString(output.DatasetName),
|
|
2218
|
-
IngestionInputConfiguration: output.IngestionInputConfiguration != null
|
|
2219
|
-
? de_IngestionInputConfiguration(output.IngestionInputConfiguration, context)
|
|
2220
|
-
: undefined,
|
|
2221
|
-
JobId: __expectString(output.JobId),
|
|
2222
|
-
Status: __expectString(output.Status),
|
|
2223
|
-
};
|
|
2224
|
-
};
|
|
2225
|
-
const de_DataPreProcessingConfiguration = (output, context) => {
|
|
2226
|
-
return {
|
|
2227
|
-
TargetSamplingRate: __expectString(output.TargetSamplingRate),
|
|
2228
|
-
};
|
|
2229
|
-
};
|
|
2230
|
-
const de_DataQualitySummary = (output, context) => {
|
|
2231
|
-
return {
|
|
2232
|
-
DuplicateTimestamps: output.DuplicateTimestamps != null ? de_DuplicateTimestamps(output.DuplicateTimestamps, context) : undefined,
|
|
2233
|
-
InsufficientSensorData: output.InsufficientSensorData != null
|
|
2234
|
-
? de_InsufficientSensorData(output.InsufficientSensorData, context)
|
|
2235
|
-
: undefined,
|
|
2236
|
-
InvalidSensorData: output.InvalidSensorData != null ? de_InvalidSensorData(output.InvalidSensorData, context) : undefined,
|
|
2237
|
-
MissingSensorData: output.MissingSensorData != null ? de_MissingSensorData(output.MissingSensorData, context) : undefined,
|
|
2238
|
-
UnsupportedTimestamps: output.UnsupportedTimestamps != null
|
|
2239
|
-
? de_UnsupportedTimestamps(output.UnsupportedTimestamps, context)
|
|
2240
|
-
: undefined,
|
|
2241
|
-
};
|
|
2242
1849
|
};
|
|
2243
1850
|
const de_DatasetSummaries = (output, context) => {
|
|
2244
1851
|
const retVal = (output || [])
|
|
2245
1852
|
.filter((e) => e != null)
|
|
2246
1853
|
.map((entry) => {
|
|
2247
|
-
if (entry === null) {
|
|
2248
|
-
return null;
|
|
2249
|
-
}
|
|
2250
1854
|
return de_DatasetSummary(entry, context);
|
|
2251
1855
|
});
|
|
2252
1856
|
return retVal;
|
|
2253
1857
|
};
|
|
2254
1858
|
const de_DatasetSummary = (output, context) => {
|
|
2255
|
-
return {
|
|
2256
|
-
CreatedAt:
|
|
2257
|
-
DatasetArn: __expectString
|
|
2258
|
-
DatasetName: __expectString
|
|
2259
|
-
Status: __expectString
|
|
2260
|
-
};
|
|
1859
|
+
return take(output, {
|
|
1860
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1861
|
+
DatasetArn: __expectString,
|
|
1862
|
+
DatasetName: __expectString,
|
|
1863
|
+
Status: __expectString,
|
|
1864
|
+
});
|
|
2261
1865
|
};
|
|
2262
1866
|
const de_DescribeDataIngestionJobResponse = (output, context) => {
|
|
2263
|
-
return {
|
|
2264
|
-
CreatedAt:
|
|
2265
|
-
DataEndTime:
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
: undefined,
|
|
2279
|
-
JobId: __expectString(output.JobId),
|
|
2280
|
-
RoleArn: __expectString(output.RoleArn),
|
|
2281
|
-
Status: __expectString(output.Status),
|
|
2282
|
-
StatusDetail: __expectString(output.StatusDetail),
|
|
2283
|
-
};
|
|
1867
|
+
return take(output, {
|
|
1868
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1869
|
+
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1870
|
+
DataQualitySummary: _json,
|
|
1871
|
+
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1872
|
+
DatasetArn: __expectString,
|
|
1873
|
+
FailedReason: __expectString,
|
|
1874
|
+
IngestedDataSize: __expectLong,
|
|
1875
|
+
IngestedFilesSummary: _json,
|
|
1876
|
+
IngestionInputConfiguration: _json,
|
|
1877
|
+
JobId: __expectString,
|
|
1878
|
+
RoleArn: __expectString,
|
|
1879
|
+
Status: __expectString,
|
|
1880
|
+
StatusDetail: __expectString,
|
|
1881
|
+
});
|
|
2284
1882
|
};
|
|
2285
1883
|
const de_DescribeDatasetResponse = (output, context) => {
|
|
2286
|
-
return {
|
|
2287
|
-
CreatedAt:
|
|
2288
|
-
DataEndTime:
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
LastUpdatedAt: output.LastUpdatedAt != null
|
|
2302
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
|
|
2303
|
-
: undefined,
|
|
2304
|
-
RoleArn: __expectString(output.RoleArn),
|
|
2305
|
-
Schema: output.Schema != null ? new __LazyJsonString(output.Schema) : undefined,
|
|
2306
|
-
ServerSideKmsKeyId: __expectString(output.ServerSideKmsKeyId),
|
|
2307
|
-
Status: __expectString(output.Status),
|
|
2308
|
-
};
|
|
1884
|
+
return take(output, {
|
|
1885
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1886
|
+
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1887
|
+
DataQualitySummary: _json,
|
|
1888
|
+
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1889
|
+
DatasetArn: __expectString,
|
|
1890
|
+
DatasetName: __expectString,
|
|
1891
|
+
IngestedFilesSummary: _json,
|
|
1892
|
+
IngestionInputConfiguration: _json,
|
|
1893
|
+
LastUpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1894
|
+
RoleArn: __expectString,
|
|
1895
|
+
Schema: (_) => new __LazyJsonString(_),
|
|
1896
|
+
ServerSideKmsKeyId: __expectString,
|
|
1897
|
+
Status: __expectString,
|
|
1898
|
+
});
|
|
2309
1899
|
};
|
|
2310
1900
|
const de_DescribeInferenceSchedulerResponse = (output, context) => {
|
|
2311
|
-
return {
|
|
2312
|
-
CreatedAt:
|
|
2313
|
-
DataDelayOffsetInMinutes: __expectLong
|
|
2314
|
-
DataInputConfiguration:
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
ServerSideKmsKeyId: __expectString(output.ServerSideKmsKeyId),
|
|
2328
|
-
Status: __expectString(output.Status),
|
|
2329
|
-
UpdatedAt: output.UpdatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedAt))) : undefined,
|
|
2330
|
-
};
|
|
1901
|
+
return take(output, {
|
|
1902
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1903
|
+
DataDelayOffsetInMinutes: __expectLong,
|
|
1904
|
+
DataInputConfiguration: _json,
|
|
1905
|
+
DataOutputConfiguration: _json,
|
|
1906
|
+
DataUploadFrequency: __expectString,
|
|
1907
|
+
InferenceSchedulerArn: __expectString,
|
|
1908
|
+
InferenceSchedulerName: __expectString,
|
|
1909
|
+
LatestInferenceResult: __expectString,
|
|
1910
|
+
ModelArn: __expectString,
|
|
1911
|
+
ModelName: __expectString,
|
|
1912
|
+
RoleArn: __expectString,
|
|
1913
|
+
ServerSideKmsKeyId: __expectString,
|
|
1914
|
+
Status: __expectString,
|
|
1915
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1916
|
+
});
|
|
2331
1917
|
};
|
|
2332
1918
|
const de_DescribeLabelGroupResponse = (output, context) => {
|
|
2333
|
-
return {
|
|
2334
|
-
CreatedAt:
|
|
2335
|
-
FaultCodes:
|
|
2336
|
-
LabelGroupArn: __expectString
|
|
2337
|
-
LabelGroupName: __expectString
|
|
2338
|
-
UpdatedAt:
|
|
2339
|
-
};
|
|
1919
|
+
return take(output, {
|
|
1920
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1921
|
+
FaultCodes: _json,
|
|
1922
|
+
LabelGroupArn: __expectString,
|
|
1923
|
+
LabelGroupName: __expectString,
|
|
1924
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1925
|
+
});
|
|
2340
1926
|
};
|
|
2341
1927
|
const de_DescribeLabelResponse = (output, context) => {
|
|
2342
|
-
return {
|
|
2343
|
-
CreatedAt:
|
|
2344
|
-
EndTime:
|
|
2345
|
-
Equipment: __expectString
|
|
2346
|
-
FaultCode: __expectString
|
|
2347
|
-
LabelGroupArn: __expectString
|
|
2348
|
-
LabelGroupName: __expectString
|
|
2349
|
-
LabelId: __expectString
|
|
2350
|
-
Notes: __expectString
|
|
2351
|
-
Rating: __expectString
|
|
2352
|
-
StartTime:
|
|
2353
|
-
};
|
|
1928
|
+
return take(output, {
|
|
1929
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1930
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1931
|
+
Equipment: __expectString,
|
|
1932
|
+
FaultCode: __expectString,
|
|
1933
|
+
LabelGroupArn: __expectString,
|
|
1934
|
+
LabelGroupName: __expectString,
|
|
1935
|
+
LabelId: __expectString,
|
|
1936
|
+
Notes: __expectString,
|
|
1937
|
+
Rating: __expectString,
|
|
1938
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1939
|
+
});
|
|
2354
1940
|
};
|
|
2355
1941
|
const de_DescribeModelResponse = (output, context) => {
|
|
2356
|
-
return {
|
|
2357
|
-
CreatedAt:
|
|
2358
|
-
DataPreProcessingConfiguration:
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
ModelName: __expectString(output.ModelName),
|
|
2379
|
-
OffCondition: __expectString(output.OffCondition),
|
|
2380
|
-
RoleArn: __expectString(output.RoleArn),
|
|
2381
|
-
Schema: output.Schema != null ? new __LazyJsonString(output.Schema) : undefined,
|
|
2382
|
-
ServerSideKmsKeyId: __expectString(output.ServerSideKmsKeyId),
|
|
2383
|
-
Status: __expectString(output.Status),
|
|
2384
|
-
TrainingDataEndTime: output.TrainingDataEndTime != null
|
|
2385
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TrainingDataEndTime)))
|
|
2386
|
-
: undefined,
|
|
2387
|
-
TrainingDataStartTime: output.TrainingDataStartTime != null
|
|
2388
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TrainingDataStartTime)))
|
|
2389
|
-
: undefined,
|
|
2390
|
-
TrainingExecutionEndTime: output.TrainingExecutionEndTime != null
|
|
2391
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TrainingExecutionEndTime)))
|
|
2392
|
-
: undefined,
|
|
2393
|
-
TrainingExecutionStartTime: output.TrainingExecutionStartTime != null
|
|
2394
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TrainingExecutionStartTime)))
|
|
2395
|
-
: undefined,
|
|
2396
|
-
};
|
|
2397
|
-
};
|
|
2398
|
-
const de_DuplicateTimestamps = (output, context) => {
|
|
2399
|
-
return {
|
|
2400
|
-
TotalNumberOfDuplicateTimestamps: __expectInt32(output.TotalNumberOfDuplicateTimestamps),
|
|
2401
|
-
};
|
|
2402
|
-
};
|
|
2403
|
-
const de_FaultCodes = (output, context) => {
|
|
2404
|
-
const retVal = (output || [])
|
|
2405
|
-
.filter((e) => e != null)
|
|
2406
|
-
.map((entry) => {
|
|
2407
|
-
if (entry === null) {
|
|
2408
|
-
return null;
|
|
2409
|
-
}
|
|
2410
|
-
return __expectString(entry);
|
|
1942
|
+
return take(output, {
|
|
1943
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1944
|
+
DataPreProcessingConfiguration: _json,
|
|
1945
|
+
DatasetArn: __expectString,
|
|
1946
|
+
DatasetName: __expectString,
|
|
1947
|
+
EvaluationDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1948
|
+
EvaluationDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1949
|
+
FailedReason: __expectString,
|
|
1950
|
+
LabelsInputConfiguration: _json,
|
|
1951
|
+
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1952
|
+
ModelArn: __expectString,
|
|
1953
|
+
ModelMetrics: (_) => new __LazyJsonString(_),
|
|
1954
|
+
ModelName: __expectString,
|
|
1955
|
+
OffCondition: __expectString,
|
|
1956
|
+
RoleArn: __expectString,
|
|
1957
|
+
Schema: (_) => new __LazyJsonString(_),
|
|
1958
|
+
ServerSideKmsKeyId: __expectString,
|
|
1959
|
+
Status: __expectString,
|
|
1960
|
+
TrainingDataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1961
|
+
TrainingDataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1962
|
+
TrainingExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1963
|
+
TrainingExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2411
1964
|
});
|
|
2412
|
-
return retVal;
|
|
2413
1965
|
};
|
|
2414
1966
|
const de_InferenceEventSummaries = (output, context) => {
|
|
2415
1967
|
const retVal = (output || [])
|
|
2416
1968
|
.filter((e) => e != null)
|
|
2417
1969
|
.map((entry) => {
|
|
2418
|
-
if (entry === null) {
|
|
2419
|
-
return null;
|
|
2420
|
-
}
|
|
2421
1970
|
return de_InferenceEventSummary(entry, context);
|
|
2422
1971
|
});
|
|
2423
1972
|
return retVal;
|
|
2424
1973
|
};
|
|
2425
1974
|
const de_InferenceEventSummary = (output, context) => {
|
|
2426
|
-
return {
|
|
2427
|
-
Diagnostics: __expectString
|
|
2428
|
-
EventDurationInSeconds: __expectLong
|
|
2429
|
-
EventEndTime:
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
: undefined,
|
|
2435
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2436
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2437
|
-
};
|
|
1975
|
+
return take(output, {
|
|
1976
|
+
Diagnostics: __expectString,
|
|
1977
|
+
EventDurationInSeconds: __expectLong,
|
|
1978
|
+
EventEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1979
|
+
EventStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1980
|
+
InferenceSchedulerArn: __expectString,
|
|
1981
|
+
InferenceSchedulerName: __expectString,
|
|
1982
|
+
});
|
|
2438
1983
|
};
|
|
2439
1984
|
const de_InferenceExecutionSummaries = (output, context) => {
|
|
2440
1985
|
const retVal = (output || [])
|
|
2441
1986
|
.filter((e) => e != null)
|
|
2442
1987
|
.map((entry) => {
|
|
2443
|
-
if (entry === null) {
|
|
2444
|
-
return null;
|
|
2445
|
-
}
|
|
2446
1988
|
return de_InferenceExecutionSummary(entry, context);
|
|
2447
1989
|
});
|
|
2448
1990
|
return retVal;
|
|
2449
1991
|
};
|
|
2450
1992
|
const de_InferenceExecutionSummary = (output, context) => {
|
|
2451
|
-
return {
|
|
2452
|
-
CustomerResultObject:
|
|
2453
|
-
DataEndTime:
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
: undefined,
|
|
2465
|
-
FailedReason: __expectString(output.FailedReason),
|
|
2466
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2467
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2468
|
-
ModelArn: __expectString(output.ModelArn),
|
|
2469
|
-
ModelName: __expectString(output.ModelName),
|
|
2470
|
-
ScheduledStartTime: output.ScheduledStartTime != null
|
|
2471
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ScheduledStartTime)))
|
|
2472
|
-
: undefined,
|
|
2473
|
-
Status: __expectString(output.Status),
|
|
2474
|
-
};
|
|
2475
|
-
};
|
|
2476
|
-
const de_InferenceInputConfiguration = (output, context) => {
|
|
2477
|
-
return {
|
|
2478
|
-
InferenceInputNameConfiguration: output.InferenceInputNameConfiguration != null
|
|
2479
|
-
? de_InferenceInputNameConfiguration(output.InferenceInputNameConfiguration, context)
|
|
2480
|
-
: undefined,
|
|
2481
|
-
InputTimeZoneOffset: __expectString(output.InputTimeZoneOffset),
|
|
2482
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2483
|
-
? de_InferenceS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2484
|
-
: undefined,
|
|
2485
|
-
};
|
|
2486
|
-
};
|
|
2487
|
-
const de_InferenceInputNameConfiguration = (output, context) => {
|
|
2488
|
-
return {
|
|
2489
|
-
ComponentTimestampDelimiter: __expectString(output.ComponentTimestampDelimiter),
|
|
2490
|
-
TimestampFormat: __expectString(output.TimestampFormat),
|
|
2491
|
-
};
|
|
2492
|
-
};
|
|
2493
|
-
const de_InferenceOutputConfiguration = (output, context) => {
|
|
2494
|
-
return {
|
|
2495
|
-
KmsKeyId: __expectString(output.KmsKeyId),
|
|
2496
|
-
S3OutputConfiguration: output.S3OutputConfiguration != null
|
|
2497
|
-
? de_InferenceS3OutputConfiguration(output.S3OutputConfiguration, context)
|
|
2498
|
-
: undefined,
|
|
2499
|
-
};
|
|
2500
|
-
};
|
|
2501
|
-
const de_InferenceS3InputConfiguration = (output, context) => {
|
|
2502
|
-
return {
|
|
2503
|
-
Bucket: __expectString(output.Bucket),
|
|
2504
|
-
Prefix: __expectString(output.Prefix),
|
|
2505
|
-
};
|
|
2506
|
-
};
|
|
2507
|
-
const de_InferenceS3OutputConfiguration = (output, context) => {
|
|
2508
|
-
return {
|
|
2509
|
-
Bucket: __expectString(output.Bucket),
|
|
2510
|
-
Prefix: __expectString(output.Prefix),
|
|
2511
|
-
};
|
|
2512
|
-
};
|
|
2513
|
-
const de_InferenceSchedulerSummaries = (output, context) => {
|
|
2514
|
-
const retVal = (output || [])
|
|
2515
|
-
.filter((e) => e != null)
|
|
2516
|
-
.map((entry) => {
|
|
2517
|
-
if (entry === null) {
|
|
2518
|
-
return null;
|
|
2519
|
-
}
|
|
2520
|
-
return de_InferenceSchedulerSummary(entry, context);
|
|
1993
|
+
return take(output, {
|
|
1994
|
+
CustomerResultObject: _json,
|
|
1995
|
+
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1996
|
+
DataInputConfiguration: _json,
|
|
1997
|
+
DataOutputConfiguration: _json,
|
|
1998
|
+
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1999
|
+
FailedReason: __expectString,
|
|
2000
|
+
InferenceSchedulerArn: __expectString,
|
|
2001
|
+
InferenceSchedulerName: __expectString,
|
|
2002
|
+
ModelArn: __expectString,
|
|
2003
|
+
ModelName: __expectString,
|
|
2004
|
+
ScheduledStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2005
|
+
Status: __expectString,
|
|
2521
2006
|
});
|
|
2522
|
-
return retVal;
|
|
2523
|
-
};
|
|
2524
|
-
const de_InferenceSchedulerSummary = (output, context) => {
|
|
2525
|
-
return {
|
|
2526
|
-
DataDelayOffsetInMinutes: __expectLong(output.DataDelayOffsetInMinutes),
|
|
2527
|
-
DataUploadFrequency: __expectString(output.DataUploadFrequency),
|
|
2528
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2529
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2530
|
-
LatestInferenceResult: __expectString(output.LatestInferenceResult),
|
|
2531
|
-
ModelArn: __expectString(output.ModelArn),
|
|
2532
|
-
ModelName: __expectString(output.ModelName),
|
|
2533
|
-
Status: __expectString(output.Status),
|
|
2534
|
-
};
|
|
2535
|
-
};
|
|
2536
|
-
const de_IngestedFilesSummary = (output, context) => {
|
|
2537
|
-
return {
|
|
2538
|
-
DiscardedFiles: output.DiscardedFiles != null ? de_ListOfDiscardedFiles(output.DiscardedFiles, context) : undefined,
|
|
2539
|
-
IngestedNumberOfFiles: __expectInt32(output.IngestedNumberOfFiles),
|
|
2540
|
-
TotalNumberOfFiles: __expectInt32(output.TotalNumberOfFiles),
|
|
2541
|
-
};
|
|
2542
|
-
};
|
|
2543
|
-
const de_IngestionInputConfiguration = (output, context) => {
|
|
2544
|
-
return {
|
|
2545
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2546
|
-
? de_IngestionS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2547
|
-
: undefined,
|
|
2548
|
-
};
|
|
2549
|
-
};
|
|
2550
|
-
const de_IngestionS3InputConfiguration = (output, context) => {
|
|
2551
|
-
return {
|
|
2552
|
-
Bucket: __expectString(output.Bucket),
|
|
2553
|
-
KeyPattern: __expectString(output.KeyPattern),
|
|
2554
|
-
Prefix: __expectString(output.Prefix),
|
|
2555
|
-
};
|
|
2556
|
-
};
|
|
2557
|
-
const de_InsufficientSensorData = (output, context) => {
|
|
2558
|
-
return {
|
|
2559
|
-
MissingCompleteSensorData: output.MissingCompleteSensorData != null
|
|
2560
|
-
? de_MissingCompleteSensorData(output.MissingCompleteSensorData, context)
|
|
2561
|
-
: undefined,
|
|
2562
|
-
SensorsWithShortDateRange: output.SensorsWithShortDateRange != null
|
|
2563
|
-
? de_SensorsWithShortDateRange(output.SensorsWithShortDateRange, context)
|
|
2564
|
-
: undefined,
|
|
2565
|
-
};
|
|
2566
|
-
};
|
|
2567
|
-
const de_InternalServerException = (output, context) => {
|
|
2568
|
-
return {
|
|
2569
|
-
Message: __expectString(output.Message),
|
|
2570
|
-
};
|
|
2571
|
-
};
|
|
2572
|
-
const de_InvalidSensorData = (output, context) => {
|
|
2573
|
-
return {
|
|
2574
|
-
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2575
|
-
TotalNumberOfInvalidValues: __expectInt32(output.TotalNumberOfInvalidValues),
|
|
2576
|
-
};
|
|
2577
2007
|
};
|
|
2578
2008
|
const de_LabelGroupSummaries = (output, context) => {
|
|
2579
2009
|
const retVal = (output || [])
|
|
2580
2010
|
.filter((e) => e != null)
|
|
2581
2011
|
.map((entry) => {
|
|
2582
|
-
if (entry === null) {
|
|
2583
|
-
return null;
|
|
2584
|
-
}
|
|
2585
2012
|
return de_LabelGroupSummary(entry, context);
|
|
2586
2013
|
});
|
|
2587
2014
|
return retVal;
|
|
2588
2015
|
};
|
|
2589
2016
|
const de_LabelGroupSummary = (output, context) => {
|
|
2590
|
-
return {
|
|
2591
|
-
CreatedAt:
|
|
2592
|
-
LabelGroupArn: __expectString
|
|
2593
|
-
LabelGroupName: __expectString
|
|
2594
|
-
UpdatedAt:
|
|
2595
|
-
};
|
|
2596
|
-
};
|
|
2597
|
-
const de_LabelsInputConfiguration = (output, context) => {
|
|
2598
|
-
return {
|
|
2599
|
-
LabelGroupName: __expectString(output.LabelGroupName),
|
|
2600
|
-
S3InputConfiguration: output.S3InputConfiguration != null
|
|
2601
|
-
? de_LabelsS3InputConfiguration(output.S3InputConfiguration, context)
|
|
2602
|
-
: undefined,
|
|
2603
|
-
};
|
|
2604
|
-
};
|
|
2605
|
-
const de_LabelsS3InputConfiguration = (output, context) => {
|
|
2606
|
-
return {
|
|
2607
|
-
Bucket: __expectString(output.Bucket),
|
|
2608
|
-
Prefix: __expectString(output.Prefix),
|
|
2609
|
-
};
|
|
2017
|
+
return take(output, {
|
|
2018
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2019
|
+
LabelGroupArn: __expectString,
|
|
2020
|
+
LabelGroupName: __expectString,
|
|
2021
|
+
UpdatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2022
|
+
});
|
|
2610
2023
|
};
|
|
2611
2024
|
const de_LabelSummaries = (output, context) => {
|
|
2612
2025
|
const retVal = (output || [])
|
|
2613
2026
|
.filter((e) => e != null)
|
|
2614
2027
|
.map((entry) => {
|
|
2615
|
-
if (entry === null) {
|
|
2616
|
-
return null;
|
|
2617
|
-
}
|
|
2618
2028
|
return de_LabelSummary(entry, context);
|
|
2619
2029
|
});
|
|
2620
2030
|
return retVal;
|
|
2621
2031
|
};
|
|
2622
2032
|
const de_LabelSummary = (output, context) => {
|
|
2623
|
-
return {
|
|
2624
|
-
CreatedAt:
|
|
2625
|
-
EndTime:
|
|
2626
|
-
Equipment: __expectString
|
|
2627
|
-
FaultCode: __expectString
|
|
2628
|
-
LabelGroupArn: __expectString
|
|
2629
|
-
LabelGroupName: __expectString
|
|
2630
|
-
LabelId: __expectString
|
|
2631
|
-
Rating: __expectString
|
|
2632
|
-
StartTime:
|
|
2633
|
-
};
|
|
2634
|
-
};
|
|
2635
|
-
const de_LargeTimestampGaps = (output, context) => {
|
|
2636
|
-
return {
|
|
2637
|
-
MaxTimestampGapInDays: __expectInt32(output.MaxTimestampGapInDays),
|
|
2638
|
-
NumberOfLargeTimestampGaps: __expectInt32(output.NumberOfLargeTimestampGaps),
|
|
2639
|
-
Status: __expectString(output.Status),
|
|
2640
|
-
};
|
|
2641
|
-
};
|
|
2642
|
-
const de_ListDataIngestionJobsResponse = (output, context) => {
|
|
2643
|
-
return {
|
|
2644
|
-
DataIngestionJobSummaries: output.DataIngestionJobSummaries != null
|
|
2645
|
-
? de_DataIngestionJobSummaries(output.DataIngestionJobSummaries, context)
|
|
2646
|
-
: undefined,
|
|
2647
|
-
NextToken: __expectString(output.NextToken),
|
|
2648
|
-
};
|
|
2033
|
+
return take(output, {
|
|
2034
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2035
|
+
EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2036
|
+
Equipment: __expectString,
|
|
2037
|
+
FaultCode: __expectString,
|
|
2038
|
+
LabelGroupArn: __expectString,
|
|
2039
|
+
LabelGroupName: __expectString,
|
|
2040
|
+
LabelId: __expectString,
|
|
2041
|
+
Rating: __expectString,
|
|
2042
|
+
StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2043
|
+
});
|
|
2649
2044
|
};
|
|
2650
2045
|
const de_ListDatasetsResponse = (output, context) => {
|
|
2651
|
-
return {
|
|
2652
|
-
DatasetSummaries:
|
|
2653
|
-
NextToken: __expectString
|
|
2654
|
-
};
|
|
2046
|
+
return take(output, {
|
|
2047
|
+
DatasetSummaries: (_) => de_DatasetSummaries(_, context),
|
|
2048
|
+
NextToken: __expectString,
|
|
2049
|
+
});
|
|
2655
2050
|
};
|
|
2656
2051
|
const de_ListInferenceEventsResponse = (output, context) => {
|
|
2657
|
-
return {
|
|
2658
|
-
InferenceEventSummaries:
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
NextToken: __expectString(output.NextToken),
|
|
2662
|
-
};
|
|
2052
|
+
return take(output, {
|
|
2053
|
+
InferenceEventSummaries: (_) => de_InferenceEventSummaries(_, context),
|
|
2054
|
+
NextToken: __expectString,
|
|
2055
|
+
});
|
|
2663
2056
|
};
|
|
2664
2057
|
const de_ListInferenceExecutionsResponse = (output, context) => {
|
|
2665
|
-
return {
|
|
2666
|
-
InferenceExecutionSummaries:
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
NextToken: __expectString(output.NextToken),
|
|
2670
|
-
};
|
|
2671
|
-
};
|
|
2672
|
-
const de_ListInferenceSchedulersResponse = (output, context) => {
|
|
2673
|
-
return {
|
|
2674
|
-
InferenceSchedulerSummaries: output.InferenceSchedulerSummaries != null
|
|
2675
|
-
? de_InferenceSchedulerSummaries(output.InferenceSchedulerSummaries, context)
|
|
2676
|
-
: undefined,
|
|
2677
|
-
NextToken: __expectString(output.NextToken),
|
|
2678
|
-
};
|
|
2058
|
+
return take(output, {
|
|
2059
|
+
InferenceExecutionSummaries: (_) => de_InferenceExecutionSummaries(_, context),
|
|
2060
|
+
NextToken: __expectString,
|
|
2061
|
+
});
|
|
2679
2062
|
};
|
|
2680
2063
|
const de_ListLabelGroupsResponse = (output, context) => {
|
|
2681
|
-
return {
|
|
2682
|
-
LabelGroupSummaries:
|
|
2683
|
-
NextToken: __expectString
|
|
2684
|
-
};
|
|
2064
|
+
return take(output, {
|
|
2065
|
+
LabelGroupSummaries: (_) => de_LabelGroupSummaries(_, context),
|
|
2066
|
+
NextToken: __expectString,
|
|
2067
|
+
});
|
|
2685
2068
|
};
|
|
2686
2069
|
const de_ListLabelsResponse = (output, context) => {
|
|
2687
|
-
return {
|
|
2688
|
-
LabelSummaries:
|
|
2689
|
-
NextToken: __expectString
|
|
2690
|
-
};
|
|
2070
|
+
return take(output, {
|
|
2071
|
+
LabelSummaries: (_) => de_LabelSummaries(_, context),
|
|
2072
|
+
NextToken: __expectString,
|
|
2073
|
+
});
|
|
2691
2074
|
};
|
|
2692
2075
|
const de_ListModelsResponse = (output, context) => {
|
|
2693
|
-
return {
|
|
2694
|
-
ModelSummaries:
|
|
2695
|
-
NextToken: __expectString
|
|
2696
|
-
};
|
|
2697
|
-
};
|
|
2698
|
-
const de_ListOfDiscardedFiles = (output, context) => {
|
|
2699
|
-
const retVal = (output || [])
|
|
2700
|
-
.filter((e) => e != null)
|
|
2701
|
-
.map((entry) => {
|
|
2702
|
-
if (entry === null) {
|
|
2703
|
-
return null;
|
|
2704
|
-
}
|
|
2705
|
-
return de_S3Object(entry, context);
|
|
2076
|
+
return take(output, {
|
|
2077
|
+
ModelSummaries: (_) => de_ModelSummaries(_, context),
|
|
2078
|
+
NextToken: __expectString,
|
|
2706
2079
|
});
|
|
2707
|
-
return retVal;
|
|
2708
2080
|
};
|
|
2709
2081
|
const de_ListSensorStatisticsResponse = (output, context) => {
|
|
2710
|
-
return {
|
|
2711
|
-
NextToken: __expectString
|
|
2712
|
-
SensorStatisticsSummaries:
|
|
2713
|
-
|
|
2714
|
-
: undefined,
|
|
2715
|
-
};
|
|
2716
|
-
};
|
|
2717
|
-
const de_ListTagsForResourceResponse = (output, context) => {
|
|
2718
|
-
return {
|
|
2719
|
-
Tags: output.Tags != null ? de_TagList(output.Tags, context) : undefined,
|
|
2720
|
-
};
|
|
2721
|
-
};
|
|
2722
|
-
const de_MissingCompleteSensorData = (output, context) => {
|
|
2723
|
-
return {
|
|
2724
|
-
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2725
|
-
};
|
|
2726
|
-
};
|
|
2727
|
-
const de_MissingSensorData = (output, context) => {
|
|
2728
|
-
return {
|
|
2729
|
-
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2730
|
-
TotalNumberOfMissingValues: __expectInt32(output.TotalNumberOfMissingValues),
|
|
2731
|
-
};
|
|
2082
|
+
return take(output, {
|
|
2083
|
+
NextToken: __expectString,
|
|
2084
|
+
SensorStatisticsSummaries: (_) => de_SensorStatisticsSummaries(_, context),
|
|
2085
|
+
});
|
|
2732
2086
|
};
|
|
2733
2087
|
const de_ModelSummaries = (output, context) => {
|
|
2734
2088
|
const retVal = (output || [])
|
|
2735
2089
|
.filter((e) => e != null)
|
|
2736
2090
|
.map((entry) => {
|
|
2737
|
-
if (entry === null) {
|
|
2738
|
-
return null;
|
|
2739
|
-
}
|
|
2740
2091
|
return de_ModelSummary(entry, context);
|
|
2741
2092
|
});
|
|
2742
2093
|
return retVal;
|
|
2743
2094
|
};
|
|
2744
2095
|
const de_ModelSummary = (output, context) => {
|
|
2745
|
-
return {
|
|
2746
|
-
CreatedAt:
|
|
2747
|
-
DatasetArn: __expectString
|
|
2748
|
-
DatasetName: __expectString
|
|
2749
|
-
ModelArn: __expectString
|
|
2750
|
-
ModelName: __expectString
|
|
2751
|
-
Status: __expectString
|
|
2752
|
-
};
|
|
2753
|
-
};
|
|
2754
|
-
const de_MonotonicValues = (output, context) => {
|
|
2755
|
-
return {
|
|
2756
|
-
Monotonicity: __expectString(output.Monotonicity),
|
|
2757
|
-
Status: __expectString(output.Status),
|
|
2758
|
-
};
|
|
2759
|
-
};
|
|
2760
|
-
const de_MultipleOperatingModes = (output, context) => {
|
|
2761
|
-
return {
|
|
2762
|
-
Status: __expectString(output.Status),
|
|
2763
|
-
};
|
|
2764
|
-
};
|
|
2765
|
-
const de_ResourceNotFoundException = (output, context) => {
|
|
2766
|
-
return {
|
|
2767
|
-
Message: __expectString(output.Message),
|
|
2768
|
-
};
|
|
2769
|
-
};
|
|
2770
|
-
const de_S3Object = (output, context) => {
|
|
2771
|
-
return {
|
|
2772
|
-
Bucket: __expectString(output.Bucket),
|
|
2773
|
-
Key: __expectString(output.Key),
|
|
2774
|
-
};
|
|
2096
|
+
return take(output, {
|
|
2097
|
+
CreatedAt: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2098
|
+
DatasetArn: __expectString,
|
|
2099
|
+
DatasetName: __expectString,
|
|
2100
|
+
ModelArn: __expectString,
|
|
2101
|
+
ModelName: __expectString,
|
|
2102
|
+
Status: __expectString,
|
|
2103
|
+
});
|
|
2775
2104
|
};
|
|
2776
2105
|
const de_SensorStatisticsSummaries = (output, context) => {
|
|
2777
2106
|
const retVal = (output || [])
|
|
2778
2107
|
.filter((e) => e != null)
|
|
2779
2108
|
.map((entry) => {
|
|
2780
|
-
if (entry === null) {
|
|
2781
|
-
return null;
|
|
2782
|
-
}
|
|
2783
2109
|
return de_SensorStatisticsSummary(entry, context);
|
|
2784
2110
|
});
|
|
2785
2111
|
return retVal;
|
|
2786
2112
|
};
|
|
2787
2113
|
const de_SensorStatisticsSummary = (output, context) => {
|
|
2788
|
-
return {
|
|
2789
|
-
CategoricalValues:
|
|
2790
|
-
ComponentName: __expectString
|
|
2791
|
-
DataEndTime:
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
MissingValues: output.MissingValues != null ? de_CountPercent(output.MissingValues, context) : undefined,
|
|
2803
|
-
MonotonicValues: output.MonotonicValues != null ? de_MonotonicValues(output.MonotonicValues, context) : undefined,
|
|
2804
|
-
MultipleOperatingModes: output.MultipleOperatingModes != null
|
|
2805
|
-
? de_MultipleOperatingModes(output.MultipleOperatingModes, context)
|
|
2806
|
-
: undefined,
|
|
2807
|
-
SensorName: __expectString(output.SensorName),
|
|
2808
|
-
};
|
|
2809
|
-
};
|
|
2810
|
-
const de_SensorsWithShortDateRange = (output, context) => {
|
|
2811
|
-
return {
|
|
2812
|
-
AffectedSensorCount: __expectInt32(output.AffectedSensorCount),
|
|
2813
|
-
};
|
|
2814
|
-
};
|
|
2815
|
-
const de_ServiceQuotaExceededException = (output, context) => {
|
|
2816
|
-
return {
|
|
2817
|
-
Message: __expectString(output.Message),
|
|
2818
|
-
};
|
|
2819
|
-
};
|
|
2820
|
-
const de_StartDataIngestionJobResponse = (output, context) => {
|
|
2821
|
-
return {
|
|
2822
|
-
JobId: __expectString(output.JobId),
|
|
2823
|
-
Status: __expectString(output.Status),
|
|
2824
|
-
};
|
|
2825
|
-
};
|
|
2826
|
-
const de_StartInferenceSchedulerResponse = (output, context) => {
|
|
2827
|
-
return {
|
|
2828
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2829
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2830
|
-
ModelArn: __expectString(output.ModelArn),
|
|
2831
|
-
ModelName: __expectString(output.ModelName),
|
|
2832
|
-
Status: __expectString(output.Status),
|
|
2833
|
-
};
|
|
2834
|
-
};
|
|
2835
|
-
const de_StopInferenceSchedulerResponse = (output, context) => {
|
|
2836
|
-
return {
|
|
2837
|
-
InferenceSchedulerArn: __expectString(output.InferenceSchedulerArn),
|
|
2838
|
-
InferenceSchedulerName: __expectString(output.InferenceSchedulerName),
|
|
2839
|
-
ModelArn: __expectString(output.ModelArn),
|
|
2840
|
-
ModelName: __expectString(output.ModelName),
|
|
2841
|
-
Status: __expectString(output.Status),
|
|
2842
|
-
};
|
|
2843
|
-
};
|
|
2844
|
-
const de_Tag = (output, context) => {
|
|
2845
|
-
return {
|
|
2846
|
-
Key: __expectString(output.Key),
|
|
2847
|
-
Value: __expectString(output.Value),
|
|
2848
|
-
};
|
|
2849
|
-
};
|
|
2850
|
-
const de_TagList = (output, context) => {
|
|
2851
|
-
const retVal = (output || [])
|
|
2852
|
-
.filter((e) => e != null)
|
|
2853
|
-
.map((entry) => {
|
|
2854
|
-
if (entry === null) {
|
|
2855
|
-
return null;
|
|
2856
|
-
}
|
|
2857
|
-
return de_Tag(entry, context);
|
|
2114
|
+
return take(output, {
|
|
2115
|
+
CategoricalValues: _json,
|
|
2116
|
+
ComponentName: __expectString,
|
|
2117
|
+
DataEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2118
|
+
DataExists: __expectBoolean,
|
|
2119
|
+
DataStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2120
|
+
DuplicateTimestamps: (_) => de_CountPercent(_, context),
|
|
2121
|
+
InvalidDateEntries: (_) => de_CountPercent(_, context),
|
|
2122
|
+
InvalidValues: (_) => de_CountPercent(_, context),
|
|
2123
|
+
LargeTimestampGaps: _json,
|
|
2124
|
+
MissingValues: (_) => de_CountPercent(_, context),
|
|
2125
|
+
MonotonicValues: _json,
|
|
2126
|
+
MultipleOperatingModes: _json,
|
|
2127
|
+
SensorName: __expectString,
|
|
2858
2128
|
});
|
|
2859
|
-
return retVal;
|
|
2860
|
-
};
|
|
2861
|
-
const de_TagResourceResponse = (output, context) => {
|
|
2862
|
-
return {};
|
|
2863
|
-
};
|
|
2864
|
-
const de_ThrottlingException = (output, context) => {
|
|
2865
|
-
return {
|
|
2866
|
-
Message: __expectString(output.Message),
|
|
2867
|
-
};
|
|
2868
|
-
};
|
|
2869
|
-
const de_UnsupportedTimestamps = (output, context) => {
|
|
2870
|
-
return {
|
|
2871
|
-
TotalNumberOfUnsupportedTimestamps: __expectInt32(output.TotalNumberOfUnsupportedTimestamps),
|
|
2872
|
-
};
|
|
2873
|
-
};
|
|
2874
|
-
const de_UntagResourceResponse = (output, context) => {
|
|
2875
|
-
return {};
|
|
2876
|
-
};
|
|
2877
|
-
const de_ValidationException = (output, context) => {
|
|
2878
|
-
return {
|
|
2879
|
-
Message: __expectString(output.Message),
|
|
2880
|
-
};
|
|
2881
2129
|
};
|
|
2882
2130
|
const deserializeMetadata = (output) => ({
|
|
2883
2131
|
httpStatusCode: output.statusCode,
|
|
@@ -2892,6 +2140,7 @@ const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
|
2892
2140
|
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2893
2141
|
};
|
|
2894
2142
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2143
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
2895
2144
|
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2896
2145
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2897
2146
|
const contents = {
|