@aws-sdk/client-sagemaker 3.42.0 → 3.46.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.
Files changed (214) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/dist-cjs/SageMaker.js +135 -0
  3. package/dist-cjs/commands/CreateInferenceRecommendationsJobCommand.js +36 -0
  4. package/dist-cjs/commands/DescribeInferenceRecommendationsJobCommand.js +36 -0
  5. package/dist-cjs/commands/DescribeLineageGroupCommand.js +36 -0
  6. package/dist-cjs/commands/DescribeModelBiasJobDefinitionCommand.js +3 -3
  7. package/dist-cjs/commands/DescribeModelCommand.js +2 -1
  8. package/dist-cjs/commands/DescribeModelExplainabilityJobDefinitionCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeModelPackageCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeModelPackageGroupCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeModelQualityJobDefinitionCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeMonitoringScheduleCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeNotebookInstanceCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +3 -3
  15. package/dist-cjs/commands/DescribePipelineCommand.js +3 -3
  16. package/dist-cjs/commands/DescribePipelineDefinitionForExecutionCommand.js +3 -3
  17. package/dist-cjs/commands/DescribePipelineExecutionCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeProcessingJobCommand.js +1 -2
  19. package/dist-cjs/commands/GetLineageGroupPolicyCommand.js +36 -0
  20. package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +36 -0
  21. package/dist-cjs/commands/ListLineageGroupsCommand.js +36 -0
  22. package/dist-cjs/commands/ListModelMetadataCommand.js +36 -0
  23. package/dist-cjs/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
  24. package/dist-cjs/commands/ListTransformJobsCommand.js +3 -3
  25. package/dist-cjs/commands/ListTrialComponentsCommand.js +3 -3
  26. package/dist-cjs/commands/ListTrialsCommand.js +3 -3
  27. package/dist-cjs/commands/ListUserProfilesCommand.js +3 -3
  28. package/dist-cjs/commands/ListWorkforcesCommand.js +3 -3
  29. package/dist-cjs/commands/ListWorkteamsCommand.js +3 -3
  30. package/dist-cjs/commands/PutModelPackageGroupPolicyCommand.js +3 -3
  31. package/dist-cjs/commands/QueryLineageCommand.js +36 -0
  32. package/dist-cjs/commands/RegisterDevicesCommand.js +2 -2
  33. package/dist-cjs/commands/RenderUiTemplateCommand.js +3 -3
  34. package/dist-cjs/commands/RetryPipelineExecutionCommand.js +3 -3
  35. package/dist-cjs/commands/SearchCommand.js +1 -2
  36. package/dist-cjs/commands/SendPipelineExecutionStepFailureCommand.js +3 -3
  37. package/dist-cjs/commands/SendPipelineExecutionStepSuccessCommand.js +3 -3
  38. package/dist-cjs/commands/StartMonitoringScheduleCommand.js +2 -2
  39. package/dist-cjs/commands/StartNotebookInstanceCommand.js +2 -2
  40. package/dist-cjs/commands/StartPipelineExecutionCommand.js +1 -2
  41. package/dist-cjs/commands/StopInferenceRecommendationsJobCommand.js +36 -0
  42. package/dist-cjs/commands/index.js +9 -0
  43. package/dist-cjs/endpoints.js +1 -0
  44. package/dist-cjs/models/models_0.js +159 -150
  45. package/dist-cjs/models/models_1.js +216 -229
  46. package/dist-cjs/models/models_2.js +356 -344
  47. package/dist-cjs/models/models_3.js +371 -2
  48. package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +35 -0
  49. package/dist-cjs/pagination/ListLineageGroupsPaginator.js +35 -0
  50. package/dist-cjs/pagination/ListModelMetadataPaginator.js +35 -0
  51. package/dist-cjs/pagination/QueryLineagePaginator.js +35 -0
  52. package/dist-cjs/pagination/index.js +4 -0
  53. package/dist-cjs/protocols/Aws_json1_1.js +1662 -40
  54. package/dist-cjs/runtimeConfig.js +0 -2
  55. package/dist-es/SageMaker.js +135 -0
  56. package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +39 -0
  57. package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +39 -0
  58. package/dist-es/commands/DescribeLineageGroupCommand.js +39 -0
  59. package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +1 -1
  60. package/dist-es/commands/DescribeModelCommand.js +2 -1
  61. package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +1 -1
  62. package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
  63. package/dist-es/commands/DescribeModelPackageGroupCommand.js +1 -1
  64. package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +1 -1
  65. package/dist-es/commands/DescribeMonitoringScheduleCommand.js +1 -1
  66. package/dist-es/commands/DescribeNotebookInstanceCommand.js +1 -1
  67. package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +1 -1
  68. package/dist-es/commands/DescribePipelineCommand.js +1 -1
  69. package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +1 -1
  70. package/dist-es/commands/DescribePipelineExecutionCommand.js +1 -1
  71. package/dist-es/commands/DescribeProcessingJobCommand.js +1 -2
  72. package/dist-es/commands/GetLineageGroupPolicyCommand.js +39 -0
  73. package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +39 -0
  74. package/dist-es/commands/ListLineageGroupsCommand.js +39 -0
  75. package/dist-es/commands/ListModelMetadataCommand.js +39 -0
  76. package/dist-es/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +2 -1
  77. package/dist-es/commands/ListTransformJobsCommand.js +1 -1
  78. package/dist-es/commands/ListTrialComponentsCommand.js +1 -1
  79. package/dist-es/commands/ListTrialsCommand.js +1 -1
  80. package/dist-es/commands/ListUserProfilesCommand.js +1 -1
  81. package/dist-es/commands/ListWorkforcesCommand.js +1 -1
  82. package/dist-es/commands/ListWorkteamsCommand.js +1 -1
  83. package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +1 -1
  84. package/dist-es/commands/QueryLineageCommand.js +39 -0
  85. package/dist-es/commands/RegisterDevicesCommand.js +1 -1
  86. package/dist-es/commands/RenderUiTemplateCommand.js +1 -1
  87. package/dist-es/commands/RetryPipelineExecutionCommand.js +1 -1
  88. package/dist-es/commands/SearchCommand.js +1 -2
  89. package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +1 -1
  90. package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +1 -1
  91. package/dist-es/commands/StartMonitoringScheduleCommand.js +1 -1
  92. package/dist-es/commands/StartNotebookInstanceCommand.js +1 -1
  93. package/dist-es/commands/StartPipelineExecutionCommand.js +1 -2
  94. package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +39 -0
  95. package/dist-es/commands/index.js +9 -0
  96. package/dist-es/endpoints.js +1 -0
  97. package/dist-es/models/models_0.js +141 -132
  98. package/dist-es/models/models_1.js +146 -167
  99. package/dist-es/models/models_2.js +262 -236
  100. package/dist-es/models/models_3.js +256 -0
  101. package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +74 -0
  102. package/dist-es/pagination/ListLineageGroupsPaginator.js +74 -0
  103. package/dist-es/pagination/ListModelMetadataPaginator.js +74 -0
  104. package/dist-es/pagination/QueryLineagePaginator.js +74 -0
  105. package/dist-es/pagination/index.js +4 -0
  106. package/dist-es/protocols/Aws_json1_1.js +1588 -41
  107. package/dist-es/runtimeConfig.js +0 -2
  108. package/dist-types/SageMaker.d.ts +76 -4
  109. package/dist-types/SageMakerClient.d.ts +11 -2
  110. package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +36 -0
  111. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +36 -0
  112. package/dist-types/commands/DescribeLineageGroupCommand.d.ts +37 -0
  113. package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
  114. package/dist-types/commands/DescribeModelCommand.d.ts +2 -1
  115. package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  121. package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  122. package/dist-types/commands/DescribePipelineCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
  124. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeProcessingJobCommand.d.ts +1 -2
  126. package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +35 -0
  127. package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +35 -0
  128. package/dist-types/commands/ListLineageGroupsCommand.d.ts +37 -0
  129. package/dist-types/commands/ListModelMetadataCommand.d.ts +36 -0
  130. package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
  131. package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
  132. package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
  133. package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
  134. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  135. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
  136. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
  137. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  138. package/dist-types/commands/QueryLineageCommand.d.ts +37 -0
  139. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  140. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  141. package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  142. package/dist-types/commands/SearchCommand.d.ts +1 -2
  143. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
  144. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  145. package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
  146. package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
  147. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
  148. package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +35 -0
  149. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -2
  150. package/dist-types/commands/StopTransformJobCommand.d.ts +2 -2
  151. package/dist-types/commands/index.d.ts +9 -0
  152. package/dist-types/models/models_0.d.ts +381 -1963
  153. package/dist-types/models/models_1.d.ts +6757 -5221
  154. package/dist-types/models/models_2.d.ts +5431 -6102
  155. package/dist-types/models/models_3.d.ts +2505 -4
  156. package/dist-types/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
  157. package/dist-types/pagination/ListLineageGroupsPaginator.d.ts +4 -0
  158. package/dist-types/pagination/ListModelMetadataPaginator.d.ts +4 -0
  159. package/dist-types/pagination/QueryLineagePaginator.d.ts +4 -0
  160. package/dist-types/pagination/index.d.ts +4 -0
  161. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  162. package/dist-types/ts3.4/SageMaker.d.ts +45 -0
  163. package/dist-types/ts3.4/SageMakerClient.d.ts +11 -2
  164. package/dist-types/ts3.4/commands/CreateInferenceRecommendationsJobCommand.d.ts +17 -0
  165. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +2 -1
  169. package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/DescribePipelineCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +1 -2
  180. package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +2 -1
  185. package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  192. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  194. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  195. package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  196. package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
  197. package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
  198. package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  199. package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
  200. package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
  201. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
  202. package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +17 -0
  203. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  204. package/dist-types/ts3.4/models/models_0.d.ts +234 -201
  205. package/dist-types/ts3.4/models/models_1.d.ts +460 -527
  206. package/dist-types/ts3.4/models/models_2.d.ts +2465 -2643
  207. package/dist-types/ts3.4/models/models_3.d.ts +1119 -3
  208. package/dist-types/ts3.4/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
  209. package/dist-types/ts3.4/pagination/ListLineageGroupsPaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/ListModelMetadataPaginator.d.ts +4 -0
  211. package/dist-types/ts3.4/pagination/QueryLineagePaginator.d.ts +4 -0
  212. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  213. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +27 -0
  214. package/package.json +37 -44
@@ -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 deserializeAws_json1_1GetModelPackageGroupPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
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, deserializeAws_json1_1GetModelPackageGroupPolicyCommandError(output, context)];
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 = deserializeAws_json1_1GetModelPackageGroupPolicyOutput(data, context);
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 deserializeAws_json1_1GetModelPackageGroupPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
10379
- var parsedOutput, _a, response, errorCode, parsedBody, message;
10380
- var _b;
10381
- return __generator(this, function (_c) {
10382
- switch (_c.label) {
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
- _b = {};
10660
+ _d = {};
10386
10661
  return [4, parseBody(output.body, context)];
10387
10662
  case 1:
10388
- parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
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
- switch (errorCode) {
10392
- default:
10393
- parsedBody = parsedOutput.body;
10394
- errorCode = parsedBody.code || parsedBody.Code || errorCode;
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.Report !== undefined &&
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.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelPackageName !== undefined &&
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.OutputConfig !== undefined &&
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.CertifyForMarketplace !== undefined &&
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.SourceAlgorithmSpecification !== undefined &&
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
  }));
@@ -16517,8 +17169,14 @@ var serializeAws_json1_1CreateNotebookInstanceLifecycleConfigInput = function (i
16517
17169
  };
16518
17170
  var serializeAws_json1_1CreatePipelineRequest = function (input, context) {
16519
17171
  var _a;
16520
- return __assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.PipelineDefinition !== undefined &&
16521
- input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDescription !== undefined &&
17172
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
17173
+ input.ParallelismConfiguration !== null && {
17174
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
17175
+ })), (input.PipelineDefinition !== undefined &&
17176
+ input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDefinitionS3Location !== undefined &&
17177
+ input.PipelineDefinitionS3Location !== null && {
17178
+ PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
17179
+ })), (input.PipelineDescription !== undefined &&
16522
17180
  input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription })), (input.PipelineDisplayName !== undefined &&
16523
17181
  input.PipelineDisplayName !== null && { PipelineDisplayName: input.PipelineDisplayName })), (input.PipelineName !== undefined && input.PipelineName !== null && { PipelineName: input.PipelineName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
16524
17182
  };
@@ -17097,10 +17755,17 @@ var serializeAws_json1_1DescribeImageRequest = function (input, context) {
17097
17755
  var serializeAws_json1_1DescribeImageVersionRequest = function (input, context) {
17098
17756
  return __assign(__assign({}, (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
17099
17757
  };
17758
+ var serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = function (input, context) {
17759
+ return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
17760
+ };
17100
17761
  var serializeAws_json1_1DescribeLabelingJobRequest = function (input, context) {
17101
17762
  return __assign({}, (input.LabelingJobName !== undefined &&
17102
17763
  input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
17103
17764
  };
17765
+ var serializeAws_json1_1DescribeLineageGroupRequest = function (input, context) {
17766
+ return __assign({}, (input.LineageGroupName !== undefined &&
17767
+ input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
17768
+ };
17104
17769
  var serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = function (input, context) {
17105
17770
  return __assign({}, (input.JobDefinitionName !== undefined &&
17106
17771
  input.JobDefinitionName !== null && { JobDefinitionName: input.JobDefinitionName }));
@@ -17258,6 +17923,44 @@ var serializeAws_json1_1DomainSettingsForUpdate = function (input, context) {
17258
17923
  RStudioServerProDomainSettingsForUpdate: serializeAws_json1_1RStudioServerProDomainSettingsForUpdate(input.RStudioServerProDomainSettingsForUpdate, context),
17259
17924
  }));
17260
17925
  };
17926
+ var serializeAws_json1_1DriftCheckBaselines = function (input, context) {
17927
+ return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined &&
17928
+ input.Bias !== null && { Bias: serializeAws_json1_1DriftCheckBias(input.Bias, context) })), (input.Explainability !== undefined &&
17929
+ input.Explainability !== null && {
17930
+ Explainability: serializeAws_json1_1DriftCheckExplainability(input.Explainability, context),
17931
+ })), (input.ModelDataQuality !== undefined &&
17932
+ input.ModelDataQuality !== null && {
17933
+ ModelDataQuality: serializeAws_json1_1DriftCheckModelDataQuality(input.ModelDataQuality, context),
17934
+ })), (input.ModelQuality !== undefined &&
17935
+ input.ModelQuality !== null && {
17936
+ ModelQuality: serializeAws_json1_1DriftCheckModelQuality(input.ModelQuality, context),
17937
+ }));
17938
+ };
17939
+ var serializeAws_json1_1DriftCheckBias = function (input, context) {
17940
+ return __assign(__assign(__assign({}, (input.ConfigFile !== undefined &&
17941
+ input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.PostTrainingConstraints !== undefined &&
17942
+ input.PostTrainingConstraints !== null && {
17943
+ PostTrainingConstraints: serializeAws_json1_1MetricsSource(input.PostTrainingConstraints, context),
17944
+ })), (input.PreTrainingConstraints !== undefined &&
17945
+ input.PreTrainingConstraints !== null && {
17946
+ PreTrainingConstraints: serializeAws_json1_1MetricsSource(input.PreTrainingConstraints, context),
17947
+ }));
17948
+ };
17949
+ var serializeAws_json1_1DriftCheckExplainability = function (input, context) {
17950
+ return __assign(__assign({}, (input.ConfigFile !== undefined &&
17951
+ input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.Constraints !== undefined &&
17952
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }));
17953
+ };
17954
+ var serializeAws_json1_1DriftCheckModelDataQuality = function (input, context) {
17955
+ return __assign(__assign({}, (input.Constraints !== undefined &&
17956
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
17957
+ input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
17958
+ };
17959
+ var serializeAws_json1_1DriftCheckModelQuality = function (input, context) {
17960
+ return __assign(__assign({}, (input.Constraints !== undefined &&
17961
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
17962
+ input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
17963
+ };
17261
17964
  var serializeAws_json1_1EdgeOutputConfig = function (input, context) {
17262
17965
  return __assign(__assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PresetDeploymentConfig !== undefined &&
17263
17966
  input.PresetDeploymentConfig !== null && { PresetDeploymentConfig: input.PresetDeploymentConfig })), (input.PresetDeploymentType !== undefined &&
@@ -17278,6 +17981,23 @@ var serializeAws_json1_1EndpointInput = function (input, context) {
17278
17981
  input.S3DataDistributionType !== null && { S3DataDistributionType: input.S3DataDistributionType })), (input.S3InputMode !== undefined && input.S3InputMode !== null && { S3InputMode: input.S3InputMode })), (input.StartTimeOffset !== undefined &&
17279
17982
  input.StartTimeOffset !== null && { StartTimeOffset: input.StartTimeOffset }));
17280
17983
  };
17984
+ var serializeAws_json1_1EndpointInputConfiguration = function (input, context) {
17985
+ return __assign(__assign(__assign({}, (input.EnvironmentParameterRanges !== undefined &&
17986
+ input.EnvironmentParameterRanges !== null && {
17987
+ EnvironmentParameterRanges: serializeAws_json1_1EnvironmentParameterRanges(input.EnvironmentParameterRanges, context),
17988
+ })), (input.InferenceSpecificationName !== undefined &&
17989
+ input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }));
17990
+ };
17991
+ var serializeAws_json1_1EndpointInputConfigurations = function (input, context) {
17992
+ return input
17993
+ .filter(function (e) { return e != null; })
17994
+ .map(function (entry) {
17995
+ if (entry === null) {
17996
+ return null;
17997
+ }
17998
+ return serializeAws_json1_1EndpointInputConfiguration(entry, context);
17999
+ });
18000
+ };
17281
18001
  var serializeAws_json1_1EnvironmentMap = function (input, context) {
17282
18002
  return Object.entries(input).reduce(function (acc, _a) {
17283
18003
  var _b;
@@ -17288,6 +18008,12 @@ var serializeAws_json1_1EnvironmentMap = function (input, context) {
17288
18008
  return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
17289
18009
  }, {});
17290
18010
  };
18011
+ var serializeAws_json1_1EnvironmentParameterRanges = function (input, context) {
18012
+ return __assign({}, (input.CategoricalParameterRanges !== undefined &&
18013
+ input.CategoricalParameterRanges !== null && {
18014
+ CategoricalParameterRanges: serializeAws_json1_1CategoricalParameters(input.CategoricalParameterRanges, context),
18015
+ }));
18016
+ };
17291
18017
  var serializeAws_json1_1ExperimentConfig = function (input, context) {
17292
18018
  return __assign(__assign(__assign({}, (input.ExperimentName !== undefined &&
17293
18019
  input.ExperimentName !== null && { ExperimentName: input.ExperimentName })), (input.TrialComponentDisplayName !== undefined &&
@@ -17310,6 +18036,9 @@ var serializeAws_json1_1FeatureDefinitions = function (input, context) {
17310
18036
  return serializeAws_json1_1FeatureDefinition(entry, context);
17311
18037
  });
17312
18038
  };
18039
+ var serializeAws_json1_1FileSource = function (input, context) {
18040
+ 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 }));
18041
+ };
17313
18042
  var serializeAws_json1_1FileSystemConfig = function (input, context) {
17314
18043
  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
18044
  };
@@ -17348,6 +18077,10 @@ var serializeAws_json1_1GetDeviceFleetReportRequest = function (input, context)
17348
18077
  return __assign({}, (input.DeviceFleetName !== undefined &&
17349
18078
  input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName }));
17350
18079
  };
18080
+ var serializeAws_json1_1GetLineageGroupPolicyRequest = function (input, context) {
18081
+ return __assign({}, (input.LineageGroupName !== undefined &&
18082
+ input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
18083
+ };
17351
18084
  var serializeAws_json1_1GetModelPackageGroupPolicyInput = function (input, context) {
17352
18085
  return __assign({}, (input.ModelPackageGroupName !== undefined &&
17353
18086
  input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName }));
@@ -17983,6 +18716,19 @@ var serializeAws_json1_1ListImageVersionsRequest = function (input, context) {
17983
18716
  LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
17984
18717
  })), (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
18718
  };
18719
+ var serializeAws_json1_1ListInferenceRecommendationsJobsRequest = function (input, context) {
18720
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18721
+ input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
18722
+ input.CreationTimeBefore !== null && {
18723
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
18724
+ })), (input.LastModifiedTimeAfter !== undefined &&
18725
+ input.LastModifiedTimeAfter !== null && {
18726
+ LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
18727
+ })), (input.LastModifiedTimeBefore !== undefined &&
18728
+ input.LastModifiedTimeBefore !== null && {
18729
+ LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
18730
+ })), (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 }));
18731
+ };
17986
18732
  var serializeAws_json1_1ListLabelingJobsForWorkteamRequest = function (input, context) {
17987
18733
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
17988
18734
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18014,6 +18760,11 @@ var serializeAws_json1_1ListLineageEntityParameterKey = function (input, context
18014
18760
  return entry;
18015
18761
  });
18016
18762
  };
18763
+ var serializeAws_json1_1ListLineageGroupsRequest = function (input, context) {
18764
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
18765
+ input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
18766
+ 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 }));
18767
+ };
18017
18768
  var serializeAws_json1_1ListModelBiasJobDefinitionsRequest = function (input, context) {
18018
18769
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18019
18770
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18028,6 +18779,12 @@ var serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = function
18028
18779
  CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
18029
18780
  })), (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
18781
  };
18782
+ var serializeAws_json1_1ListModelMetadataRequest = function (input, context) {
18783
+ 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 &&
18784
+ input.SearchExpression !== null && {
18785
+ SearchExpression: serializeAws_json1_1ModelMetadataSearchExpression(input.SearchExpression, context),
18786
+ }));
18787
+ };
18031
18788
  var serializeAws_json1_1ListModelPackageGroupsInput = function (input, context) {
18032
18789
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18033
18790
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18344,6 +19101,41 @@ var serializeAws_json1_1ModelExplainabilityJobInput = function (input, context)
18344
19101
  EndpointInput: serializeAws_json1_1EndpointInput(input.EndpointInput, context),
18345
19102
  }));
18346
19103
  };
19104
+ var serializeAws_json1_1ModelInput = function (input, context) {
19105
+ return __assign({}, (input.DataInputConfig !== undefined &&
19106
+ input.DataInputConfig !== null && { DataInputConfig: input.DataInputConfig }));
19107
+ };
19108
+ var serializeAws_json1_1ModelLatencyThreshold = function (input, context) {
19109
+ return __assign(__assign({}, (input.Percentile !== undefined && input.Percentile !== null && { Percentile: input.Percentile })), (input.ValueInMilliseconds !== undefined &&
19110
+ input.ValueInMilliseconds !== null && { ValueInMilliseconds: input.ValueInMilliseconds }));
19111
+ };
19112
+ var serializeAws_json1_1ModelLatencyThresholds = function (input, context) {
19113
+ return input
19114
+ .filter(function (e) { return e != null; })
19115
+ .map(function (entry) {
19116
+ if (entry === null) {
19117
+ return null;
19118
+ }
19119
+ return serializeAws_json1_1ModelLatencyThreshold(entry, context);
19120
+ });
19121
+ };
19122
+ var serializeAws_json1_1ModelMetadataFilter = function (input, context) {
19123
+ return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
19124
+ };
19125
+ var serializeAws_json1_1ModelMetadataFilters = function (input, context) {
19126
+ return input
19127
+ .filter(function (e) { return e != null; })
19128
+ .map(function (entry) {
19129
+ if (entry === null) {
19130
+ return null;
19131
+ }
19132
+ return serializeAws_json1_1ModelMetadataFilter(entry, context);
19133
+ });
19134
+ };
19135
+ var serializeAws_json1_1ModelMetadataSearchExpression = function (input, context) {
19136
+ return __assign({}, (input.Filters !== undefined &&
19137
+ input.Filters !== null && { Filters: serializeAws_json1_1ModelMetadataFilters(input.Filters, context) }));
19138
+ };
18347
19139
  var serializeAws_json1_1ModelMetrics = function (input, context) {
18348
19140
  return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined && input.Bias !== null && { Bias: serializeAws_json1_1Bias(input.Bias, context) })), (input.Explainability !== undefined &&
18349
19141
  input.Explainability !== null && {
@@ -18365,9 +19157,12 @@ var serializeAws_json1_1ModelPackageArnList = function (input, context) {
18365
19157
  });
18366
19158
  };
18367
19159
  var serializeAws_json1_1ModelPackageContainerDefinition = function (input, context) {
18368
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
19160
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
18369
19161
  input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
18370
- input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (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.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }));
19162
+ input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework })), (input.FrameworkVersion !== undefined &&
19163
+ 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 &&
19164
+ input.ModelInput !== null && { ModelInput: serializeAws_json1_1ModelInput(input.ModelInput, context) })), (input.NearestModelName !== undefined &&
19165
+ input.NearestModelName !== null && { NearestModelName: input.NearestModelName })), (input.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }));
18371
19166
  };
18372
19167
  var serializeAws_json1_1ModelPackageContainerDefinitionList = function (input, context) {
18373
19168
  return input
@@ -18726,6 +19521,10 @@ var serializeAws_json1_1OutputParameterList = function (input, context) {
18726
19521
  return serializeAws_json1_1OutputParameter(entry, context);
18727
19522
  });
18728
19523
  };
19524
+ var serializeAws_json1_1ParallelismConfiguration = function (input, context) {
19525
+ return __assign({}, (input.MaxParallelExecutionSteps !== undefined &&
19526
+ input.MaxParallelExecutionSteps !== null && { MaxParallelExecutionSteps: input.MaxParallelExecutionSteps }));
19527
+ };
18729
19528
  var serializeAws_json1_1Parameter = function (input, context) {
18730
19529
  return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
18731
19530
  };
@@ -18787,6 +19586,24 @@ var serializeAws_json1_1ParentHyperParameterTuningJobs = function (input, contex
18787
19586
  return serializeAws_json1_1ParentHyperParameterTuningJob(entry, context);
18788
19587
  });
18789
19588
  };
19589
+ var serializeAws_json1_1Phase = function (input, context) {
19590
+ return __assign(__assign(__assign({}, (input.DurationInSeconds !== undefined &&
19591
+ input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds })), (input.InitialNumberOfUsers !== undefined &&
19592
+ input.InitialNumberOfUsers !== null && { InitialNumberOfUsers: input.InitialNumberOfUsers })), (input.SpawnRate !== undefined && input.SpawnRate !== null && { SpawnRate: input.SpawnRate }));
19593
+ };
19594
+ var serializeAws_json1_1Phases = function (input, context) {
19595
+ return input
19596
+ .filter(function (e) { return e != null; })
19597
+ .map(function (entry) {
19598
+ if (entry === null) {
19599
+ return null;
19600
+ }
19601
+ return serializeAws_json1_1Phase(entry, context);
19602
+ });
19603
+ };
19604
+ var serializeAws_json1_1PipelineDefinitionS3Location = function (input, context) {
19605
+ return __assign(__assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { Bucket: input.Bucket })), (input.ObjectKey !== undefined && input.ObjectKey !== null && { ObjectKey: input.ObjectKey })), (input.VersionId !== undefined && input.VersionId !== null && { VersionId: input.VersionId }));
19606
+ };
18790
19607
  var serializeAws_json1_1ProcessingClusterConfig = function (input, context) {
18791
19608
  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
19609
  input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB !== undefined &&
@@ -18863,13 +19680,16 @@ var serializeAws_json1_1ProcessingStoppingCondition = function (input, context)
18863
19680
  input.MaxRuntimeInSeconds !== null && { MaxRuntimeInSeconds: input.MaxRuntimeInSeconds }));
18864
19681
  };
18865
19682
  var serializeAws_json1_1ProductionVariant = function (input, context) {
18866
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
19683
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
18867
19684
  input.AcceleratorType !== null && { AcceleratorType: input.AcceleratorType })), (input.CoreDumpConfig !== undefined &&
18868
19685
  input.CoreDumpConfig !== null && {
18869
19686
  CoreDumpConfig: serializeAws_json1_1ProductionVariantCoreDumpConfig(input.CoreDumpConfig, context),
18870
19687
  })), (input.InitialInstanceCount !== undefined &&
18871
19688
  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.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
19689
+ 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 &&
19690
+ input.ServerlessConfig !== null && {
19691
+ ServerlessConfig: serializeAws_json1_1ProductionVariantServerlessConfig(input.ServerlessConfig, context),
19692
+ })), (input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
18873
19693
  };
18874
19694
  var serializeAws_json1_1ProductionVariantCoreDumpConfig = function (input, context) {
18875
19695
  return __assign(__assign({}, (input.DestinationS3Uri !== undefined &&
@@ -18885,6 +19705,11 @@ var serializeAws_json1_1ProductionVariantList = function (input, context) {
18885
19705
  return serializeAws_json1_1ProductionVariant(entry, context);
18886
19706
  });
18887
19707
  };
19708
+ var serializeAws_json1_1ProductionVariantServerlessConfig = function (input, context) {
19709
+ return __assign(__assign({}, (input.MaxConcurrency !== undefined &&
19710
+ input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MemorySizeInMB !== undefined &&
19711
+ input.MemorySizeInMB !== null && { MemorySizeInMB: input.MemorySizeInMB }));
19712
+ };
18888
19713
  var serializeAws_json1_1ProfilerConfig = function (input, context) {
18889
19714
  return __assign(__assign(__assign({}, (input.ProfilingIntervalInMilliseconds !== undefined &&
18890
19715
  input.ProfilingIntervalInMilliseconds !== null && {
@@ -18959,6 +19784,63 @@ var serializeAws_json1_1PutModelPackageGroupPolicyInput = function (input, conte
18959
19784
  input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ResourcePolicy !== undefined &&
18960
19785
  input.ResourcePolicy !== null && { ResourcePolicy: input.ResourcePolicy }));
18961
19786
  };
19787
+ var serializeAws_json1_1QueryFilters = function (input, context) {
19788
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
19789
+ input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
19790
+ input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.LineageTypes !== undefined &&
19791
+ input.LineageTypes !== null && {
19792
+ LineageTypes: serializeAws_json1_1QueryLineageTypes(input.LineageTypes, context),
19793
+ })), (input.ModifiedAfter !== undefined &&
19794
+ input.ModifiedAfter !== null && { ModifiedAfter: Math.round(input.ModifiedAfter.getTime() / 1000) })), (input.ModifiedBefore !== undefined &&
19795
+ input.ModifiedBefore !== null && { ModifiedBefore: Math.round(input.ModifiedBefore.getTime() / 1000) })), (input.Properties !== undefined &&
19796
+ input.Properties !== null && { Properties: serializeAws_json1_1QueryProperties(input.Properties, context) })), (input.Types !== undefined &&
19797
+ input.Types !== null && { Types: serializeAws_json1_1QueryTypes(input.Types, context) }));
19798
+ };
19799
+ var serializeAws_json1_1QueryLineageRequest = function (input, context) {
19800
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Filters !== undefined &&
19801
+ 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 &&
19802
+ input.StartArns !== null && { StartArns: serializeAws_json1_1QueryLineageStartArns(input.StartArns, context) }));
19803
+ };
19804
+ var serializeAws_json1_1QueryLineageStartArns = function (input, context) {
19805
+ return input
19806
+ .filter(function (e) { return e != null; })
19807
+ .map(function (entry) {
19808
+ if (entry === null) {
19809
+ return null;
19810
+ }
19811
+ return entry;
19812
+ });
19813
+ };
19814
+ var serializeAws_json1_1QueryLineageTypes = function (input, context) {
19815
+ return input
19816
+ .filter(function (e) { return e != null; })
19817
+ .map(function (entry) {
19818
+ if (entry === null) {
19819
+ return null;
19820
+ }
19821
+ return entry;
19822
+ });
19823
+ };
19824
+ var serializeAws_json1_1QueryProperties = function (input, context) {
19825
+ return Object.entries(input).reduce(function (acc, _a) {
19826
+ var _b;
19827
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
19828
+ if (value === null) {
19829
+ return acc;
19830
+ }
19831
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
19832
+ }, {});
19833
+ };
19834
+ var serializeAws_json1_1QueryTypes = function (input, context) {
19835
+ return input
19836
+ .filter(function (e) { return e != null; })
19837
+ .map(function (entry) {
19838
+ if (entry === null) {
19839
+ return null;
19840
+ }
19841
+ return entry;
19842
+ });
19843
+ };
18962
19844
  var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, context) {
18963
19845
  return input
18964
19846
  .filter(function (e) { return e != null; })
@@ -18969,6 +19851,32 @@ var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, contex
18969
19851
  return entry;
18970
19852
  });
18971
19853
  };
19854
+ var serializeAws_json1_1RecommendationJobInputConfig = function (input, context) {
19855
+ return __assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations !== undefined &&
19856
+ input.EndpointConfigurations !== null && {
19857
+ EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
19858
+ })), (input.JobDurationInSeconds !== undefined &&
19859
+ input.JobDurationInSeconds !== null && { JobDurationInSeconds: input.JobDurationInSeconds })), (input.ModelPackageVersionArn !== undefined &&
19860
+ input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.ResourceLimit !== undefined &&
19861
+ input.ResourceLimit !== null && {
19862
+ ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
19863
+ })), (input.TrafficPattern !== undefined &&
19864
+ input.TrafficPattern !== null && {
19865
+ TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
19866
+ }));
19867
+ };
19868
+ var serializeAws_json1_1RecommendationJobResourceLimit = function (input, context) {
19869
+ return __assign(__assign({}, (input.MaxNumberOfTests !== undefined &&
19870
+ input.MaxNumberOfTests !== null && { MaxNumberOfTests: input.MaxNumberOfTests })), (input.MaxParallelOfTests !== undefined &&
19871
+ input.MaxParallelOfTests !== null && { MaxParallelOfTests: input.MaxParallelOfTests }));
19872
+ };
19873
+ var serializeAws_json1_1RecommendationJobStoppingConditions = function (input, context) {
19874
+ return __assign(__assign({}, (input.MaxInvocations !== undefined &&
19875
+ input.MaxInvocations !== null && { MaxInvocations: input.MaxInvocations })), (input.ModelLatencyThresholds !== undefined &&
19876
+ input.ModelLatencyThresholds !== null && {
19877
+ ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
19878
+ }));
19879
+ };
18972
19880
  var serializeAws_json1_1RedshiftDatasetDefinition = function (input, context) {
18973
19881
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.ClusterRoleArn !== undefined &&
18974
19882
  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 &&
@@ -19026,7 +19934,10 @@ var serializeAws_json1_1RetentionPolicy = function (input, context) {
19026
19934
  };
19027
19935
  var serializeAws_json1_1RetryPipelineExecutionRequest = function (input, context) {
19028
19936
  var _a;
19029
- return __assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.PipelineExecutionArn !== undefined &&
19937
+ return __assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
19938
+ input.ParallelismConfiguration !== null && {
19939
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
19940
+ })), (input.PipelineExecutionArn !== undefined &&
19030
19941
  input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn }));
19031
19942
  };
19032
19943
  var serializeAws_json1_1RetryStrategy = function (input, context) {
@@ -19181,7 +20092,10 @@ var serializeAws_json1_1StartNotebookInstanceInput = function (input, context) {
19181
20092
  };
19182
20093
  var serializeAws_json1_1StartPipelineExecutionRequest = function (input, context) {
19183
20094
  var _a;
19184
- return __assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.PipelineExecutionDescription !== undefined &&
20095
+ return __assign(__assign(__assign(__assign(__assign({ ClientRequestToken: (_a = input.ClientRequestToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }, (input.ParallelismConfiguration !== undefined &&
20096
+ input.ParallelismConfiguration !== null && {
20097
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
20098
+ })), (input.PipelineExecutionDescription !== undefined &&
19185
20099
  input.PipelineExecutionDescription !== null && {
19186
20100
  PipelineExecutionDescription: input.PipelineExecutionDescription,
19187
20101
  })), (input.PipelineExecutionDisplayName !== undefined &&
@@ -19207,6 +20121,9 @@ var serializeAws_json1_1StopHyperParameterTuningJobRequest = function (input, co
19207
20121
  return __assign({}, (input.HyperParameterTuningJobName !== undefined &&
19208
20122
  input.HyperParameterTuningJobName !== null && { HyperParameterTuningJobName: input.HyperParameterTuningJobName }));
19209
20123
  };
20124
+ var serializeAws_json1_1StopInferenceRecommendationsJobRequest = function (input, context) {
20125
+ return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
20126
+ };
19210
20127
  var serializeAws_json1_1StopLabelingJobRequest = function (input, context) {
19211
20128
  return __assign({}, (input.LabelingJobName !== undefined &&
19212
20129
  input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
@@ -19302,6 +20219,10 @@ var serializeAws_json1_1TensorBoardAppSettings = function (input, context) {
19302
20219
  var serializeAws_json1_1TensorBoardOutputConfig = function (input, context) {
19303
20220
  return __assign(__assign({}, (input.LocalPath !== undefined && input.LocalPath !== null && { LocalPath: input.LocalPath })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }));
19304
20221
  };
20222
+ var serializeAws_json1_1TrafficPattern = function (input, context) {
20223
+ return __assign(__assign({}, (input.Phases !== undefined &&
20224
+ input.Phases !== null && { Phases: serializeAws_json1_1Phases(input.Phases, context) })), (input.TrafficType !== undefined && input.TrafficType !== null && { TrafficType: input.TrafficType }));
20225
+ };
19305
20226
  var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
19306
20227
  return __assign(__assign(__assign(__assign({}, (input.CanarySize !== undefined &&
19307
20228
  input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) })), (input.LinearStepSize !== undefined &&
@@ -19564,7 +20485,10 @@ var serializeAws_json1_1UpdateImageRequest = function (input, context) {
19564
20485
  })), (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
20486
  };
19566
20487
  var serializeAws_json1_1UpdateModelPackageInput = function (input, context) {
19567
- return __assign(__assign(__assign(__assign(__assign({}, (input.ApprovalDescription !== undefined &&
20488
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecificationsToAdd !== undefined &&
20489
+ input.AdditionalInferenceSpecificationsToAdd !== null && {
20490
+ AdditionalInferenceSpecificationsToAdd: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecificationsToAdd, context),
20491
+ })), (input.ApprovalDescription !== undefined &&
19568
20492
  input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.CustomerMetadataProperties !== undefined &&
19569
20493
  input.CustomerMetadataProperties !== null && {
19570
20494
  CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
@@ -19618,7 +20542,10 @@ var serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigInput = function (i
19618
20542
  }));
19619
20543
  };
19620
20544
  var serializeAws_json1_1UpdatePipelineExecutionRequest = function (input, context) {
19621
- return __assign(__assign(__assign({}, (input.PipelineExecutionArn !== undefined &&
20545
+ return __assign(__assign(__assign(__assign({}, (input.ParallelismConfiguration !== undefined &&
20546
+ input.ParallelismConfiguration !== null && {
20547
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
20548
+ })), (input.PipelineExecutionArn !== undefined &&
19622
20549
  input.PipelineExecutionArn !== null && { PipelineExecutionArn: input.PipelineExecutionArn })), (input.PipelineExecutionDescription !== undefined &&
19623
20550
  input.PipelineExecutionDescription !== null && {
19624
20551
  PipelineExecutionDescription: input.PipelineExecutionDescription,
@@ -19628,8 +20555,14 @@ var serializeAws_json1_1UpdatePipelineExecutionRequest = function (input, contex
19628
20555
  }));
19629
20556
  };
19630
20557
  var serializeAws_json1_1UpdatePipelineRequest = function (input, context) {
19631
- return __assign(__assign(__assign(__assign(__assign({}, (input.PipelineDefinition !== undefined &&
19632
- input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDescription !== undefined &&
20558
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ParallelismConfiguration !== undefined &&
20559
+ input.ParallelismConfiguration !== null && {
20560
+ ParallelismConfiguration: serializeAws_json1_1ParallelismConfiguration(input.ParallelismConfiguration, context),
20561
+ })), (input.PipelineDefinition !== undefined &&
20562
+ input.PipelineDefinition !== null && { PipelineDefinition: input.PipelineDefinition })), (input.PipelineDefinitionS3Location !== undefined &&
20563
+ input.PipelineDefinitionS3Location !== null && {
20564
+ PipelineDefinitionS3Location: serializeAws_json1_1PipelineDefinitionS3Location(input.PipelineDefinitionS3Location, context),
20565
+ })), (input.PipelineDescription !== undefined &&
19633
20566
  input.PipelineDescription !== null && { PipelineDescription: input.PipelineDescription })), (input.PipelineDisplayName !== undefined &&
19634
20567
  input.PipelineDisplayName !== null && { PipelineDisplayName: input.PipelineDisplayName })), (input.PipelineName !== undefined && input.PipelineName !== null && { PipelineName: input.PipelineName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
19635
20568
  };
@@ -19808,6 +20741,38 @@ var deserializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (output
19808
20741
  return __expectString(entry);
19809
20742
  });
19810
20743
  };
20744
+ var deserializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (output, context) {
20745
+ return {
20746
+ Containers: output.Containers !== undefined && output.Containers !== null
20747
+ ? deserializeAws_json1_1ModelPackageContainerDefinitionList(output.Containers, context)
20748
+ : undefined,
20749
+ Description: __expectString(output.Description),
20750
+ Name: __expectString(output.Name),
20751
+ SupportedContentTypes: output.SupportedContentTypes !== undefined && output.SupportedContentTypes !== null
20752
+ ? deserializeAws_json1_1ContentTypes(output.SupportedContentTypes, context)
20753
+ : undefined,
20754
+ SupportedRealtimeInferenceInstanceTypes: output.SupportedRealtimeInferenceInstanceTypes !== undefined &&
20755
+ output.SupportedRealtimeInferenceInstanceTypes !== null
20756
+ ? deserializeAws_json1_1RealtimeInferenceInstanceTypes(output.SupportedRealtimeInferenceInstanceTypes, context)
20757
+ : undefined,
20758
+ SupportedResponseMIMETypes: output.SupportedResponseMIMETypes !== undefined && output.SupportedResponseMIMETypes !== null
20759
+ ? deserializeAws_json1_1ResponseMIMETypes(output.SupportedResponseMIMETypes, context)
20760
+ : undefined,
20761
+ SupportedTransformInstanceTypes: output.SupportedTransformInstanceTypes !== undefined && output.SupportedTransformInstanceTypes !== null
20762
+ ? deserializeAws_json1_1TransformInstanceTypes(output.SupportedTransformInstanceTypes, context)
20763
+ : undefined,
20764
+ };
20765
+ };
20766
+ var deserializeAws_json1_1AdditionalInferenceSpecifications = function (output, context) {
20767
+ return (output || [])
20768
+ .filter(function (e) { return e != null; })
20769
+ .map(function (entry) {
20770
+ if (entry === null) {
20771
+ return null;
20772
+ }
20773
+ return deserializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
20774
+ });
20775
+ };
19811
20776
  var deserializeAws_json1_1AddTagsOutput = function (output, context) {
19812
20777
  return {
19813
20778
  Tags: output.Tags !== undefined && output.Tags !== null
@@ -20181,6 +21146,7 @@ var deserializeAws_json1_1AutoMLCandidateStep = function (output, context) {
20181
21146
  var deserializeAws_json1_1AutoMLChannel = function (output, context) {
20182
21147
  return {
20183
21148
  CompressionType: __expectString(output.CompressionType),
21149
+ ContentType: __expectString(output.ContentType),
20184
21150
  DataSource: output.DataSource !== undefined && output.DataSource !== null
20185
21151
  ? deserializeAws_json1_1AutoMLDataSource(output.DataSource, context)
20186
21152
  : undefined,
@@ -20369,6 +21335,12 @@ var deserializeAws_json1_1BatchDescribeModelPackageSummary = function (output, c
20369
21335
  };
20370
21336
  var deserializeAws_json1_1Bias = function (output, context) {
20371
21337
  return {
21338
+ PostTrainingReport: output.PostTrainingReport !== undefined && output.PostTrainingReport !== null
21339
+ ? deserializeAws_json1_1MetricsSource(output.PostTrainingReport, context)
21340
+ : undefined,
21341
+ PreTrainingReport: output.PreTrainingReport !== undefined && output.PreTrainingReport !== null
21342
+ ? deserializeAws_json1_1MetricsSource(output.PreTrainingReport, context)
21343
+ : undefined,
20372
21344
  Report: output.Report !== undefined && output.Report !== null
20373
21345
  ? deserializeAws_json1_1MetricsSource(output.Report, context)
20374
21346
  : undefined,
@@ -20453,6 +21425,14 @@ var deserializeAws_json1_1CaptureOptionList = function (output, context) {
20453
21425
  return deserializeAws_json1_1CaptureOption(entry, context);
20454
21426
  });
20455
21427
  };
21428
+ var deserializeAws_json1_1CategoricalParameter = function (output, context) {
21429
+ return {
21430
+ Name: __expectString(output.Name),
21431
+ Value: output.Value !== undefined && output.Value !== null
21432
+ ? deserializeAws_json1_1CategoricalParameterRangeValues(output.Value, context)
21433
+ : undefined,
21434
+ };
21435
+ };
20456
21436
  var deserializeAws_json1_1CategoricalParameterRange = function (output, context) {
20457
21437
  return {
20458
21438
  Name: __expectString(output.Name),
@@ -20478,6 +21458,26 @@ var deserializeAws_json1_1CategoricalParameterRangeSpecification = function (out
20478
21458
  : undefined,
20479
21459
  };
20480
21460
  };
21461
+ var deserializeAws_json1_1CategoricalParameterRangeValues = function (output, context) {
21462
+ return (output || [])
21463
+ .filter(function (e) { return e != null; })
21464
+ .map(function (entry) {
21465
+ if (entry === null) {
21466
+ return null;
21467
+ }
21468
+ return __expectString(entry);
21469
+ });
21470
+ };
21471
+ var deserializeAws_json1_1CategoricalParameters = function (output, context) {
21472
+ return (output || [])
21473
+ .filter(function (e) { return e != null; })
21474
+ .map(function (entry) {
21475
+ if (entry === null) {
21476
+ return null;
21477
+ }
21478
+ return deserializeAws_json1_1CategoricalParameter(entry, context);
21479
+ });
21480
+ };
20481
21481
  var deserializeAws_json1_1Channel = function (output, context) {
20482
21482
  return {
20483
21483
  ChannelName: __expectString(output.ChannelName),
@@ -20535,6 +21535,18 @@ var deserializeAws_json1_1Cidrs = function (output, context) {
20535
21535
  return __expectString(entry);
20536
21536
  });
20537
21537
  };
21538
+ var deserializeAws_json1_1ClarifyCheckStepMetadata = function (output, context) {
21539
+ return {
21540
+ BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
21541
+ CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
21542
+ CheckJobArn: __expectString(output.CheckJobArn),
21543
+ CheckType: __expectString(output.CheckType),
21544
+ ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
21545
+ RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
21546
+ SkipCheck: __expectBoolean(output.SkipCheck),
21547
+ ViolationReport: __expectString(output.ViolationReport),
21548
+ };
21549
+ };
20538
21550
  var deserializeAws_json1_1CodeRepositorySummary = function (output, context) {
20539
21551
  return {
20540
21552
  CodeRepositoryArn: __expectString(output.CodeRepositoryArn),
@@ -20674,6 +21686,7 @@ var deserializeAws_json1_1ContainerDefinition = function (output, context) {
20674
21686
  ImageConfig: output.ImageConfig !== undefined && output.ImageConfig !== null
20675
21687
  ? deserializeAws_json1_1ImageConfig(output.ImageConfig, context)
20676
21688
  : undefined,
21689
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
20677
21690
  Mode: __expectString(output.Mode),
20678
21691
  ModelDataUrl: __expectString(output.ModelDataUrl),
20679
21692
  ModelPackageName: __expectString(output.ModelPackageName),
@@ -20880,6 +21893,11 @@ var deserializeAws_json1_1CreateImageVersionResponse = function (output, context
20880
21893
  ImageVersionArn: __expectString(output.ImageVersionArn),
20881
21894
  };
20882
21895
  };
21896
+ var deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = function (output, context) {
21897
+ return {
21898
+ JobArn: __expectString(output.JobArn),
21899
+ };
21900
+ };
20883
21901
  var deserializeAws_json1_1CreateLabelingJobResponse = function (output, context) {
20884
21902
  return {
20885
21903
  LabelingJobArn: __expectString(output.LabelingJobArn),
@@ -21294,6 +22312,7 @@ var deserializeAws_json1_1DescribeActionResponse = function (output, context) {
21294
22312
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21295
22313
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21296
22314
  : undefined,
22315
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21297
22316
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
21298
22317
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
21299
22318
  : undefined,
@@ -21386,6 +22405,7 @@ var deserializeAws_json1_1DescribeArtifactResponse = function (output, context)
21386
22405
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21387
22406
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21388
22407
  : undefined,
22408
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21389
22409
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
21390
22410
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
21391
22411
  : undefined,
@@ -21491,6 +22511,7 @@ var deserializeAws_json1_1DescribeCompilationJobResponse = function (output, con
21491
22511
  ModelDigests: output.ModelDigests !== undefined && output.ModelDigests !== null
21492
22512
  ? deserializeAws_json1_1ModelDigests(output.ModelDigests, context)
21493
22513
  : undefined,
22514
+ ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
21494
22515
  OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
21495
22516
  ? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
21496
22517
  : undefined,
@@ -21521,6 +22542,7 @@ var deserializeAws_json1_1DescribeContextResponse = function (output, context) {
21521
22542
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21522
22543
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21523
22544
  : undefined,
22545
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21524
22546
  Properties: output.Properties !== undefined && output.Properties !== null
21525
22547
  ? deserializeAws_json1_1LineageEntityParameters(output.Properties, context)
21526
22548
  : undefined,
@@ -21872,6 +22894,35 @@ var deserializeAws_json1_1DescribeImageVersionResponse = function (output, conte
21872
22894
  Version: __expectInt32(output.Version),
21873
22895
  };
21874
22896
  };
22897
+ var deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = function (output, context) {
22898
+ return {
22899
+ CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
22900
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
22901
+ : undefined,
22902
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
22903
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22904
+ : undefined,
22905
+ FailureReason: __expectString(output.FailureReason),
22906
+ InferenceRecommendations: output.InferenceRecommendations !== undefined && output.InferenceRecommendations !== null
22907
+ ? deserializeAws_json1_1InferenceRecommendations(output.InferenceRecommendations, context)
22908
+ : undefined,
22909
+ InputConfig: output.InputConfig !== undefined && output.InputConfig !== null
22910
+ ? deserializeAws_json1_1RecommendationJobInputConfig(output.InputConfig, context)
22911
+ : undefined,
22912
+ JobArn: __expectString(output.JobArn),
22913
+ JobDescription: __expectString(output.JobDescription),
22914
+ JobName: __expectString(output.JobName),
22915
+ JobType: __expectString(output.JobType),
22916
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22917
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22918
+ : undefined,
22919
+ RoleArn: __expectString(output.RoleArn),
22920
+ Status: __expectString(output.Status),
22921
+ StoppingConditions: output.StoppingConditions !== undefined && output.StoppingConditions !== null
22922
+ ? deserializeAws_json1_1RecommendationJobStoppingConditions(output.StoppingConditions, context)
22923
+ : undefined,
22924
+ };
22925
+ };
21875
22926
  var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, context) {
21876
22927
  return {
21877
22928
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -21914,6 +22965,26 @@ var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, contex
21914
22965
  : undefined,
21915
22966
  };
21916
22967
  };
22968
+ var deserializeAws_json1_1DescribeLineageGroupResponse = function (output, context) {
22969
+ return {
22970
+ CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
22971
+ ? deserializeAws_json1_1UserContext(output.CreatedBy, context)
22972
+ : undefined,
22973
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
22974
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22975
+ : undefined,
22976
+ Description: __expectString(output.Description),
22977
+ DisplayName: __expectString(output.DisplayName),
22978
+ LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
22979
+ ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
22980
+ : undefined,
22981
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22982
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22983
+ : undefined,
22984
+ LineageGroupArn: __expectString(output.LineageGroupArn),
22985
+ LineageGroupName: __expectString(output.LineageGroupName),
22986
+ };
22987
+ };
21917
22988
  var deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = function (output, context) {
21918
22989
  return {
21919
22990
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -22015,6 +23086,9 @@ var deserializeAws_json1_1DescribeModelPackageGroupOutput = function (output, co
22015
23086
  };
22016
23087
  var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context) {
22017
23088
  return {
23089
+ AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
23090
+ ? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
23091
+ : undefined,
22018
23092
  ApprovalDescription: __expectString(output.ApprovalDescription),
22019
23093
  CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
22020
23094
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -22026,6 +23100,10 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
22026
23100
  CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
22027
23101
  ? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
22028
23102
  : undefined,
23103
+ Domain: __expectString(output.Domain),
23104
+ DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
23105
+ ? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
23106
+ : undefined,
22029
23107
  InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
22030
23108
  ? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
22031
23109
  : undefined,
@@ -22051,9 +23129,11 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
22051
23129
  ? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
22052
23130
  : undefined,
22053
23131
  ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
23132
+ SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
22054
23133
  SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
22055
23134
  ? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
22056
23135
  : undefined,
23136
+ Task: __expectString(output.Task),
22057
23137
  ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
22058
23138
  ? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
22059
23139
  : undefined,
@@ -22188,6 +23268,9 @@ var deserializeAws_json1_1DescribePipelineExecutionResponse = function (output,
22188
23268
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22189
23269
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22190
23270
  : undefined,
23271
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
23272
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
23273
+ : undefined,
22191
23274
  PipelineArn: __expectString(output.PipelineArn),
22192
23275
  PipelineExecutionArn: __expectString(output.PipelineExecutionArn),
22193
23276
  PipelineExecutionDescription: __expectString(output.PipelineExecutionDescription),
@@ -22215,6 +23298,9 @@ var deserializeAws_json1_1DescribePipelineResponse = function (output, context)
22215
23298
  LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
22216
23299
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRunTime)))
22217
23300
  : undefined,
23301
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
23302
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
23303
+ : undefined,
22218
23304
  PipelineArn: __expectString(output.PipelineArn),
22219
23305
  PipelineDefinition: __expectString(output.PipelineDefinition),
22220
23306
  PipelineDescription: __expectString(output.PipelineDescription),
@@ -22481,6 +23567,7 @@ var deserializeAws_json1_1DescribeTrialComponentResponse = function (output, con
22481
23567
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22482
23568
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22483
23569
  : undefined,
23570
+ LineageGroupArn: __expectString(output.LineageGroupArn),
22484
23571
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
22485
23572
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
22486
23573
  : undefined,
@@ -22668,16 +23755,82 @@ var deserializeAws_json1_1DomainSecurityGroupIds = function (output, context) {
22668
23755
  return __expectString(entry);
22669
23756
  });
22670
23757
  };
22671
- var deserializeAws_json1_1DomainSettings = function (output, context) {
23758
+ var deserializeAws_json1_1DomainSettings = function (output, context) {
23759
+ return {
23760
+ RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
23761
+ ? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
23762
+ : undefined,
23763
+ SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
23764
+ ? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
23765
+ : undefined,
23766
+ };
23767
+ };
23768
+ var deserializeAws_json1_1DriftCheckBaselines = function (output, context) {
23769
+ return {
23770
+ Bias: output.Bias !== undefined && output.Bias !== null
23771
+ ? deserializeAws_json1_1DriftCheckBias(output.Bias, context)
23772
+ : undefined,
23773
+ Explainability: output.Explainability !== undefined && output.Explainability !== null
23774
+ ? deserializeAws_json1_1DriftCheckExplainability(output.Explainability, context)
23775
+ : undefined,
23776
+ ModelDataQuality: output.ModelDataQuality !== undefined && output.ModelDataQuality !== null
23777
+ ? deserializeAws_json1_1DriftCheckModelDataQuality(output.ModelDataQuality, context)
23778
+ : undefined,
23779
+ ModelQuality: output.ModelQuality !== undefined && output.ModelQuality !== null
23780
+ ? deserializeAws_json1_1DriftCheckModelQuality(output.ModelQuality, context)
23781
+ : undefined,
23782
+ };
23783
+ };
23784
+ var deserializeAws_json1_1DriftCheckBias = function (output, context) {
23785
+ return {
23786
+ ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
23787
+ ? deserializeAws_json1_1FileSource(output.ConfigFile, context)
23788
+ : undefined,
23789
+ PostTrainingConstraints: output.PostTrainingConstraints !== undefined && output.PostTrainingConstraints !== null
23790
+ ? deserializeAws_json1_1MetricsSource(output.PostTrainingConstraints, context)
23791
+ : undefined,
23792
+ PreTrainingConstraints: output.PreTrainingConstraints !== undefined && output.PreTrainingConstraints !== null
23793
+ ? deserializeAws_json1_1MetricsSource(output.PreTrainingConstraints, context)
23794
+ : undefined,
23795
+ };
23796
+ };
23797
+ var deserializeAws_json1_1DriftCheckExplainability = function (output, context) {
23798
+ return {
23799
+ ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
23800
+ ? deserializeAws_json1_1FileSource(output.ConfigFile, context)
23801
+ : undefined,
23802
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23803
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
23804
+ : undefined,
23805
+ };
23806
+ };
23807
+ var deserializeAws_json1_1DriftCheckModelDataQuality = function (output, context) {
23808
+ return {
23809
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23810
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
23811
+ : undefined,
23812
+ Statistics: output.Statistics !== undefined && output.Statistics !== null
23813
+ ? deserializeAws_json1_1MetricsSource(output.Statistics, context)
23814
+ : undefined,
23815
+ };
23816
+ };
23817
+ var deserializeAws_json1_1DriftCheckModelQuality = function (output, context) {
22672
23818
  return {
22673
- RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
22674
- ? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
23819
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23820
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
22675
23821
  : undefined,
22676
- SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
22677
- ? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
23822
+ Statistics: output.Statistics !== undefined && output.Statistics !== null
23823
+ ? deserializeAws_json1_1MetricsSource(output.Statistics, context)
22678
23824
  : undefined,
22679
23825
  };
22680
23826
  };
23827
+ var deserializeAws_json1_1Edge = function (output, context) {
23828
+ return {
23829
+ AssociationType: __expectString(output.AssociationType),
23830
+ DestinationArn: __expectString(output.DestinationArn),
23831
+ SourceArn: __expectString(output.SourceArn),
23832
+ };
23833
+ };
22681
23834
  var deserializeAws_json1_1EdgeModel = function (output, context) {
22682
23835
  return {
22683
23836
  LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
@@ -22778,6 +23931,24 @@ var deserializeAws_json1_1EdgePresetDeploymentOutput = function (output, context
22778
23931
  Type: __expectString(output.Type),
22779
23932
  };
22780
23933
  };
23934
+ var deserializeAws_json1_1Edges = function (output, context) {
23935
+ return (output || [])
23936
+ .filter(function (e) { return e != null; })
23937
+ .map(function (entry) {
23938
+ if (entry === null) {
23939
+ return null;
23940
+ }
23941
+ return deserializeAws_json1_1Edge(entry, context);
23942
+ });
23943
+ };
23944
+ var deserializeAws_json1_1EMRStepMetadata = function (output, context) {
23945
+ return {
23946
+ ClusterId: __expectString(output.ClusterId),
23947
+ LogFilePath: __expectString(output.LogFilePath),
23948
+ StepId: __expectString(output.StepId),
23949
+ StepName: __expectString(output.StepName),
23950
+ };
23951
+ };
22781
23952
  var deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = function (output, context) {
22782
23953
  return {};
22783
23954
  };
@@ -22841,6 +24012,33 @@ var deserializeAws_json1_1EndpointInput = function (output, context) {
22841
24012
  StartTimeOffset: __expectString(output.StartTimeOffset),
22842
24013
  };
22843
24014
  };
24015
+ var deserializeAws_json1_1EndpointInputConfiguration = function (output, context) {
24016
+ return {
24017
+ EnvironmentParameterRanges: output.EnvironmentParameterRanges !== undefined && output.EnvironmentParameterRanges !== null
24018
+ ? deserializeAws_json1_1EnvironmentParameterRanges(output.EnvironmentParameterRanges, context)
24019
+ : undefined,
24020
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
24021
+ InstanceType: __expectString(output.InstanceType),
24022
+ };
24023
+ };
24024
+ var deserializeAws_json1_1EndpointInputConfigurations = function (output, context) {
24025
+ return (output || [])
24026
+ .filter(function (e) { return e != null; })
24027
+ .map(function (entry) {
24028
+ if (entry === null) {
24029
+ return null;
24030
+ }
24031
+ return deserializeAws_json1_1EndpointInputConfiguration(entry, context);
24032
+ });
24033
+ };
24034
+ var deserializeAws_json1_1EndpointOutputConfiguration = function (output, context) {
24035
+ return {
24036
+ EndpointName: __expectString(output.EndpointName),
24037
+ InitialInstanceCount: __expectInt32(output.InitialInstanceCount),
24038
+ InstanceType: __expectString(output.InstanceType),
24039
+ VariantName: __expectString(output.VariantName),
24040
+ };
24041
+ };
22844
24042
  var deserializeAws_json1_1EndpointSummary = function (output, context) {
22845
24043
  return {
22846
24044
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -22874,6 +24072,30 @@ var deserializeAws_json1_1EnvironmentMap = function (output, context) {
22874
24072
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
22875
24073
  }, {});
22876
24074
  };
24075
+ var deserializeAws_json1_1EnvironmentParameter = function (output, context) {
24076
+ return {
24077
+ Key: __expectString(output.Key),
24078
+ Value: __expectString(output.Value),
24079
+ ValueType: __expectString(output.ValueType),
24080
+ };
24081
+ };
24082
+ var deserializeAws_json1_1EnvironmentParameterRanges = function (output, context) {
24083
+ return {
24084
+ CategoricalParameterRanges: output.CategoricalParameterRanges !== undefined && output.CategoricalParameterRanges !== null
24085
+ ? deserializeAws_json1_1CategoricalParameters(output.CategoricalParameterRanges, context)
24086
+ : undefined,
24087
+ };
24088
+ };
24089
+ var deserializeAws_json1_1EnvironmentParameters = function (output, context) {
24090
+ return (output || [])
24091
+ .filter(function (e) { return e != null; })
24092
+ .map(function (entry) {
24093
+ if (entry === null) {
24094
+ return null;
24095
+ }
24096
+ return deserializeAws_json1_1EnvironmentParameter(entry, context);
24097
+ });
24098
+ };
22877
24099
  var deserializeAws_json1_1Experiment = function (output, context) {
22878
24100
  return {
22879
24101
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -23015,6 +24237,13 @@ var deserializeAws_json1_1FeatureGroupSummary = function (output, context) {
23015
24237
  : undefined,
23016
24238
  };
23017
24239
  };
24240
+ var deserializeAws_json1_1FileSource = function (output, context) {
24241
+ return {
24242
+ ContentDigest: __expectString(output.ContentDigest),
24243
+ ContentType: __expectString(output.ContentType),
24244
+ S3Uri: __expectString(output.S3Uri),
24245
+ };
24246
+ };
23018
24247
  var deserializeAws_json1_1FileSystemConfig = function (output, context) {
23019
24248
  return {
23020
24249
  DefaultGid: __expectInt32(output.DefaultGid),
@@ -23113,6 +24342,12 @@ var deserializeAws_json1_1GetDeviceFleetReportResponse = function (output, conte
23113
24342
  : undefined,
23114
24343
  };
23115
24344
  };
24345
+ var deserializeAws_json1_1GetLineageGroupPolicyResponse = function (output, context) {
24346
+ return {
24347
+ LineageGroupArn: __expectString(output.LineageGroupArn),
24348
+ ResourcePolicy: __expectString(output.ResourcePolicy),
24349
+ };
24350
+ };
23116
24351
  var deserializeAws_json1_1GetModelPackageGroupPolicyOutput = function (output, context) {
23117
24352
  return {
23118
24353
  ResourcePolicy: __expectString(output.ResourcePolicy),
@@ -23510,6 +24745,59 @@ var deserializeAws_json1_1InferenceExecutionConfig = function (output, context)
23510
24745
  Mode: __expectString(output.Mode),
23511
24746
  };
23512
24747
  };
24748
+ var deserializeAws_json1_1InferenceRecommendation = function (output, context) {
24749
+ return {
24750
+ EndpointConfiguration: output.EndpointConfiguration !== undefined && output.EndpointConfiguration !== null
24751
+ ? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
24752
+ : undefined,
24753
+ Metrics: output.Metrics !== undefined && output.Metrics !== null
24754
+ ? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context)
24755
+ : undefined,
24756
+ ModelConfiguration: output.ModelConfiguration !== undefined && output.ModelConfiguration !== null
24757
+ ? deserializeAws_json1_1ModelConfiguration(output.ModelConfiguration, context)
24758
+ : undefined,
24759
+ };
24760
+ };
24761
+ var deserializeAws_json1_1InferenceRecommendations = function (output, context) {
24762
+ return (output || [])
24763
+ .filter(function (e) { return e != null; })
24764
+ .map(function (entry) {
24765
+ if (entry === null) {
24766
+ return null;
24767
+ }
24768
+ return deserializeAws_json1_1InferenceRecommendation(entry, context);
24769
+ });
24770
+ };
24771
+ var deserializeAws_json1_1InferenceRecommendationsJob = function (output, context) {
24772
+ return {
24773
+ CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
24774
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
24775
+ : undefined,
24776
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
24777
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24778
+ : undefined,
24779
+ FailureReason: __expectString(output.FailureReason),
24780
+ JobArn: __expectString(output.JobArn),
24781
+ JobDescription: __expectString(output.JobDescription),
24782
+ JobName: __expectString(output.JobName),
24783
+ JobType: __expectString(output.JobType),
24784
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
24785
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24786
+ : undefined,
24787
+ RoleArn: __expectString(output.RoleArn),
24788
+ Status: __expectString(output.Status),
24789
+ };
24790
+ };
24791
+ var deserializeAws_json1_1InferenceRecommendationsJobs = function (output, context) {
24792
+ return (output || [])
24793
+ .filter(function (e) { return e != null; })
24794
+ .map(function (entry) {
24795
+ if (entry === null) {
24796
+ return null;
24797
+ }
24798
+ return deserializeAws_json1_1InferenceRecommendationsJob(entry, context);
24799
+ });
24800
+ };
23513
24801
  var deserializeAws_json1_1InferenceSpecification = function (output, context) {
23514
24802
  return {
23515
24803
  Containers: output.Containers !== undefined && output.Containers !== null
@@ -23815,6 +25103,29 @@ var deserializeAws_json1_1LineageEntityParameters = function (output, context) {
23815
25103
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
23816
25104
  }, {});
23817
25105
  };
25106
+ var deserializeAws_json1_1LineageGroupSummaries = function (output, context) {
25107
+ return (output || [])
25108
+ .filter(function (e) { return e != null; })
25109
+ .map(function (entry) {
25110
+ if (entry === null) {
25111
+ return null;
25112
+ }
25113
+ return deserializeAws_json1_1LineageGroupSummary(entry, context);
25114
+ });
25115
+ };
25116
+ var deserializeAws_json1_1LineageGroupSummary = function (output, context) {
25117
+ return {
25118
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
25119
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
25120
+ : undefined,
25121
+ DisplayName: __expectString(output.DisplayName),
25122
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
25123
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
25124
+ : undefined,
25125
+ LineageGroupArn: __expectString(output.LineageGroupArn),
25126
+ LineageGroupName: __expectString(output.LineageGroupName),
25127
+ };
25128
+ };
23818
25129
  var deserializeAws_json1_1ListActionsResponse = function (output, context) {
23819
25130
  return {
23820
25131
  ActionSummaries: output.ActionSummaries !== undefined && output.ActionSummaries !== null
@@ -24015,6 +25326,14 @@ var deserializeAws_json1_1ListImageVersionsResponse = function (output, context)
24015
25326
  NextToken: __expectString(output.NextToken),
24016
25327
  };
24017
25328
  };
25329
+ var deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = function (output, context) {
25330
+ return {
25331
+ InferenceRecommendationsJobs: output.InferenceRecommendationsJobs !== undefined && output.InferenceRecommendationsJobs !== null
25332
+ ? deserializeAws_json1_1InferenceRecommendationsJobs(output.InferenceRecommendationsJobs, context)
25333
+ : undefined,
25334
+ NextToken: __expectString(output.NextToken),
25335
+ };
25336
+ };
24018
25337
  var deserializeAws_json1_1ListLabelingJobsForWorkteamResponse = function (output, context) {
24019
25338
  return {
24020
25339
  LabelingJobSummaryList: output.LabelingJobSummaryList !== undefined && output.LabelingJobSummaryList !== null
@@ -24031,6 +25350,14 @@ var deserializeAws_json1_1ListLabelingJobsResponse = function (output, context)
24031
25350
  NextToken: __expectString(output.NextToken),
24032
25351
  };
24033
25352
  };
25353
+ var deserializeAws_json1_1ListLineageGroupsResponse = function (output, context) {
25354
+ return {
25355
+ LineageGroupSummaries: output.LineageGroupSummaries !== undefined && output.LineageGroupSummaries !== null
25356
+ ? deserializeAws_json1_1LineageGroupSummaries(output.LineageGroupSummaries, context)
25357
+ : undefined,
25358
+ NextToken: __expectString(output.NextToken),
25359
+ };
25360
+ };
24034
25361
  var deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = function (output, context) {
24035
25362
  return {
24036
25363
  JobDefinitionSummaries: output.JobDefinitionSummaries !== undefined && output.JobDefinitionSummaries !== null
@@ -24047,6 +25374,14 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = functi
24047
25374
  NextToken: __expectString(output.NextToken),
24048
25375
  };
24049
25376
  };
25377
+ var deserializeAws_json1_1ListModelMetadataResponse = function (output, context) {
25378
+ return {
25379
+ ModelMetadataSummaries: output.ModelMetadataSummaries !== undefined && output.ModelMetadataSummaries !== null
25380
+ ? deserializeAws_json1_1ModelMetadataSummaries(output.ModelMetadataSummaries, context)
25381
+ : undefined,
25382
+ NextToken: __expectString(output.NextToken),
25383
+ };
25384
+ };
24050
25385
  var deserializeAws_json1_1ListModelPackageGroupsOutput = function (output, context) {
24051
25386
  return {
24052
25387
  ModelPackageGroupSummaryList: output.ModelPackageGroupSummaryList !== undefined && output.ModelPackageGroupSummaryList !== null
@@ -24362,6 +25697,14 @@ var deserializeAws_json1_1ModelClientConfig = function (output, context) {
24362
25697
  InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
24363
25698
  };
24364
25699
  };
25700
+ var deserializeAws_json1_1ModelConfiguration = function (output, context) {
25701
+ return {
25702
+ EnvironmentParameters: output.EnvironmentParameters !== undefined && output.EnvironmentParameters !== null
25703
+ ? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
25704
+ : undefined,
25705
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
25706
+ };
25707
+ };
24365
25708
  var deserializeAws_json1_1ModelDataQuality = function (output, context) {
24366
25709
  return {
24367
25710
  Constraints: output.Constraints !== undefined && output.Constraints !== null
@@ -24412,6 +25755,46 @@ var deserializeAws_json1_1ModelExplainabilityJobInput = function (output, contex
24412
25755
  : undefined,
24413
25756
  };
24414
25757
  };
25758
+ var deserializeAws_json1_1ModelInput = function (output, context) {
25759
+ return {
25760
+ DataInputConfig: __expectString(output.DataInputConfig),
25761
+ };
25762
+ };
25763
+ var deserializeAws_json1_1ModelLatencyThreshold = function (output, context) {
25764
+ return {
25765
+ Percentile: __expectString(output.Percentile),
25766
+ ValueInMilliseconds: __expectInt32(output.ValueInMilliseconds),
25767
+ };
25768
+ };
25769
+ var deserializeAws_json1_1ModelLatencyThresholds = function (output, context) {
25770
+ return (output || [])
25771
+ .filter(function (e) { return e != null; })
25772
+ .map(function (entry) {
25773
+ if (entry === null) {
25774
+ return null;
25775
+ }
25776
+ return deserializeAws_json1_1ModelLatencyThreshold(entry, context);
25777
+ });
25778
+ };
25779
+ var deserializeAws_json1_1ModelMetadataSummaries = function (output, context) {
25780
+ return (output || [])
25781
+ .filter(function (e) { return e != null; })
25782
+ .map(function (entry) {
25783
+ if (entry === null) {
25784
+ return null;
25785
+ }
25786
+ return deserializeAws_json1_1ModelMetadataSummary(entry, context);
25787
+ });
25788
+ };
25789
+ var deserializeAws_json1_1ModelMetadataSummary = function (output, context) {
25790
+ return {
25791
+ Domain: __expectString(output.Domain),
25792
+ Framework: __expectString(output.Framework),
25793
+ FrameworkVersion: __expectString(output.FrameworkVersion),
25794
+ Model: __expectString(output.Model),
25795
+ Task: __expectString(output.Task),
25796
+ };
25797
+ };
24415
25798
  var deserializeAws_json1_1ModelMetrics = function (output, context) {
24416
25799
  return {
24417
25800
  Bias: output.Bias !== undefined && output.Bias !== null ? deserializeAws_json1_1Bias(output.Bias, context) : undefined,
@@ -24428,6 +25811,9 @@ var deserializeAws_json1_1ModelMetrics = function (output, context) {
24428
25811
  };
24429
25812
  var deserializeAws_json1_1ModelPackage = function (output, context) {
24430
25813
  return {
25814
+ AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
25815
+ ? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
25816
+ : undefined,
24431
25817
  ApprovalDescription: __expectString(output.ApprovalDescription),
24432
25818
  CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
24433
25819
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -24439,6 +25825,10 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
24439
25825
  CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
24440
25826
  ? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
24441
25827
  : undefined,
25828
+ Domain: __expectString(output.Domain),
25829
+ DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
25830
+ ? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
25831
+ : undefined,
24442
25832
  InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
24443
25833
  ? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
24444
25834
  : undefined,
@@ -24464,12 +25854,14 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
24464
25854
  ? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
24465
25855
  : undefined,
24466
25856
  ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
25857
+ SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
24467
25858
  SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
24468
25859
  ? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
24469
25860
  : undefined,
24470
25861
  Tags: output.Tags !== undefined && output.Tags !== null
24471
25862
  ? deserializeAws_json1_1TagList(output.Tags, context)
24472
25863
  : undefined,
25864
+ Task: __expectString(output.Task),
24473
25865
  ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
24474
25866
  ? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
24475
25867
  : undefined,
@@ -24481,9 +25873,15 @@ var deserializeAws_json1_1ModelPackageContainerDefinition = function (output, co
24481
25873
  Environment: output.Environment !== undefined && output.Environment !== null
24482
25874
  ? deserializeAws_json1_1EnvironmentMap(output.Environment, context)
24483
25875
  : undefined,
25876
+ Framework: __expectString(output.Framework),
25877
+ FrameworkVersion: __expectString(output.FrameworkVersion),
24484
25878
  Image: __expectString(output.Image),
24485
25879
  ImageDigest: __expectString(output.ImageDigest),
24486
25880
  ModelDataUrl: __expectString(output.ModelDataUrl),
25881
+ ModelInput: output.ModelInput !== undefined && output.ModelInput !== null
25882
+ ? deserializeAws_json1_1ModelInput(output.ModelInput, context)
25883
+ : undefined,
25884
+ NearestModelName: __expectString(output.NearestModelName),
24487
25885
  ProductId: __expectString(output.ProductId),
24488
25886
  };
24489
25887
  };
@@ -25194,6 +26592,11 @@ var deserializeAws_json1_1OutputParameterList = function (output, context) {
25194
26592
  return deserializeAws_json1_1OutputParameter(entry, context);
25195
26593
  });
25196
26594
  };
26595
+ var deserializeAws_json1_1ParallelismConfiguration = function (output, context) {
26596
+ return {
26597
+ MaxParallelExecutionSteps: __expectInt32(output.MaxParallelExecutionSteps),
26598
+ };
26599
+ };
25197
26600
  var deserializeAws_json1_1Parameter = function (output, context) {
25198
26601
  return {
25199
26602
  Name: __expectString(output.Name),
@@ -25294,11 +26697,17 @@ var deserializeAws_json1_1PendingProductionVariantSummary = function (output, co
25294
26697
  return {
25295
26698
  AcceleratorType: __expectString(output.AcceleratorType),
25296
26699
  CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
26700
+ CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
26701
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
26702
+ : undefined,
25297
26703
  CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
25298
26704
  DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
25299
26705
  ? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
25300
26706
  : undefined,
25301
26707
  DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
26708
+ DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
26709
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
26710
+ : undefined,
25302
26711
  DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
25303
26712
  InstanceType: __expectString(output.InstanceType),
25304
26713
  VariantName: __expectString(output.VariantName),
@@ -25317,6 +26726,23 @@ var deserializeAws_json1_1PendingProductionVariantSummaryList = function (output
25317
26726
  return deserializeAws_json1_1PendingProductionVariantSummary(entry, context);
25318
26727
  });
25319
26728
  };
26729
+ var deserializeAws_json1_1Phase = function (output, context) {
26730
+ return {
26731
+ DurationInSeconds: __expectInt32(output.DurationInSeconds),
26732
+ InitialNumberOfUsers: __expectInt32(output.InitialNumberOfUsers),
26733
+ SpawnRate: __expectInt32(output.SpawnRate),
26734
+ };
26735
+ };
26736
+ var deserializeAws_json1_1Phases = function (output, context) {
26737
+ return (output || [])
26738
+ .filter(function (e) { return e != null; })
26739
+ .map(function (entry) {
26740
+ if (entry === null) {
26741
+ return null;
26742
+ }
26743
+ return deserializeAws_json1_1Phase(entry, context);
26744
+ });
26745
+ };
25320
26746
  var deserializeAws_json1_1Pipeline = function (output, context) {
25321
26747
  return {
25322
26748
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -25334,6 +26760,9 @@ var deserializeAws_json1_1Pipeline = function (output, context) {
25334
26760
  LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
25335
26761
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRunTime)))
25336
26762
  : undefined,
26763
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
26764
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
26765
+ : undefined,
25337
26766
  PipelineArn: __expectString(output.PipelineArn),
25338
26767
  PipelineDescription: __expectString(output.PipelineDescription),
25339
26768
  PipelineDisplayName: __expectString(output.PipelineDisplayName),
@@ -25360,6 +26789,9 @@ var deserializeAws_json1_1PipelineExecution = function (output, context) {
25360
26789
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
25361
26790
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
25362
26791
  : undefined,
26792
+ ParallelismConfiguration: output.ParallelismConfiguration !== undefined && output.ParallelismConfiguration !== null
26793
+ ? deserializeAws_json1_1ParallelismConfiguration(output.ParallelismConfiguration, context)
26794
+ : undefined,
25363
26795
  PipelineArn: __expectString(output.PipelineArn),
25364
26796
  PipelineExecutionArn: __expectString(output.PipelineExecutionArn),
25365
26797
  PipelineExecutionDescription: __expectString(output.PipelineExecutionDescription),
@@ -25375,6 +26807,7 @@ var deserializeAws_json1_1PipelineExecution = function (output, context) {
25375
26807
  };
25376
26808
  var deserializeAws_json1_1PipelineExecutionStep = function (output, context) {
25377
26809
  return {
26810
+ AttemptCount: __expectInt32(output.AttemptCount),
25378
26811
  CacheHitResult: output.CacheHitResult !== undefined && output.CacheHitResult !== null
25379
26812
  ? deserializeAws_json1_1CacheHitResult(output.CacheHitResult, context)
25380
26813
  : undefined,
@@ -25388,6 +26821,8 @@ var deserializeAws_json1_1PipelineExecutionStep = function (output, context) {
25388
26821
  StartTime: output.StartTime !== undefined && output.StartTime !== null
25389
26822
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
25390
26823
  : undefined,
26824
+ StepDescription: __expectString(output.StepDescription),
26825
+ StepDisplayName: __expectString(output.StepDisplayName),
25391
26826
  StepName: __expectString(output.StepName),
25392
26827
  StepStatus: __expectString(output.StepStatus),
25393
26828
  };
@@ -25407,9 +26842,15 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
25407
26842
  Callback: output.Callback !== undefined && output.Callback !== null
25408
26843
  ? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context)
25409
26844
  : undefined,
26845
+ ClarifyCheck: output.ClarifyCheck !== undefined && output.ClarifyCheck !== null
26846
+ ? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
26847
+ : undefined,
25410
26848
  Condition: output.Condition !== undefined && output.Condition !== null
25411
26849
  ? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
25412
26850
  : undefined,
26851
+ EMR: output.EMR !== undefined && output.EMR !== null
26852
+ ? deserializeAws_json1_1EMRStepMetadata(output.EMR, context)
26853
+ : undefined,
25413
26854
  Lambda: output.Lambda !== undefined && output.Lambda !== null
25414
26855
  ? deserializeAws_json1_1LambdaStepMetadata(output.Lambda, context)
25415
26856
  : undefined,
@@ -25419,6 +26860,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
25419
26860
  ProcessingJob: output.ProcessingJob !== undefined && output.ProcessingJob !== null
25420
26861
  ? deserializeAws_json1_1ProcessingJobStepMetadata(output.ProcessingJob, context)
25421
26862
  : undefined,
26863
+ QualityCheck: output.QualityCheck !== undefined && output.QualityCheck !== null
26864
+ ? deserializeAws_json1_1QualityCheckStepMetadata(output.QualityCheck, context)
26865
+ : undefined,
25422
26866
  RegisterModel: output.RegisterModel !== undefined && output.RegisterModel !== null
25423
26867
  ? deserializeAws_json1_1RegisterModelStepMetadata(output.RegisterModel, context)
25424
26868
  : undefined,
@@ -25687,6 +27131,9 @@ var deserializeAws_json1_1ProductionVariant = function (output, context) {
25687
27131
  InitialVariantWeight: __limitedParseFloat32(output.InitialVariantWeight),
25688
27132
  InstanceType: __expectString(output.InstanceType),
25689
27133
  ModelName: __expectString(output.ModelName),
27134
+ ServerlessConfig: output.ServerlessConfig !== undefined && output.ServerlessConfig !== null
27135
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.ServerlessConfig, context)
27136
+ : undefined,
25690
27137
  VariantName: __expectString(output.VariantName),
25691
27138
  };
25692
27139
  };
@@ -25706,6 +27153,12 @@ var deserializeAws_json1_1ProductionVariantList = function (output, context) {
25706
27153
  return deserializeAws_json1_1ProductionVariant(entry, context);
25707
27154
  });
25708
27155
  };
27156
+ var deserializeAws_json1_1ProductionVariantServerlessConfig = function (output, context) {
27157
+ return {
27158
+ MaxConcurrency: __expectInt32(output.MaxConcurrency),
27159
+ MemorySizeInMB: __expectInt32(output.MemorySizeInMB),
27160
+ };
27161
+ };
25709
27162
  var deserializeAws_json1_1ProductionVariantStatus = function (output, context) {
25710
27163
  return {
25711
27164
  StartTime: output.StartTime !== undefined && output.StartTime !== null
@@ -25728,11 +27181,17 @@ var deserializeAws_json1_1ProductionVariantStatusList = function (output, contex
25728
27181
  var deserializeAws_json1_1ProductionVariantSummary = function (output, context) {
25729
27182
  return {
25730
27183
  CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
27184
+ CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
27185
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
27186
+ : undefined,
25731
27187
  CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
25732
27188
  DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
25733
27189
  ? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
25734
27190
  : undefined,
25735
27191
  DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
27192
+ DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
27193
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
27194
+ : undefined,
25736
27195
  DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
25737
27196
  VariantName: __expectString(output.VariantName),
25738
27197
  VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
@@ -25919,6 +27378,31 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyOutput = function (output, c
25919
27378
  ModelPackageGroupArn: __expectString(output.ModelPackageGroupArn),
25920
27379
  };
25921
27380
  };
27381
+ var deserializeAws_json1_1QualityCheckStepMetadata = function (output, context) {
27382
+ return {
27383
+ BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
27384
+ BaselineUsedForDriftCheckStatistics: __expectString(output.BaselineUsedForDriftCheckStatistics),
27385
+ CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
27386
+ CalculatedBaselineStatistics: __expectString(output.CalculatedBaselineStatistics),
27387
+ CheckJobArn: __expectString(output.CheckJobArn),
27388
+ CheckType: __expectString(output.CheckType),
27389
+ ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
27390
+ RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
27391
+ SkipCheck: __expectBoolean(output.SkipCheck),
27392
+ ViolationReport: __expectString(output.ViolationReport),
27393
+ };
27394
+ };
27395
+ var deserializeAws_json1_1QueryLineageResponse = function (output, context) {
27396
+ return {
27397
+ Edges: output.Edges !== undefined && output.Edges !== null
27398
+ ? deserializeAws_json1_1Edges(output.Edges, context)
27399
+ : undefined,
27400
+ NextToken: __expectString(output.NextToken),
27401
+ Vertices: output.Vertices !== undefined && output.Vertices !== null
27402
+ ? deserializeAws_json1_1Vertices(output.Vertices, context)
27403
+ : undefined,
27404
+ };
27405
+ };
25922
27406
  var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, context) {
25923
27407
  return (output || [])
25924
27408
  .filter(function (e) { return e != null; })
@@ -25929,6 +27413,43 @@ var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, con
25929
27413
  return __expectString(entry);
25930
27414
  });
25931
27415
  };
27416
+ var deserializeAws_json1_1RecommendationJobInputConfig = function (output, context) {
27417
+ return {
27418
+ EndpointConfigurations: output.EndpointConfigurations !== undefined && output.EndpointConfigurations !== null
27419
+ ? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
27420
+ : undefined,
27421
+ JobDurationInSeconds: __expectInt32(output.JobDurationInSeconds),
27422
+ ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
27423
+ ResourceLimit: output.ResourceLimit !== undefined && output.ResourceLimit !== null
27424
+ ? deserializeAws_json1_1RecommendationJobResourceLimit(output.ResourceLimit, context)
27425
+ : undefined,
27426
+ TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
27427
+ ? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
27428
+ : undefined,
27429
+ };
27430
+ };
27431
+ var deserializeAws_json1_1RecommendationJobResourceLimit = function (output, context) {
27432
+ return {
27433
+ MaxNumberOfTests: __expectInt32(output.MaxNumberOfTests),
27434
+ MaxParallelOfTests: __expectInt32(output.MaxParallelOfTests),
27435
+ };
27436
+ };
27437
+ var deserializeAws_json1_1RecommendationJobStoppingConditions = function (output, context) {
27438
+ return {
27439
+ MaxInvocations: __expectInt32(output.MaxInvocations),
27440
+ ModelLatencyThresholds: output.ModelLatencyThresholds !== undefined && output.ModelLatencyThresholds !== null
27441
+ ? deserializeAws_json1_1ModelLatencyThresholds(output.ModelLatencyThresholds, context)
27442
+ : undefined,
27443
+ };
27444
+ };
27445
+ var deserializeAws_json1_1RecommendationMetrics = function (output, context) {
27446
+ return {
27447
+ CostPerHour: __limitedParseFloat32(output.CostPerHour),
27448
+ CostPerInference: __limitedParseFloat32(output.CostPerInference),
27449
+ MaxInvocations: __expectInt32(output.MaxInvocations),
27450
+ ModelLatency: __expectInt32(output.ModelLatency),
27451
+ };
27452
+ };
25932
27453
  var deserializeAws_json1_1RedshiftDatasetDefinition = function (output, context) {
25933
27454
  return {
25934
27455
  ClusterId: __expectString(output.ClusterId),
@@ -26364,6 +27885,14 @@ var deserializeAws_json1_1TensorBoardOutputConfig = function (output, context) {
26364
27885
  S3OutputPath: __expectString(output.S3OutputPath),
26365
27886
  };
26366
27887
  };
27888
+ var deserializeAws_json1_1TrafficPattern = function (output, context) {
27889
+ return {
27890
+ Phases: output.Phases !== undefined && output.Phases !== null
27891
+ ? deserializeAws_json1_1Phases(output.Phases, context)
27892
+ : undefined,
27893
+ TrafficType: __expectString(output.TrafficType),
27894
+ };
27895
+ };
26367
27896
  var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
26368
27897
  return {
26369
27898
  CanarySize: output.CanarySize !== undefined && output.CanarySize !== null
@@ -26774,6 +28303,7 @@ var deserializeAws_json1_1TrialComponent = function (output, context) {
26774
28303
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
26775
28304
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
26776
28305
  : undefined,
28306
+ LineageGroupArn: __expectString(output.LineageGroupArn),
26777
28307
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
26778
28308
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
26779
28309
  : undefined,
@@ -27192,6 +28722,23 @@ var deserializeAws_json1_1UserSettings = function (output, context) {
27192
28722
  : undefined,
27193
28723
  };
27194
28724
  };
28725
+ var deserializeAws_json1_1Vertex = function (output, context) {
28726
+ return {
28727
+ Arn: __expectString(output.Arn),
28728
+ LineageType: __expectString(output.LineageType),
28729
+ Type: __expectString(output.Type),
28730
+ };
28731
+ };
28732
+ var deserializeAws_json1_1Vertices = function (output, context) {
28733
+ return (output || [])
28734
+ .filter(function (e) { return e != null; })
28735
+ .map(function (entry) {
28736
+ if (entry === null) {
28737
+ return null;
28738
+ }
28739
+ return deserializeAws_json1_1Vertex(entry, context);
28740
+ });
28741
+ };
27195
28742
  var deserializeAws_json1_1VpcConfig = function (output, context) {
27196
28743
  return {
27197
28744
  SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null