@aws-sdk/client-lookoutequipment 3.409.0 → 3.413.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +64 -0
- package/dist-cjs/LookoutEquipment.js +16 -0
- package/dist-cjs/commands/CreateRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/DeleteRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/DescribeRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/ListRetrainingSchedulersCommand.js +46 -0
- package/dist-cjs/commands/StartRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/StopRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/UpdateModelCommand.js +46 -0
- package/dist-cjs/commands/UpdateRetrainingSchedulerCommand.js +46 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +28 -6
- package/dist-cjs/pagination/ListRetrainingSchedulersPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +502 -2
- package/dist-cjs/runtimeExtensions.js +3 -0
- package/dist-es/LookoutEquipment.js +16 -0
- package/dist-es/commands/CreateRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/DeleteRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/DescribeRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/ListRetrainingSchedulersCommand.js +42 -0
- package/dist-es/commands/StartRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/StopRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/UpdateModelCommand.js +42 -0
- package/dist-es/commands/UpdateRetrainingSchedulerCommand.js +42 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +27 -5
- package/dist-es/pagination/ListRetrainingSchedulersPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +484 -0
- package/dist-es/runtimeExtensions.js +3 -0
- package/dist-types/LookoutEquipment.d.ts +56 -0
- package/dist-types/LookoutEquipmentClient.d.ts +10 -2
- package/dist-types/commands/CreateDatasetCommand.d.ts +2 -2
- package/dist-types/commands/CreateInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/CreateLabelCommand.d.ts +3 -5
- package/dist-types/commands/CreateLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/CreateModelCommand.d.ts +7 -7
- package/dist-types/commands/CreateRetrainingSchedulerCommand.d.ts +147 -0
- package/dist-types/commands/DeleteDatasetCommand.d.ts +2 -2
- package/dist-types/commands/DeleteInferenceSchedulerCommand.d.ts +4 -4
- package/dist-types/commands/DeleteLabelCommand.d.ts +3 -5
- package/dist-types/commands/DeleteLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/DeleteModelCommand.d.ts +4 -5
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRetrainingSchedulerCommand.d.ts +106 -0
- package/dist-types/commands/DescribeDataIngestionJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeDatasetCommand.d.ts +2 -2
- package/dist-types/commands/DescribeInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/DescribeLabelCommand.d.ts +3 -5
- package/dist-types/commands/DescribeLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/DescribeModelCommand.d.ts +15 -5
- package/dist-types/commands/DescribeModelVersionCommand.d.ts +6 -2
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/DescribeRetrainingSchedulerCommand.d.ts +125 -0
- package/dist-types/commands/ImportDatasetCommand.d.ts +2 -2
- package/dist-types/commands/ImportModelVersionCommand.d.ts +3 -2
- package/dist-types/commands/ListDataIngestionJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListDatasetsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceEventsCommand.d.ts +2 -2
- package/dist-types/commands/ListInferenceExecutionsCommand.d.ts +4 -2
- package/dist-types/commands/ListInferenceSchedulersCommand.d.ts +2 -2
- package/dist-types/commands/ListLabelGroupsCommand.d.ts +3 -5
- package/dist-types/commands/ListLabelsCommand.d.ts +3 -5
- package/dist-types/commands/ListModelVersionsCommand.d.ts +5 -5
- package/dist-types/commands/ListModelsCommand.d.ts +7 -2
- package/dist-types/commands/ListRetrainingSchedulersCommand.d.ts +143 -0
- package/dist-types/commands/ListSensorStatisticsCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +2 -2
- package/dist-types/commands/StartDataIngestionJobCommand.d.ts +3 -4
- package/dist-types/commands/StartInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/StartRetrainingSchedulerCommand.d.ts +116 -0
- package/dist-types/commands/StopInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/StopRetrainingSchedulerCommand.d.ts +116 -0
- package/dist-types/commands/TagResourceCommand.d.ts +6 -6
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateActiveModelVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateInferenceSchedulerCommand.d.ts +2 -2
- package/dist-types/commands/UpdateLabelGroupCommand.d.ts +3 -5
- package/dist-types/commands/UpdateModelCommand.d.ts +116 -0
- package/dist-types/commands/UpdateRetrainingSchedulerCommand.d.ts +111 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +895 -433
- package/dist-types/pagination/ListRetrainingSchedulersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +72 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/runtimeConfig.d.ts +4 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/LookoutEquipment.d.ts +136 -0
- package/dist-types/ts3.4/LookoutEquipmentClient.d.ts +50 -2
- package/dist-types/ts3.4/commands/CreateRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteRetrainingSchedulerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListRetrainingSchedulersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopRetrainingSchedulerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateModelCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/UpdateRetrainingSchedulerCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +137 -9
- package/dist-types/ts3.4/pagination/ListRetrainingSchedulersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +3 -1
- package/package.json +28 -28
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.de_UpdateLabelGroupCommand = exports.de_UpdateInferenceSchedulerCommand = exports.de_UpdateActiveModelVersionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopInferenceSchedulerCommand = exports.de_StartInferenceSchedulerCommand = exports.de_StartDataIngestionJobCommand = exports.de_PutResourcePolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSensorStatisticsCommand = exports.de_ListModelVersionsCommand = exports.de_ListModelsCommand = exports.de_ListLabelsCommand = exports.de_ListLabelGroupsCommand = exports.de_ListInferenceSchedulersCommand = exports.de_ListInferenceExecutionsCommand = exports.de_ListInferenceEventsCommand = exports.de_ListDatasetsCommand = exports.de_ListDataIngestionJobsCommand = exports.de_ImportModelVersionCommand = exports.de_ImportDatasetCommand = exports.de_DescribeResourcePolicyCommand = exports.de_DescribeModelVersionCommand = exports.de_DescribeModelCommand = exports.de_DescribeLabelGroupCommand = exports.de_DescribeLabelCommand = exports.de_DescribeInferenceSchedulerCommand = exports.de_DescribeDatasetCommand = exports.de_DescribeDataIngestionJobCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteModelCommand = void 0;
|
|
3
|
+
exports.de_CreateDatasetCommand = exports.se_UpdateRetrainingSchedulerCommand = exports.se_UpdateModelCommand = exports.se_UpdateLabelGroupCommand = exports.se_UpdateInferenceSchedulerCommand = exports.se_UpdateActiveModelVersionCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopRetrainingSchedulerCommand = exports.se_StopInferenceSchedulerCommand = exports.se_StartRetrainingSchedulerCommand = exports.se_StartInferenceSchedulerCommand = exports.se_StartDataIngestionJobCommand = exports.se_PutResourcePolicyCommand = exports.se_ListTagsForResourceCommand = exports.se_ListSensorStatisticsCommand = exports.se_ListRetrainingSchedulersCommand = exports.se_ListModelVersionsCommand = exports.se_ListModelsCommand = exports.se_ListLabelsCommand = exports.se_ListLabelGroupsCommand = exports.se_ListInferenceSchedulersCommand = exports.se_ListInferenceExecutionsCommand = exports.se_ListInferenceEventsCommand = exports.se_ListDatasetsCommand = exports.se_ListDataIngestionJobsCommand = exports.se_ImportModelVersionCommand = exports.se_ImportDatasetCommand = exports.se_DescribeRetrainingSchedulerCommand = exports.se_DescribeResourcePolicyCommand = exports.se_DescribeModelVersionCommand = exports.se_DescribeModelCommand = exports.se_DescribeLabelGroupCommand = exports.se_DescribeLabelCommand = exports.se_DescribeInferenceSchedulerCommand = exports.se_DescribeDatasetCommand = exports.se_DescribeDataIngestionJobCommand = exports.se_DeleteRetrainingSchedulerCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteModelCommand = exports.se_DeleteLabelGroupCommand = exports.se_DeleteLabelCommand = exports.se_DeleteInferenceSchedulerCommand = exports.se_DeleteDatasetCommand = exports.se_CreateRetrainingSchedulerCommand = exports.se_CreateModelCommand = exports.se_CreateLabelGroupCommand = exports.se_CreateLabelCommand = exports.se_CreateInferenceSchedulerCommand = exports.se_CreateDatasetCommand = void 0;
|
|
4
|
+
exports.de_UpdateRetrainingSchedulerCommand = exports.de_UpdateModelCommand = exports.de_UpdateLabelGroupCommand = exports.de_UpdateInferenceSchedulerCommand = exports.de_UpdateActiveModelVersionCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopRetrainingSchedulerCommand = exports.de_StopInferenceSchedulerCommand = exports.de_StartRetrainingSchedulerCommand = exports.de_StartInferenceSchedulerCommand = exports.de_StartDataIngestionJobCommand = exports.de_PutResourcePolicyCommand = exports.de_ListTagsForResourceCommand = exports.de_ListSensorStatisticsCommand = exports.de_ListRetrainingSchedulersCommand = exports.de_ListModelVersionsCommand = exports.de_ListModelsCommand = exports.de_ListLabelsCommand = exports.de_ListLabelGroupsCommand = exports.de_ListInferenceSchedulersCommand = exports.de_ListInferenceExecutionsCommand = exports.de_ListInferenceEventsCommand = exports.de_ListDatasetsCommand = exports.de_ListDataIngestionJobsCommand = exports.de_ImportModelVersionCommand = exports.de_ImportDatasetCommand = exports.de_DescribeRetrainingSchedulerCommand = exports.de_DescribeResourcePolicyCommand = exports.de_DescribeModelVersionCommand = exports.de_DescribeModelCommand = exports.de_DescribeLabelGroupCommand = exports.de_DescribeLabelCommand = exports.de_DescribeInferenceSchedulerCommand = exports.de_DescribeDatasetCommand = exports.de_DescribeDataIngestionJobCommand = exports.de_DeleteRetrainingSchedulerCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteModelCommand = exports.de_DeleteLabelGroupCommand = exports.de_DeleteLabelCommand = exports.de_DeleteInferenceSchedulerCommand = exports.de_DeleteDatasetCommand = exports.de_CreateRetrainingSchedulerCommand = exports.de_CreateModelCommand = exports.de_CreateLabelGroupCommand = exports.de_CreateLabelCommand = exports.de_CreateInferenceSchedulerCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const uuid_1 = require("uuid");
|
|
@@ -42,6 +42,13 @@ const se_CreateModelCommand = async (input, context) => {
|
|
|
42
42
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
43
43
|
};
|
|
44
44
|
exports.se_CreateModelCommand = se_CreateModelCommand;
|
|
45
|
+
const se_CreateRetrainingSchedulerCommand = async (input, context) => {
|
|
46
|
+
const headers = sharedHeaders("CreateRetrainingScheduler");
|
|
47
|
+
let body;
|
|
48
|
+
body = JSON.stringify(se_CreateRetrainingSchedulerRequest(input, context));
|
|
49
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
50
|
+
};
|
|
51
|
+
exports.se_CreateRetrainingSchedulerCommand = se_CreateRetrainingSchedulerCommand;
|
|
45
52
|
const se_DeleteDatasetCommand = async (input, context) => {
|
|
46
53
|
const headers = sharedHeaders("DeleteDataset");
|
|
47
54
|
let body;
|
|
@@ -84,6 +91,13 @@ const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
|
84
91
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
85
92
|
};
|
|
86
93
|
exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand;
|
|
94
|
+
const se_DeleteRetrainingSchedulerCommand = async (input, context) => {
|
|
95
|
+
const headers = sharedHeaders("DeleteRetrainingScheduler");
|
|
96
|
+
let body;
|
|
97
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
98
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
99
|
+
};
|
|
100
|
+
exports.se_DeleteRetrainingSchedulerCommand = se_DeleteRetrainingSchedulerCommand;
|
|
87
101
|
const se_DescribeDataIngestionJobCommand = async (input, context) => {
|
|
88
102
|
const headers = sharedHeaders("DescribeDataIngestionJob");
|
|
89
103
|
let body;
|
|
@@ -140,6 +154,13 @@ const se_DescribeResourcePolicyCommand = async (input, context) => {
|
|
|
140
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
141
155
|
};
|
|
142
156
|
exports.se_DescribeResourcePolicyCommand = se_DescribeResourcePolicyCommand;
|
|
157
|
+
const se_DescribeRetrainingSchedulerCommand = async (input, context) => {
|
|
158
|
+
const headers = sharedHeaders("DescribeRetrainingScheduler");
|
|
159
|
+
let body;
|
|
160
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
161
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
162
|
+
};
|
|
163
|
+
exports.se_DescribeRetrainingSchedulerCommand = se_DescribeRetrainingSchedulerCommand;
|
|
143
164
|
const se_ImportDatasetCommand = async (input, context) => {
|
|
144
165
|
const headers = sharedHeaders("ImportDataset");
|
|
145
166
|
let body;
|
|
@@ -217,6 +238,13 @@ const se_ListModelVersionsCommand = async (input, context) => {
|
|
|
217
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
218
239
|
};
|
|
219
240
|
exports.se_ListModelVersionsCommand = se_ListModelVersionsCommand;
|
|
241
|
+
const se_ListRetrainingSchedulersCommand = async (input, context) => {
|
|
242
|
+
const headers = sharedHeaders("ListRetrainingSchedulers");
|
|
243
|
+
let body;
|
|
244
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
245
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
+
};
|
|
247
|
+
exports.se_ListRetrainingSchedulersCommand = se_ListRetrainingSchedulersCommand;
|
|
220
248
|
const se_ListSensorStatisticsCommand = async (input, context) => {
|
|
221
249
|
const headers = sharedHeaders("ListSensorStatistics");
|
|
222
250
|
let body;
|
|
@@ -252,6 +280,13 @@ const se_StartInferenceSchedulerCommand = async (input, context) => {
|
|
|
252
280
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
253
281
|
};
|
|
254
282
|
exports.se_StartInferenceSchedulerCommand = se_StartInferenceSchedulerCommand;
|
|
283
|
+
const se_StartRetrainingSchedulerCommand = async (input, context) => {
|
|
284
|
+
const headers = sharedHeaders("StartRetrainingScheduler");
|
|
285
|
+
let body;
|
|
286
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
287
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
288
|
+
};
|
|
289
|
+
exports.se_StartRetrainingSchedulerCommand = se_StartRetrainingSchedulerCommand;
|
|
255
290
|
const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
256
291
|
const headers = sharedHeaders("StopInferenceScheduler");
|
|
257
292
|
let body;
|
|
@@ -259,6 +294,13 @@ const se_StopInferenceSchedulerCommand = async (input, context) => {
|
|
|
259
294
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
295
|
};
|
|
261
296
|
exports.se_StopInferenceSchedulerCommand = se_StopInferenceSchedulerCommand;
|
|
297
|
+
const se_StopRetrainingSchedulerCommand = async (input, context) => {
|
|
298
|
+
const headers = sharedHeaders("StopRetrainingScheduler");
|
|
299
|
+
let body;
|
|
300
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
301
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
302
|
+
};
|
|
303
|
+
exports.se_StopRetrainingSchedulerCommand = se_StopRetrainingSchedulerCommand;
|
|
262
304
|
const se_TagResourceCommand = async (input, context) => {
|
|
263
305
|
const headers = sharedHeaders("TagResource");
|
|
264
306
|
let body;
|
|
@@ -294,6 +336,20 @@ const se_UpdateLabelGroupCommand = async (input, context) => {
|
|
|
294
336
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
295
337
|
};
|
|
296
338
|
exports.se_UpdateLabelGroupCommand = se_UpdateLabelGroupCommand;
|
|
339
|
+
const se_UpdateModelCommand = async (input, context) => {
|
|
340
|
+
const headers = sharedHeaders("UpdateModel");
|
|
341
|
+
let body;
|
|
342
|
+
body = JSON.stringify((0, smithy_client_1._json)(input));
|
|
343
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
344
|
+
};
|
|
345
|
+
exports.se_UpdateModelCommand = se_UpdateModelCommand;
|
|
346
|
+
const se_UpdateRetrainingSchedulerCommand = async (input, context) => {
|
|
347
|
+
const headers = sharedHeaders("UpdateRetrainingScheduler");
|
|
348
|
+
let body;
|
|
349
|
+
body = JSON.stringify(se_UpdateRetrainingSchedulerRequest(input, context));
|
|
350
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
351
|
+
};
|
|
352
|
+
exports.se_UpdateRetrainingSchedulerCommand = se_UpdateRetrainingSchedulerCommand;
|
|
297
353
|
const de_CreateDatasetCommand = async (output, context) => {
|
|
298
354
|
if (output.statusCode >= 300) {
|
|
299
355
|
return de_CreateDatasetCommandError(output, context);
|
|
@@ -543,6 +599,54 @@ const de_CreateModelCommandError = async (output, context) => {
|
|
|
543
599
|
});
|
|
544
600
|
}
|
|
545
601
|
};
|
|
602
|
+
const de_CreateRetrainingSchedulerCommand = async (output, context) => {
|
|
603
|
+
if (output.statusCode >= 300) {
|
|
604
|
+
return de_CreateRetrainingSchedulerCommandError(output, context);
|
|
605
|
+
}
|
|
606
|
+
const data = await parseBody(output.body, context);
|
|
607
|
+
let contents = {};
|
|
608
|
+
contents = (0, smithy_client_1._json)(data);
|
|
609
|
+
const response = {
|
|
610
|
+
$metadata: deserializeMetadata(output),
|
|
611
|
+
...contents,
|
|
612
|
+
};
|
|
613
|
+
return response;
|
|
614
|
+
};
|
|
615
|
+
exports.de_CreateRetrainingSchedulerCommand = de_CreateRetrainingSchedulerCommand;
|
|
616
|
+
const de_CreateRetrainingSchedulerCommandError = async (output, context) => {
|
|
617
|
+
const parsedOutput = {
|
|
618
|
+
...output,
|
|
619
|
+
body: await parseErrorBody(output.body, context),
|
|
620
|
+
};
|
|
621
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
622
|
+
switch (errorCode) {
|
|
623
|
+
case "AccessDeniedException":
|
|
624
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
625
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
626
|
+
case "ConflictException":
|
|
627
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
628
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
629
|
+
case "InternalServerException":
|
|
630
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
631
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
632
|
+
case "ResourceNotFoundException":
|
|
633
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
634
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
635
|
+
case "ThrottlingException":
|
|
636
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
637
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
638
|
+
case "ValidationException":
|
|
639
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
640
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
641
|
+
default:
|
|
642
|
+
const parsedBody = parsedOutput.body;
|
|
643
|
+
return throwDefaultError({
|
|
644
|
+
output,
|
|
645
|
+
parsedBody,
|
|
646
|
+
errorCode,
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
};
|
|
546
650
|
const de_DeleteDatasetCommand = async (output, context) => {
|
|
547
651
|
if (output.statusCode >= 300) {
|
|
548
652
|
return de_DeleteDatasetCommandError(output, context);
|
|
@@ -813,6 +917,51 @@ const de_DeleteResourcePolicyCommandError = async (output, context) => {
|
|
|
813
917
|
});
|
|
814
918
|
}
|
|
815
919
|
};
|
|
920
|
+
const de_DeleteRetrainingSchedulerCommand = async (output, context) => {
|
|
921
|
+
if (output.statusCode >= 300) {
|
|
922
|
+
return de_DeleteRetrainingSchedulerCommandError(output, context);
|
|
923
|
+
}
|
|
924
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
925
|
+
const response = {
|
|
926
|
+
$metadata: deserializeMetadata(output),
|
|
927
|
+
};
|
|
928
|
+
return response;
|
|
929
|
+
};
|
|
930
|
+
exports.de_DeleteRetrainingSchedulerCommand = de_DeleteRetrainingSchedulerCommand;
|
|
931
|
+
const de_DeleteRetrainingSchedulerCommandError = async (output, context) => {
|
|
932
|
+
const parsedOutput = {
|
|
933
|
+
...output,
|
|
934
|
+
body: await parseErrorBody(output.body, context),
|
|
935
|
+
};
|
|
936
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
937
|
+
switch (errorCode) {
|
|
938
|
+
case "AccessDeniedException":
|
|
939
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
940
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
941
|
+
case "ConflictException":
|
|
942
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
943
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
944
|
+
case "InternalServerException":
|
|
945
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
946
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
947
|
+
case "ResourceNotFoundException":
|
|
948
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
949
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
950
|
+
case "ThrottlingException":
|
|
951
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
952
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
953
|
+
case "ValidationException":
|
|
954
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
955
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
956
|
+
default:
|
|
957
|
+
const parsedBody = parsedOutput.body;
|
|
958
|
+
return throwDefaultError({
|
|
959
|
+
output,
|
|
960
|
+
parsedBody,
|
|
961
|
+
errorCode,
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
};
|
|
816
965
|
const de_DescribeDataIngestionJobCommand = async (output, context) => {
|
|
817
966
|
if (output.statusCode >= 300) {
|
|
818
967
|
return de_DescribeDataIngestionJobCommandError(output, context);
|
|
@@ -1173,6 +1322,51 @@ const de_DescribeResourcePolicyCommandError = async (output, context) => {
|
|
|
1173
1322
|
});
|
|
1174
1323
|
}
|
|
1175
1324
|
};
|
|
1325
|
+
const de_DescribeRetrainingSchedulerCommand = async (output, context) => {
|
|
1326
|
+
if (output.statusCode >= 300) {
|
|
1327
|
+
return de_DescribeRetrainingSchedulerCommandError(output, context);
|
|
1328
|
+
}
|
|
1329
|
+
const data = await parseBody(output.body, context);
|
|
1330
|
+
let contents = {};
|
|
1331
|
+
contents = de_DescribeRetrainingSchedulerResponse(data, context);
|
|
1332
|
+
const response = {
|
|
1333
|
+
$metadata: deserializeMetadata(output),
|
|
1334
|
+
...contents,
|
|
1335
|
+
};
|
|
1336
|
+
return response;
|
|
1337
|
+
};
|
|
1338
|
+
exports.de_DescribeRetrainingSchedulerCommand = de_DescribeRetrainingSchedulerCommand;
|
|
1339
|
+
const de_DescribeRetrainingSchedulerCommandError = async (output, context) => {
|
|
1340
|
+
const parsedOutput = {
|
|
1341
|
+
...output,
|
|
1342
|
+
body: await parseErrorBody(output.body, context),
|
|
1343
|
+
};
|
|
1344
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1345
|
+
switch (errorCode) {
|
|
1346
|
+
case "AccessDeniedException":
|
|
1347
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1348
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1349
|
+
case "InternalServerException":
|
|
1350
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1351
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1352
|
+
case "ResourceNotFoundException":
|
|
1353
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
1354
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1355
|
+
case "ThrottlingException":
|
|
1356
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1357
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1358
|
+
case "ValidationException":
|
|
1359
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1360
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1361
|
+
default:
|
|
1362
|
+
const parsedBody = parsedOutput.body;
|
|
1363
|
+
return throwDefaultError({
|
|
1364
|
+
output,
|
|
1365
|
+
parsedBody,
|
|
1366
|
+
errorCode,
|
|
1367
|
+
});
|
|
1368
|
+
}
|
|
1369
|
+
};
|
|
1176
1370
|
const de_ImportDatasetCommand = async (output, context) => {
|
|
1177
1371
|
if (output.statusCode >= 300) {
|
|
1178
1372
|
return de_ImportDatasetCommandError(output, context);
|
|
@@ -1662,6 +1856,48 @@ const de_ListModelVersionsCommandError = async (output, context) => {
|
|
|
1662
1856
|
});
|
|
1663
1857
|
}
|
|
1664
1858
|
};
|
|
1859
|
+
const de_ListRetrainingSchedulersCommand = async (output, context) => {
|
|
1860
|
+
if (output.statusCode >= 300) {
|
|
1861
|
+
return de_ListRetrainingSchedulersCommandError(output, context);
|
|
1862
|
+
}
|
|
1863
|
+
const data = await parseBody(output.body, context);
|
|
1864
|
+
let contents = {};
|
|
1865
|
+
contents = de_ListRetrainingSchedulersResponse(data, context);
|
|
1866
|
+
const response = {
|
|
1867
|
+
$metadata: deserializeMetadata(output),
|
|
1868
|
+
...contents,
|
|
1869
|
+
};
|
|
1870
|
+
return response;
|
|
1871
|
+
};
|
|
1872
|
+
exports.de_ListRetrainingSchedulersCommand = de_ListRetrainingSchedulersCommand;
|
|
1873
|
+
const de_ListRetrainingSchedulersCommandError = async (output, context) => {
|
|
1874
|
+
const parsedOutput = {
|
|
1875
|
+
...output,
|
|
1876
|
+
body: await parseErrorBody(output.body, context),
|
|
1877
|
+
};
|
|
1878
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1879
|
+
switch (errorCode) {
|
|
1880
|
+
case "AccessDeniedException":
|
|
1881
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
1882
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1883
|
+
case "InternalServerException":
|
|
1884
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
1885
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1886
|
+
case "ThrottlingException":
|
|
1887
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
1888
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1889
|
+
case "ValidationException":
|
|
1890
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
1891
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1892
|
+
default:
|
|
1893
|
+
const parsedBody = parsedOutput.body;
|
|
1894
|
+
return throwDefaultError({
|
|
1895
|
+
output,
|
|
1896
|
+
parsedBody,
|
|
1897
|
+
errorCode,
|
|
1898
|
+
});
|
|
1899
|
+
}
|
|
1900
|
+
};
|
|
1665
1901
|
const de_ListSensorStatisticsCommand = async (output, context) => {
|
|
1666
1902
|
if (output.statusCode >= 300) {
|
|
1667
1903
|
return de_ListSensorStatisticsCommandError(output, context);
|
|
@@ -1902,6 +2138,54 @@ const de_StartInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1902
2138
|
});
|
|
1903
2139
|
}
|
|
1904
2140
|
};
|
|
2141
|
+
const de_StartRetrainingSchedulerCommand = async (output, context) => {
|
|
2142
|
+
if (output.statusCode >= 300) {
|
|
2143
|
+
return de_StartRetrainingSchedulerCommandError(output, context);
|
|
2144
|
+
}
|
|
2145
|
+
const data = await parseBody(output.body, context);
|
|
2146
|
+
let contents = {};
|
|
2147
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2148
|
+
const response = {
|
|
2149
|
+
$metadata: deserializeMetadata(output),
|
|
2150
|
+
...contents,
|
|
2151
|
+
};
|
|
2152
|
+
return response;
|
|
2153
|
+
};
|
|
2154
|
+
exports.de_StartRetrainingSchedulerCommand = de_StartRetrainingSchedulerCommand;
|
|
2155
|
+
const de_StartRetrainingSchedulerCommandError = async (output, context) => {
|
|
2156
|
+
const parsedOutput = {
|
|
2157
|
+
...output,
|
|
2158
|
+
body: await parseErrorBody(output.body, context),
|
|
2159
|
+
};
|
|
2160
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2161
|
+
switch (errorCode) {
|
|
2162
|
+
case "AccessDeniedException":
|
|
2163
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
2164
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2165
|
+
case "ConflictException":
|
|
2166
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
2167
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2168
|
+
case "InternalServerException":
|
|
2169
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
2170
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2171
|
+
case "ResourceNotFoundException":
|
|
2172
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
2173
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2174
|
+
case "ThrottlingException":
|
|
2175
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
2176
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2177
|
+
case "ValidationException":
|
|
2178
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
2179
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2180
|
+
default:
|
|
2181
|
+
const parsedBody = parsedOutput.body;
|
|
2182
|
+
return throwDefaultError({
|
|
2183
|
+
output,
|
|
2184
|
+
parsedBody,
|
|
2185
|
+
errorCode,
|
|
2186
|
+
});
|
|
2187
|
+
}
|
|
2188
|
+
};
|
|
1905
2189
|
const de_StopInferenceSchedulerCommand = async (output, context) => {
|
|
1906
2190
|
if (output.statusCode >= 300) {
|
|
1907
2191
|
return de_StopInferenceSchedulerCommandError(output, context);
|
|
@@ -1950,6 +2234,54 @@ const de_StopInferenceSchedulerCommandError = async (output, context) => {
|
|
|
1950
2234
|
});
|
|
1951
2235
|
}
|
|
1952
2236
|
};
|
|
2237
|
+
const de_StopRetrainingSchedulerCommand = async (output, context) => {
|
|
2238
|
+
if (output.statusCode >= 300) {
|
|
2239
|
+
return de_StopRetrainingSchedulerCommandError(output, context);
|
|
2240
|
+
}
|
|
2241
|
+
const data = await parseBody(output.body, context);
|
|
2242
|
+
let contents = {};
|
|
2243
|
+
contents = (0, smithy_client_1._json)(data);
|
|
2244
|
+
const response = {
|
|
2245
|
+
$metadata: deserializeMetadata(output),
|
|
2246
|
+
...contents,
|
|
2247
|
+
};
|
|
2248
|
+
return response;
|
|
2249
|
+
};
|
|
2250
|
+
exports.de_StopRetrainingSchedulerCommand = de_StopRetrainingSchedulerCommand;
|
|
2251
|
+
const de_StopRetrainingSchedulerCommandError = async (output, context) => {
|
|
2252
|
+
const parsedOutput = {
|
|
2253
|
+
...output,
|
|
2254
|
+
body: await parseErrorBody(output.body, context),
|
|
2255
|
+
};
|
|
2256
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2257
|
+
switch (errorCode) {
|
|
2258
|
+
case "AccessDeniedException":
|
|
2259
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
2260
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2261
|
+
case "ConflictException":
|
|
2262
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
2263
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2264
|
+
case "InternalServerException":
|
|
2265
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
2266
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2267
|
+
case "ResourceNotFoundException":
|
|
2268
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
2269
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2270
|
+
case "ThrottlingException":
|
|
2271
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
2272
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2273
|
+
case "ValidationException":
|
|
2274
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
2275
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2276
|
+
default:
|
|
2277
|
+
const parsedBody = parsedOutput.body;
|
|
2278
|
+
return throwDefaultError({
|
|
2279
|
+
output,
|
|
2280
|
+
parsedBody,
|
|
2281
|
+
errorCode,
|
|
2282
|
+
});
|
|
2283
|
+
}
|
|
2284
|
+
};
|
|
1953
2285
|
const de_TagResourceCommand = async (output, context) => {
|
|
1954
2286
|
if (output.statusCode >= 300) {
|
|
1955
2287
|
return de_TagResourceCommandError(output, context);
|
|
@@ -2181,6 +2513,96 @@ const de_UpdateLabelGroupCommandError = async (output, context) => {
|
|
|
2181
2513
|
});
|
|
2182
2514
|
}
|
|
2183
2515
|
};
|
|
2516
|
+
const de_UpdateModelCommand = async (output, context) => {
|
|
2517
|
+
if (output.statusCode >= 300) {
|
|
2518
|
+
return de_UpdateModelCommandError(output, context);
|
|
2519
|
+
}
|
|
2520
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2521
|
+
const response = {
|
|
2522
|
+
$metadata: deserializeMetadata(output),
|
|
2523
|
+
};
|
|
2524
|
+
return response;
|
|
2525
|
+
};
|
|
2526
|
+
exports.de_UpdateModelCommand = de_UpdateModelCommand;
|
|
2527
|
+
const de_UpdateModelCommandError = async (output, context) => {
|
|
2528
|
+
const parsedOutput = {
|
|
2529
|
+
...output,
|
|
2530
|
+
body: await parseErrorBody(output.body, context),
|
|
2531
|
+
};
|
|
2532
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2533
|
+
switch (errorCode) {
|
|
2534
|
+
case "AccessDeniedException":
|
|
2535
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
2536
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2537
|
+
case "ConflictException":
|
|
2538
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
2539
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2540
|
+
case "InternalServerException":
|
|
2541
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
2542
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2543
|
+
case "ResourceNotFoundException":
|
|
2544
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
2545
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2546
|
+
case "ThrottlingException":
|
|
2547
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
2548
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2549
|
+
case "ValidationException":
|
|
2550
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
2551
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2552
|
+
default:
|
|
2553
|
+
const parsedBody = parsedOutput.body;
|
|
2554
|
+
return throwDefaultError({
|
|
2555
|
+
output,
|
|
2556
|
+
parsedBody,
|
|
2557
|
+
errorCode,
|
|
2558
|
+
});
|
|
2559
|
+
}
|
|
2560
|
+
};
|
|
2561
|
+
const de_UpdateRetrainingSchedulerCommand = async (output, context) => {
|
|
2562
|
+
if (output.statusCode >= 300) {
|
|
2563
|
+
return de_UpdateRetrainingSchedulerCommandError(output, context);
|
|
2564
|
+
}
|
|
2565
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2566
|
+
const response = {
|
|
2567
|
+
$metadata: deserializeMetadata(output),
|
|
2568
|
+
};
|
|
2569
|
+
return response;
|
|
2570
|
+
};
|
|
2571
|
+
exports.de_UpdateRetrainingSchedulerCommand = de_UpdateRetrainingSchedulerCommand;
|
|
2572
|
+
const de_UpdateRetrainingSchedulerCommandError = async (output, context) => {
|
|
2573
|
+
const parsedOutput = {
|
|
2574
|
+
...output,
|
|
2575
|
+
body: await parseErrorBody(output.body, context),
|
|
2576
|
+
};
|
|
2577
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2578
|
+
switch (errorCode) {
|
|
2579
|
+
case "AccessDeniedException":
|
|
2580
|
+
case "com.amazonaws.lookoutequipment#AccessDeniedException":
|
|
2581
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2582
|
+
case "ConflictException":
|
|
2583
|
+
case "com.amazonaws.lookoutequipment#ConflictException":
|
|
2584
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2585
|
+
case "InternalServerException":
|
|
2586
|
+
case "com.amazonaws.lookoutequipment#InternalServerException":
|
|
2587
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2588
|
+
case "ResourceNotFoundException":
|
|
2589
|
+
case "com.amazonaws.lookoutequipment#ResourceNotFoundException":
|
|
2590
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2591
|
+
case "ThrottlingException":
|
|
2592
|
+
case "com.amazonaws.lookoutequipment#ThrottlingException":
|
|
2593
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2594
|
+
case "ValidationException":
|
|
2595
|
+
case "com.amazonaws.lookoutequipment#ValidationException":
|
|
2596
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2597
|
+
default:
|
|
2598
|
+
const parsedBody = parsedOutput.body;
|
|
2599
|
+
return throwDefaultError({
|
|
2600
|
+
output,
|
|
2601
|
+
parsedBody,
|
|
2602
|
+
errorCode,
|
|
2603
|
+
});
|
|
2604
|
+
}
|
|
2605
|
+
};
|
|
2184
2606
|
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
2185
2607
|
const body = parsedOutput.body;
|
|
2186
2608
|
const deserialized = (0, smithy_client_1._json)(body);
|
|
@@ -2305,6 +2727,16 @@ const se_CreateModelRequest = (input, context) => {
|
|
|
2305
2727
|
TrainingDataStartTime: (_) => Math.round(_.getTime() / 1000),
|
|
2306
2728
|
});
|
|
2307
2729
|
};
|
|
2730
|
+
const se_CreateRetrainingSchedulerRequest = (input, context) => {
|
|
2731
|
+
return (0, smithy_client_1.take)(input, {
|
|
2732
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2733
|
+
LookbackWindow: [],
|
|
2734
|
+
ModelName: [],
|
|
2735
|
+
PromoteMode: [],
|
|
2736
|
+
RetrainingFrequency: [],
|
|
2737
|
+
RetrainingStartDate: (_) => Math.round(_.getTime() / 1000),
|
|
2738
|
+
});
|
|
2739
|
+
};
|
|
2308
2740
|
const se_DatasetSchema = (input, context) => {
|
|
2309
2741
|
return (0, smithy_client_1.take)(input, {
|
|
2310
2742
|
InlineDataSchema: smithy_client_1.LazyJsonString.fromObject,
|
|
@@ -2323,6 +2755,7 @@ const se_ImportModelVersionRequest = (input, context) => {
|
|
|
2323
2755
|
return (0, smithy_client_1.take)(input, {
|
|
2324
2756
|
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2325
2757
|
DatasetName: [],
|
|
2758
|
+
InferenceDataImportStrategy: [],
|
|
2326
2759
|
LabelsInputConfiguration: smithy_client_1._json,
|
|
2327
2760
|
ModelName: [],
|
|
2328
2761
|
RoleArn: [],
|
|
@@ -2390,6 +2823,15 @@ const se_StartDataIngestionJobRequest = (input, context) => {
|
|
|
2390
2823
|
RoleArn: [],
|
|
2391
2824
|
});
|
|
2392
2825
|
};
|
|
2826
|
+
const se_UpdateRetrainingSchedulerRequest = (input, context) => {
|
|
2827
|
+
return (0, smithy_client_1.take)(input, {
|
|
2828
|
+
LookbackWindow: [],
|
|
2829
|
+
ModelName: [],
|
|
2830
|
+
PromoteMode: [],
|
|
2831
|
+
RetrainingFrequency: [],
|
|
2832
|
+
RetrainingStartDate: (_) => Math.round(_.getTime() / 1000),
|
|
2833
|
+
});
|
|
2834
|
+
};
|
|
2393
2835
|
const de_CountPercent = (output, context) => {
|
|
2394
2836
|
return (0, smithy_client_1.take)(output, {
|
|
2395
2837
|
Count: smithy_client_1.expectInt32,
|
|
@@ -2491,6 +2933,8 @@ const de_DescribeLabelResponse = (output, context) => {
|
|
|
2491
2933
|
};
|
|
2492
2934
|
const de_DescribeModelResponse = (output, context) => {
|
|
2493
2935
|
return (0, smithy_client_1.take)(output, {
|
|
2936
|
+
AccumulatedInferenceDataEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2937
|
+
AccumulatedInferenceDataStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2494
2938
|
ActiveModelVersion: smithy_client_1.expectLong,
|
|
2495
2939
|
ActiveModelVersionArn: smithy_client_1.expectString,
|
|
2496
2940
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
@@ -2504,14 +2948,22 @@ const de_DescribeModelResponse = (output, context) => {
|
|
|
2504
2948
|
ImportJobStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2505
2949
|
LabelsInputConfiguration: smithy_client_1._json,
|
|
2506
2950
|
LastUpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2951
|
+
LatestScheduledRetrainingAvailableDataInDays: smithy_client_1.expectInt32,
|
|
2952
|
+
LatestScheduledRetrainingFailedReason: smithy_client_1.expectString,
|
|
2953
|
+
LatestScheduledRetrainingModelVersion: smithy_client_1.expectLong,
|
|
2954
|
+
LatestScheduledRetrainingStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2955
|
+
LatestScheduledRetrainingStatus: smithy_client_1.expectString,
|
|
2507
2956
|
ModelArn: smithy_client_1.expectString,
|
|
2508
2957
|
ModelMetrics: (_) => new smithy_client_1.LazyJsonString(_),
|
|
2509
2958
|
ModelName: smithy_client_1.expectString,
|
|
2510
2959
|
ModelVersionActivatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2960
|
+
NextScheduledRetrainingStartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2511
2961
|
OffCondition: smithy_client_1.expectString,
|
|
2512
2962
|
PreviousActiveModelVersion: smithy_client_1.expectLong,
|
|
2513
2963
|
PreviousActiveModelVersionArn: smithy_client_1.expectString,
|
|
2514
2964
|
PreviousModelVersionActivatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2965
|
+
PriorModelMetrics: (_) => new smithy_client_1.LazyJsonString(_),
|
|
2966
|
+
RetrainingSchedulerStatus: smithy_client_1.expectString,
|
|
2515
2967
|
RoleArn: smithy_client_1.expectString,
|
|
2516
2968
|
Schema: (_) => new smithy_client_1.LazyJsonString(_),
|
|
2517
2969
|
ServerSideKmsKeyId: smithy_client_1.expectString,
|
|
@@ -2525,6 +2977,8 @@ const de_DescribeModelResponse = (output, context) => {
|
|
|
2525
2977
|
};
|
|
2526
2978
|
const de_DescribeModelVersionResponse = (output, context) => {
|
|
2527
2979
|
return (0, smithy_client_1.take)(output, {
|
|
2980
|
+
AutoPromotionResult: smithy_client_1.expectString,
|
|
2981
|
+
AutoPromotionResultReason: smithy_client_1.expectString,
|
|
2528
2982
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2529
2983
|
DataPreProcessingConfiguration: smithy_client_1._json,
|
|
2530
2984
|
DatasetArn: smithy_client_1.expectString,
|
|
@@ -2543,6 +2997,8 @@ const de_DescribeModelVersionResponse = (output, context) => {
|
|
|
2543
2997
|
ModelVersion: smithy_client_1.expectLong,
|
|
2544
2998
|
ModelVersionArn: smithy_client_1.expectString,
|
|
2545
2999
|
OffCondition: smithy_client_1.expectString,
|
|
3000
|
+
PriorModelMetrics: smithy_client_1.expectString,
|
|
3001
|
+
RetrainingAvailableDataInDays: smithy_client_1.expectInt32,
|
|
2546
3002
|
RoleArn: smithy_client_1.expectString,
|
|
2547
3003
|
Schema: smithy_client_1.expectString,
|
|
2548
3004
|
ServerSideKmsKeyId: smithy_client_1.expectString,
|
|
@@ -2563,6 +3019,19 @@ const de_DescribeResourcePolicyResponse = (output, context) => {
|
|
|
2563
3019
|
ResourcePolicy: smithy_client_1.expectString,
|
|
2564
3020
|
});
|
|
2565
3021
|
};
|
|
3022
|
+
const de_DescribeRetrainingSchedulerResponse = (output, context) => {
|
|
3023
|
+
return (0, smithy_client_1.take)(output, {
|
|
3024
|
+
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3025
|
+
LookbackWindow: smithy_client_1.expectString,
|
|
3026
|
+
ModelArn: smithy_client_1.expectString,
|
|
3027
|
+
ModelName: smithy_client_1.expectString,
|
|
3028
|
+
PromoteMode: smithy_client_1.expectString,
|
|
3029
|
+
RetrainingFrequency: smithy_client_1.expectString,
|
|
3030
|
+
RetrainingStartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3031
|
+
Status: smithy_client_1.expectString,
|
|
3032
|
+
UpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3033
|
+
});
|
|
3034
|
+
};
|
|
2566
3035
|
const de_InferenceEventSummaries = (output, context) => {
|
|
2567
3036
|
const retVal = (output || [])
|
|
2568
3037
|
.filter((e) => e != null)
|
|
@@ -2601,6 +3070,8 @@ const de_InferenceExecutionSummary = (output, context) => {
|
|
|
2601
3070
|
InferenceSchedulerName: smithy_client_1.expectString,
|
|
2602
3071
|
ModelArn: smithy_client_1.expectString,
|
|
2603
3072
|
ModelName: smithy_client_1.expectString,
|
|
3073
|
+
ModelVersion: smithy_client_1.expectLong,
|
|
3074
|
+
ModelVersionArn: smithy_client_1.expectString,
|
|
2604
3075
|
ScheduledStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2605
3076
|
Status: smithy_client_1.expectString,
|
|
2606
3077
|
});
|
|
@@ -2684,6 +3155,12 @@ const de_ListModelVersionsResponse = (output, context) => {
|
|
|
2684
3155
|
NextToken: smithy_client_1.expectString,
|
|
2685
3156
|
});
|
|
2686
3157
|
};
|
|
3158
|
+
const de_ListRetrainingSchedulersResponse = (output, context) => {
|
|
3159
|
+
return (0, smithy_client_1.take)(output, {
|
|
3160
|
+
NextToken: smithy_client_1.expectString,
|
|
3161
|
+
RetrainingSchedulerSummaries: (_) => de_RetrainingSchedulerSummaries(_, context),
|
|
3162
|
+
});
|
|
3163
|
+
};
|
|
2687
3164
|
const de_ListSensorStatisticsResponse = (output, context) => {
|
|
2688
3165
|
return (0, smithy_client_1.take)(output, {
|
|
2689
3166
|
NextToken: smithy_client_1.expectString,
|
|
@@ -2705,8 +3182,13 @@ const de_ModelSummary = (output, context) => {
|
|
|
2705
3182
|
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2706
3183
|
DatasetArn: smithy_client_1.expectString,
|
|
2707
3184
|
DatasetName: smithy_client_1.expectString,
|
|
3185
|
+
LatestScheduledRetrainingModelVersion: smithy_client_1.expectLong,
|
|
3186
|
+
LatestScheduledRetrainingStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3187
|
+
LatestScheduledRetrainingStatus: smithy_client_1.expectString,
|
|
2708
3188
|
ModelArn: smithy_client_1.expectString,
|
|
2709
3189
|
ModelName: smithy_client_1.expectString,
|
|
3190
|
+
NextScheduledRetrainingStartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3191
|
+
RetrainingSchedulerStatus: smithy_client_1.expectString,
|
|
2710
3192
|
Status: smithy_client_1.expectString,
|
|
2711
3193
|
});
|
|
2712
3194
|
};
|
|
@@ -2729,6 +3211,24 @@ const de_ModelVersionSummary = (output, context) => {
|
|
|
2729
3211
|
Status: smithy_client_1.expectString,
|
|
2730
3212
|
});
|
|
2731
3213
|
};
|
|
3214
|
+
const de_RetrainingSchedulerSummaries = (output, context) => {
|
|
3215
|
+
const retVal = (output || [])
|
|
3216
|
+
.filter((e) => e != null)
|
|
3217
|
+
.map((entry) => {
|
|
3218
|
+
return de_RetrainingSchedulerSummary(entry, context);
|
|
3219
|
+
});
|
|
3220
|
+
return retVal;
|
|
3221
|
+
};
|
|
3222
|
+
const de_RetrainingSchedulerSummary = (output, context) => {
|
|
3223
|
+
return (0, smithy_client_1.take)(output, {
|
|
3224
|
+
LookbackWindow: smithy_client_1.expectString,
|
|
3225
|
+
ModelArn: smithy_client_1.expectString,
|
|
3226
|
+
ModelName: smithy_client_1.expectString,
|
|
3227
|
+
RetrainingFrequency: smithy_client_1.expectString,
|
|
3228
|
+
RetrainingStartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
3229
|
+
Status: smithy_client_1.expectString,
|
|
3230
|
+
});
|
|
3231
|
+
};
|
|
2732
3232
|
const de_SensorStatisticsSummaries = (output, context) => {
|
|
2733
3233
|
const retVal = (output || [])
|
|
2734
3234
|
.filter((e) => e != null)
|