@aws-sdk/client-sagemaker 3.41.0 → 3.45.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/CHANGELOG.md +41 -0
- package/dist-cjs/SageMaker.js +135 -0
- package/dist-cjs/commands/CreateInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeLineageGroupCommand.js +36 -0
- package/dist-cjs/commands/DescribeModelBiasJobDefinitionCommand.js +2 -1
- package/dist-cjs/commands/DescribeModelExplainabilityJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelPackageCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelPackageGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelQualityJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeMonitoringScheduleCommand.js +3 -3
- package/dist-cjs/commands/DescribeNotebookInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineDefinitionForExecutionCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/DescribeProcessingJobCommand.js +1 -2
- package/dist-cjs/commands/GetLineageGroupPolicyCommand.js +36 -0
- package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +36 -0
- package/dist-cjs/commands/ListLineageGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListModelMetadataCommand.js +36 -0
- package/dist-cjs/commands/ListTransformJobsCommand.js +2 -1
- package/dist-cjs/commands/ListTrialComponentsCommand.js +3 -3
- package/dist-cjs/commands/ListTrialsCommand.js +3 -3
- package/dist-cjs/commands/ListUserProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListWorkforcesCommand.js +3 -3
- package/dist-cjs/commands/ListWorkteamsCommand.js +3 -3
- package/dist-cjs/commands/PutModelPackageGroupPolicyCommand.js +3 -3
- package/dist-cjs/commands/QueryLineageCommand.js +36 -0
- package/dist-cjs/commands/RegisterDevicesCommand.js +2 -2
- package/dist-cjs/commands/RenderUiTemplateCommand.js +3 -3
- package/dist-cjs/commands/RetryPipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/SearchCommand.js +1 -2
- package/dist-cjs/commands/SendPipelineExecutionStepFailureCommand.js +3 -3
- package/dist-cjs/commands/SendPipelineExecutionStepSuccessCommand.js +3 -3
- package/dist-cjs/commands/StartMonitoringScheduleCommand.js +2 -2
- package/dist-cjs/commands/StartNotebookInstanceCommand.js +2 -2
- package/dist-cjs/commands/StartPipelineExecutionCommand.js +1 -2
- package/dist-cjs/commands/StopInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +17 -0
- package/dist-cjs/models/models_0.js +151 -150
- package/dist-cjs/models/models_1.js +204 -217
- package/dist-cjs/models/models_2.js +338 -326
- package/dist-cjs/models/models_3.js +353 -2
- package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +35 -0
- package/dist-cjs/pagination/ListLineageGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/ListModelMetadataPaginator.js +35 -0
- package/dist-cjs/pagination/QueryLineagePaginator.js +35 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1586 -35
- package/dist-es/SageMaker.js +135 -0
- package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/DescribeLineageGroupCommand.js +39 -0
- package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +2 -1
- package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
- package/dist-es/commands/DescribeModelPackageGroupCommand.js +1 -1
- package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/DescribeNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +1 -1
- package/dist-es/commands/DescribePipelineCommand.js +1 -1
- package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +1 -1
- package/dist-es/commands/DescribePipelineExecutionCommand.js +1 -1
- package/dist-es/commands/DescribeProcessingJobCommand.js +1 -2
- package/dist-es/commands/GetLineageGroupPolicyCommand.js +39 -0
- package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +39 -0
- package/dist-es/commands/ListLineageGroupsCommand.js +39 -0
- package/dist-es/commands/ListModelMetadataCommand.js +39 -0
- package/dist-es/commands/ListTransformJobsCommand.js +2 -1
- package/dist-es/commands/ListTrialComponentsCommand.js +1 -1
- package/dist-es/commands/ListTrialsCommand.js +1 -1
- package/dist-es/commands/ListUserProfilesCommand.js +1 -1
- package/dist-es/commands/ListWorkforcesCommand.js +1 -1
- package/dist-es/commands/ListWorkteamsCommand.js +1 -1
- package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +1 -1
- package/dist-es/commands/QueryLineageCommand.js +39 -0
- package/dist-es/commands/RegisterDevicesCommand.js +1 -1
- package/dist-es/commands/RenderUiTemplateCommand.js +1 -1
- package/dist-es/commands/RetryPipelineExecutionCommand.js +1 -1
- package/dist-es/commands/SearchCommand.js +1 -2
- package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +1 -1
- package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +1 -1
- package/dist-es/commands/StartMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/StartNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/StartPipelineExecutionCommand.js +1 -2
- package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +17 -0
- package/dist-es/models/models_0.js +133 -132
- package/dist-es/models/models_1.js +138 -159
- package/dist-es/models/models_2.js +250 -224
- package/dist-es/models/models_3.js +244 -0
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +74 -0
- package/dist-es/pagination/ListLineageGroupsPaginator.js +74 -0
- package/dist-es/pagination/ListModelMetadataPaginator.js +74 -0
- package/dist-es/pagination/QueryLineagePaginator.js +74 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +1523 -34
- package/dist-types/SageMaker.d.ts +72 -0
- package/dist-types/SageMakerClient.d.ts +11 -2
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +37 -0
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProcessingJobCommand.d.ts +1 -2
- package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +35 -0
- package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +35 -0
- package/dist-types/commands/ListLineageGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelMetadataCommand.d.ts +36 -0
- package/dist-types/commands/ListTransformJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/QueryLineageCommand.d.ts +37 -0
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +1 -2
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +368 -1957
- package/dist-types/models/models_1.d.ts +6604 -5056
- package/dist-types/models/models_2.d.ts +5469 -6135
- package/dist-types/models/models_3.d.ts +2350 -3
- package/dist-types/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLineageGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListModelMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/QueryLineagePaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/SageMaker.d.ts +45 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +11 -2
- package/dist-types/ts3.4/commands/CreateInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +226 -201
- package/dist-types/ts3.4/models/models_1.d.ts +448 -509
- package/dist-types/ts3.4/models/models_2.d.ts +2453 -2632
- package/dist-types/ts3.4/models/models_3.d.ts +1048 -3
- package/dist-types/ts3.4/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLineageGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListModelMetadataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryLineagePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +27 -0
- package/package.json +5 -5
|
@@ -289,6 +289,17 @@ export var serializeAws_json1_1CreateImageVersionCommand = function (input, cont
|
|
|
289
289
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
290
290
|
});
|
|
291
291
|
}); };
|
|
292
|
+
export var serializeAws_json1_1CreateInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
|
+
var headers, body;
|
|
294
|
+
return __generator(this, function (_a) {
|
|
295
|
+
headers = {
|
|
296
|
+
"content-type": "application/x-amz-json-1.1",
|
|
297
|
+
"x-amz-target": "SageMaker.CreateInferenceRecommendationsJob",
|
|
298
|
+
};
|
|
299
|
+
body = JSON.stringify(serializeAws_json1_1CreateInferenceRecommendationsJobRequest(input, context));
|
|
300
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
301
|
+
});
|
|
302
|
+
}); };
|
|
292
303
|
export var serializeAws_json1_1CreateLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
304
|
var headers, body;
|
|
294
305
|
return __generator(this, function (_a) {
|
|
@@ -1224,6 +1235,17 @@ export var serializeAws_json1_1DescribeImageVersionCommand = function (input, co
|
|
|
1224
1235
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1225
1236
|
});
|
|
1226
1237
|
}); };
|
|
1238
|
+
export var serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1239
|
+
var headers, body;
|
|
1240
|
+
return __generator(this, function (_a) {
|
|
1241
|
+
headers = {
|
|
1242
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1243
|
+
"x-amz-target": "SageMaker.DescribeInferenceRecommendationsJob",
|
|
1244
|
+
};
|
|
1245
|
+
body = JSON.stringify(serializeAws_json1_1DescribeInferenceRecommendationsJobRequest(input, context));
|
|
1246
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1247
|
+
});
|
|
1248
|
+
}); };
|
|
1227
1249
|
export var serializeAws_json1_1DescribeLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1228
1250
|
var headers, body;
|
|
1229
1251
|
return __generator(this, function (_a) {
|
|
@@ -1235,6 +1257,17 @@ export var serializeAws_json1_1DescribeLabelingJobCommand = function (input, con
|
|
|
1235
1257
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1236
1258
|
});
|
|
1237
1259
|
}); };
|
|
1260
|
+
export var serializeAws_json1_1DescribeLineageGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1261
|
+
var headers, body;
|
|
1262
|
+
return __generator(this, function (_a) {
|
|
1263
|
+
headers = {
|
|
1264
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1265
|
+
"x-amz-target": "SageMaker.DescribeLineageGroup",
|
|
1266
|
+
};
|
|
1267
|
+
body = JSON.stringify(serializeAws_json1_1DescribeLineageGroupRequest(input, context));
|
|
1268
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1269
|
+
});
|
|
1270
|
+
}); };
|
|
1238
1271
|
export var serializeAws_json1_1DescribeModelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1239
1272
|
var headers, body;
|
|
1240
1273
|
return __generator(this, function (_a) {
|
|
@@ -1532,6 +1565,17 @@ export var serializeAws_json1_1GetDeviceFleetReportCommand = function (input, co
|
|
|
1532
1565
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1533
1566
|
});
|
|
1534
1567
|
}); };
|
|
1568
|
+
export var serializeAws_json1_1GetLineageGroupPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1569
|
+
var headers, body;
|
|
1570
|
+
return __generator(this, function (_a) {
|
|
1571
|
+
headers = {
|
|
1572
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1573
|
+
"x-amz-target": "SageMaker.GetLineageGroupPolicy",
|
|
1574
|
+
};
|
|
1575
|
+
body = JSON.stringify(serializeAws_json1_1GetLineageGroupPolicyRequest(input, context));
|
|
1576
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1577
|
+
});
|
|
1578
|
+
}); };
|
|
1535
1579
|
export var serializeAws_json1_1GetModelPackageGroupPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1536
1580
|
var headers, body;
|
|
1537
1581
|
return __generator(this, function (_a) {
|
|
@@ -1840,6 +1884,17 @@ export var serializeAws_json1_1ListImageVersionsCommand = function (input, conte
|
|
|
1840
1884
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1841
1885
|
});
|
|
1842
1886
|
}); };
|
|
1887
|
+
export var serializeAws_json1_1ListInferenceRecommendationsJobsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1888
|
+
var headers, body;
|
|
1889
|
+
return __generator(this, function (_a) {
|
|
1890
|
+
headers = {
|
|
1891
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1892
|
+
"x-amz-target": "SageMaker.ListInferenceRecommendationsJobs",
|
|
1893
|
+
};
|
|
1894
|
+
body = JSON.stringify(serializeAws_json1_1ListInferenceRecommendationsJobsRequest(input, context));
|
|
1895
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1896
|
+
});
|
|
1897
|
+
}); };
|
|
1843
1898
|
export var serializeAws_json1_1ListLabelingJobsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1844
1899
|
var headers, body;
|
|
1845
1900
|
return __generator(this, function (_a) {
|
|
@@ -1862,6 +1917,17 @@ export var serializeAws_json1_1ListLabelingJobsForWorkteamCommand = function (in
|
|
|
1862
1917
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1863
1918
|
});
|
|
1864
1919
|
}); };
|
|
1920
|
+
export var serializeAws_json1_1ListLineageGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1921
|
+
var headers, body;
|
|
1922
|
+
return __generator(this, function (_a) {
|
|
1923
|
+
headers = {
|
|
1924
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1925
|
+
"x-amz-target": "SageMaker.ListLineageGroups",
|
|
1926
|
+
};
|
|
1927
|
+
body = JSON.stringify(serializeAws_json1_1ListLineageGroupsRequest(input, context));
|
|
1928
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1929
|
+
});
|
|
1930
|
+
}); };
|
|
1865
1931
|
export var serializeAws_json1_1ListModelBiasJobDefinitionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1866
1932
|
var headers, body;
|
|
1867
1933
|
return __generator(this, function (_a) {
|
|
@@ -1884,6 +1950,17 @@ export var serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = fu
|
|
|
1884
1950
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1885
1951
|
});
|
|
1886
1952
|
}); };
|
|
1953
|
+
export var serializeAws_json1_1ListModelMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1954
|
+
var headers, body;
|
|
1955
|
+
return __generator(this, function (_a) {
|
|
1956
|
+
headers = {
|
|
1957
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1958
|
+
"x-amz-target": "SageMaker.ListModelMetadata",
|
|
1959
|
+
};
|
|
1960
|
+
body = JSON.stringify(serializeAws_json1_1ListModelMetadataRequest(input, context));
|
|
1961
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1962
|
+
});
|
|
1963
|
+
}); };
|
|
1887
1964
|
export var serializeAws_json1_1ListModelPackageGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1888
1965
|
var headers, body;
|
|
1889
1966
|
return __generator(this, function (_a) {
|
|
@@ -2170,6 +2247,17 @@ export var serializeAws_json1_1PutModelPackageGroupPolicyCommand = function (inp
|
|
|
2170
2247
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2171
2248
|
});
|
|
2172
2249
|
}); };
|
|
2250
|
+
export var serializeAws_json1_1QueryLineageCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2251
|
+
var headers, body;
|
|
2252
|
+
return __generator(this, function (_a) {
|
|
2253
|
+
headers = {
|
|
2254
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2255
|
+
"x-amz-target": "SageMaker.QueryLineage",
|
|
2256
|
+
};
|
|
2257
|
+
body = JSON.stringify(serializeAws_json1_1QueryLineageRequest(input, context));
|
|
2258
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2259
|
+
});
|
|
2260
|
+
}); };
|
|
2173
2261
|
export var serializeAws_json1_1RegisterDevicesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2174
2262
|
var headers, body;
|
|
2175
2263
|
return __generator(this, function (_a) {
|
|
@@ -2313,6 +2401,17 @@ export var serializeAws_json1_1StopHyperParameterTuningJobCommand = function (in
|
|
|
2313
2401
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2314
2402
|
});
|
|
2315
2403
|
}); };
|
|
2404
|
+
export var serializeAws_json1_1StopInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2405
|
+
var headers, body;
|
|
2406
|
+
return __generator(this, function (_a) {
|
|
2407
|
+
headers = {
|
|
2408
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2409
|
+
"x-amz-target": "SageMaker.StopInferenceRecommendationsJob",
|
|
2410
|
+
};
|
|
2411
|
+
body = JSON.stringify(serializeAws_json1_1StopInferenceRecommendationsJobRequest(input, context));
|
|
2412
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2413
|
+
});
|
|
2414
|
+
}); };
|
|
2316
2415
|
export var serializeAws_json1_1StopLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2317
2416
|
var headers, body;
|
|
2318
2417
|
return __generator(this, function (_a) {
|
|
@@ -4193,6 +4292,70 @@ var deserializeAws_json1_1CreateImageVersionCommandError = function (output, con
|
|
|
4193
4292
|
}
|
|
4194
4293
|
});
|
|
4195
4294
|
}); };
|
|
4295
|
+
export var deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4296
|
+
var data, contents, response;
|
|
4297
|
+
return __generator(this, function (_a) {
|
|
4298
|
+
switch (_a.label) {
|
|
4299
|
+
case 0:
|
|
4300
|
+
if (output.statusCode >= 300) {
|
|
4301
|
+
return [2, deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context)];
|
|
4302
|
+
}
|
|
4303
|
+
return [4, parseBody(output.body, context)];
|
|
4304
|
+
case 1:
|
|
4305
|
+
data = _a.sent();
|
|
4306
|
+
contents = {};
|
|
4307
|
+
contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
|
|
4308
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4309
|
+
return [2, Promise.resolve(response)];
|
|
4310
|
+
}
|
|
4311
|
+
});
|
|
4312
|
+
}); };
|
|
4313
|
+
var deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4314
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
4315
|
+
var _e;
|
|
4316
|
+
return __generator(this, function (_f) {
|
|
4317
|
+
switch (_f.label) {
|
|
4318
|
+
case 0:
|
|
4319
|
+
_a = [__assign({}, output)];
|
|
4320
|
+
_e = {};
|
|
4321
|
+
return [4, parseBody(output.body, context)];
|
|
4322
|
+
case 1:
|
|
4323
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
4324
|
+
errorCode = "UnknownError";
|
|
4325
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4326
|
+
_b = errorCode;
|
|
4327
|
+
switch (_b) {
|
|
4328
|
+
case "ResourceInUse": return [3, 2];
|
|
4329
|
+
case "com.amazonaws.sagemaker#ResourceInUse": return [3, 2];
|
|
4330
|
+
case "ResourceLimitExceeded": return [3, 4];
|
|
4331
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded": return [3, 4];
|
|
4332
|
+
}
|
|
4333
|
+
return [3, 6];
|
|
4334
|
+
case 2:
|
|
4335
|
+
_c = [{}];
|
|
4336
|
+
return [4, deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context)];
|
|
4337
|
+
case 3:
|
|
4338
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4339
|
+
return [3, 7];
|
|
4340
|
+
case 4:
|
|
4341
|
+
_d = [{}];
|
|
4342
|
+
return [4, deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context)];
|
|
4343
|
+
case 5:
|
|
4344
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4345
|
+
return [3, 7];
|
|
4346
|
+
case 6:
|
|
4347
|
+
parsedBody = parsedOutput.body;
|
|
4348
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
4349
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
4350
|
+
_f.label = 7;
|
|
4351
|
+
case 7:
|
|
4352
|
+
message = response.message || response.Message || errorCode;
|
|
4353
|
+
response.message = message;
|
|
4354
|
+
delete response.Message;
|
|
4355
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
4356
|
+
}
|
|
4357
|
+
});
|
|
4358
|
+
}); };
|
|
4196
4359
|
export var deserializeAws_json1_1CreateLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4197
4360
|
var data, contents, response;
|
|
4198
4361
|
return __generator(this, function (_a) {
|
|
@@ -8933,6 +9096,62 @@ var deserializeAws_json1_1DescribeImageVersionCommandError = function (output, c
|
|
|
8933
9096
|
}
|
|
8934
9097
|
});
|
|
8935
9098
|
}); };
|
|
9099
|
+
export var deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9100
|
+
var data, contents, response;
|
|
9101
|
+
return __generator(this, function (_a) {
|
|
9102
|
+
switch (_a.label) {
|
|
9103
|
+
case 0:
|
|
9104
|
+
if (output.statusCode >= 300) {
|
|
9105
|
+
return [2, deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError(output, context)];
|
|
9106
|
+
}
|
|
9107
|
+
return [4, parseBody(output.body, context)];
|
|
9108
|
+
case 1:
|
|
9109
|
+
data = _a.sent();
|
|
9110
|
+
contents = {};
|
|
9111
|
+
contents = deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse(data, context);
|
|
9112
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
9113
|
+
return [2, Promise.resolve(response)];
|
|
9114
|
+
}
|
|
9115
|
+
});
|
|
9116
|
+
}); };
|
|
9117
|
+
var deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9118
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
9119
|
+
var _d;
|
|
9120
|
+
return __generator(this, function (_e) {
|
|
9121
|
+
switch (_e.label) {
|
|
9122
|
+
case 0:
|
|
9123
|
+
_a = [__assign({}, output)];
|
|
9124
|
+
_d = {};
|
|
9125
|
+
return [4, parseBody(output.body, context)];
|
|
9126
|
+
case 1:
|
|
9127
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
9128
|
+
errorCode = "UnknownError";
|
|
9129
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9130
|
+
_b = errorCode;
|
|
9131
|
+
switch (_b) {
|
|
9132
|
+
case "ResourceNotFound": return [3, 2];
|
|
9133
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
9134
|
+
}
|
|
9135
|
+
return [3, 4];
|
|
9136
|
+
case 2:
|
|
9137
|
+
_c = [{}];
|
|
9138
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
9139
|
+
case 3:
|
|
9140
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9141
|
+
return [3, 5];
|
|
9142
|
+
case 4:
|
|
9143
|
+
parsedBody = parsedOutput.body;
|
|
9144
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9145
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9146
|
+
_e.label = 5;
|
|
9147
|
+
case 5:
|
|
9148
|
+
message = response.message || response.Message || errorCode;
|
|
9149
|
+
response.message = message;
|
|
9150
|
+
delete response.Message;
|
|
9151
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
9152
|
+
}
|
|
9153
|
+
});
|
|
9154
|
+
}); };
|
|
8936
9155
|
export var deserializeAws_json1_1DescribeLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8937
9156
|
var data, contents, response;
|
|
8938
9157
|
return __generator(this, function (_a) {
|
|
@@ -8989,6 +9208,62 @@ var deserializeAws_json1_1DescribeLabelingJobCommandError = function (output, co
|
|
|
8989
9208
|
}
|
|
8990
9209
|
});
|
|
8991
9210
|
}); };
|
|
9211
|
+
export var deserializeAws_json1_1DescribeLineageGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9212
|
+
var data, contents, response;
|
|
9213
|
+
return __generator(this, function (_a) {
|
|
9214
|
+
switch (_a.label) {
|
|
9215
|
+
case 0:
|
|
9216
|
+
if (output.statusCode >= 300) {
|
|
9217
|
+
return [2, deserializeAws_json1_1DescribeLineageGroupCommandError(output, context)];
|
|
9218
|
+
}
|
|
9219
|
+
return [4, parseBody(output.body, context)];
|
|
9220
|
+
case 1:
|
|
9221
|
+
data = _a.sent();
|
|
9222
|
+
contents = {};
|
|
9223
|
+
contents = deserializeAws_json1_1DescribeLineageGroupResponse(data, context);
|
|
9224
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
9225
|
+
return [2, Promise.resolve(response)];
|
|
9226
|
+
}
|
|
9227
|
+
});
|
|
9228
|
+
}); };
|
|
9229
|
+
var deserializeAws_json1_1DescribeLineageGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9230
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
9231
|
+
var _d;
|
|
9232
|
+
return __generator(this, function (_e) {
|
|
9233
|
+
switch (_e.label) {
|
|
9234
|
+
case 0:
|
|
9235
|
+
_a = [__assign({}, output)];
|
|
9236
|
+
_d = {};
|
|
9237
|
+
return [4, parseBody(output.body, context)];
|
|
9238
|
+
case 1:
|
|
9239
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
9240
|
+
errorCode = "UnknownError";
|
|
9241
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9242
|
+
_b = errorCode;
|
|
9243
|
+
switch (_b) {
|
|
9244
|
+
case "ResourceNotFound": return [3, 2];
|
|
9245
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
9246
|
+
}
|
|
9247
|
+
return [3, 4];
|
|
9248
|
+
case 2:
|
|
9249
|
+
_c = [{}];
|
|
9250
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
9251
|
+
case 3:
|
|
9252
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9253
|
+
return [3, 5];
|
|
9254
|
+
case 4:
|
|
9255
|
+
parsedBody = parsedOutput.body;
|
|
9256
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9257
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9258
|
+
_e.label = 5;
|
|
9259
|
+
case 5:
|
|
9260
|
+
message = response.message || response.Message || errorCode;
|
|
9261
|
+
response.message = message;
|
|
9262
|
+
delete response.Message;
|
|
9263
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
9264
|
+
}
|
|
9265
|
+
});
|
|
9266
|
+
}); };
|
|
8992
9267
|
export var deserializeAws_json1_1DescribeModelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8993
9268
|
var data, contents, response;
|
|
8994
9269
|
return __generator(this, function (_a) {
|
|
@@ -10357,41 +10632,97 @@ var deserializeAws_json1_1GetDeviceFleetReportCommandError = function (output, c
|
|
|
10357
10632
|
}
|
|
10358
10633
|
});
|
|
10359
10634
|
}); };
|
|
10360
|
-
export var
|
|
10635
|
+
export var deserializeAws_json1_1GetLineageGroupPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10361
10636
|
var data, contents, response;
|
|
10362
10637
|
return __generator(this, function (_a) {
|
|
10363
10638
|
switch (_a.label) {
|
|
10364
10639
|
case 0:
|
|
10365
10640
|
if (output.statusCode >= 300) {
|
|
10366
|
-
return [2,
|
|
10641
|
+
return [2, deserializeAws_json1_1GetLineageGroupPolicyCommandError(output, context)];
|
|
10367
10642
|
}
|
|
10368
10643
|
return [4, parseBody(output.body, context)];
|
|
10369
10644
|
case 1:
|
|
10370
10645
|
data = _a.sent();
|
|
10371
10646
|
contents = {};
|
|
10372
|
-
contents =
|
|
10647
|
+
contents = deserializeAws_json1_1GetLineageGroupPolicyResponse(data, context);
|
|
10373
10648
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10374
10649
|
return [2, Promise.resolve(response)];
|
|
10375
10650
|
}
|
|
10376
10651
|
});
|
|
10377
10652
|
}); };
|
|
10378
|
-
var
|
|
10379
|
-
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
10380
|
-
var
|
|
10381
|
-
return __generator(this, function (
|
|
10382
|
-
switch (
|
|
10653
|
+
var deserializeAws_json1_1GetLineageGroupPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10654
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
10655
|
+
var _d;
|
|
10656
|
+
return __generator(this, function (_e) {
|
|
10657
|
+
switch (_e.label) {
|
|
10383
10658
|
case 0:
|
|
10384
10659
|
_a = [__assign({}, output)];
|
|
10385
|
-
|
|
10660
|
+
_d = {};
|
|
10386
10661
|
return [4, parseBody(output.body, context)];
|
|
10387
10662
|
case 1:
|
|
10388
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
10663
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
10389
10664
|
errorCode = "UnknownError";
|
|
10390
10665
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10666
|
+
_b = errorCode;
|
|
10667
|
+
switch (_b) {
|
|
10668
|
+
case "ResourceNotFound": return [3, 2];
|
|
10669
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
10670
|
+
}
|
|
10671
|
+
return [3, 4];
|
|
10672
|
+
case 2:
|
|
10673
|
+
_c = [{}];
|
|
10674
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
10675
|
+
case 3:
|
|
10676
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10677
|
+
return [3, 5];
|
|
10678
|
+
case 4:
|
|
10679
|
+
parsedBody = parsedOutput.body;
|
|
10680
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10681
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10682
|
+
_e.label = 5;
|
|
10683
|
+
case 5:
|
|
10684
|
+
message = response.message || response.Message || errorCode;
|
|
10685
|
+
response.message = message;
|
|
10686
|
+
delete response.Message;
|
|
10687
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10688
|
+
}
|
|
10689
|
+
});
|
|
10690
|
+
}); };
|
|
10691
|
+
export var deserializeAws_json1_1GetModelPackageGroupPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10692
|
+
var data, contents, response;
|
|
10693
|
+
return __generator(this, function (_a) {
|
|
10694
|
+
switch (_a.label) {
|
|
10695
|
+
case 0:
|
|
10696
|
+
if (output.statusCode >= 300) {
|
|
10697
|
+
return [2, deserializeAws_json1_1GetModelPackageGroupPolicyCommandError(output, context)];
|
|
10698
|
+
}
|
|
10699
|
+
return [4, parseBody(output.body, context)];
|
|
10700
|
+
case 1:
|
|
10701
|
+
data = _a.sent();
|
|
10702
|
+
contents = {};
|
|
10703
|
+
contents = deserializeAws_json1_1GetModelPackageGroupPolicyOutput(data, context);
|
|
10704
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10705
|
+
return [2, Promise.resolve(response)];
|
|
10706
|
+
}
|
|
10707
|
+
});
|
|
10708
|
+
}); };
|
|
10709
|
+
var deserializeAws_json1_1GetModelPackageGroupPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10710
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
10711
|
+
var _b;
|
|
10712
|
+
return __generator(this, function (_c) {
|
|
10713
|
+
switch (_c.label) {
|
|
10714
|
+
case 0:
|
|
10715
|
+
_a = [__assign({}, output)];
|
|
10716
|
+
_b = {};
|
|
10717
|
+
return [4, parseBody(output.body, context)];
|
|
10718
|
+
case 1:
|
|
10719
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
10720
|
+
errorCode = "UnknownError";
|
|
10721
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10722
|
+
switch (errorCode) {
|
|
10723
|
+
default:
|
|
10724
|
+
parsedBody = parsedOutput.body;
|
|
10725
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10395
10726
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10396
10727
|
}
|
|
10397
10728
|
message = response.message || response.Message || errorCode;
|
|
@@ -11661,6 +11992,50 @@ var deserializeAws_json1_1ListImageVersionsCommandError = function (output, cont
|
|
|
11661
11992
|
}
|
|
11662
11993
|
});
|
|
11663
11994
|
}); };
|
|
11995
|
+
export var deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11996
|
+
var data, contents, response;
|
|
11997
|
+
return __generator(this, function (_a) {
|
|
11998
|
+
switch (_a.label) {
|
|
11999
|
+
case 0:
|
|
12000
|
+
if (output.statusCode >= 300) {
|
|
12001
|
+
return [2, deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError(output, context)];
|
|
12002
|
+
}
|
|
12003
|
+
return [4, parseBody(output.body, context)];
|
|
12004
|
+
case 1:
|
|
12005
|
+
data = _a.sent();
|
|
12006
|
+
contents = {};
|
|
12007
|
+
contents = deserializeAws_json1_1ListInferenceRecommendationsJobsResponse(data, context);
|
|
12008
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12009
|
+
return [2, Promise.resolve(response)];
|
|
12010
|
+
}
|
|
12011
|
+
});
|
|
12012
|
+
}); };
|
|
12013
|
+
var deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12014
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12015
|
+
var _b;
|
|
12016
|
+
return __generator(this, function (_c) {
|
|
12017
|
+
switch (_c.label) {
|
|
12018
|
+
case 0:
|
|
12019
|
+
_a = [__assign({}, output)];
|
|
12020
|
+
_b = {};
|
|
12021
|
+
return [4, parseBody(output.body, context)];
|
|
12022
|
+
case 1:
|
|
12023
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12024
|
+
errorCode = "UnknownError";
|
|
12025
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12026
|
+
switch (errorCode) {
|
|
12027
|
+
default:
|
|
12028
|
+
parsedBody = parsedOutput.body;
|
|
12029
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12030
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12031
|
+
}
|
|
12032
|
+
message = response.message || response.Message || errorCode;
|
|
12033
|
+
response.message = message;
|
|
12034
|
+
delete response.Message;
|
|
12035
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12036
|
+
}
|
|
12037
|
+
});
|
|
12038
|
+
}); };
|
|
11664
12039
|
export var deserializeAws_json1_1ListLabelingJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11665
12040
|
var data, contents, response;
|
|
11666
12041
|
return __generator(this, function (_a) {
|
|
@@ -11761,6 +12136,50 @@ var deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError = function (ou
|
|
|
11761
12136
|
}
|
|
11762
12137
|
});
|
|
11763
12138
|
}); };
|
|
12139
|
+
export var deserializeAws_json1_1ListLineageGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12140
|
+
var data, contents, response;
|
|
12141
|
+
return __generator(this, function (_a) {
|
|
12142
|
+
switch (_a.label) {
|
|
12143
|
+
case 0:
|
|
12144
|
+
if (output.statusCode >= 300) {
|
|
12145
|
+
return [2, deserializeAws_json1_1ListLineageGroupsCommandError(output, context)];
|
|
12146
|
+
}
|
|
12147
|
+
return [4, parseBody(output.body, context)];
|
|
12148
|
+
case 1:
|
|
12149
|
+
data = _a.sent();
|
|
12150
|
+
contents = {};
|
|
12151
|
+
contents = deserializeAws_json1_1ListLineageGroupsResponse(data, context);
|
|
12152
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12153
|
+
return [2, Promise.resolve(response)];
|
|
12154
|
+
}
|
|
12155
|
+
});
|
|
12156
|
+
}); };
|
|
12157
|
+
var deserializeAws_json1_1ListLineageGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12158
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12159
|
+
var _b;
|
|
12160
|
+
return __generator(this, function (_c) {
|
|
12161
|
+
switch (_c.label) {
|
|
12162
|
+
case 0:
|
|
12163
|
+
_a = [__assign({}, output)];
|
|
12164
|
+
_b = {};
|
|
12165
|
+
return [4, parseBody(output.body, context)];
|
|
12166
|
+
case 1:
|
|
12167
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12168
|
+
errorCode = "UnknownError";
|
|
12169
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12170
|
+
switch (errorCode) {
|
|
12171
|
+
default:
|
|
12172
|
+
parsedBody = parsedOutput.body;
|
|
12173
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12174
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12175
|
+
}
|
|
12176
|
+
message = response.message || response.Message || errorCode;
|
|
12177
|
+
response.message = message;
|
|
12178
|
+
delete response.Message;
|
|
12179
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12180
|
+
}
|
|
12181
|
+
});
|
|
12182
|
+
}); };
|
|
11764
12183
|
export var deserializeAws_json1_1ListModelBiasJobDefinitionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11765
12184
|
var data, contents, response;
|
|
11766
12185
|
return __generator(this, function (_a) {
|
|
@@ -11849,6 +12268,50 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommandError = fu
|
|
|
11849
12268
|
}
|
|
11850
12269
|
});
|
|
11851
12270
|
}); };
|
|
12271
|
+
export var deserializeAws_json1_1ListModelMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12272
|
+
var data, contents, response;
|
|
12273
|
+
return __generator(this, function (_a) {
|
|
12274
|
+
switch (_a.label) {
|
|
12275
|
+
case 0:
|
|
12276
|
+
if (output.statusCode >= 300) {
|
|
12277
|
+
return [2, deserializeAws_json1_1ListModelMetadataCommandError(output, context)];
|
|
12278
|
+
}
|
|
12279
|
+
return [4, parseBody(output.body, context)];
|
|
12280
|
+
case 1:
|
|
12281
|
+
data = _a.sent();
|
|
12282
|
+
contents = {};
|
|
12283
|
+
contents = deserializeAws_json1_1ListModelMetadataResponse(data, context);
|
|
12284
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12285
|
+
return [2, Promise.resolve(response)];
|
|
12286
|
+
}
|
|
12287
|
+
});
|
|
12288
|
+
}); };
|
|
12289
|
+
var deserializeAws_json1_1ListModelMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12290
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12291
|
+
var _b;
|
|
12292
|
+
return __generator(this, function (_c) {
|
|
12293
|
+
switch (_c.label) {
|
|
12294
|
+
case 0:
|
|
12295
|
+
_a = [__assign({}, output)];
|
|
12296
|
+
_b = {};
|
|
12297
|
+
return [4, parseBody(output.body, context)];
|
|
12298
|
+
case 1:
|
|
12299
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12300
|
+
errorCode = "UnknownError";
|
|
12301
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12302
|
+
switch (errorCode) {
|
|
12303
|
+
default:
|
|
12304
|
+
parsedBody = parsedOutput.body;
|
|
12305
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12306
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12307
|
+
}
|
|
12308
|
+
message = response.message || response.Message || errorCode;
|
|
12309
|
+
response.message = message;
|
|
12310
|
+
delete response.Message;
|
|
12311
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12312
|
+
}
|
|
12313
|
+
});
|
|
12314
|
+
}); };
|
|
11852
12315
|
export var deserializeAws_json1_1ListModelPackageGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11853
12316
|
var data, contents, response;
|
|
11854
12317
|
return __generator(this, function (_a) {
|
|
@@ -13077,6 +13540,62 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyCommandError = function (out
|
|
|
13077
13540
|
}
|
|
13078
13541
|
});
|
|
13079
13542
|
}); };
|
|
13543
|
+
export var deserializeAws_json1_1QueryLineageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13544
|
+
var data, contents, response;
|
|
13545
|
+
return __generator(this, function (_a) {
|
|
13546
|
+
switch (_a.label) {
|
|
13547
|
+
case 0:
|
|
13548
|
+
if (output.statusCode >= 300) {
|
|
13549
|
+
return [2, deserializeAws_json1_1QueryLineageCommandError(output, context)];
|
|
13550
|
+
}
|
|
13551
|
+
return [4, parseBody(output.body, context)];
|
|
13552
|
+
case 1:
|
|
13553
|
+
data = _a.sent();
|
|
13554
|
+
contents = {};
|
|
13555
|
+
contents = deserializeAws_json1_1QueryLineageResponse(data, context);
|
|
13556
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
13557
|
+
return [2, Promise.resolve(response)];
|
|
13558
|
+
}
|
|
13559
|
+
});
|
|
13560
|
+
}); };
|
|
13561
|
+
var deserializeAws_json1_1QueryLineageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13562
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
13563
|
+
var _d;
|
|
13564
|
+
return __generator(this, function (_e) {
|
|
13565
|
+
switch (_e.label) {
|
|
13566
|
+
case 0:
|
|
13567
|
+
_a = [__assign({}, output)];
|
|
13568
|
+
_d = {};
|
|
13569
|
+
return [4, parseBody(output.body, context)];
|
|
13570
|
+
case 1:
|
|
13571
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
13572
|
+
errorCode = "UnknownError";
|
|
13573
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
13574
|
+
_b = errorCode;
|
|
13575
|
+
switch (_b) {
|
|
13576
|
+
case "ResourceNotFound": return [3, 2];
|
|
13577
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
13578
|
+
}
|
|
13579
|
+
return [3, 4];
|
|
13580
|
+
case 2:
|
|
13581
|
+
_c = [{}];
|
|
13582
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
13583
|
+
case 3:
|
|
13584
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
13585
|
+
return [3, 5];
|
|
13586
|
+
case 4:
|
|
13587
|
+
parsedBody = parsedOutput.body;
|
|
13588
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
13589
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
13590
|
+
_e.label = 5;
|
|
13591
|
+
case 5:
|
|
13592
|
+
message = response.message || response.Message || errorCode;
|
|
13593
|
+
response.message = message;
|
|
13594
|
+
delete response.Message;
|
|
13595
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
13596
|
+
}
|
|
13597
|
+
});
|
|
13598
|
+
}); };
|
|
13080
13599
|
export var deserializeAws_json1_1RegisterDevicesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13081
13600
|
var response;
|
|
13082
13601
|
return __generator(this, function (_a) {
|
|
@@ -13821,6 +14340,62 @@ var deserializeAws_json1_1StopHyperParameterTuningJobCommandError = function (ou
|
|
|
13821
14340
|
}
|
|
13822
14341
|
});
|
|
13823
14342
|
}); };
|
|
14343
|
+
export var deserializeAws_json1_1StopInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14344
|
+
var response;
|
|
14345
|
+
return __generator(this, function (_a) {
|
|
14346
|
+
switch (_a.label) {
|
|
14347
|
+
case 0:
|
|
14348
|
+
if (output.statusCode >= 300) {
|
|
14349
|
+
return [2, deserializeAws_json1_1StopInferenceRecommendationsJobCommandError(output, context)];
|
|
14350
|
+
}
|
|
14351
|
+
return [4, collectBody(output.body, context)];
|
|
14352
|
+
case 1:
|
|
14353
|
+
_a.sent();
|
|
14354
|
+
response = {
|
|
14355
|
+
$metadata: deserializeMetadata(output),
|
|
14356
|
+
};
|
|
14357
|
+
return [2, Promise.resolve(response)];
|
|
14358
|
+
}
|
|
14359
|
+
});
|
|
14360
|
+
}); };
|
|
14361
|
+
var deserializeAws_json1_1StopInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14362
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
14363
|
+
var _d;
|
|
14364
|
+
return __generator(this, function (_e) {
|
|
14365
|
+
switch (_e.label) {
|
|
14366
|
+
case 0:
|
|
14367
|
+
_a = [__assign({}, output)];
|
|
14368
|
+
_d = {};
|
|
14369
|
+
return [4, parseBody(output.body, context)];
|
|
14370
|
+
case 1:
|
|
14371
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
14372
|
+
errorCode = "UnknownError";
|
|
14373
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
14374
|
+
_b = errorCode;
|
|
14375
|
+
switch (_b) {
|
|
14376
|
+
case "ResourceNotFound": return [3, 2];
|
|
14377
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
14378
|
+
}
|
|
14379
|
+
return [3, 4];
|
|
14380
|
+
case 2:
|
|
14381
|
+
_c = [{}];
|
|
14382
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
14383
|
+
case 3:
|
|
14384
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
14385
|
+
return [3, 5];
|
|
14386
|
+
case 4:
|
|
14387
|
+
parsedBody = parsedOutput.body;
|
|
14388
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
14389
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
14390
|
+
_e.label = 5;
|
|
14391
|
+
case 5:
|
|
14392
|
+
message = response.message || response.Message || errorCode;
|
|
14393
|
+
response.message = message;
|
|
14394
|
+
delete response.Message;
|
|
14395
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
14396
|
+
}
|
|
14397
|
+
});
|
|
14398
|
+
}); };
|
|
13824
14399
|
export var deserializeAws_json1_1StopLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13825
14400
|
var response;
|
|
13826
14401
|
return __generator(this, function (_a) {
|
|
@@ -15691,6 +16266,34 @@ var serializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (input, c
|
|
|
15691
16266
|
return entry;
|
|
15692
16267
|
});
|
|
15693
16268
|
};
|
|
16269
|
+
var serializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (input, context) {
|
|
16270
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Containers !== undefined &&
|
|
16271
|
+
input.Containers !== null && {
|
|
16272
|
+
Containers: serializeAws_json1_1ModelPackageContainerDefinitionList(input.Containers, context),
|
|
16273
|
+
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SupportedContentTypes !== undefined &&
|
|
16274
|
+
input.SupportedContentTypes !== null && {
|
|
16275
|
+
SupportedContentTypes: serializeAws_json1_1ContentTypes(input.SupportedContentTypes, context),
|
|
16276
|
+
})), (input.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
16277
|
+
input.SupportedRealtimeInferenceInstanceTypes !== null && {
|
|
16278
|
+
SupportedRealtimeInferenceInstanceTypes: serializeAws_json1_1RealtimeInferenceInstanceTypes(input.SupportedRealtimeInferenceInstanceTypes, context),
|
|
16279
|
+
})), (input.SupportedResponseMIMETypes !== undefined &&
|
|
16280
|
+
input.SupportedResponseMIMETypes !== null && {
|
|
16281
|
+
SupportedResponseMIMETypes: serializeAws_json1_1ResponseMIMETypes(input.SupportedResponseMIMETypes, context),
|
|
16282
|
+
})), (input.SupportedTransformInstanceTypes !== undefined &&
|
|
16283
|
+
input.SupportedTransformInstanceTypes !== null && {
|
|
16284
|
+
SupportedTransformInstanceTypes: serializeAws_json1_1TransformInstanceTypes(input.SupportedTransformInstanceTypes, context),
|
|
16285
|
+
}));
|
|
16286
|
+
};
|
|
16287
|
+
var serializeAws_json1_1AdditionalInferenceSpecifications = function (input, context) {
|
|
16288
|
+
return input
|
|
16289
|
+
.filter(function (e) { return e != null; })
|
|
16290
|
+
.map(function (entry) {
|
|
16291
|
+
if (entry === null) {
|
|
16292
|
+
return null;
|
|
16293
|
+
}
|
|
16294
|
+
return serializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
16295
|
+
});
|
|
16296
|
+
};
|
|
15694
16297
|
var serializeAws_json1_1AddTagsInput = function (input, context) {
|
|
15695
16298
|
return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
15696
16299
|
};
|
|
@@ -15820,8 +16423,8 @@ var serializeAws_json1_1AttributeNames = function (input, context) {
|
|
|
15820
16423
|
});
|
|
15821
16424
|
};
|
|
15822
16425
|
var serializeAws_json1_1AutoMLChannel = function (input, context) {
|
|
15823
|
-
return __assign(__assign(__assign({}, (input.CompressionType !== undefined &&
|
|
15824
|
-
input.CompressionType !== null && { CompressionType: input.CompressionType })), (input.DataSource !== undefined &&
|
|
16426
|
+
return __assign(__assign(__assign(__assign({}, (input.CompressionType !== undefined &&
|
|
16427
|
+
input.CompressionType !== null && { CompressionType: input.CompressionType })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.DataSource !== undefined &&
|
|
15825
16428
|
input.DataSource !== null && { DataSource: serializeAws_json1_1AutoMLDataSource(input.DataSource, context) })), (input.TargetAttributeName !== undefined &&
|
|
15826
16429
|
input.TargetAttributeName !== null && { TargetAttributeName: input.TargetAttributeName }));
|
|
15827
16430
|
};
|
|
@@ -15887,7 +16490,13 @@ var serializeAws_json1_1BatchDescribeModelPackageInput = function (input, contex
|
|
|
15887
16490
|
}));
|
|
15888
16491
|
};
|
|
15889
16492
|
var serializeAws_json1_1Bias = function (input, context) {
|
|
15890
|
-
return __assign({}, (input.
|
|
16493
|
+
return __assign(__assign(__assign({}, (input.PostTrainingReport !== undefined &&
|
|
16494
|
+
input.PostTrainingReport !== null && {
|
|
16495
|
+
PostTrainingReport: serializeAws_json1_1MetricsSource(input.PostTrainingReport, context),
|
|
16496
|
+
})), (input.PreTrainingReport !== undefined &&
|
|
16497
|
+
input.PreTrainingReport !== null && {
|
|
16498
|
+
PreTrainingReport: serializeAws_json1_1MetricsSource(input.PreTrainingReport, context),
|
|
16499
|
+
})), (input.Report !== undefined &&
|
|
15891
16500
|
input.Report !== null && { Report: serializeAws_json1_1MetricsSource(input.Report, context) }));
|
|
15892
16501
|
};
|
|
15893
16502
|
var serializeAws_json1_1BlueGreenUpdatePolicy = function (input, context) {
|
|
@@ -15925,6 +16534,10 @@ var serializeAws_json1_1CaptureOptionList = function (input, context) {
|
|
|
15925
16534
|
return serializeAws_json1_1CaptureOption(entry, context);
|
|
15926
16535
|
});
|
|
15927
16536
|
};
|
|
16537
|
+
var serializeAws_json1_1CategoricalParameter = function (input, context) {
|
|
16538
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined &&
|
|
16539
|
+
input.Value !== null && { Value: serializeAws_json1_1CategoricalParameterRangeValues(input.Value, context) }));
|
|
16540
|
+
};
|
|
15928
16541
|
var serializeAws_json1_1CategoricalParameterRange = function (input, context) {
|
|
15929
16542
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
|
|
15930
16543
|
input.Values !== null && { Values: serializeAws_json1_1ParameterValues(input.Values, context) }));
|
|
@@ -15943,6 +16556,26 @@ var serializeAws_json1_1CategoricalParameterRangeSpecification = function (input
|
|
|
15943
16556
|
return __assign({}, (input.Values !== undefined &&
|
|
15944
16557
|
input.Values !== null && { Values: serializeAws_json1_1ParameterValues(input.Values, context) }));
|
|
15945
16558
|
};
|
|
16559
|
+
var serializeAws_json1_1CategoricalParameterRangeValues = function (input, context) {
|
|
16560
|
+
return input
|
|
16561
|
+
.filter(function (e) { return e != null; })
|
|
16562
|
+
.map(function (entry) {
|
|
16563
|
+
if (entry === null) {
|
|
16564
|
+
return null;
|
|
16565
|
+
}
|
|
16566
|
+
return entry;
|
|
16567
|
+
});
|
|
16568
|
+
};
|
|
16569
|
+
var serializeAws_json1_1CategoricalParameters = function (input, context) {
|
|
16570
|
+
return input
|
|
16571
|
+
.filter(function (e) { return e != null; })
|
|
16572
|
+
.map(function (entry) {
|
|
16573
|
+
if (entry === null) {
|
|
16574
|
+
return null;
|
|
16575
|
+
}
|
|
16576
|
+
return serializeAws_json1_1CategoricalParameter(entry, context);
|
|
16577
|
+
});
|
|
16578
|
+
};
|
|
15946
16579
|
var serializeAws_json1_1Channel = function (input, context) {
|
|
15947
16580
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelName !== undefined && input.ChannelName !== null && { ChannelName: input.ChannelName })), (input.CompressionType !== undefined &&
|
|
15948
16581
|
input.CompressionType !== null && { CompressionType: input.CompressionType })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.DataSource !== undefined &&
|
|
@@ -16041,10 +16674,11 @@ var serializeAws_json1_1ContainerArguments = function (input, context) {
|
|
|
16041
16674
|
});
|
|
16042
16675
|
};
|
|
16043
16676
|
var serializeAws_json1_1ContainerDefinition = function (input, context) {
|
|
16044
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
16677
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
16045
16678
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
|
|
16046
16679
|
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.ImageConfig !== undefined &&
|
|
16047
|
-
input.ImageConfig !== null && { ImageConfig: serializeAws_json1_1ImageConfig(input.ImageConfig, context) })), (input.
|
|
16680
|
+
input.ImageConfig !== null && { ImageConfig: serializeAws_json1_1ImageConfig(input.ImageConfig, context) })), (input.InferenceSpecificationName !== undefined &&
|
|
16681
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelPackageName !== undefined &&
|
|
16048
16682
|
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.MultiModelConfig !== undefined &&
|
|
16049
16683
|
input.MultiModelConfig !== null && {
|
|
16050
16684
|
MultiModelConfig: serializeAws_json1_1MultiModelConfig(input.MultiModelConfig, context),
|
|
@@ -16182,9 +16816,10 @@ var serializeAws_json1_1CreateCodeRepositoryInput = function (input, context) {
|
|
|
16182
16816
|
input.GitConfig !== null && { GitConfig: serializeAws_json1_1GitConfig(input.GitConfig, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16183
16817
|
};
|
|
16184
16818
|
var serializeAws_json1_1CreateCompilationJobRequest = function (input, context) {
|
|
16185
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompilationJobName !== undefined &&
|
|
16819
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompilationJobName !== undefined &&
|
|
16186
16820
|
input.CompilationJobName !== null && { CompilationJobName: input.CompilationJobName })), (input.InputConfig !== undefined &&
|
|
16187
|
-
input.InputConfig !== null && { InputConfig: serializeAws_json1_1InputConfig(input.InputConfig, context) })), (input.
|
|
16821
|
+
input.InputConfig !== null && { InputConfig: serializeAws_json1_1InputConfig(input.InputConfig, context) })), (input.ModelPackageVersionArn !== undefined &&
|
|
16822
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.OutputConfig !== undefined &&
|
|
16188
16823
|
input.OutputConfig !== null && { OutputConfig: serializeAws_json1_1OutputConfig(input.OutputConfig, context) })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.StoppingCondition !== undefined &&
|
|
16189
16824
|
input.StoppingCondition !== null && {
|
|
16190
16825
|
StoppingCondition: serializeAws_json1_1StoppingCondition(input.StoppingCondition, context),
|
|
@@ -16335,6 +16970,16 @@ var serializeAws_json1_1CreateImageVersionRequest = function (input, context) {
|
|
|
16335
16970
|
var _a;
|
|
16336
16971
|
return __assign(__assign(__assign({}, (input.BaseImage !== undefined && input.BaseImage !== null && { BaseImage: input.BaseImage })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName }));
|
|
16337
16972
|
};
|
|
16973
|
+
var serializeAws_json1_1CreateInferenceRecommendationsJobRequest = function (input, context) {
|
|
16974
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputConfig !== undefined &&
|
|
16975
|
+
input.InputConfig !== null && {
|
|
16976
|
+
InputConfig: serializeAws_json1_1RecommendationJobInputConfig(input.InputConfig, context),
|
|
16977
|
+
})), (input.JobDescription !== undefined &&
|
|
16978
|
+
input.JobDescription !== null && { JobDescription: input.JobDescription })), (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName })), (input.JobType !== undefined && input.JobType !== null && { JobType: input.JobType })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.StoppingConditions !== undefined &&
|
|
16979
|
+
input.StoppingConditions !== null && {
|
|
16980
|
+
StoppingConditions: serializeAws_json1_1RecommendationJobStoppingConditions(input.StoppingConditions, context),
|
|
16981
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16982
|
+
};
|
|
16338
16983
|
var serializeAws_json1_1CreateLabelingJobRequest = function (input, context) {
|
|
16339
16984
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HumanTaskConfig !== undefined &&
|
|
16340
16985
|
input.HumanTaskConfig !== null && {
|
|
@@ -16430,10 +17075,16 @@ var serializeAws_json1_1CreateModelPackageGroupInput = function (input, context)
|
|
|
16430
17075
|
};
|
|
16431
17076
|
var serializeAws_json1_1CreateModelPackageInput = function (input, context) {
|
|
16432
17077
|
var _a;
|
|
16433
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
17078
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecifications !== undefined &&
|
|
17079
|
+
input.AdditionalInferenceSpecifications !== null && {
|
|
17080
|
+
AdditionalInferenceSpecifications: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecifications, context),
|
|
17081
|
+
})), (input.CertifyForMarketplace !== undefined &&
|
|
16434
17082
|
input.CertifyForMarketplace !== null && { CertifyForMarketplace: input.CertifyForMarketplace })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.CustomerMetadataProperties !== undefined &&
|
|
16435
17083
|
input.CustomerMetadataProperties !== null && {
|
|
16436
17084
|
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
17085
|
+
})), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.DriftCheckBaselines !== undefined &&
|
|
17086
|
+
input.DriftCheckBaselines !== null && {
|
|
17087
|
+
DriftCheckBaselines: serializeAws_json1_1DriftCheckBaselines(input.DriftCheckBaselines, context),
|
|
16437
17088
|
})), (input.InferenceSpecification !== undefined &&
|
|
16438
17089
|
input.InferenceSpecification !== null && {
|
|
16439
17090
|
InferenceSpecification: serializeAws_json1_1InferenceSpecification(input.InferenceSpecification, context),
|
|
@@ -16445,10 +17096,11 @@ var serializeAws_json1_1CreateModelPackageInput = function (input, context) {
|
|
|
16445
17096
|
input.ModelMetrics !== null && { ModelMetrics: serializeAws_json1_1ModelMetrics(input.ModelMetrics, context) })), (input.ModelPackageDescription !== undefined &&
|
|
16446
17097
|
input.ModelPackageDescription !== null && { ModelPackageDescription: input.ModelPackageDescription })), (input.ModelPackageGroupName !== undefined &&
|
|
16447
17098
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ModelPackageName !== undefined &&
|
|
16448
|
-
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.
|
|
17099
|
+
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.SamplePayloadUrl !== undefined &&
|
|
17100
|
+
input.SamplePayloadUrl !== null && { SamplePayloadUrl: input.SamplePayloadUrl })), (input.SourceAlgorithmSpecification !== undefined &&
|
|
16449
17101
|
input.SourceAlgorithmSpecification !== null && {
|
|
16450
17102
|
SourceAlgorithmSpecification: serializeAws_json1_1SourceAlgorithmSpecification(input.SourceAlgorithmSpecification, context),
|
|
16451
|
-
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.ValidationSpecification !== undefined &&
|
|
17103
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Task !== undefined && input.Task !== null && { Task: input.Task })), (input.ValidationSpecification !== undefined &&
|
|
16452
17104
|
input.ValidationSpecification !== null && {
|
|
16453
17105
|
ValidationSpecification: serializeAws_json1_1ModelPackageValidationSpecification(input.ValidationSpecification, context),
|
|
16454
17106
|
}));
|
|
@@ -17097,10 +17749,17 @@ var serializeAws_json1_1DescribeImageRequest = function (input, context) {
|
|
|
17097
17749
|
var serializeAws_json1_1DescribeImageVersionRequest = function (input, context) {
|
|
17098
17750
|
return __assign(__assign({}, (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
17099
17751
|
};
|
|
17752
|
+
var serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = function (input, context) {
|
|
17753
|
+
return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
|
|
17754
|
+
};
|
|
17100
17755
|
var serializeAws_json1_1DescribeLabelingJobRequest = function (input, context) {
|
|
17101
17756
|
return __assign({}, (input.LabelingJobName !== undefined &&
|
|
17102
17757
|
input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
|
|
17103
17758
|
};
|
|
17759
|
+
var serializeAws_json1_1DescribeLineageGroupRequest = function (input, context) {
|
|
17760
|
+
return __assign({}, (input.LineageGroupName !== undefined &&
|
|
17761
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
|
|
17762
|
+
};
|
|
17104
17763
|
var serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = function (input, context) {
|
|
17105
17764
|
return __assign({}, (input.JobDefinitionName !== undefined &&
|
|
17106
17765
|
input.JobDefinitionName !== null && { JobDefinitionName: input.JobDefinitionName }));
|
|
@@ -17258,6 +17917,44 @@ var serializeAws_json1_1DomainSettingsForUpdate = function (input, context) {
|
|
|
17258
17917
|
RStudioServerProDomainSettingsForUpdate: serializeAws_json1_1RStudioServerProDomainSettingsForUpdate(input.RStudioServerProDomainSettingsForUpdate, context),
|
|
17259
17918
|
}));
|
|
17260
17919
|
};
|
|
17920
|
+
var serializeAws_json1_1DriftCheckBaselines = function (input, context) {
|
|
17921
|
+
return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined &&
|
|
17922
|
+
input.Bias !== null && { Bias: serializeAws_json1_1DriftCheckBias(input.Bias, context) })), (input.Explainability !== undefined &&
|
|
17923
|
+
input.Explainability !== null && {
|
|
17924
|
+
Explainability: serializeAws_json1_1DriftCheckExplainability(input.Explainability, context),
|
|
17925
|
+
})), (input.ModelDataQuality !== undefined &&
|
|
17926
|
+
input.ModelDataQuality !== null && {
|
|
17927
|
+
ModelDataQuality: serializeAws_json1_1DriftCheckModelDataQuality(input.ModelDataQuality, context),
|
|
17928
|
+
})), (input.ModelQuality !== undefined &&
|
|
17929
|
+
input.ModelQuality !== null && {
|
|
17930
|
+
ModelQuality: serializeAws_json1_1DriftCheckModelQuality(input.ModelQuality, context),
|
|
17931
|
+
}));
|
|
17932
|
+
};
|
|
17933
|
+
var serializeAws_json1_1DriftCheckBias = function (input, context) {
|
|
17934
|
+
return __assign(__assign(__assign({}, (input.ConfigFile !== undefined &&
|
|
17935
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.PostTrainingConstraints !== undefined &&
|
|
17936
|
+
input.PostTrainingConstraints !== null && {
|
|
17937
|
+
PostTrainingConstraints: serializeAws_json1_1MetricsSource(input.PostTrainingConstraints, context),
|
|
17938
|
+
})), (input.PreTrainingConstraints !== undefined &&
|
|
17939
|
+
input.PreTrainingConstraints !== null && {
|
|
17940
|
+
PreTrainingConstraints: serializeAws_json1_1MetricsSource(input.PreTrainingConstraints, context),
|
|
17941
|
+
}));
|
|
17942
|
+
};
|
|
17943
|
+
var serializeAws_json1_1DriftCheckExplainability = function (input, context) {
|
|
17944
|
+
return __assign(__assign({}, (input.ConfigFile !== undefined &&
|
|
17945
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.Constraints !== undefined &&
|
|
17946
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }));
|
|
17947
|
+
};
|
|
17948
|
+
var serializeAws_json1_1DriftCheckModelDataQuality = function (input, context) {
|
|
17949
|
+
return __assign(__assign({}, (input.Constraints !== undefined &&
|
|
17950
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
|
|
17951
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
|
|
17952
|
+
};
|
|
17953
|
+
var serializeAws_json1_1DriftCheckModelQuality = function (input, context) {
|
|
17954
|
+
return __assign(__assign({}, (input.Constraints !== undefined &&
|
|
17955
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
|
|
17956
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
|
|
17957
|
+
};
|
|
17261
17958
|
var serializeAws_json1_1EdgeOutputConfig = function (input, context) {
|
|
17262
17959
|
return __assign(__assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PresetDeploymentConfig !== undefined &&
|
|
17263
17960
|
input.PresetDeploymentConfig !== null && { PresetDeploymentConfig: input.PresetDeploymentConfig })), (input.PresetDeploymentType !== undefined &&
|
|
@@ -17278,6 +17975,23 @@ var serializeAws_json1_1EndpointInput = function (input, context) {
|
|
|
17278
17975
|
input.S3DataDistributionType !== null && { S3DataDistributionType: input.S3DataDistributionType })), (input.S3InputMode !== undefined && input.S3InputMode !== null && { S3InputMode: input.S3InputMode })), (input.StartTimeOffset !== undefined &&
|
|
17279
17976
|
input.StartTimeOffset !== null && { StartTimeOffset: input.StartTimeOffset }));
|
|
17280
17977
|
};
|
|
17978
|
+
var serializeAws_json1_1EndpointInputConfiguration = function (input, context) {
|
|
17979
|
+
return __assign(__assign(__assign({}, (input.EnvironmentParameterRanges !== undefined &&
|
|
17980
|
+
input.EnvironmentParameterRanges !== null && {
|
|
17981
|
+
EnvironmentParameterRanges: serializeAws_json1_1EnvironmentParameterRanges(input.EnvironmentParameterRanges, context),
|
|
17982
|
+
})), (input.InferenceSpecificationName !== undefined &&
|
|
17983
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }));
|
|
17984
|
+
};
|
|
17985
|
+
var serializeAws_json1_1EndpointInputConfigurations = function (input, context) {
|
|
17986
|
+
return input
|
|
17987
|
+
.filter(function (e) { return e != null; })
|
|
17988
|
+
.map(function (entry) {
|
|
17989
|
+
if (entry === null) {
|
|
17990
|
+
return null;
|
|
17991
|
+
}
|
|
17992
|
+
return serializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
17993
|
+
});
|
|
17994
|
+
};
|
|
17281
17995
|
var serializeAws_json1_1EnvironmentMap = function (input, context) {
|
|
17282
17996
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
17283
17997
|
var _b;
|
|
@@ -17288,6 +18002,12 @@ var serializeAws_json1_1EnvironmentMap = function (input, context) {
|
|
|
17288
18002
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
17289
18003
|
}, {});
|
|
17290
18004
|
};
|
|
18005
|
+
var serializeAws_json1_1EnvironmentParameterRanges = function (input, context) {
|
|
18006
|
+
return __assign({}, (input.CategoricalParameterRanges !== undefined &&
|
|
18007
|
+
input.CategoricalParameterRanges !== null && {
|
|
18008
|
+
CategoricalParameterRanges: serializeAws_json1_1CategoricalParameters(input.CategoricalParameterRanges, context),
|
|
18009
|
+
}));
|
|
18010
|
+
};
|
|
17291
18011
|
var serializeAws_json1_1ExperimentConfig = function (input, context) {
|
|
17292
18012
|
return __assign(__assign(__assign({}, (input.ExperimentName !== undefined &&
|
|
17293
18013
|
input.ExperimentName !== null && { ExperimentName: input.ExperimentName })), (input.TrialComponentDisplayName !== undefined &&
|
|
@@ -17310,6 +18030,9 @@ var serializeAws_json1_1FeatureDefinitions = function (input, context) {
|
|
|
17310
18030
|
return serializeAws_json1_1FeatureDefinition(entry, context);
|
|
17311
18031
|
});
|
|
17312
18032
|
};
|
|
18033
|
+
var serializeAws_json1_1FileSource = function (input, context) {
|
|
18034
|
+
return __assign(__assign(__assign({}, (input.ContentDigest !== undefined && input.ContentDigest !== null && { ContentDigest: input.ContentDigest })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri }));
|
|
18035
|
+
};
|
|
17313
18036
|
var serializeAws_json1_1FileSystemConfig = function (input, context) {
|
|
17314
18037
|
return __assign(__assign(__assign({}, (input.DefaultGid !== undefined && input.DefaultGid !== null && { DefaultGid: input.DefaultGid })), (input.DefaultUid !== undefined && input.DefaultUid !== null && { DefaultUid: input.DefaultUid })), (input.MountPath !== undefined && input.MountPath !== null && { MountPath: input.MountPath }));
|
|
17315
18038
|
};
|
|
@@ -17348,6 +18071,10 @@ var serializeAws_json1_1GetDeviceFleetReportRequest = function (input, context)
|
|
|
17348
18071
|
return __assign({}, (input.DeviceFleetName !== undefined &&
|
|
17349
18072
|
input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName }));
|
|
17350
18073
|
};
|
|
18074
|
+
var serializeAws_json1_1GetLineageGroupPolicyRequest = function (input, context) {
|
|
18075
|
+
return __assign({}, (input.LineageGroupName !== undefined &&
|
|
18076
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
|
|
18077
|
+
};
|
|
17351
18078
|
var serializeAws_json1_1GetModelPackageGroupPolicyInput = function (input, context) {
|
|
17352
18079
|
return __assign({}, (input.ModelPackageGroupName !== undefined &&
|
|
17353
18080
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName }));
|
|
@@ -17983,6 +18710,19 @@ var serializeAws_json1_1ListImageVersionsRequest = function (input, context) {
|
|
|
17983
18710
|
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
17984
18711
|
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
17985
18712
|
};
|
|
18713
|
+
var serializeAws_json1_1ListInferenceRecommendationsJobsRequest = function (input, context) {
|
|
18714
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18715
|
+
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
18716
|
+
input.CreationTimeBefore !== null && {
|
|
18717
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
18718
|
+
})), (input.LastModifiedTimeAfter !== undefined &&
|
|
18719
|
+
input.LastModifiedTimeAfter !== null && {
|
|
18720
|
+
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
18721
|
+
})), (input.LastModifiedTimeBefore !== undefined &&
|
|
18722
|
+
input.LastModifiedTimeBefore !== null && {
|
|
18723
|
+
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
18724
|
+
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder })), (input.StatusEquals !== undefined && input.StatusEquals !== null && { StatusEquals: input.StatusEquals }));
|
|
18725
|
+
};
|
|
17986
18726
|
var serializeAws_json1_1ListLabelingJobsForWorkteamRequest = function (input, context) {
|
|
17987
18727
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
17988
18728
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
@@ -18014,6 +18754,11 @@ var serializeAws_json1_1ListLineageEntityParameterKey = function (input, context
|
|
|
18014
18754
|
return entry;
|
|
18015
18755
|
});
|
|
18016
18756
|
};
|
|
18757
|
+
var serializeAws_json1_1ListLineageGroupsRequest = function (input, context) {
|
|
18758
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
|
|
18759
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
|
|
18760
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18761
|
+
};
|
|
18017
18762
|
var serializeAws_json1_1ListModelBiasJobDefinitionsRequest = function (input, context) {
|
|
18018
18763
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18019
18764
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
@@ -18028,6 +18773,12 @@ var serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = function
|
|
|
18028
18773
|
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
18029
18774
|
})), (input.EndpointName !== undefined && input.EndpointName !== null && { EndpointName: input.EndpointName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18030
18775
|
};
|
|
18776
|
+
var serializeAws_json1_1ListModelMetadataRequest = function (input, context) {
|
|
18777
|
+
return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SearchExpression !== undefined &&
|
|
18778
|
+
input.SearchExpression !== null && {
|
|
18779
|
+
SearchExpression: serializeAws_json1_1ModelMetadataSearchExpression(input.SearchExpression, context),
|
|
18780
|
+
}));
|
|
18781
|
+
};
|
|
18031
18782
|
var serializeAws_json1_1ListModelPackageGroupsInput = function (input, context) {
|
|
18032
18783
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18033
18784
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
@@ -18344,6 +19095,41 @@ var serializeAws_json1_1ModelExplainabilityJobInput = function (input, context)
|
|
|
18344
19095
|
EndpointInput: serializeAws_json1_1EndpointInput(input.EndpointInput, context),
|
|
18345
19096
|
}));
|
|
18346
19097
|
};
|
|
19098
|
+
var serializeAws_json1_1ModelInput = function (input, context) {
|
|
19099
|
+
return __assign({}, (input.DataInputConfig !== undefined &&
|
|
19100
|
+
input.DataInputConfig !== null && { DataInputConfig: input.DataInputConfig }));
|
|
19101
|
+
};
|
|
19102
|
+
var serializeAws_json1_1ModelLatencyThreshold = function (input, context) {
|
|
19103
|
+
return __assign(__assign({}, (input.Percentile !== undefined && input.Percentile !== null && { Percentile: input.Percentile })), (input.ValueInMilliseconds !== undefined &&
|
|
19104
|
+
input.ValueInMilliseconds !== null && { ValueInMilliseconds: input.ValueInMilliseconds }));
|
|
19105
|
+
};
|
|
19106
|
+
var serializeAws_json1_1ModelLatencyThresholds = function (input, context) {
|
|
19107
|
+
return input
|
|
19108
|
+
.filter(function (e) { return e != null; })
|
|
19109
|
+
.map(function (entry) {
|
|
19110
|
+
if (entry === null) {
|
|
19111
|
+
return null;
|
|
19112
|
+
}
|
|
19113
|
+
return serializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
19114
|
+
});
|
|
19115
|
+
};
|
|
19116
|
+
var serializeAws_json1_1ModelMetadataFilter = function (input, context) {
|
|
19117
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
19118
|
+
};
|
|
19119
|
+
var serializeAws_json1_1ModelMetadataFilters = function (input, context) {
|
|
19120
|
+
return input
|
|
19121
|
+
.filter(function (e) { return e != null; })
|
|
19122
|
+
.map(function (entry) {
|
|
19123
|
+
if (entry === null) {
|
|
19124
|
+
return null;
|
|
19125
|
+
}
|
|
19126
|
+
return serializeAws_json1_1ModelMetadataFilter(entry, context);
|
|
19127
|
+
});
|
|
19128
|
+
};
|
|
19129
|
+
var serializeAws_json1_1ModelMetadataSearchExpression = function (input, context) {
|
|
19130
|
+
return __assign({}, (input.Filters !== undefined &&
|
|
19131
|
+
input.Filters !== null && { Filters: serializeAws_json1_1ModelMetadataFilters(input.Filters, context) }));
|
|
19132
|
+
};
|
|
18347
19133
|
var serializeAws_json1_1ModelMetrics = function (input, context) {
|
|
18348
19134
|
return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined && input.Bias !== null && { Bias: serializeAws_json1_1Bias(input.Bias, context) })), (input.Explainability !== undefined &&
|
|
18349
19135
|
input.Explainability !== null && {
|
|
@@ -18365,9 +19151,12 @@ var serializeAws_json1_1ModelPackageArnList = function (input, context) {
|
|
|
18365
19151
|
});
|
|
18366
19152
|
};
|
|
18367
19153
|
var serializeAws_json1_1ModelPackageContainerDefinition = function (input, context) {
|
|
18368
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
19154
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
18369
19155
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
|
|
18370
|
-
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.
|
|
19156
|
+
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework })), (input.FrameworkVersion !== undefined &&
|
|
19157
|
+
input.FrameworkVersion !== null && { FrameworkVersion: input.FrameworkVersion })), (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelInput !== undefined &&
|
|
19158
|
+
input.ModelInput !== null && { ModelInput: serializeAws_json1_1ModelInput(input.ModelInput, context) })), (input.NearestModelName !== undefined &&
|
|
19159
|
+
input.NearestModelName !== null && { NearestModelName: input.NearestModelName })), (input.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }));
|
|
18371
19160
|
};
|
|
18372
19161
|
var serializeAws_json1_1ModelPackageContainerDefinitionList = function (input, context) {
|
|
18373
19162
|
return input
|
|
@@ -18787,6 +19576,21 @@ var serializeAws_json1_1ParentHyperParameterTuningJobs = function (input, contex
|
|
|
18787
19576
|
return serializeAws_json1_1ParentHyperParameterTuningJob(entry, context);
|
|
18788
19577
|
});
|
|
18789
19578
|
};
|
|
19579
|
+
var serializeAws_json1_1Phase = function (input, context) {
|
|
19580
|
+
return __assign(__assign(__assign({}, (input.DurationInSeconds !== undefined &&
|
|
19581
|
+
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds })), (input.InitialNumberOfUsers !== undefined &&
|
|
19582
|
+
input.InitialNumberOfUsers !== null && { InitialNumberOfUsers: input.InitialNumberOfUsers })), (input.SpawnRate !== undefined && input.SpawnRate !== null && { SpawnRate: input.SpawnRate }));
|
|
19583
|
+
};
|
|
19584
|
+
var serializeAws_json1_1Phases = function (input, context) {
|
|
19585
|
+
return input
|
|
19586
|
+
.filter(function (e) { return e != null; })
|
|
19587
|
+
.map(function (entry) {
|
|
19588
|
+
if (entry === null) {
|
|
19589
|
+
return null;
|
|
19590
|
+
}
|
|
19591
|
+
return serializeAws_json1_1Phase(entry, context);
|
|
19592
|
+
});
|
|
19593
|
+
};
|
|
18790
19594
|
var serializeAws_json1_1ProcessingClusterConfig = function (input, context) {
|
|
18791
19595
|
return __assign(__assign(__assign(__assign({}, (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.VolumeKmsKeyId !== undefined &&
|
|
18792
19596
|
input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB !== undefined &&
|
|
@@ -18863,13 +19667,16 @@ var serializeAws_json1_1ProcessingStoppingCondition = function (input, context)
|
|
|
18863
19667
|
input.MaxRuntimeInSeconds !== null && { MaxRuntimeInSeconds: input.MaxRuntimeInSeconds }));
|
|
18864
19668
|
};
|
|
18865
19669
|
var serializeAws_json1_1ProductionVariant = function (input, context) {
|
|
18866
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
|
|
19670
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
|
|
18867
19671
|
input.AcceleratorType !== null && { AcceleratorType: input.AcceleratorType })), (input.CoreDumpConfig !== undefined &&
|
|
18868
19672
|
input.CoreDumpConfig !== null && {
|
|
18869
19673
|
CoreDumpConfig: serializeAws_json1_1ProductionVariantCoreDumpConfig(input.CoreDumpConfig, context),
|
|
18870
19674
|
})), (input.InitialInstanceCount !== undefined &&
|
|
18871
19675
|
input.InitialInstanceCount !== null && { InitialInstanceCount: input.InitialInstanceCount })), (input.InitialVariantWeight !== undefined &&
|
|
18872
|
-
input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.
|
|
19676
|
+
input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.ServerlessConfig !== undefined &&
|
|
19677
|
+
input.ServerlessConfig !== null && {
|
|
19678
|
+
ServerlessConfig: serializeAws_json1_1ProductionVariantServerlessConfig(input.ServerlessConfig, context),
|
|
19679
|
+
})), (input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
|
|
18873
19680
|
};
|
|
18874
19681
|
var serializeAws_json1_1ProductionVariantCoreDumpConfig = function (input, context) {
|
|
18875
19682
|
return __assign(__assign({}, (input.DestinationS3Uri !== undefined &&
|
|
@@ -18885,6 +19692,11 @@ var serializeAws_json1_1ProductionVariantList = function (input, context) {
|
|
|
18885
19692
|
return serializeAws_json1_1ProductionVariant(entry, context);
|
|
18886
19693
|
});
|
|
18887
19694
|
};
|
|
19695
|
+
var serializeAws_json1_1ProductionVariantServerlessConfig = function (input, context) {
|
|
19696
|
+
return __assign(__assign({}, (input.MaxConcurrency !== undefined &&
|
|
19697
|
+
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MemorySizeInMB !== undefined &&
|
|
19698
|
+
input.MemorySizeInMB !== null && { MemorySizeInMB: input.MemorySizeInMB }));
|
|
19699
|
+
};
|
|
18888
19700
|
var serializeAws_json1_1ProfilerConfig = function (input, context) {
|
|
18889
19701
|
return __assign(__assign(__assign({}, (input.ProfilingIntervalInMilliseconds !== undefined &&
|
|
18890
19702
|
input.ProfilingIntervalInMilliseconds !== null && {
|
|
@@ -18959,6 +19771,63 @@ var serializeAws_json1_1PutModelPackageGroupPolicyInput = function (input, conte
|
|
|
18959
19771
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ResourcePolicy !== undefined &&
|
|
18960
19772
|
input.ResourcePolicy !== null && { ResourcePolicy: input.ResourcePolicy }));
|
|
18961
19773
|
};
|
|
19774
|
+
var serializeAws_json1_1QueryFilters = function (input, context) {
|
|
19775
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
|
|
19776
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
|
|
19777
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.LineageTypes !== undefined &&
|
|
19778
|
+
input.LineageTypes !== null && {
|
|
19779
|
+
LineageTypes: serializeAws_json1_1QueryLineageTypes(input.LineageTypes, context),
|
|
19780
|
+
})), (input.ModifiedAfter !== undefined &&
|
|
19781
|
+
input.ModifiedAfter !== null && { ModifiedAfter: Math.round(input.ModifiedAfter.getTime() / 1000) })), (input.ModifiedBefore !== undefined &&
|
|
19782
|
+
input.ModifiedBefore !== null && { ModifiedBefore: Math.round(input.ModifiedBefore.getTime() / 1000) })), (input.Properties !== undefined &&
|
|
19783
|
+
input.Properties !== null && { Properties: serializeAws_json1_1QueryProperties(input.Properties, context) })), (input.Types !== undefined &&
|
|
19784
|
+
input.Types !== null && { Types: serializeAws_json1_1QueryTypes(input.Types, context) }));
|
|
19785
|
+
};
|
|
19786
|
+
var serializeAws_json1_1QueryLineageRequest = function (input, context) {
|
|
19787
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Filters !== undefined &&
|
|
19788
|
+
input.Filters !== null && { Filters: serializeAws_json1_1QueryFilters(input.Filters, context) })), (input.IncludeEdges !== undefined && input.IncludeEdges !== null && { IncludeEdges: input.IncludeEdges })), (input.MaxDepth !== undefined && input.MaxDepth !== null && { MaxDepth: input.MaxDepth })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartArns !== undefined &&
|
|
19789
|
+
input.StartArns !== null && { StartArns: serializeAws_json1_1QueryLineageStartArns(input.StartArns, context) }));
|
|
19790
|
+
};
|
|
19791
|
+
var serializeAws_json1_1QueryLineageStartArns = function (input, context) {
|
|
19792
|
+
return input
|
|
19793
|
+
.filter(function (e) { return e != null; })
|
|
19794
|
+
.map(function (entry) {
|
|
19795
|
+
if (entry === null) {
|
|
19796
|
+
return null;
|
|
19797
|
+
}
|
|
19798
|
+
return entry;
|
|
19799
|
+
});
|
|
19800
|
+
};
|
|
19801
|
+
var serializeAws_json1_1QueryLineageTypes = function (input, context) {
|
|
19802
|
+
return input
|
|
19803
|
+
.filter(function (e) { return e != null; })
|
|
19804
|
+
.map(function (entry) {
|
|
19805
|
+
if (entry === null) {
|
|
19806
|
+
return null;
|
|
19807
|
+
}
|
|
19808
|
+
return entry;
|
|
19809
|
+
});
|
|
19810
|
+
};
|
|
19811
|
+
var serializeAws_json1_1QueryProperties = function (input, context) {
|
|
19812
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
19813
|
+
var _b;
|
|
19814
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
19815
|
+
if (value === null) {
|
|
19816
|
+
return acc;
|
|
19817
|
+
}
|
|
19818
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
19819
|
+
}, {});
|
|
19820
|
+
};
|
|
19821
|
+
var serializeAws_json1_1QueryTypes = function (input, context) {
|
|
19822
|
+
return input
|
|
19823
|
+
.filter(function (e) { return e != null; })
|
|
19824
|
+
.map(function (entry) {
|
|
19825
|
+
if (entry === null) {
|
|
19826
|
+
return null;
|
|
19827
|
+
}
|
|
19828
|
+
return entry;
|
|
19829
|
+
});
|
|
19830
|
+
};
|
|
18962
19831
|
var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, context) {
|
|
18963
19832
|
return input
|
|
18964
19833
|
.filter(function (e) { return e != null; })
|
|
@@ -18969,6 +19838,32 @@ var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, contex
|
|
|
18969
19838
|
return entry;
|
|
18970
19839
|
});
|
|
18971
19840
|
};
|
|
19841
|
+
var serializeAws_json1_1RecommendationJobInputConfig = function (input, context) {
|
|
19842
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations !== undefined &&
|
|
19843
|
+
input.EndpointConfigurations !== null && {
|
|
19844
|
+
EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
|
|
19845
|
+
})), (input.JobDurationInSeconds !== undefined &&
|
|
19846
|
+
input.JobDurationInSeconds !== null && { JobDurationInSeconds: input.JobDurationInSeconds })), (input.ModelPackageVersionArn !== undefined &&
|
|
19847
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.ResourceLimit !== undefined &&
|
|
19848
|
+
input.ResourceLimit !== null && {
|
|
19849
|
+
ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
|
|
19850
|
+
})), (input.TrafficPattern !== undefined &&
|
|
19851
|
+
input.TrafficPattern !== null && {
|
|
19852
|
+
TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
|
|
19853
|
+
}));
|
|
19854
|
+
};
|
|
19855
|
+
var serializeAws_json1_1RecommendationJobResourceLimit = function (input, context) {
|
|
19856
|
+
return __assign(__assign({}, (input.MaxNumberOfTests !== undefined &&
|
|
19857
|
+
input.MaxNumberOfTests !== null && { MaxNumberOfTests: input.MaxNumberOfTests })), (input.MaxParallelOfTests !== undefined &&
|
|
19858
|
+
input.MaxParallelOfTests !== null && { MaxParallelOfTests: input.MaxParallelOfTests }));
|
|
19859
|
+
};
|
|
19860
|
+
var serializeAws_json1_1RecommendationJobStoppingConditions = function (input, context) {
|
|
19861
|
+
return __assign(__assign({}, (input.MaxInvocations !== undefined &&
|
|
19862
|
+
input.MaxInvocations !== null && { MaxInvocations: input.MaxInvocations })), (input.ModelLatencyThresholds !== undefined &&
|
|
19863
|
+
input.ModelLatencyThresholds !== null && {
|
|
19864
|
+
ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
|
|
19865
|
+
}));
|
|
19866
|
+
};
|
|
18972
19867
|
var serializeAws_json1_1RedshiftDatasetDefinition = function (input, context) {
|
|
18973
19868
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.ClusterRoleArn !== undefined &&
|
|
18974
19869
|
input.ClusterRoleArn !== null && { ClusterRoleArn: input.ClusterRoleArn })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.OutputCompression !== undefined &&
|
|
@@ -19207,6 +20102,9 @@ var serializeAws_json1_1StopHyperParameterTuningJobRequest = function (input, co
|
|
|
19207
20102
|
return __assign({}, (input.HyperParameterTuningJobName !== undefined &&
|
|
19208
20103
|
input.HyperParameterTuningJobName !== null && { HyperParameterTuningJobName: input.HyperParameterTuningJobName }));
|
|
19209
20104
|
};
|
|
20105
|
+
var serializeAws_json1_1StopInferenceRecommendationsJobRequest = function (input, context) {
|
|
20106
|
+
return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
|
|
20107
|
+
};
|
|
19210
20108
|
var serializeAws_json1_1StopLabelingJobRequest = function (input, context) {
|
|
19211
20109
|
return __assign({}, (input.LabelingJobName !== undefined &&
|
|
19212
20110
|
input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
|
|
@@ -19302,6 +20200,10 @@ var serializeAws_json1_1TensorBoardAppSettings = function (input, context) {
|
|
|
19302
20200
|
var serializeAws_json1_1TensorBoardOutputConfig = function (input, context) {
|
|
19303
20201
|
return __assign(__assign({}, (input.LocalPath !== undefined && input.LocalPath !== null && { LocalPath: input.LocalPath })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }));
|
|
19304
20202
|
};
|
|
20203
|
+
var serializeAws_json1_1TrafficPattern = function (input, context) {
|
|
20204
|
+
return __assign(__assign({}, (input.Phases !== undefined &&
|
|
20205
|
+
input.Phases !== null && { Phases: serializeAws_json1_1Phases(input.Phases, context) })), (input.TrafficType !== undefined && input.TrafficType !== null && { TrafficType: input.TrafficType }));
|
|
20206
|
+
};
|
|
19305
20207
|
var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
|
|
19306
20208
|
return __assign(__assign(__assign(__assign({}, (input.CanarySize !== undefined &&
|
|
19307
20209
|
input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) })), (input.LinearStepSize !== undefined &&
|
|
@@ -19564,7 +20466,10 @@ var serializeAws_json1_1UpdateImageRequest = function (input, context) {
|
|
|
19564
20466
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
19565
20467
|
};
|
|
19566
20468
|
var serializeAws_json1_1UpdateModelPackageInput = function (input, context) {
|
|
19567
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.
|
|
20469
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecificationsToAdd !== undefined &&
|
|
20470
|
+
input.AdditionalInferenceSpecificationsToAdd !== null && {
|
|
20471
|
+
AdditionalInferenceSpecificationsToAdd: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecificationsToAdd, context),
|
|
20472
|
+
})), (input.ApprovalDescription !== undefined &&
|
|
19568
20473
|
input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.CustomerMetadataProperties !== undefined &&
|
|
19569
20474
|
input.CustomerMetadataProperties !== null && {
|
|
19570
20475
|
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
@@ -19808,6 +20713,38 @@ var deserializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (output
|
|
|
19808
20713
|
return __expectString(entry);
|
|
19809
20714
|
});
|
|
19810
20715
|
};
|
|
20716
|
+
var deserializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (output, context) {
|
|
20717
|
+
return {
|
|
20718
|
+
Containers: output.Containers !== undefined && output.Containers !== null
|
|
20719
|
+
? deserializeAws_json1_1ModelPackageContainerDefinitionList(output.Containers, context)
|
|
20720
|
+
: undefined,
|
|
20721
|
+
Description: __expectString(output.Description),
|
|
20722
|
+
Name: __expectString(output.Name),
|
|
20723
|
+
SupportedContentTypes: output.SupportedContentTypes !== undefined && output.SupportedContentTypes !== null
|
|
20724
|
+
? deserializeAws_json1_1ContentTypes(output.SupportedContentTypes, context)
|
|
20725
|
+
: undefined,
|
|
20726
|
+
SupportedRealtimeInferenceInstanceTypes: output.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
20727
|
+
output.SupportedRealtimeInferenceInstanceTypes !== null
|
|
20728
|
+
? deserializeAws_json1_1RealtimeInferenceInstanceTypes(output.SupportedRealtimeInferenceInstanceTypes, context)
|
|
20729
|
+
: undefined,
|
|
20730
|
+
SupportedResponseMIMETypes: output.SupportedResponseMIMETypes !== undefined && output.SupportedResponseMIMETypes !== null
|
|
20731
|
+
? deserializeAws_json1_1ResponseMIMETypes(output.SupportedResponseMIMETypes, context)
|
|
20732
|
+
: undefined,
|
|
20733
|
+
SupportedTransformInstanceTypes: output.SupportedTransformInstanceTypes !== undefined && output.SupportedTransformInstanceTypes !== null
|
|
20734
|
+
? deserializeAws_json1_1TransformInstanceTypes(output.SupportedTransformInstanceTypes, context)
|
|
20735
|
+
: undefined,
|
|
20736
|
+
};
|
|
20737
|
+
};
|
|
20738
|
+
var deserializeAws_json1_1AdditionalInferenceSpecifications = function (output, context) {
|
|
20739
|
+
return (output || [])
|
|
20740
|
+
.filter(function (e) { return e != null; })
|
|
20741
|
+
.map(function (entry) {
|
|
20742
|
+
if (entry === null) {
|
|
20743
|
+
return null;
|
|
20744
|
+
}
|
|
20745
|
+
return deserializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
20746
|
+
});
|
|
20747
|
+
};
|
|
19811
20748
|
var deserializeAws_json1_1AddTagsOutput = function (output, context) {
|
|
19812
20749
|
return {
|
|
19813
20750
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
@@ -20181,6 +21118,7 @@ var deserializeAws_json1_1AutoMLCandidateStep = function (output, context) {
|
|
|
20181
21118
|
var deserializeAws_json1_1AutoMLChannel = function (output, context) {
|
|
20182
21119
|
return {
|
|
20183
21120
|
CompressionType: __expectString(output.CompressionType),
|
|
21121
|
+
ContentType: __expectString(output.ContentType),
|
|
20184
21122
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
20185
21123
|
? deserializeAws_json1_1AutoMLDataSource(output.DataSource, context)
|
|
20186
21124
|
: undefined,
|
|
@@ -20369,6 +21307,12 @@ var deserializeAws_json1_1BatchDescribeModelPackageSummary = function (output, c
|
|
|
20369
21307
|
};
|
|
20370
21308
|
var deserializeAws_json1_1Bias = function (output, context) {
|
|
20371
21309
|
return {
|
|
21310
|
+
PostTrainingReport: output.PostTrainingReport !== undefined && output.PostTrainingReport !== null
|
|
21311
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingReport, context)
|
|
21312
|
+
: undefined,
|
|
21313
|
+
PreTrainingReport: output.PreTrainingReport !== undefined && output.PreTrainingReport !== null
|
|
21314
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingReport, context)
|
|
21315
|
+
: undefined,
|
|
20372
21316
|
Report: output.Report !== undefined && output.Report !== null
|
|
20373
21317
|
? deserializeAws_json1_1MetricsSource(output.Report, context)
|
|
20374
21318
|
: undefined,
|
|
@@ -20453,6 +21397,14 @@ var deserializeAws_json1_1CaptureOptionList = function (output, context) {
|
|
|
20453
21397
|
return deserializeAws_json1_1CaptureOption(entry, context);
|
|
20454
21398
|
});
|
|
20455
21399
|
};
|
|
21400
|
+
var deserializeAws_json1_1CategoricalParameter = function (output, context) {
|
|
21401
|
+
return {
|
|
21402
|
+
Name: __expectString(output.Name),
|
|
21403
|
+
Value: output.Value !== undefined && output.Value !== null
|
|
21404
|
+
? deserializeAws_json1_1CategoricalParameterRangeValues(output.Value, context)
|
|
21405
|
+
: undefined,
|
|
21406
|
+
};
|
|
21407
|
+
};
|
|
20456
21408
|
var deserializeAws_json1_1CategoricalParameterRange = function (output, context) {
|
|
20457
21409
|
return {
|
|
20458
21410
|
Name: __expectString(output.Name),
|
|
@@ -20478,6 +21430,26 @@ var deserializeAws_json1_1CategoricalParameterRangeSpecification = function (out
|
|
|
20478
21430
|
: undefined,
|
|
20479
21431
|
};
|
|
20480
21432
|
};
|
|
21433
|
+
var deserializeAws_json1_1CategoricalParameterRangeValues = function (output, context) {
|
|
21434
|
+
return (output || [])
|
|
21435
|
+
.filter(function (e) { return e != null; })
|
|
21436
|
+
.map(function (entry) {
|
|
21437
|
+
if (entry === null) {
|
|
21438
|
+
return null;
|
|
21439
|
+
}
|
|
21440
|
+
return __expectString(entry);
|
|
21441
|
+
});
|
|
21442
|
+
};
|
|
21443
|
+
var deserializeAws_json1_1CategoricalParameters = function (output, context) {
|
|
21444
|
+
return (output || [])
|
|
21445
|
+
.filter(function (e) { return e != null; })
|
|
21446
|
+
.map(function (entry) {
|
|
21447
|
+
if (entry === null) {
|
|
21448
|
+
return null;
|
|
21449
|
+
}
|
|
21450
|
+
return deserializeAws_json1_1CategoricalParameter(entry, context);
|
|
21451
|
+
});
|
|
21452
|
+
};
|
|
20481
21453
|
var deserializeAws_json1_1Channel = function (output, context) {
|
|
20482
21454
|
return {
|
|
20483
21455
|
ChannelName: __expectString(output.ChannelName),
|
|
@@ -20535,6 +21507,18 @@ var deserializeAws_json1_1Cidrs = function (output, context) {
|
|
|
20535
21507
|
return __expectString(entry);
|
|
20536
21508
|
});
|
|
20537
21509
|
};
|
|
21510
|
+
var deserializeAws_json1_1ClarifyCheckStepMetadata = function (output, context) {
|
|
21511
|
+
return {
|
|
21512
|
+
BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
21513
|
+
CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
|
|
21514
|
+
CheckJobArn: __expectString(output.CheckJobArn),
|
|
21515
|
+
CheckType: __expectString(output.CheckType),
|
|
21516
|
+
ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
|
|
21517
|
+
RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
|
|
21518
|
+
SkipCheck: __expectBoolean(output.SkipCheck),
|
|
21519
|
+
ViolationReport: __expectString(output.ViolationReport),
|
|
21520
|
+
};
|
|
21521
|
+
};
|
|
20538
21522
|
var deserializeAws_json1_1CodeRepositorySummary = function (output, context) {
|
|
20539
21523
|
return {
|
|
20540
21524
|
CodeRepositoryArn: __expectString(output.CodeRepositoryArn),
|
|
@@ -20674,6 +21658,7 @@ var deserializeAws_json1_1ContainerDefinition = function (output, context) {
|
|
|
20674
21658
|
ImageConfig: output.ImageConfig !== undefined && output.ImageConfig !== null
|
|
20675
21659
|
? deserializeAws_json1_1ImageConfig(output.ImageConfig, context)
|
|
20676
21660
|
: undefined,
|
|
21661
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
20677
21662
|
Mode: __expectString(output.Mode),
|
|
20678
21663
|
ModelDataUrl: __expectString(output.ModelDataUrl),
|
|
20679
21664
|
ModelPackageName: __expectString(output.ModelPackageName),
|
|
@@ -20880,6 +21865,11 @@ var deserializeAws_json1_1CreateImageVersionResponse = function (output, context
|
|
|
20880
21865
|
ImageVersionArn: __expectString(output.ImageVersionArn),
|
|
20881
21866
|
};
|
|
20882
21867
|
};
|
|
21868
|
+
var deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = function (output, context) {
|
|
21869
|
+
return {
|
|
21870
|
+
JobArn: __expectString(output.JobArn),
|
|
21871
|
+
};
|
|
21872
|
+
};
|
|
20883
21873
|
var deserializeAws_json1_1CreateLabelingJobResponse = function (output, context) {
|
|
20884
21874
|
return {
|
|
20885
21875
|
LabelingJobArn: __expectString(output.LabelingJobArn),
|
|
@@ -21294,6 +22284,7 @@ var deserializeAws_json1_1DescribeActionResponse = function (output, context) {
|
|
|
21294
22284
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21295
22285
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21296
22286
|
: undefined,
|
|
22287
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21297
22288
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21298
22289
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21299
22290
|
: undefined,
|
|
@@ -21386,6 +22377,7 @@ var deserializeAws_json1_1DescribeArtifactResponse = function (output, context)
|
|
|
21386
22377
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21387
22378
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21388
22379
|
: undefined,
|
|
22380
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21389
22381
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21390
22382
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21391
22383
|
: undefined,
|
|
@@ -21491,6 +22483,7 @@ var deserializeAws_json1_1DescribeCompilationJobResponse = function (output, con
|
|
|
21491
22483
|
ModelDigests: output.ModelDigests !== undefined && output.ModelDigests !== null
|
|
21492
22484
|
? deserializeAws_json1_1ModelDigests(output.ModelDigests, context)
|
|
21493
22485
|
: undefined,
|
|
22486
|
+
ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
|
|
21494
22487
|
OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
|
|
21495
22488
|
? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
|
|
21496
22489
|
: undefined,
|
|
@@ -21521,6 +22514,7 @@ var deserializeAws_json1_1DescribeContextResponse = function (output, context) {
|
|
|
21521
22514
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21522
22515
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21523
22516
|
: undefined,
|
|
22517
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21524
22518
|
Properties: output.Properties !== undefined && output.Properties !== null
|
|
21525
22519
|
? deserializeAws_json1_1LineageEntityParameters(output.Properties, context)
|
|
21526
22520
|
: undefined,
|
|
@@ -21872,6 +22866,35 @@ var deserializeAws_json1_1DescribeImageVersionResponse = function (output, conte
|
|
|
21872
22866
|
Version: __expectInt32(output.Version),
|
|
21873
22867
|
};
|
|
21874
22868
|
};
|
|
22869
|
+
var deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = function (output, context) {
|
|
22870
|
+
return {
|
|
22871
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
22872
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
22873
|
+
: undefined,
|
|
22874
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22875
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
22876
|
+
: undefined,
|
|
22877
|
+
FailureReason: __expectString(output.FailureReason),
|
|
22878
|
+
InferenceRecommendations: output.InferenceRecommendations !== undefined && output.InferenceRecommendations !== null
|
|
22879
|
+
? deserializeAws_json1_1InferenceRecommendations(output.InferenceRecommendations, context)
|
|
22880
|
+
: undefined,
|
|
22881
|
+
InputConfig: output.InputConfig !== undefined && output.InputConfig !== null
|
|
22882
|
+
? deserializeAws_json1_1RecommendationJobInputConfig(output.InputConfig, context)
|
|
22883
|
+
: undefined,
|
|
22884
|
+
JobArn: __expectString(output.JobArn),
|
|
22885
|
+
JobDescription: __expectString(output.JobDescription),
|
|
22886
|
+
JobName: __expectString(output.JobName),
|
|
22887
|
+
JobType: __expectString(output.JobType),
|
|
22888
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22889
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22890
|
+
: undefined,
|
|
22891
|
+
RoleArn: __expectString(output.RoleArn),
|
|
22892
|
+
Status: __expectString(output.Status),
|
|
22893
|
+
StoppingConditions: output.StoppingConditions !== undefined && output.StoppingConditions !== null
|
|
22894
|
+
? deserializeAws_json1_1RecommendationJobStoppingConditions(output.StoppingConditions, context)
|
|
22895
|
+
: undefined,
|
|
22896
|
+
};
|
|
22897
|
+
};
|
|
21875
22898
|
var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, context) {
|
|
21876
22899
|
return {
|
|
21877
22900
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -21914,6 +22937,26 @@ var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, contex
|
|
|
21914
22937
|
: undefined,
|
|
21915
22938
|
};
|
|
21916
22939
|
};
|
|
22940
|
+
var deserializeAws_json1_1DescribeLineageGroupResponse = function (output, context) {
|
|
22941
|
+
return {
|
|
22942
|
+
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
22943
|
+
? deserializeAws_json1_1UserContext(output.CreatedBy, context)
|
|
22944
|
+
: undefined,
|
|
22945
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22946
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
22947
|
+
: undefined,
|
|
22948
|
+
Description: __expectString(output.Description),
|
|
22949
|
+
DisplayName: __expectString(output.DisplayName),
|
|
22950
|
+
LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
|
|
22951
|
+
? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
|
|
22952
|
+
: undefined,
|
|
22953
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22954
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22955
|
+
: undefined,
|
|
22956
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
22957
|
+
LineageGroupName: __expectString(output.LineageGroupName),
|
|
22958
|
+
};
|
|
22959
|
+
};
|
|
21917
22960
|
var deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = function (output, context) {
|
|
21918
22961
|
return {
|
|
21919
22962
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -22015,6 +23058,9 @@ var deserializeAws_json1_1DescribeModelPackageGroupOutput = function (output, co
|
|
|
22015
23058
|
};
|
|
22016
23059
|
var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context) {
|
|
22017
23060
|
return {
|
|
23061
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
23062
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
23063
|
+
: undefined,
|
|
22018
23064
|
ApprovalDescription: __expectString(output.ApprovalDescription),
|
|
22019
23065
|
CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
|
|
22020
23066
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -22026,6 +23072,10 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
|
|
|
22026
23072
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
22027
23073
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
22028
23074
|
: undefined,
|
|
23075
|
+
Domain: __expectString(output.Domain),
|
|
23076
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
23077
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
23078
|
+
: undefined,
|
|
22029
23079
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
22030
23080
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
22031
23081
|
: undefined,
|
|
@@ -22051,9 +23101,11 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
|
|
|
22051
23101
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
22052
23102
|
: undefined,
|
|
22053
23103
|
ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
|
|
23104
|
+
SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
|
|
22054
23105
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
22055
23106
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
22056
23107
|
: undefined,
|
|
23108
|
+
Task: __expectString(output.Task),
|
|
22057
23109
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
22058
23110
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
22059
23111
|
: undefined,
|
|
@@ -22481,6 +23533,7 @@ var deserializeAws_json1_1DescribeTrialComponentResponse = function (output, con
|
|
|
22481
23533
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22482
23534
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22483
23535
|
: undefined,
|
|
23536
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
22484
23537
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
22485
23538
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
22486
23539
|
: undefined,
|
|
@@ -22668,16 +23721,82 @@ var deserializeAws_json1_1DomainSecurityGroupIds = function (output, context) {
|
|
|
22668
23721
|
return __expectString(entry);
|
|
22669
23722
|
});
|
|
22670
23723
|
};
|
|
22671
|
-
var deserializeAws_json1_1DomainSettings = function (output, context) {
|
|
23724
|
+
var deserializeAws_json1_1DomainSettings = function (output, context) {
|
|
23725
|
+
return {
|
|
23726
|
+
RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
|
|
23727
|
+
? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
|
|
23728
|
+
: undefined,
|
|
23729
|
+
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|
|
23730
|
+
? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
|
|
23731
|
+
: undefined,
|
|
23732
|
+
};
|
|
23733
|
+
};
|
|
23734
|
+
var deserializeAws_json1_1DriftCheckBaselines = function (output, context) {
|
|
23735
|
+
return {
|
|
23736
|
+
Bias: output.Bias !== undefined && output.Bias !== null
|
|
23737
|
+
? deserializeAws_json1_1DriftCheckBias(output.Bias, context)
|
|
23738
|
+
: undefined,
|
|
23739
|
+
Explainability: output.Explainability !== undefined && output.Explainability !== null
|
|
23740
|
+
? deserializeAws_json1_1DriftCheckExplainability(output.Explainability, context)
|
|
23741
|
+
: undefined,
|
|
23742
|
+
ModelDataQuality: output.ModelDataQuality !== undefined && output.ModelDataQuality !== null
|
|
23743
|
+
? deserializeAws_json1_1DriftCheckModelDataQuality(output.ModelDataQuality, context)
|
|
23744
|
+
: undefined,
|
|
23745
|
+
ModelQuality: output.ModelQuality !== undefined && output.ModelQuality !== null
|
|
23746
|
+
? deserializeAws_json1_1DriftCheckModelQuality(output.ModelQuality, context)
|
|
23747
|
+
: undefined,
|
|
23748
|
+
};
|
|
23749
|
+
};
|
|
23750
|
+
var deserializeAws_json1_1DriftCheckBias = function (output, context) {
|
|
23751
|
+
return {
|
|
23752
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23753
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23754
|
+
: undefined,
|
|
23755
|
+
PostTrainingConstraints: output.PostTrainingConstraints !== undefined && output.PostTrainingConstraints !== null
|
|
23756
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingConstraints, context)
|
|
23757
|
+
: undefined,
|
|
23758
|
+
PreTrainingConstraints: output.PreTrainingConstraints !== undefined && output.PreTrainingConstraints !== null
|
|
23759
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingConstraints, context)
|
|
23760
|
+
: undefined,
|
|
23761
|
+
};
|
|
23762
|
+
};
|
|
23763
|
+
var deserializeAws_json1_1DriftCheckExplainability = function (output, context) {
|
|
23764
|
+
return {
|
|
23765
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23766
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23767
|
+
: undefined,
|
|
23768
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23769
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23770
|
+
: undefined,
|
|
23771
|
+
};
|
|
23772
|
+
};
|
|
23773
|
+
var deserializeAws_json1_1DriftCheckModelDataQuality = function (output, context) {
|
|
22672
23774
|
return {
|
|
22673
|
-
|
|
22674
|
-
?
|
|
23775
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23776
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
22675
23777
|
: undefined,
|
|
22676
|
-
|
|
22677
|
-
?
|
|
23778
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23779
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
23780
|
+
: undefined,
|
|
23781
|
+
};
|
|
23782
|
+
};
|
|
23783
|
+
var deserializeAws_json1_1DriftCheckModelQuality = function (output, context) {
|
|
23784
|
+
return {
|
|
23785
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23786
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23787
|
+
: undefined,
|
|
23788
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23789
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
22678
23790
|
: undefined,
|
|
22679
23791
|
};
|
|
22680
23792
|
};
|
|
23793
|
+
var deserializeAws_json1_1Edge = function (output, context) {
|
|
23794
|
+
return {
|
|
23795
|
+
AssociationType: __expectString(output.AssociationType),
|
|
23796
|
+
DestinationArn: __expectString(output.DestinationArn),
|
|
23797
|
+
SourceArn: __expectString(output.SourceArn),
|
|
23798
|
+
};
|
|
23799
|
+
};
|
|
22681
23800
|
var deserializeAws_json1_1EdgeModel = function (output, context) {
|
|
22682
23801
|
return {
|
|
22683
23802
|
LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
|
|
@@ -22778,6 +23897,16 @@ var deserializeAws_json1_1EdgePresetDeploymentOutput = function (output, context
|
|
|
22778
23897
|
Type: __expectString(output.Type),
|
|
22779
23898
|
};
|
|
22780
23899
|
};
|
|
23900
|
+
var deserializeAws_json1_1Edges = function (output, context) {
|
|
23901
|
+
return (output || [])
|
|
23902
|
+
.filter(function (e) { return e != null; })
|
|
23903
|
+
.map(function (entry) {
|
|
23904
|
+
if (entry === null) {
|
|
23905
|
+
return null;
|
|
23906
|
+
}
|
|
23907
|
+
return deserializeAws_json1_1Edge(entry, context);
|
|
23908
|
+
});
|
|
23909
|
+
};
|
|
22781
23910
|
var deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = function (output, context) {
|
|
22782
23911
|
return {};
|
|
22783
23912
|
};
|
|
@@ -22841,6 +23970,33 @@ var deserializeAws_json1_1EndpointInput = function (output, context) {
|
|
|
22841
23970
|
StartTimeOffset: __expectString(output.StartTimeOffset),
|
|
22842
23971
|
};
|
|
22843
23972
|
};
|
|
23973
|
+
var deserializeAws_json1_1EndpointInputConfiguration = function (output, context) {
|
|
23974
|
+
return {
|
|
23975
|
+
EnvironmentParameterRanges: output.EnvironmentParameterRanges !== undefined && output.EnvironmentParameterRanges !== null
|
|
23976
|
+
? deserializeAws_json1_1EnvironmentParameterRanges(output.EnvironmentParameterRanges, context)
|
|
23977
|
+
: undefined,
|
|
23978
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
23979
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23980
|
+
};
|
|
23981
|
+
};
|
|
23982
|
+
var deserializeAws_json1_1EndpointInputConfigurations = function (output, context) {
|
|
23983
|
+
return (output || [])
|
|
23984
|
+
.filter(function (e) { return e != null; })
|
|
23985
|
+
.map(function (entry) {
|
|
23986
|
+
if (entry === null) {
|
|
23987
|
+
return null;
|
|
23988
|
+
}
|
|
23989
|
+
return deserializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
23990
|
+
});
|
|
23991
|
+
};
|
|
23992
|
+
var deserializeAws_json1_1EndpointOutputConfiguration = function (output, context) {
|
|
23993
|
+
return {
|
|
23994
|
+
EndpointName: __expectString(output.EndpointName),
|
|
23995
|
+
InitialInstanceCount: __expectInt32(output.InitialInstanceCount),
|
|
23996
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23997
|
+
VariantName: __expectString(output.VariantName),
|
|
23998
|
+
};
|
|
23999
|
+
};
|
|
22844
24000
|
var deserializeAws_json1_1EndpointSummary = function (output, context) {
|
|
22845
24001
|
return {
|
|
22846
24002
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -22874,6 +24030,30 @@ var deserializeAws_json1_1EnvironmentMap = function (output, context) {
|
|
|
22874
24030
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
22875
24031
|
}, {});
|
|
22876
24032
|
};
|
|
24033
|
+
var deserializeAws_json1_1EnvironmentParameter = function (output, context) {
|
|
24034
|
+
return {
|
|
24035
|
+
Key: __expectString(output.Key),
|
|
24036
|
+
Value: __expectString(output.Value),
|
|
24037
|
+
ValueType: __expectString(output.ValueType),
|
|
24038
|
+
};
|
|
24039
|
+
};
|
|
24040
|
+
var deserializeAws_json1_1EnvironmentParameterRanges = function (output, context) {
|
|
24041
|
+
return {
|
|
24042
|
+
CategoricalParameterRanges: output.CategoricalParameterRanges !== undefined && output.CategoricalParameterRanges !== null
|
|
24043
|
+
? deserializeAws_json1_1CategoricalParameters(output.CategoricalParameterRanges, context)
|
|
24044
|
+
: undefined,
|
|
24045
|
+
};
|
|
24046
|
+
};
|
|
24047
|
+
var deserializeAws_json1_1EnvironmentParameters = function (output, context) {
|
|
24048
|
+
return (output || [])
|
|
24049
|
+
.filter(function (e) { return e != null; })
|
|
24050
|
+
.map(function (entry) {
|
|
24051
|
+
if (entry === null) {
|
|
24052
|
+
return null;
|
|
24053
|
+
}
|
|
24054
|
+
return deserializeAws_json1_1EnvironmentParameter(entry, context);
|
|
24055
|
+
});
|
|
24056
|
+
};
|
|
22877
24057
|
var deserializeAws_json1_1Experiment = function (output, context) {
|
|
22878
24058
|
return {
|
|
22879
24059
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -23015,6 +24195,13 @@ var deserializeAws_json1_1FeatureGroupSummary = function (output, context) {
|
|
|
23015
24195
|
: undefined,
|
|
23016
24196
|
};
|
|
23017
24197
|
};
|
|
24198
|
+
var deserializeAws_json1_1FileSource = function (output, context) {
|
|
24199
|
+
return {
|
|
24200
|
+
ContentDigest: __expectString(output.ContentDigest),
|
|
24201
|
+
ContentType: __expectString(output.ContentType),
|
|
24202
|
+
S3Uri: __expectString(output.S3Uri),
|
|
24203
|
+
};
|
|
24204
|
+
};
|
|
23018
24205
|
var deserializeAws_json1_1FileSystemConfig = function (output, context) {
|
|
23019
24206
|
return {
|
|
23020
24207
|
DefaultGid: __expectInt32(output.DefaultGid),
|
|
@@ -23113,6 +24300,12 @@ var deserializeAws_json1_1GetDeviceFleetReportResponse = function (output, conte
|
|
|
23113
24300
|
: undefined,
|
|
23114
24301
|
};
|
|
23115
24302
|
};
|
|
24303
|
+
var deserializeAws_json1_1GetLineageGroupPolicyResponse = function (output, context) {
|
|
24304
|
+
return {
|
|
24305
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
24306
|
+
ResourcePolicy: __expectString(output.ResourcePolicy),
|
|
24307
|
+
};
|
|
24308
|
+
};
|
|
23116
24309
|
var deserializeAws_json1_1GetModelPackageGroupPolicyOutput = function (output, context) {
|
|
23117
24310
|
return {
|
|
23118
24311
|
ResourcePolicy: __expectString(output.ResourcePolicy),
|
|
@@ -23510,6 +24703,59 @@ var deserializeAws_json1_1InferenceExecutionConfig = function (output, context)
|
|
|
23510
24703
|
Mode: __expectString(output.Mode),
|
|
23511
24704
|
};
|
|
23512
24705
|
};
|
|
24706
|
+
var deserializeAws_json1_1InferenceRecommendation = function (output, context) {
|
|
24707
|
+
return {
|
|
24708
|
+
EndpointConfiguration: output.EndpointConfiguration !== undefined && output.EndpointConfiguration !== null
|
|
24709
|
+
? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
|
|
24710
|
+
: undefined,
|
|
24711
|
+
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
24712
|
+
? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context)
|
|
24713
|
+
: undefined,
|
|
24714
|
+
ModelConfiguration: output.ModelConfiguration !== undefined && output.ModelConfiguration !== null
|
|
24715
|
+
? deserializeAws_json1_1ModelConfiguration(output.ModelConfiguration, context)
|
|
24716
|
+
: undefined,
|
|
24717
|
+
};
|
|
24718
|
+
};
|
|
24719
|
+
var deserializeAws_json1_1InferenceRecommendations = function (output, context) {
|
|
24720
|
+
return (output || [])
|
|
24721
|
+
.filter(function (e) { return e != null; })
|
|
24722
|
+
.map(function (entry) {
|
|
24723
|
+
if (entry === null) {
|
|
24724
|
+
return null;
|
|
24725
|
+
}
|
|
24726
|
+
return deserializeAws_json1_1InferenceRecommendation(entry, context);
|
|
24727
|
+
});
|
|
24728
|
+
};
|
|
24729
|
+
var deserializeAws_json1_1InferenceRecommendationsJob = function (output, context) {
|
|
24730
|
+
return {
|
|
24731
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
24732
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
24733
|
+
: undefined,
|
|
24734
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
24735
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
24736
|
+
: undefined,
|
|
24737
|
+
FailureReason: __expectString(output.FailureReason),
|
|
24738
|
+
JobArn: __expectString(output.JobArn),
|
|
24739
|
+
JobDescription: __expectString(output.JobDescription),
|
|
24740
|
+
JobName: __expectString(output.JobName),
|
|
24741
|
+
JobType: __expectString(output.JobType),
|
|
24742
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
24743
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
24744
|
+
: undefined,
|
|
24745
|
+
RoleArn: __expectString(output.RoleArn),
|
|
24746
|
+
Status: __expectString(output.Status),
|
|
24747
|
+
};
|
|
24748
|
+
};
|
|
24749
|
+
var deserializeAws_json1_1InferenceRecommendationsJobs = function (output, context) {
|
|
24750
|
+
return (output || [])
|
|
24751
|
+
.filter(function (e) { return e != null; })
|
|
24752
|
+
.map(function (entry) {
|
|
24753
|
+
if (entry === null) {
|
|
24754
|
+
return null;
|
|
24755
|
+
}
|
|
24756
|
+
return deserializeAws_json1_1InferenceRecommendationsJob(entry, context);
|
|
24757
|
+
});
|
|
24758
|
+
};
|
|
23513
24759
|
var deserializeAws_json1_1InferenceSpecification = function (output, context) {
|
|
23514
24760
|
return {
|
|
23515
24761
|
Containers: output.Containers !== undefined && output.Containers !== null
|
|
@@ -23815,6 +25061,29 @@ var deserializeAws_json1_1LineageEntityParameters = function (output, context) {
|
|
|
23815
25061
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
23816
25062
|
}, {});
|
|
23817
25063
|
};
|
|
25064
|
+
var deserializeAws_json1_1LineageGroupSummaries = function (output, context) {
|
|
25065
|
+
return (output || [])
|
|
25066
|
+
.filter(function (e) { return e != null; })
|
|
25067
|
+
.map(function (entry) {
|
|
25068
|
+
if (entry === null) {
|
|
25069
|
+
return null;
|
|
25070
|
+
}
|
|
25071
|
+
return deserializeAws_json1_1LineageGroupSummary(entry, context);
|
|
25072
|
+
});
|
|
25073
|
+
};
|
|
25074
|
+
var deserializeAws_json1_1LineageGroupSummary = function (output, context) {
|
|
25075
|
+
return {
|
|
25076
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
25077
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
25078
|
+
: undefined,
|
|
25079
|
+
DisplayName: __expectString(output.DisplayName),
|
|
25080
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
25081
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
25082
|
+
: undefined,
|
|
25083
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
25084
|
+
LineageGroupName: __expectString(output.LineageGroupName),
|
|
25085
|
+
};
|
|
25086
|
+
};
|
|
23818
25087
|
var deserializeAws_json1_1ListActionsResponse = function (output, context) {
|
|
23819
25088
|
return {
|
|
23820
25089
|
ActionSummaries: output.ActionSummaries !== undefined && output.ActionSummaries !== null
|
|
@@ -24015,6 +25284,14 @@ var deserializeAws_json1_1ListImageVersionsResponse = function (output, context)
|
|
|
24015
25284
|
NextToken: __expectString(output.NextToken),
|
|
24016
25285
|
};
|
|
24017
25286
|
};
|
|
25287
|
+
var deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = function (output, context) {
|
|
25288
|
+
return {
|
|
25289
|
+
InferenceRecommendationsJobs: output.InferenceRecommendationsJobs !== undefined && output.InferenceRecommendationsJobs !== null
|
|
25290
|
+
? deserializeAws_json1_1InferenceRecommendationsJobs(output.InferenceRecommendationsJobs, context)
|
|
25291
|
+
: undefined,
|
|
25292
|
+
NextToken: __expectString(output.NextToken),
|
|
25293
|
+
};
|
|
25294
|
+
};
|
|
24018
25295
|
var deserializeAws_json1_1ListLabelingJobsForWorkteamResponse = function (output, context) {
|
|
24019
25296
|
return {
|
|
24020
25297
|
LabelingJobSummaryList: output.LabelingJobSummaryList !== undefined && output.LabelingJobSummaryList !== null
|
|
@@ -24031,6 +25308,14 @@ var deserializeAws_json1_1ListLabelingJobsResponse = function (output, context)
|
|
|
24031
25308
|
NextToken: __expectString(output.NextToken),
|
|
24032
25309
|
};
|
|
24033
25310
|
};
|
|
25311
|
+
var deserializeAws_json1_1ListLineageGroupsResponse = function (output, context) {
|
|
25312
|
+
return {
|
|
25313
|
+
LineageGroupSummaries: output.LineageGroupSummaries !== undefined && output.LineageGroupSummaries !== null
|
|
25314
|
+
? deserializeAws_json1_1LineageGroupSummaries(output.LineageGroupSummaries, context)
|
|
25315
|
+
: undefined,
|
|
25316
|
+
NextToken: __expectString(output.NextToken),
|
|
25317
|
+
};
|
|
25318
|
+
};
|
|
24034
25319
|
var deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = function (output, context) {
|
|
24035
25320
|
return {
|
|
24036
25321
|
JobDefinitionSummaries: output.JobDefinitionSummaries !== undefined && output.JobDefinitionSummaries !== null
|
|
@@ -24047,6 +25332,14 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = functi
|
|
|
24047
25332
|
NextToken: __expectString(output.NextToken),
|
|
24048
25333
|
};
|
|
24049
25334
|
};
|
|
25335
|
+
var deserializeAws_json1_1ListModelMetadataResponse = function (output, context) {
|
|
25336
|
+
return {
|
|
25337
|
+
ModelMetadataSummaries: output.ModelMetadataSummaries !== undefined && output.ModelMetadataSummaries !== null
|
|
25338
|
+
? deserializeAws_json1_1ModelMetadataSummaries(output.ModelMetadataSummaries, context)
|
|
25339
|
+
: undefined,
|
|
25340
|
+
NextToken: __expectString(output.NextToken),
|
|
25341
|
+
};
|
|
25342
|
+
};
|
|
24050
25343
|
var deserializeAws_json1_1ListModelPackageGroupsOutput = function (output, context) {
|
|
24051
25344
|
return {
|
|
24052
25345
|
ModelPackageGroupSummaryList: output.ModelPackageGroupSummaryList !== undefined && output.ModelPackageGroupSummaryList !== null
|
|
@@ -24362,6 +25655,14 @@ var deserializeAws_json1_1ModelClientConfig = function (output, context) {
|
|
|
24362
25655
|
InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
|
|
24363
25656
|
};
|
|
24364
25657
|
};
|
|
25658
|
+
var deserializeAws_json1_1ModelConfiguration = function (output, context) {
|
|
25659
|
+
return {
|
|
25660
|
+
EnvironmentParameters: output.EnvironmentParameters !== undefined && output.EnvironmentParameters !== null
|
|
25661
|
+
? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
|
|
25662
|
+
: undefined,
|
|
25663
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
25664
|
+
};
|
|
25665
|
+
};
|
|
24365
25666
|
var deserializeAws_json1_1ModelDataQuality = function (output, context) {
|
|
24366
25667
|
return {
|
|
24367
25668
|
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
@@ -24412,6 +25713,46 @@ var deserializeAws_json1_1ModelExplainabilityJobInput = function (output, contex
|
|
|
24412
25713
|
: undefined,
|
|
24413
25714
|
};
|
|
24414
25715
|
};
|
|
25716
|
+
var deserializeAws_json1_1ModelInput = function (output, context) {
|
|
25717
|
+
return {
|
|
25718
|
+
DataInputConfig: __expectString(output.DataInputConfig),
|
|
25719
|
+
};
|
|
25720
|
+
};
|
|
25721
|
+
var deserializeAws_json1_1ModelLatencyThreshold = function (output, context) {
|
|
25722
|
+
return {
|
|
25723
|
+
Percentile: __expectString(output.Percentile),
|
|
25724
|
+
ValueInMilliseconds: __expectInt32(output.ValueInMilliseconds),
|
|
25725
|
+
};
|
|
25726
|
+
};
|
|
25727
|
+
var deserializeAws_json1_1ModelLatencyThresholds = function (output, context) {
|
|
25728
|
+
return (output || [])
|
|
25729
|
+
.filter(function (e) { return e != null; })
|
|
25730
|
+
.map(function (entry) {
|
|
25731
|
+
if (entry === null) {
|
|
25732
|
+
return null;
|
|
25733
|
+
}
|
|
25734
|
+
return deserializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
25735
|
+
});
|
|
25736
|
+
};
|
|
25737
|
+
var deserializeAws_json1_1ModelMetadataSummaries = function (output, context) {
|
|
25738
|
+
return (output || [])
|
|
25739
|
+
.filter(function (e) { return e != null; })
|
|
25740
|
+
.map(function (entry) {
|
|
25741
|
+
if (entry === null) {
|
|
25742
|
+
return null;
|
|
25743
|
+
}
|
|
25744
|
+
return deserializeAws_json1_1ModelMetadataSummary(entry, context);
|
|
25745
|
+
});
|
|
25746
|
+
};
|
|
25747
|
+
var deserializeAws_json1_1ModelMetadataSummary = function (output, context) {
|
|
25748
|
+
return {
|
|
25749
|
+
Domain: __expectString(output.Domain),
|
|
25750
|
+
Framework: __expectString(output.Framework),
|
|
25751
|
+
FrameworkVersion: __expectString(output.FrameworkVersion),
|
|
25752
|
+
Model: __expectString(output.Model),
|
|
25753
|
+
Task: __expectString(output.Task),
|
|
25754
|
+
};
|
|
25755
|
+
};
|
|
24415
25756
|
var deserializeAws_json1_1ModelMetrics = function (output, context) {
|
|
24416
25757
|
return {
|
|
24417
25758
|
Bias: output.Bias !== undefined && output.Bias !== null ? deserializeAws_json1_1Bias(output.Bias, context) : undefined,
|
|
@@ -24428,6 +25769,9 @@ var deserializeAws_json1_1ModelMetrics = function (output, context) {
|
|
|
24428
25769
|
};
|
|
24429
25770
|
var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
24430
25771
|
return {
|
|
25772
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
25773
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
25774
|
+
: undefined,
|
|
24431
25775
|
ApprovalDescription: __expectString(output.ApprovalDescription),
|
|
24432
25776
|
CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
|
|
24433
25777
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -24439,6 +25783,10 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
|
24439
25783
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
24440
25784
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
24441
25785
|
: undefined,
|
|
25786
|
+
Domain: __expectString(output.Domain),
|
|
25787
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
25788
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
25789
|
+
: undefined,
|
|
24442
25790
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
24443
25791
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
24444
25792
|
: undefined,
|
|
@@ -24464,12 +25812,14 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
|
24464
25812
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
24465
25813
|
: undefined,
|
|
24466
25814
|
ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
|
|
25815
|
+
SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
|
|
24467
25816
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
24468
25817
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
24469
25818
|
: undefined,
|
|
24470
25819
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
24471
25820
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
24472
25821
|
: undefined,
|
|
25822
|
+
Task: __expectString(output.Task),
|
|
24473
25823
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
24474
25824
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
24475
25825
|
: undefined,
|
|
@@ -24481,9 +25831,15 @@ var deserializeAws_json1_1ModelPackageContainerDefinition = function (output, co
|
|
|
24481
25831
|
Environment: output.Environment !== undefined && output.Environment !== null
|
|
24482
25832
|
? deserializeAws_json1_1EnvironmentMap(output.Environment, context)
|
|
24483
25833
|
: undefined,
|
|
25834
|
+
Framework: __expectString(output.Framework),
|
|
25835
|
+
FrameworkVersion: __expectString(output.FrameworkVersion),
|
|
24484
25836
|
Image: __expectString(output.Image),
|
|
24485
25837
|
ImageDigest: __expectString(output.ImageDigest),
|
|
24486
25838
|
ModelDataUrl: __expectString(output.ModelDataUrl),
|
|
25839
|
+
ModelInput: output.ModelInput !== undefined && output.ModelInput !== null
|
|
25840
|
+
? deserializeAws_json1_1ModelInput(output.ModelInput, context)
|
|
25841
|
+
: undefined,
|
|
25842
|
+
NearestModelName: __expectString(output.NearestModelName),
|
|
24487
25843
|
ProductId: __expectString(output.ProductId),
|
|
24488
25844
|
};
|
|
24489
25845
|
};
|
|
@@ -25294,11 +26650,17 @@ var deserializeAws_json1_1PendingProductionVariantSummary = function (output, co
|
|
|
25294
26650
|
return {
|
|
25295
26651
|
AcceleratorType: __expectString(output.AcceleratorType),
|
|
25296
26652
|
CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
|
|
26653
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
26654
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
26655
|
+
: undefined,
|
|
25297
26656
|
CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
|
|
25298
26657
|
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
25299
26658
|
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
25300
26659
|
: undefined,
|
|
25301
26660
|
DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
|
|
26661
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
26662
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
26663
|
+
: undefined,
|
|
25302
26664
|
DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
|
|
25303
26665
|
InstanceType: __expectString(output.InstanceType),
|
|
25304
26666
|
VariantName: __expectString(output.VariantName),
|
|
@@ -25317,6 +26679,23 @@ var deserializeAws_json1_1PendingProductionVariantSummaryList = function (output
|
|
|
25317
26679
|
return deserializeAws_json1_1PendingProductionVariantSummary(entry, context);
|
|
25318
26680
|
});
|
|
25319
26681
|
};
|
|
26682
|
+
var deserializeAws_json1_1Phase = function (output, context) {
|
|
26683
|
+
return {
|
|
26684
|
+
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
26685
|
+
InitialNumberOfUsers: __expectInt32(output.InitialNumberOfUsers),
|
|
26686
|
+
SpawnRate: __expectInt32(output.SpawnRate),
|
|
26687
|
+
};
|
|
26688
|
+
};
|
|
26689
|
+
var deserializeAws_json1_1Phases = function (output, context) {
|
|
26690
|
+
return (output || [])
|
|
26691
|
+
.filter(function (e) { return e != null; })
|
|
26692
|
+
.map(function (entry) {
|
|
26693
|
+
if (entry === null) {
|
|
26694
|
+
return null;
|
|
26695
|
+
}
|
|
26696
|
+
return deserializeAws_json1_1Phase(entry, context);
|
|
26697
|
+
});
|
|
26698
|
+
};
|
|
25320
26699
|
var deserializeAws_json1_1Pipeline = function (output, context) {
|
|
25321
26700
|
return {
|
|
25322
26701
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -25375,6 +26754,7 @@ var deserializeAws_json1_1PipelineExecution = function (output, context) {
|
|
|
25375
26754
|
};
|
|
25376
26755
|
var deserializeAws_json1_1PipelineExecutionStep = function (output, context) {
|
|
25377
26756
|
return {
|
|
26757
|
+
AttemptCount: __expectInt32(output.AttemptCount),
|
|
25378
26758
|
CacheHitResult: output.CacheHitResult !== undefined && output.CacheHitResult !== null
|
|
25379
26759
|
? deserializeAws_json1_1CacheHitResult(output.CacheHitResult, context)
|
|
25380
26760
|
: undefined,
|
|
@@ -25407,6 +26787,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
|
|
|
25407
26787
|
Callback: output.Callback !== undefined && output.Callback !== null
|
|
25408
26788
|
? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context)
|
|
25409
26789
|
: undefined,
|
|
26790
|
+
ClarifyCheck: output.ClarifyCheck !== undefined && output.ClarifyCheck !== null
|
|
26791
|
+
? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
|
|
26792
|
+
: undefined,
|
|
25410
26793
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
25411
26794
|
? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
|
|
25412
26795
|
: undefined,
|
|
@@ -25419,6 +26802,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
|
|
|
25419
26802
|
ProcessingJob: output.ProcessingJob !== undefined && output.ProcessingJob !== null
|
|
25420
26803
|
? deserializeAws_json1_1ProcessingJobStepMetadata(output.ProcessingJob, context)
|
|
25421
26804
|
: undefined,
|
|
26805
|
+
QualityCheck: output.QualityCheck !== undefined && output.QualityCheck !== null
|
|
26806
|
+
? deserializeAws_json1_1QualityCheckStepMetadata(output.QualityCheck, context)
|
|
26807
|
+
: undefined,
|
|
25422
26808
|
RegisterModel: output.RegisterModel !== undefined && output.RegisterModel !== null
|
|
25423
26809
|
? deserializeAws_json1_1RegisterModelStepMetadata(output.RegisterModel, context)
|
|
25424
26810
|
: undefined,
|
|
@@ -25687,6 +27073,9 @@ var deserializeAws_json1_1ProductionVariant = function (output, context) {
|
|
|
25687
27073
|
InitialVariantWeight: __limitedParseFloat32(output.InitialVariantWeight),
|
|
25688
27074
|
InstanceType: __expectString(output.InstanceType),
|
|
25689
27075
|
ModelName: __expectString(output.ModelName),
|
|
27076
|
+
ServerlessConfig: output.ServerlessConfig !== undefined && output.ServerlessConfig !== null
|
|
27077
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.ServerlessConfig, context)
|
|
27078
|
+
: undefined,
|
|
25690
27079
|
VariantName: __expectString(output.VariantName),
|
|
25691
27080
|
};
|
|
25692
27081
|
};
|
|
@@ -25706,6 +27095,12 @@ var deserializeAws_json1_1ProductionVariantList = function (output, context) {
|
|
|
25706
27095
|
return deserializeAws_json1_1ProductionVariant(entry, context);
|
|
25707
27096
|
});
|
|
25708
27097
|
};
|
|
27098
|
+
var deserializeAws_json1_1ProductionVariantServerlessConfig = function (output, context) {
|
|
27099
|
+
return {
|
|
27100
|
+
MaxConcurrency: __expectInt32(output.MaxConcurrency),
|
|
27101
|
+
MemorySizeInMB: __expectInt32(output.MemorySizeInMB),
|
|
27102
|
+
};
|
|
27103
|
+
};
|
|
25709
27104
|
var deserializeAws_json1_1ProductionVariantStatus = function (output, context) {
|
|
25710
27105
|
return {
|
|
25711
27106
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
@@ -25728,11 +27123,17 @@ var deserializeAws_json1_1ProductionVariantStatusList = function (output, contex
|
|
|
25728
27123
|
var deserializeAws_json1_1ProductionVariantSummary = function (output, context) {
|
|
25729
27124
|
return {
|
|
25730
27125
|
CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
|
|
27126
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
27127
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
27128
|
+
: undefined,
|
|
25731
27129
|
CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
|
|
25732
27130
|
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
25733
27131
|
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
25734
27132
|
: undefined,
|
|
25735
27133
|
DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
|
|
27134
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
27135
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
27136
|
+
: undefined,
|
|
25736
27137
|
DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
|
|
25737
27138
|
VariantName: __expectString(output.VariantName),
|
|
25738
27139
|
VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
|
|
@@ -25919,6 +27320,31 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyOutput = function (output, c
|
|
|
25919
27320
|
ModelPackageGroupArn: __expectString(output.ModelPackageGroupArn),
|
|
25920
27321
|
};
|
|
25921
27322
|
};
|
|
27323
|
+
var deserializeAws_json1_1QualityCheckStepMetadata = function (output, context) {
|
|
27324
|
+
return {
|
|
27325
|
+
BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
27326
|
+
BaselineUsedForDriftCheckStatistics: __expectString(output.BaselineUsedForDriftCheckStatistics),
|
|
27327
|
+
CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
|
|
27328
|
+
CalculatedBaselineStatistics: __expectString(output.CalculatedBaselineStatistics),
|
|
27329
|
+
CheckJobArn: __expectString(output.CheckJobArn),
|
|
27330
|
+
CheckType: __expectString(output.CheckType),
|
|
27331
|
+
ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
|
|
27332
|
+
RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
|
|
27333
|
+
SkipCheck: __expectBoolean(output.SkipCheck),
|
|
27334
|
+
ViolationReport: __expectString(output.ViolationReport),
|
|
27335
|
+
};
|
|
27336
|
+
};
|
|
27337
|
+
var deserializeAws_json1_1QueryLineageResponse = function (output, context) {
|
|
27338
|
+
return {
|
|
27339
|
+
Edges: output.Edges !== undefined && output.Edges !== null
|
|
27340
|
+
? deserializeAws_json1_1Edges(output.Edges, context)
|
|
27341
|
+
: undefined,
|
|
27342
|
+
NextToken: __expectString(output.NextToken),
|
|
27343
|
+
Vertices: output.Vertices !== undefined && output.Vertices !== null
|
|
27344
|
+
? deserializeAws_json1_1Vertices(output.Vertices, context)
|
|
27345
|
+
: undefined,
|
|
27346
|
+
};
|
|
27347
|
+
};
|
|
25922
27348
|
var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, context) {
|
|
25923
27349
|
return (output || [])
|
|
25924
27350
|
.filter(function (e) { return e != null; })
|
|
@@ -25929,6 +27355,43 @@ var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, con
|
|
|
25929
27355
|
return __expectString(entry);
|
|
25930
27356
|
});
|
|
25931
27357
|
};
|
|
27358
|
+
var deserializeAws_json1_1RecommendationJobInputConfig = function (output, context) {
|
|
27359
|
+
return {
|
|
27360
|
+
EndpointConfigurations: output.EndpointConfigurations !== undefined && output.EndpointConfigurations !== null
|
|
27361
|
+
? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
|
|
27362
|
+
: undefined,
|
|
27363
|
+
JobDurationInSeconds: __expectInt32(output.JobDurationInSeconds),
|
|
27364
|
+
ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
|
|
27365
|
+
ResourceLimit: output.ResourceLimit !== undefined && output.ResourceLimit !== null
|
|
27366
|
+
? deserializeAws_json1_1RecommendationJobResourceLimit(output.ResourceLimit, context)
|
|
27367
|
+
: undefined,
|
|
27368
|
+
TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
|
|
27369
|
+
? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
|
|
27370
|
+
: undefined,
|
|
27371
|
+
};
|
|
27372
|
+
};
|
|
27373
|
+
var deserializeAws_json1_1RecommendationJobResourceLimit = function (output, context) {
|
|
27374
|
+
return {
|
|
27375
|
+
MaxNumberOfTests: __expectInt32(output.MaxNumberOfTests),
|
|
27376
|
+
MaxParallelOfTests: __expectInt32(output.MaxParallelOfTests),
|
|
27377
|
+
};
|
|
27378
|
+
};
|
|
27379
|
+
var deserializeAws_json1_1RecommendationJobStoppingConditions = function (output, context) {
|
|
27380
|
+
return {
|
|
27381
|
+
MaxInvocations: __expectInt32(output.MaxInvocations),
|
|
27382
|
+
ModelLatencyThresholds: output.ModelLatencyThresholds !== undefined && output.ModelLatencyThresholds !== null
|
|
27383
|
+
? deserializeAws_json1_1ModelLatencyThresholds(output.ModelLatencyThresholds, context)
|
|
27384
|
+
: undefined,
|
|
27385
|
+
};
|
|
27386
|
+
};
|
|
27387
|
+
var deserializeAws_json1_1RecommendationMetrics = function (output, context) {
|
|
27388
|
+
return {
|
|
27389
|
+
CostPerHour: __limitedParseFloat32(output.CostPerHour),
|
|
27390
|
+
CostPerInference: __limitedParseFloat32(output.CostPerInference),
|
|
27391
|
+
MaxInvocations: __expectInt32(output.MaxInvocations),
|
|
27392
|
+
ModelLatency: __expectInt32(output.ModelLatency),
|
|
27393
|
+
};
|
|
27394
|
+
};
|
|
25932
27395
|
var deserializeAws_json1_1RedshiftDatasetDefinition = function (output, context) {
|
|
25933
27396
|
return {
|
|
25934
27397
|
ClusterId: __expectString(output.ClusterId),
|
|
@@ -26364,6 +27827,14 @@ var deserializeAws_json1_1TensorBoardOutputConfig = function (output, context) {
|
|
|
26364
27827
|
S3OutputPath: __expectString(output.S3OutputPath),
|
|
26365
27828
|
};
|
|
26366
27829
|
};
|
|
27830
|
+
var deserializeAws_json1_1TrafficPattern = function (output, context) {
|
|
27831
|
+
return {
|
|
27832
|
+
Phases: output.Phases !== undefined && output.Phases !== null
|
|
27833
|
+
? deserializeAws_json1_1Phases(output.Phases, context)
|
|
27834
|
+
: undefined,
|
|
27835
|
+
TrafficType: __expectString(output.TrafficType),
|
|
27836
|
+
};
|
|
27837
|
+
};
|
|
26367
27838
|
var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
26368
27839
|
return {
|
|
26369
27840
|
CanarySize: output.CanarySize !== undefined && output.CanarySize !== null
|
|
@@ -26774,6 +28245,7 @@ var deserializeAws_json1_1TrialComponent = function (output, context) {
|
|
|
26774
28245
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
26775
28246
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
26776
28247
|
: undefined,
|
|
28248
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
26777
28249
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
26778
28250
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
26779
28251
|
: undefined,
|
|
@@ -27192,6 +28664,23 @@ var deserializeAws_json1_1UserSettings = function (output, context) {
|
|
|
27192
28664
|
: undefined,
|
|
27193
28665
|
};
|
|
27194
28666
|
};
|
|
28667
|
+
var deserializeAws_json1_1Vertex = function (output, context) {
|
|
28668
|
+
return {
|
|
28669
|
+
Arn: __expectString(output.Arn),
|
|
28670
|
+
LineageType: __expectString(output.LineageType),
|
|
28671
|
+
Type: __expectString(output.Type),
|
|
28672
|
+
};
|
|
28673
|
+
};
|
|
28674
|
+
var deserializeAws_json1_1Vertices = function (output, context) {
|
|
28675
|
+
return (output || [])
|
|
28676
|
+
.filter(function (e) { return e != null; })
|
|
28677
|
+
.map(function (entry) {
|
|
28678
|
+
if (entry === null) {
|
|
28679
|
+
return null;
|
|
28680
|
+
}
|
|
28681
|
+
return deserializeAws_json1_1Vertex(entry, context);
|
|
28682
|
+
});
|
|
28683
|
+
};
|
|
27195
28684
|
var deserializeAws_json1_1VpcConfig = function (output, context) {
|
|
27196
28685
|
return {
|
|
27197
28686
|
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|