@aws-sdk/client-sagemaker 3.43.0 → 3.44.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 (200) hide show
  1. package/CHANGELOG.md +11 -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 +2 -1
  7. package/dist-cjs/commands/DescribeModelExplainabilityJobDefinitionCommand.js +3 -3
  8. package/dist-cjs/commands/DescribeModelPackageCommand.js +3 -3
  9. package/dist-cjs/commands/DescribeModelPackageGroupCommand.js +3 -3
  10. package/dist-cjs/commands/DescribeModelQualityJobDefinitionCommand.js +3 -3
  11. package/dist-cjs/commands/DescribeMonitoringScheduleCommand.js +3 -3
  12. package/dist-cjs/commands/DescribeNotebookInstanceCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +3 -3
  14. package/dist-cjs/commands/DescribePipelineCommand.js +3 -3
  15. package/dist-cjs/commands/DescribePipelineDefinitionForExecutionCommand.js +3 -3
  16. package/dist-cjs/commands/DescribePipelineExecutionCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeProcessingJobCommand.js +1 -2
  18. package/dist-cjs/commands/GetLineageGroupPolicyCommand.js +36 -0
  19. package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +36 -0
  20. package/dist-cjs/commands/ListLineageGroupsCommand.js +36 -0
  21. package/dist-cjs/commands/ListModelMetadataCommand.js +36 -0
  22. package/dist-cjs/commands/ListTransformJobsCommand.js +2 -1
  23. package/dist-cjs/commands/ListTrialComponentsCommand.js +3 -3
  24. package/dist-cjs/commands/ListTrialsCommand.js +3 -3
  25. package/dist-cjs/commands/ListUserProfilesCommand.js +3 -3
  26. package/dist-cjs/commands/ListWorkforcesCommand.js +3 -3
  27. package/dist-cjs/commands/ListWorkteamsCommand.js +3 -3
  28. package/dist-cjs/commands/PutModelPackageGroupPolicyCommand.js +3 -3
  29. package/dist-cjs/commands/QueryLineageCommand.js +36 -0
  30. package/dist-cjs/commands/RegisterDevicesCommand.js +2 -2
  31. package/dist-cjs/commands/RenderUiTemplateCommand.js +3 -3
  32. package/dist-cjs/commands/RetryPipelineExecutionCommand.js +3 -3
  33. package/dist-cjs/commands/SearchCommand.js +1 -2
  34. package/dist-cjs/commands/SendPipelineExecutionStepFailureCommand.js +3 -3
  35. package/dist-cjs/commands/SendPipelineExecutionStepSuccessCommand.js +3 -3
  36. package/dist-cjs/commands/StartMonitoringScheduleCommand.js +2 -2
  37. package/dist-cjs/commands/StartNotebookInstanceCommand.js +2 -2
  38. package/dist-cjs/commands/StartPipelineExecutionCommand.js +1 -2
  39. package/dist-cjs/commands/StopInferenceRecommendationsJobCommand.js +36 -0
  40. package/dist-cjs/commands/index.js +9 -0
  41. package/dist-cjs/models/models_0.js +150 -150
  42. package/dist-cjs/models/models_1.js +204 -217
  43. package/dist-cjs/models/models_2.js +338 -326
  44. package/dist-cjs/models/models_3.js +353 -2
  45. package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListLineageGroupsPaginator.js +35 -0
  47. package/dist-cjs/pagination/ListModelMetadataPaginator.js +35 -0
  48. package/dist-cjs/pagination/QueryLineagePaginator.js +35 -0
  49. package/dist-cjs/pagination/index.js +4 -0
  50. package/dist-cjs/protocols/Aws_json1_1.js +1583 -35
  51. package/dist-es/SageMaker.js +135 -0
  52. package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +39 -0
  53. package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +39 -0
  54. package/dist-es/commands/DescribeLineageGroupCommand.js +39 -0
  55. package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +2 -1
  56. package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +1 -1
  57. package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
  58. package/dist-es/commands/DescribeModelPackageGroupCommand.js +1 -1
  59. package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +1 -1
  60. package/dist-es/commands/DescribeMonitoringScheduleCommand.js +1 -1
  61. package/dist-es/commands/DescribeNotebookInstanceCommand.js +1 -1
  62. package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +1 -1
  63. package/dist-es/commands/DescribePipelineCommand.js +1 -1
  64. package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +1 -1
  65. package/dist-es/commands/DescribePipelineExecutionCommand.js +1 -1
  66. package/dist-es/commands/DescribeProcessingJobCommand.js +1 -2
  67. package/dist-es/commands/GetLineageGroupPolicyCommand.js +39 -0
  68. package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +39 -0
  69. package/dist-es/commands/ListLineageGroupsCommand.js +39 -0
  70. package/dist-es/commands/ListModelMetadataCommand.js +39 -0
  71. package/dist-es/commands/ListTransformJobsCommand.js +2 -1
  72. package/dist-es/commands/ListTrialComponentsCommand.js +1 -1
  73. package/dist-es/commands/ListTrialsCommand.js +1 -1
  74. package/dist-es/commands/ListUserProfilesCommand.js +1 -1
  75. package/dist-es/commands/ListWorkforcesCommand.js +1 -1
  76. package/dist-es/commands/ListWorkteamsCommand.js +1 -1
  77. package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +1 -1
  78. package/dist-es/commands/QueryLineageCommand.js +39 -0
  79. package/dist-es/commands/RegisterDevicesCommand.js +1 -1
  80. package/dist-es/commands/RenderUiTemplateCommand.js +1 -1
  81. package/dist-es/commands/RetryPipelineExecutionCommand.js +1 -1
  82. package/dist-es/commands/SearchCommand.js +1 -2
  83. package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +1 -1
  84. package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +1 -1
  85. package/dist-es/commands/StartMonitoringScheduleCommand.js +1 -1
  86. package/dist-es/commands/StartNotebookInstanceCommand.js +1 -1
  87. package/dist-es/commands/StartPipelineExecutionCommand.js +1 -2
  88. package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +39 -0
  89. package/dist-es/commands/index.js +9 -0
  90. package/dist-es/models/models_0.js +132 -132
  91. package/dist-es/models/models_1.js +138 -159
  92. package/dist-es/models/models_2.js +250 -224
  93. package/dist-es/models/models_3.js +244 -0
  94. package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +74 -0
  95. package/dist-es/pagination/ListLineageGroupsPaginator.js +74 -0
  96. package/dist-es/pagination/ListModelMetadataPaginator.js +74 -0
  97. package/dist-es/pagination/QueryLineagePaginator.js +74 -0
  98. package/dist-es/pagination/index.js +4 -0
  99. package/dist-es/protocols/Aws_json1_1.js +1519 -32
  100. package/dist-types/SageMaker.d.ts +72 -0
  101. package/dist-types/SageMakerClient.d.ts +11 -2
  102. package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +36 -0
  103. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +36 -0
  104. package/dist-types/commands/DescribeLineageGroupCommand.d.ts +37 -0
  105. package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
  106. package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  107. package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
  108. package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
  109. package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
  110. package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  113. package/dist-types/commands/DescribePipelineCommand.d.ts +1 -1
  114. package/dist-types/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
  115. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  116. package/dist-types/commands/DescribeProcessingJobCommand.d.ts +1 -2
  117. package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +35 -0
  118. package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +35 -0
  119. package/dist-types/commands/ListLineageGroupsCommand.d.ts +37 -0
  120. package/dist-types/commands/ListModelMetadataCommand.d.ts +36 -0
  121. package/dist-types/commands/ListTransformJobsCommand.d.ts +2 -1
  122. package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
  123. package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
  124. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  125. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
  126. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
  127. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  128. package/dist-types/commands/QueryLineageCommand.d.ts +37 -0
  129. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  130. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  131. package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  132. package/dist-types/commands/SearchCommand.d.ts +1 -2
  133. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
  134. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  135. package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
  136. package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
  137. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
  138. package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +35 -0
  139. package/dist-types/commands/index.d.ts +9 -0
  140. package/dist-types/models/models_0.d.ts +366 -1962
  141. package/dist-types/models/models_1.d.ts +6604 -5056
  142. package/dist-types/models/models_2.d.ts +5468 -6135
  143. package/dist-types/models/models_3.d.ts +2350 -3
  144. package/dist-types/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
  145. package/dist-types/pagination/ListLineageGroupsPaginator.d.ts +4 -0
  146. package/dist-types/pagination/ListModelMetadataPaginator.d.ts +4 -0
  147. package/dist-types/pagination/QueryLineagePaginator.d.ts +4 -0
  148. package/dist-types/pagination/index.d.ts +4 -0
  149. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  150. package/dist-types/ts3.4/SageMaker.d.ts +45 -0
  151. package/dist-types/ts3.4/SageMakerClient.d.ts +11 -2
  152. package/dist-types/ts3.4/commands/CreateInferenceRecommendationsJobCommand.d.ts +17 -0
  153. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +17 -0
  154. package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +17 -0
  155. package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
  156. package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/DescribePipelineCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +1 -2
  167. package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +2 -1
  172. package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  180. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
  183. package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
  184. package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
  187. package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
  188. package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  190. package/dist-types/ts3.4/models/models_0.d.ts +223 -201
  191. package/dist-types/ts3.4/models/models_1.d.ts +448 -509
  192. package/dist-types/ts3.4/models/models_2.d.ts +2452 -2632
  193. package/dist-types/ts3.4/models/models_3.d.ts +1048 -3
  194. package/dist-types/ts3.4/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
  195. package/dist-types/ts3.4/pagination/ListLineageGroupsPaginator.d.ts +4 -0
  196. package/dist-types/ts3.4/pagination/ListModelMetadataPaginator.d.ts +4 -0
  197. package/dist-types/ts3.4/pagination/QueryLineagePaginator.d.ts +4 -0
  198. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  199. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +27 -0
  200. package/package.json +1 -1
@@ -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
  };
@@ -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
  }));
@@ -17097,10 +17749,17 @@ var serializeAws_json1_1DescribeImageRequest = function (input, context) {
17097
17749
  var serializeAws_json1_1DescribeImageVersionRequest = function (input, context) {
17098
17750
  return __assign(__assign({}, (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
17099
17751
  };
17752
+ var serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = function (input, context) {
17753
+ return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
17754
+ };
17100
17755
  var serializeAws_json1_1DescribeLabelingJobRequest = function (input, context) {
17101
17756
  return __assign({}, (input.LabelingJobName !== undefined &&
17102
17757
  input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
17103
17758
  };
17759
+ var serializeAws_json1_1DescribeLineageGroupRequest = function (input, context) {
17760
+ return __assign({}, (input.LineageGroupName !== undefined &&
17761
+ input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
17762
+ };
17104
17763
  var serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = function (input, context) {
17105
17764
  return __assign({}, (input.JobDefinitionName !== undefined &&
17106
17765
  input.JobDefinitionName !== null && { JobDefinitionName: input.JobDefinitionName }));
@@ -17258,6 +17917,44 @@ var serializeAws_json1_1DomainSettingsForUpdate = function (input, context) {
17258
17917
  RStudioServerProDomainSettingsForUpdate: serializeAws_json1_1RStudioServerProDomainSettingsForUpdate(input.RStudioServerProDomainSettingsForUpdate, context),
17259
17918
  }));
17260
17919
  };
17920
+ var serializeAws_json1_1DriftCheckBaselines = function (input, context) {
17921
+ return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined &&
17922
+ input.Bias !== null && { Bias: serializeAws_json1_1DriftCheckBias(input.Bias, context) })), (input.Explainability !== undefined &&
17923
+ input.Explainability !== null && {
17924
+ Explainability: serializeAws_json1_1DriftCheckExplainability(input.Explainability, context),
17925
+ })), (input.ModelDataQuality !== undefined &&
17926
+ input.ModelDataQuality !== null && {
17927
+ ModelDataQuality: serializeAws_json1_1DriftCheckModelDataQuality(input.ModelDataQuality, context),
17928
+ })), (input.ModelQuality !== undefined &&
17929
+ input.ModelQuality !== null && {
17930
+ ModelQuality: serializeAws_json1_1DriftCheckModelQuality(input.ModelQuality, context),
17931
+ }));
17932
+ };
17933
+ var serializeAws_json1_1DriftCheckBias = function (input, context) {
17934
+ return __assign(__assign(__assign({}, (input.ConfigFile !== undefined &&
17935
+ input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.PostTrainingConstraints !== undefined &&
17936
+ input.PostTrainingConstraints !== null && {
17937
+ PostTrainingConstraints: serializeAws_json1_1MetricsSource(input.PostTrainingConstraints, context),
17938
+ })), (input.PreTrainingConstraints !== undefined &&
17939
+ input.PreTrainingConstraints !== null && {
17940
+ PreTrainingConstraints: serializeAws_json1_1MetricsSource(input.PreTrainingConstraints, context),
17941
+ }));
17942
+ };
17943
+ var serializeAws_json1_1DriftCheckExplainability = function (input, context) {
17944
+ return __assign(__assign({}, (input.ConfigFile !== undefined &&
17945
+ input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.Constraints !== undefined &&
17946
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }));
17947
+ };
17948
+ var serializeAws_json1_1DriftCheckModelDataQuality = function (input, context) {
17949
+ return __assign(__assign({}, (input.Constraints !== undefined &&
17950
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
17951
+ input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
17952
+ };
17953
+ var serializeAws_json1_1DriftCheckModelQuality = function (input, context) {
17954
+ return __assign(__assign({}, (input.Constraints !== undefined &&
17955
+ input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
17956
+ input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
17957
+ };
17261
17958
  var serializeAws_json1_1EdgeOutputConfig = function (input, context) {
17262
17959
  return __assign(__assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PresetDeploymentConfig !== undefined &&
17263
17960
  input.PresetDeploymentConfig !== null && { PresetDeploymentConfig: input.PresetDeploymentConfig })), (input.PresetDeploymentType !== undefined &&
@@ -17278,6 +17975,23 @@ var serializeAws_json1_1EndpointInput = function (input, context) {
17278
17975
  input.S3DataDistributionType !== null && { S3DataDistributionType: input.S3DataDistributionType })), (input.S3InputMode !== undefined && input.S3InputMode !== null && { S3InputMode: input.S3InputMode })), (input.StartTimeOffset !== undefined &&
17279
17976
  input.StartTimeOffset !== null && { StartTimeOffset: input.StartTimeOffset }));
17280
17977
  };
17978
+ var serializeAws_json1_1EndpointInputConfiguration = function (input, context) {
17979
+ return __assign(__assign(__assign({}, (input.EnvironmentParameterRanges !== undefined &&
17980
+ input.EnvironmentParameterRanges !== null && {
17981
+ EnvironmentParameterRanges: serializeAws_json1_1EnvironmentParameterRanges(input.EnvironmentParameterRanges, context),
17982
+ })), (input.InferenceSpecificationName !== undefined &&
17983
+ input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }));
17984
+ };
17985
+ var serializeAws_json1_1EndpointInputConfigurations = function (input, context) {
17986
+ return input
17987
+ .filter(function (e) { return e != null; })
17988
+ .map(function (entry) {
17989
+ if (entry === null) {
17990
+ return null;
17991
+ }
17992
+ return serializeAws_json1_1EndpointInputConfiguration(entry, context);
17993
+ });
17994
+ };
17281
17995
  var serializeAws_json1_1EnvironmentMap = function (input, context) {
17282
17996
  return Object.entries(input).reduce(function (acc, _a) {
17283
17997
  var _b;
@@ -17288,6 +18002,12 @@ var serializeAws_json1_1EnvironmentMap = function (input, context) {
17288
18002
  return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
17289
18003
  }, {});
17290
18004
  };
18005
+ var serializeAws_json1_1EnvironmentParameterRanges = function (input, context) {
18006
+ return __assign({}, (input.CategoricalParameterRanges !== undefined &&
18007
+ input.CategoricalParameterRanges !== null && {
18008
+ CategoricalParameterRanges: serializeAws_json1_1CategoricalParameters(input.CategoricalParameterRanges, context),
18009
+ }));
18010
+ };
17291
18011
  var serializeAws_json1_1ExperimentConfig = function (input, context) {
17292
18012
  return __assign(__assign(__assign({}, (input.ExperimentName !== undefined &&
17293
18013
  input.ExperimentName !== null && { ExperimentName: input.ExperimentName })), (input.TrialComponentDisplayName !== undefined &&
@@ -17310,6 +18030,9 @@ var serializeAws_json1_1FeatureDefinitions = function (input, context) {
17310
18030
  return serializeAws_json1_1FeatureDefinition(entry, context);
17311
18031
  });
17312
18032
  };
18033
+ var serializeAws_json1_1FileSource = function (input, context) {
18034
+ return __assign(__assign(__assign({}, (input.ContentDigest !== undefined && input.ContentDigest !== null && { ContentDigest: input.ContentDigest })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri }));
18035
+ };
17313
18036
  var serializeAws_json1_1FileSystemConfig = function (input, context) {
17314
18037
  return __assign(__assign(__assign({}, (input.DefaultGid !== undefined && input.DefaultGid !== null && { DefaultGid: input.DefaultGid })), (input.DefaultUid !== undefined && input.DefaultUid !== null && { DefaultUid: input.DefaultUid })), (input.MountPath !== undefined && input.MountPath !== null && { MountPath: input.MountPath }));
17315
18038
  };
@@ -17348,6 +18071,10 @@ var serializeAws_json1_1GetDeviceFleetReportRequest = function (input, context)
17348
18071
  return __assign({}, (input.DeviceFleetName !== undefined &&
17349
18072
  input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName }));
17350
18073
  };
18074
+ var serializeAws_json1_1GetLineageGroupPolicyRequest = function (input, context) {
18075
+ return __assign({}, (input.LineageGroupName !== undefined &&
18076
+ input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
18077
+ };
17351
18078
  var serializeAws_json1_1GetModelPackageGroupPolicyInput = function (input, context) {
17352
18079
  return __assign({}, (input.ModelPackageGroupName !== undefined &&
17353
18080
  input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName }));
@@ -17983,6 +18710,19 @@ var serializeAws_json1_1ListImageVersionsRequest = function (input, context) {
17983
18710
  LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
17984
18711
  })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
17985
18712
  };
18713
+ var serializeAws_json1_1ListInferenceRecommendationsJobsRequest = function (input, context) {
18714
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18715
+ input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
18716
+ input.CreationTimeBefore !== null && {
18717
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
18718
+ })), (input.LastModifiedTimeAfter !== undefined &&
18719
+ input.LastModifiedTimeAfter !== null && {
18720
+ LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
18721
+ })), (input.LastModifiedTimeBefore !== undefined &&
18722
+ input.LastModifiedTimeBefore !== null && {
18723
+ LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
18724
+ })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder })), (input.StatusEquals !== undefined && input.StatusEquals !== null && { StatusEquals: input.StatusEquals }));
18725
+ };
17986
18726
  var serializeAws_json1_1ListLabelingJobsForWorkteamRequest = function (input, context) {
17987
18727
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
17988
18728
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18014,6 +18754,11 @@ var serializeAws_json1_1ListLineageEntityParameterKey = function (input, context
18014
18754
  return entry;
18015
18755
  });
18016
18756
  };
18757
+ var serializeAws_json1_1ListLineageGroupsRequest = function (input, context) {
18758
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
18759
+ input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
18760
+ input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
18761
+ };
18017
18762
  var serializeAws_json1_1ListModelBiasJobDefinitionsRequest = function (input, context) {
18018
18763
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18019
18764
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18028,6 +18773,12 @@ var serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = function
18028
18773
  CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
18029
18774
  })), (input.EndpointName !== undefined && input.EndpointName !== null && { EndpointName: input.EndpointName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
18030
18775
  };
18776
+ var serializeAws_json1_1ListModelMetadataRequest = function (input, context) {
18777
+ return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SearchExpression !== undefined &&
18778
+ input.SearchExpression !== null && {
18779
+ SearchExpression: serializeAws_json1_1ModelMetadataSearchExpression(input.SearchExpression, context),
18780
+ }));
18781
+ };
18031
18782
  var serializeAws_json1_1ListModelPackageGroupsInput = function (input, context) {
18032
18783
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
18033
18784
  input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
@@ -18344,6 +19095,41 @@ var serializeAws_json1_1ModelExplainabilityJobInput = function (input, context)
18344
19095
  EndpointInput: serializeAws_json1_1EndpointInput(input.EndpointInput, context),
18345
19096
  }));
18346
19097
  };
19098
+ var serializeAws_json1_1ModelInput = function (input, context) {
19099
+ return __assign({}, (input.DataInputConfig !== undefined &&
19100
+ input.DataInputConfig !== null && { DataInputConfig: input.DataInputConfig }));
19101
+ };
19102
+ var serializeAws_json1_1ModelLatencyThreshold = function (input, context) {
19103
+ return __assign(__assign({}, (input.Percentile !== undefined && input.Percentile !== null && { Percentile: input.Percentile })), (input.ValueInMilliseconds !== undefined &&
19104
+ input.ValueInMilliseconds !== null && { ValueInMilliseconds: input.ValueInMilliseconds }));
19105
+ };
19106
+ var serializeAws_json1_1ModelLatencyThresholds = function (input, context) {
19107
+ return input
19108
+ .filter(function (e) { return e != null; })
19109
+ .map(function (entry) {
19110
+ if (entry === null) {
19111
+ return null;
19112
+ }
19113
+ return serializeAws_json1_1ModelLatencyThreshold(entry, context);
19114
+ });
19115
+ };
19116
+ var serializeAws_json1_1ModelMetadataFilter = function (input, context) {
19117
+ return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
19118
+ };
19119
+ var serializeAws_json1_1ModelMetadataFilters = function (input, context) {
19120
+ return input
19121
+ .filter(function (e) { return e != null; })
19122
+ .map(function (entry) {
19123
+ if (entry === null) {
19124
+ return null;
19125
+ }
19126
+ return serializeAws_json1_1ModelMetadataFilter(entry, context);
19127
+ });
19128
+ };
19129
+ var serializeAws_json1_1ModelMetadataSearchExpression = function (input, context) {
19130
+ return __assign({}, (input.Filters !== undefined &&
19131
+ input.Filters !== null && { Filters: serializeAws_json1_1ModelMetadataFilters(input.Filters, context) }));
19132
+ };
18347
19133
  var serializeAws_json1_1ModelMetrics = function (input, context) {
18348
19134
  return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined && input.Bias !== null && { Bias: serializeAws_json1_1Bias(input.Bias, context) })), (input.Explainability !== undefined &&
18349
19135
  input.Explainability !== null && {
@@ -18365,9 +19151,12 @@ var serializeAws_json1_1ModelPackageArnList = function (input, context) {
18365
19151
  });
18366
19152
  };
18367
19153
  var serializeAws_json1_1ModelPackageContainerDefinition = function (input, context) {
18368
- return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
19154
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
18369
19155
  input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
18370
- input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.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 }));
19156
+ input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework })), (input.FrameworkVersion !== undefined &&
19157
+ input.FrameworkVersion !== null && { FrameworkVersion: input.FrameworkVersion })), (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelInput !== undefined &&
19158
+ input.ModelInput !== null && { ModelInput: serializeAws_json1_1ModelInput(input.ModelInput, context) })), (input.NearestModelName !== undefined &&
19159
+ input.NearestModelName !== null && { NearestModelName: input.NearestModelName })), (input.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }));
18371
19160
  };
18372
19161
  var serializeAws_json1_1ModelPackageContainerDefinitionList = function (input, context) {
18373
19162
  return input
@@ -18787,6 +19576,21 @@ var serializeAws_json1_1ParentHyperParameterTuningJobs = function (input, contex
18787
19576
  return serializeAws_json1_1ParentHyperParameterTuningJob(entry, context);
18788
19577
  });
18789
19578
  };
19579
+ var serializeAws_json1_1Phase = function (input, context) {
19580
+ return __assign(__assign(__assign({}, (input.DurationInSeconds !== undefined &&
19581
+ input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds })), (input.InitialNumberOfUsers !== undefined &&
19582
+ input.InitialNumberOfUsers !== null && { InitialNumberOfUsers: input.InitialNumberOfUsers })), (input.SpawnRate !== undefined && input.SpawnRate !== null && { SpawnRate: input.SpawnRate }));
19583
+ };
19584
+ var serializeAws_json1_1Phases = function (input, context) {
19585
+ return input
19586
+ .filter(function (e) { return e != null; })
19587
+ .map(function (entry) {
19588
+ if (entry === null) {
19589
+ return null;
19590
+ }
19591
+ return serializeAws_json1_1Phase(entry, context);
19592
+ });
19593
+ };
18790
19594
  var serializeAws_json1_1ProcessingClusterConfig = function (input, context) {
18791
19595
  return __assign(__assign(__assign(__assign({}, (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.VolumeKmsKeyId !== undefined &&
18792
19596
  input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB !== undefined &&
@@ -18863,13 +19667,16 @@ var serializeAws_json1_1ProcessingStoppingCondition = function (input, context)
18863
19667
  input.MaxRuntimeInSeconds !== null && { MaxRuntimeInSeconds: input.MaxRuntimeInSeconds }));
18864
19668
  };
18865
19669
  var serializeAws_json1_1ProductionVariant = function (input, context) {
18866
- return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
19670
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
18867
19671
  input.AcceleratorType !== null && { AcceleratorType: input.AcceleratorType })), (input.CoreDumpConfig !== undefined &&
18868
19672
  input.CoreDumpConfig !== null && {
18869
19673
  CoreDumpConfig: serializeAws_json1_1ProductionVariantCoreDumpConfig(input.CoreDumpConfig, context),
18870
19674
  })), (input.InitialInstanceCount !== undefined &&
18871
19675
  input.InitialInstanceCount !== null && { InitialInstanceCount: input.InitialInstanceCount })), (input.InitialVariantWeight !== undefined &&
18872
- input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
19676
+ input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.ServerlessConfig !== undefined &&
19677
+ input.ServerlessConfig !== null && {
19678
+ ServerlessConfig: serializeAws_json1_1ProductionVariantServerlessConfig(input.ServerlessConfig, context),
19679
+ })), (input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
18873
19680
  };
18874
19681
  var serializeAws_json1_1ProductionVariantCoreDumpConfig = function (input, context) {
18875
19682
  return __assign(__assign({}, (input.DestinationS3Uri !== undefined &&
@@ -18885,6 +19692,11 @@ var serializeAws_json1_1ProductionVariantList = function (input, context) {
18885
19692
  return serializeAws_json1_1ProductionVariant(entry, context);
18886
19693
  });
18887
19694
  };
19695
+ var serializeAws_json1_1ProductionVariantServerlessConfig = function (input, context) {
19696
+ return __assign(__assign({}, (input.MaxConcurrency !== undefined &&
19697
+ input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MemorySizeInMB !== undefined &&
19698
+ input.MemorySizeInMB !== null && { MemorySizeInMB: input.MemorySizeInMB }));
19699
+ };
18888
19700
  var serializeAws_json1_1ProfilerConfig = function (input, context) {
18889
19701
  return __assign(__assign(__assign({}, (input.ProfilingIntervalInMilliseconds !== undefined &&
18890
19702
  input.ProfilingIntervalInMilliseconds !== null && {
@@ -18959,6 +19771,63 @@ var serializeAws_json1_1PutModelPackageGroupPolicyInput = function (input, conte
18959
19771
  input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ResourcePolicy !== undefined &&
18960
19772
  input.ResourcePolicy !== null && { ResourcePolicy: input.ResourcePolicy }));
18961
19773
  };
19774
+ var serializeAws_json1_1QueryFilters = function (input, context) {
19775
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
19776
+ input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
19777
+ input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.LineageTypes !== undefined &&
19778
+ input.LineageTypes !== null && {
19779
+ LineageTypes: serializeAws_json1_1QueryLineageTypes(input.LineageTypes, context),
19780
+ })), (input.ModifiedAfter !== undefined &&
19781
+ input.ModifiedAfter !== null && { ModifiedAfter: Math.round(input.ModifiedAfter.getTime() / 1000) })), (input.ModifiedBefore !== undefined &&
19782
+ input.ModifiedBefore !== null && { ModifiedBefore: Math.round(input.ModifiedBefore.getTime() / 1000) })), (input.Properties !== undefined &&
19783
+ input.Properties !== null && { Properties: serializeAws_json1_1QueryProperties(input.Properties, context) })), (input.Types !== undefined &&
19784
+ input.Types !== null && { Types: serializeAws_json1_1QueryTypes(input.Types, context) }));
19785
+ };
19786
+ var serializeAws_json1_1QueryLineageRequest = function (input, context) {
19787
+ return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Filters !== undefined &&
19788
+ input.Filters !== null && { Filters: serializeAws_json1_1QueryFilters(input.Filters, context) })), (input.IncludeEdges !== undefined && input.IncludeEdges !== null && { IncludeEdges: input.IncludeEdges })), (input.MaxDepth !== undefined && input.MaxDepth !== null && { MaxDepth: input.MaxDepth })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartArns !== undefined &&
19789
+ input.StartArns !== null && { StartArns: serializeAws_json1_1QueryLineageStartArns(input.StartArns, context) }));
19790
+ };
19791
+ var serializeAws_json1_1QueryLineageStartArns = function (input, context) {
19792
+ return input
19793
+ .filter(function (e) { return e != null; })
19794
+ .map(function (entry) {
19795
+ if (entry === null) {
19796
+ return null;
19797
+ }
19798
+ return entry;
19799
+ });
19800
+ };
19801
+ var serializeAws_json1_1QueryLineageTypes = function (input, context) {
19802
+ return input
19803
+ .filter(function (e) { return e != null; })
19804
+ .map(function (entry) {
19805
+ if (entry === null) {
19806
+ return null;
19807
+ }
19808
+ return entry;
19809
+ });
19810
+ };
19811
+ var serializeAws_json1_1QueryProperties = function (input, context) {
19812
+ return Object.entries(input).reduce(function (acc, _a) {
19813
+ var _b;
19814
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
19815
+ if (value === null) {
19816
+ return acc;
19817
+ }
19818
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
19819
+ }, {});
19820
+ };
19821
+ var serializeAws_json1_1QueryTypes = function (input, context) {
19822
+ return input
19823
+ .filter(function (e) { return e != null; })
19824
+ .map(function (entry) {
19825
+ if (entry === null) {
19826
+ return null;
19827
+ }
19828
+ return entry;
19829
+ });
19830
+ };
18962
19831
  var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, context) {
18963
19832
  return input
18964
19833
  .filter(function (e) { return e != null; })
@@ -18969,6 +19838,32 @@ var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, contex
18969
19838
  return entry;
18970
19839
  });
18971
19840
  };
19841
+ var serializeAws_json1_1RecommendationJobInputConfig = function (input, context) {
19842
+ return __assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations !== undefined &&
19843
+ input.EndpointConfigurations !== null && {
19844
+ EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
19845
+ })), (input.JobDurationInSeconds !== undefined &&
19846
+ input.JobDurationInSeconds !== null && { JobDurationInSeconds: input.JobDurationInSeconds })), (input.ModelPackageVersionArn !== undefined &&
19847
+ input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.ResourceLimit !== undefined &&
19848
+ input.ResourceLimit !== null && {
19849
+ ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
19850
+ })), (input.TrafficPattern !== undefined &&
19851
+ input.TrafficPattern !== null && {
19852
+ TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
19853
+ }));
19854
+ };
19855
+ var serializeAws_json1_1RecommendationJobResourceLimit = function (input, context) {
19856
+ return __assign(__assign({}, (input.MaxNumberOfTests !== undefined &&
19857
+ input.MaxNumberOfTests !== null && { MaxNumberOfTests: input.MaxNumberOfTests })), (input.MaxParallelOfTests !== undefined &&
19858
+ input.MaxParallelOfTests !== null && { MaxParallelOfTests: input.MaxParallelOfTests }));
19859
+ };
19860
+ var serializeAws_json1_1RecommendationJobStoppingConditions = function (input, context) {
19861
+ return __assign(__assign({}, (input.MaxInvocations !== undefined &&
19862
+ input.MaxInvocations !== null && { MaxInvocations: input.MaxInvocations })), (input.ModelLatencyThresholds !== undefined &&
19863
+ input.ModelLatencyThresholds !== null && {
19864
+ ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
19865
+ }));
19866
+ };
18972
19867
  var serializeAws_json1_1RedshiftDatasetDefinition = function (input, context) {
18973
19868
  return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.ClusterRoleArn !== undefined &&
18974
19869
  input.ClusterRoleArn !== null && { ClusterRoleArn: input.ClusterRoleArn })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.OutputCompression !== undefined &&
@@ -19207,6 +20102,9 @@ var serializeAws_json1_1StopHyperParameterTuningJobRequest = function (input, co
19207
20102
  return __assign({}, (input.HyperParameterTuningJobName !== undefined &&
19208
20103
  input.HyperParameterTuningJobName !== null && { HyperParameterTuningJobName: input.HyperParameterTuningJobName }));
19209
20104
  };
20105
+ var serializeAws_json1_1StopInferenceRecommendationsJobRequest = function (input, context) {
20106
+ return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
20107
+ };
19210
20108
  var serializeAws_json1_1StopLabelingJobRequest = function (input, context) {
19211
20109
  return __assign({}, (input.LabelingJobName !== undefined &&
19212
20110
  input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
@@ -19302,6 +20200,10 @@ var serializeAws_json1_1TensorBoardAppSettings = function (input, context) {
19302
20200
  var serializeAws_json1_1TensorBoardOutputConfig = function (input, context) {
19303
20201
  return __assign(__assign({}, (input.LocalPath !== undefined && input.LocalPath !== null && { LocalPath: input.LocalPath })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }));
19304
20202
  };
20203
+ var serializeAws_json1_1TrafficPattern = function (input, context) {
20204
+ return __assign(__assign({}, (input.Phases !== undefined &&
20205
+ input.Phases !== null && { Phases: serializeAws_json1_1Phases(input.Phases, context) })), (input.TrafficType !== undefined && input.TrafficType !== null && { TrafficType: input.TrafficType }));
20206
+ };
19305
20207
  var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
19306
20208
  return __assign(__assign(__assign(__assign({}, (input.CanarySize !== undefined &&
19307
20209
  input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) })), (input.LinearStepSize !== undefined &&
@@ -19564,7 +20466,10 @@ var serializeAws_json1_1UpdateImageRequest = function (input, context) {
19564
20466
  })), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
19565
20467
  };
19566
20468
  var serializeAws_json1_1UpdateModelPackageInput = function (input, context) {
19567
- return __assign(__assign(__assign(__assign(__assign({}, (input.ApprovalDescription !== undefined &&
20469
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecificationsToAdd !== undefined &&
20470
+ input.AdditionalInferenceSpecificationsToAdd !== null && {
20471
+ AdditionalInferenceSpecificationsToAdd: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecificationsToAdd, context),
20472
+ })), (input.ApprovalDescription !== undefined &&
19568
20473
  input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.CustomerMetadataProperties !== undefined &&
19569
20474
  input.CustomerMetadataProperties !== null && {
19570
20475
  CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
@@ -19808,6 +20713,38 @@ var deserializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (output
19808
20713
  return __expectString(entry);
19809
20714
  });
19810
20715
  };
20716
+ var deserializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (output, context) {
20717
+ return {
20718
+ Containers: output.Containers !== undefined && output.Containers !== null
20719
+ ? deserializeAws_json1_1ModelPackageContainerDefinitionList(output.Containers, context)
20720
+ : undefined,
20721
+ Description: __expectString(output.Description),
20722
+ Name: __expectString(output.Name),
20723
+ SupportedContentTypes: output.SupportedContentTypes !== undefined && output.SupportedContentTypes !== null
20724
+ ? deserializeAws_json1_1ContentTypes(output.SupportedContentTypes, context)
20725
+ : undefined,
20726
+ SupportedRealtimeInferenceInstanceTypes: output.SupportedRealtimeInferenceInstanceTypes !== undefined &&
20727
+ output.SupportedRealtimeInferenceInstanceTypes !== null
20728
+ ? deserializeAws_json1_1RealtimeInferenceInstanceTypes(output.SupportedRealtimeInferenceInstanceTypes, context)
20729
+ : undefined,
20730
+ SupportedResponseMIMETypes: output.SupportedResponseMIMETypes !== undefined && output.SupportedResponseMIMETypes !== null
20731
+ ? deserializeAws_json1_1ResponseMIMETypes(output.SupportedResponseMIMETypes, context)
20732
+ : undefined,
20733
+ SupportedTransformInstanceTypes: output.SupportedTransformInstanceTypes !== undefined && output.SupportedTransformInstanceTypes !== null
20734
+ ? deserializeAws_json1_1TransformInstanceTypes(output.SupportedTransformInstanceTypes, context)
20735
+ : undefined,
20736
+ };
20737
+ };
20738
+ var deserializeAws_json1_1AdditionalInferenceSpecifications = function (output, context) {
20739
+ return (output || [])
20740
+ .filter(function (e) { return e != null; })
20741
+ .map(function (entry) {
20742
+ if (entry === null) {
20743
+ return null;
20744
+ }
20745
+ return deserializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
20746
+ });
20747
+ };
19811
20748
  var deserializeAws_json1_1AddTagsOutput = function (output, context) {
19812
20749
  return {
19813
20750
  Tags: output.Tags !== undefined && output.Tags !== null
@@ -20369,6 +21306,12 @@ var deserializeAws_json1_1BatchDescribeModelPackageSummary = function (output, c
20369
21306
  };
20370
21307
  var deserializeAws_json1_1Bias = function (output, context) {
20371
21308
  return {
21309
+ PostTrainingReport: output.PostTrainingReport !== undefined && output.PostTrainingReport !== null
21310
+ ? deserializeAws_json1_1MetricsSource(output.PostTrainingReport, context)
21311
+ : undefined,
21312
+ PreTrainingReport: output.PreTrainingReport !== undefined && output.PreTrainingReport !== null
21313
+ ? deserializeAws_json1_1MetricsSource(output.PreTrainingReport, context)
21314
+ : undefined,
20372
21315
  Report: output.Report !== undefined && output.Report !== null
20373
21316
  ? deserializeAws_json1_1MetricsSource(output.Report, context)
20374
21317
  : undefined,
@@ -20453,6 +21396,14 @@ var deserializeAws_json1_1CaptureOptionList = function (output, context) {
20453
21396
  return deserializeAws_json1_1CaptureOption(entry, context);
20454
21397
  });
20455
21398
  };
21399
+ var deserializeAws_json1_1CategoricalParameter = function (output, context) {
21400
+ return {
21401
+ Name: __expectString(output.Name),
21402
+ Value: output.Value !== undefined && output.Value !== null
21403
+ ? deserializeAws_json1_1CategoricalParameterRangeValues(output.Value, context)
21404
+ : undefined,
21405
+ };
21406
+ };
20456
21407
  var deserializeAws_json1_1CategoricalParameterRange = function (output, context) {
20457
21408
  return {
20458
21409
  Name: __expectString(output.Name),
@@ -20478,6 +21429,26 @@ var deserializeAws_json1_1CategoricalParameterRangeSpecification = function (out
20478
21429
  : undefined,
20479
21430
  };
20480
21431
  };
21432
+ var deserializeAws_json1_1CategoricalParameterRangeValues = function (output, context) {
21433
+ return (output || [])
21434
+ .filter(function (e) { return e != null; })
21435
+ .map(function (entry) {
21436
+ if (entry === null) {
21437
+ return null;
21438
+ }
21439
+ return __expectString(entry);
21440
+ });
21441
+ };
21442
+ var deserializeAws_json1_1CategoricalParameters = function (output, context) {
21443
+ return (output || [])
21444
+ .filter(function (e) { return e != null; })
21445
+ .map(function (entry) {
21446
+ if (entry === null) {
21447
+ return null;
21448
+ }
21449
+ return deserializeAws_json1_1CategoricalParameter(entry, context);
21450
+ });
21451
+ };
20481
21452
  var deserializeAws_json1_1Channel = function (output, context) {
20482
21453
  return {
20483
21454
  ChannelName: __expectString(output.ChannelName),
@@ -20535,6 +21506,18 @@ var deserializeAws_json1_1Cidrs = function (output, context) {
20535
21506
  return __expectString(entry);
20536
21507
  });
20537
21508
  };
21509
+ var deserializeAws_json1_1ClarifyCheckStepMetadata = function (output, context) {
21510
+ return {
21511
+ BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
21512
+ CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
21513
+ CheckJobArn: __expectString(output.CheckJobArn),
21514
+ CheckType: __expectString(output.CheckType),
21515
+ ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
21516
+ RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
21517
+ SkipCheck: __expectBoolean(output.SkipCheck),
21518
+ ViolationReport: __expectString(output.ViolationReport),
21519
+ };
21520
+ };
20538
21521
  var deserializeAws_json1_1CodeRepositorySummary = function (output, context) {
20539
21522
  return {
20540
21523
  CodeRepositoryArn: __expectString(output.CodeRepositoryArn),
@@ -20674,6 +21657,7 @@ var deserializeAws_json1_1ContainerDefinition = function (output, context) {
20674
21657
  ImageConfig: output.ImageConfig !== undefined && output.ImageConfig !== null
20675
21658
  ? deserializeAws_json1_1ImageConfig(output.ImageConfig, context)
20676
21659
  : undefined,
21660
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
20677
21661
  Mode: __expectString(output.Mode),
20678
21662
  ModelDataUrl: __expectString(output.ModelDataUrl),
20679
21663
  ModelPackageName: __expectString(output.ModelPackageName),
@@ -20880,6 +21864,11 @@ var deserializeAws_json1_1CreateImageVersionResponse = function (output, context
20880
21864
  ImageVersionArn: __expectString(output.ImageVersionArn),
20881
21865
  };
20882
21866
  };
21867
+ var deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = function (output, context) {
21868
+ return {
21869
+ JobArn: __expectString(output.JobArn),
21870
+ };
21871
+ };
20883
21872
  var deserializeAws_json1_1CreateLabelingJobResponse = function (output, context) {
20884
21873
  return {
20885
21874
  LabelingJobArn: __expectString(output.LabelingJobArn),
@@ -21294,6 +22283,7 @@ var deserializeAws_json1_1DescribeActionResponse = function (output, context) {
21294
22283
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21295
22284
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21296
22285
  : undefined,
22286
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21297
22287
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
21298
22288
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
21299
22289
  : undefined,
@@ -21386,6 +22376,7 @@ var deserializeAws_json1_1DescribeArtifactResponse = function (output, context)
21386
22376
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21387
22377
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21388
22378
  : undefined,
22379
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21389
22380
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
21390
22381
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
21391
22382
  : undefined,
@@ -21491,6 +22482,7 @@ var deserializeAws_json1_1DescribeCompilationJobResponse = function (output, con
21491
22482
  ModelDigests: output.ModelDigests !== undefined && output.ModelDigests !== null
21492
22483
  ? deserializeAws_json1_1ModelDigests(output.ModelDigests, context)
21493
22484
  : undefined,
22485
+ ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
21494
22486
  OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
21495
22487
  ? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
21496
22488
  : undefined,
@@ -21521,6 +22513,7 @@ var deserializeAws_json1_1DescribeContextResponse = function (output, context) {
21521
22513
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
21522
22514
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21523
22515
  : undefined,
22516
+ LineageGroupArn: __expectString(output.LineageGroupArn),
21524
22517
  Properties: output.Properties !== undefined && output.Properties !== null
21525
22518
  ? deserializeAws_json1_1LineageEntityParameters(output.Properties, context)
21526
22519
  : undefined,
@@ -21872,6 +22865,35 @@ var deserializeAws_json1_1DescribeImageVersionResponse = function (output, conte
21872
22865
  Version: __expectInt32(output.Version),
21873
22866
  };
21874
22867
  };
22868
+ var deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = function (output, context) {
22869
+ return {
22870
+ CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
22871
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
22872
+ : undefined,
22873
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
22874
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22875
+ : undefined,
22876
+ FailureReason: __expectString(output.FailureReason),
22877
+ InferenceRecommendations: output.InferenceRecommendations !== undefined && output.InferenceRecommendations !== null
22878
+ ? deserializeAws_json1_1InferenceRecommendations(output.InferenceRecommendations, context)
22879
+ : undefined,
22880
+ InputConfig: output.InputConfig !== undefined && output.InputConfig !== null
22881
+ ? deserializeAws_json1_1RecommendationJobInputConfig(output.InputConfig, context)
22882
+ : undefined,
22883
+ JobArn: __expectString(output.JobArn),
22884
+ JobDescription: __expectString(output.JobDescription),
22885
+ JobName: __expectString(output.JobName),
22886
+ JobType: __expectString(output.JobType),
22887
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22888
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22889
+ : undefined,
22890
+ RoleArn: __expectString(output.RoleArn),
22891
+ Status: __expectString(output.Status),
22892
+ StoppingConditions: output.StoppingConditions !== undefined && output.StoppingConditions !== null
22893
+ ? deserializeAws_json1_1RecommendationJobStoppingConditions(output.StoppingConditions, context)
22894
+ : undefined,
22895
+ };
22896
+ };
21875
22897
  var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, context) {
21876
22898
  return {
21877
22899
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -21914,6 +22936,26 @@ var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, contex
21914
22936
  : undefined,
21915
22937
  };
21916
22938
  };
22939
+ var deserializeAws_json1_1DescribeLineageGroupResponse = function (output, context) {
22940
+ return {
22941
+ CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
22942
+ ? deserializeAws_json1_1UserContext(output.CreatedBy, context)
22943
+ : undefined,
22944
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
22945
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22946
+ : undefined,
22947
+ Description: __expectString(output.Description),
22948
+ DisplayName: __expectString(output.DisplayName),
22949
+ LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
22950
+ ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
22951
+ : undefined,
22952
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22953
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22954
+ : undefined,
22955
+ LineageGroupArn: __expectString(output.LineageGroupArn),
22956
+ LineageGroupName: __expectString(output.LineageGroupName),
22957
+ };
22958
+ };
21917
22959
  var deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = function (output, context) {
21918
22960
  return {
21919
22961
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -22015,6 +23057,9 @@ var deserializeAws_json1_1DescribeModelPackageGroupOutput = function (output, co
22015
23057
  };
22016
23058
  var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context) {
22017
23059
  return {
23060
+ AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
23061
+ ? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
23062
+ : undefined,
22018
23063
  ApprovalDescription: __expectString(output.ApprovalDescription),
22019
23064
  CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
22020
23065
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -22026,6 +23071,10 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
22026
23071
  CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
22027
23072
  ? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
22028
23073
  : undefined,
23074
+ Domain: __expectString(output.Domain),
23075
+ DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
23076
+ ? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
23077
+ : undefined,
22029
23078
  InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
22030
23079
  ? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
22031
23080
  : undefined,
@@ -22051,9 +23100,11 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
22051
23100
  ? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
22052
23101
  : undefined,
22053
23102
  ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
23103
+ SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
22054
23104
  SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
22055
23105
  ? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
22056
23106
  : undefined,
23107
+ Task: __expectString(output.Task),
22057
23108
  ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
22058
23109
  ? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
22059
23110
  : undefined,
@@ -22481,6 +23532,7 @@ var deserializeAws_json1_1DescribeTrialComponentResponse = function (output, con
22481
23532
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
22482
23533
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22483
23534
  : undefined,
23535
+ LineageGroupArn: __expectString(output.LineageGroupArn),
22484
23536
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
22485
23537
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
22486
23538
  : undefined,
@@ -22668,16 +23720,82 @@ var deserializeAws_json1_1DomainSecurityGroupIds = function (output, context) {
22668
23720
  return __expectString(entry);
22669
23721
  });
22670
23722
  };
22671
- var deserializeAws_json1_1DomainSettings = function (output, context) {
23723
+ var deserializeAws_json1_1DomainSettings = function (output, context) {
23724
+ return {
23725
+ RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
23726
+ ? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
23727
+ : undefined,
23728
+ SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
23729
+ ? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
23730
+ : undefined,
23731
+ };
23732
+ };
23733
+ var deserializeAws_json1_1DriftCheckBaselines = function (output, context) {
23734
+ return {
23735
+ Bias: output.Bias !== undefined && output.Bias !== null
23736
+ ? deserializeAws_json1_1DriftCheckBias(output.Bias, context)
23737
+ : undefined,
23738
+ Explainability: output.Explainability !== undefined && output.Explainability !== null
23739
+ ? deserializeAws_json1_1DriftCheckExplainability(output.Explainability, context)
23740
+ : undefined,
23741
+ ModelDataQuality: output.ModelDataQuality !== undefined && output.ModelDataQuality !== null
23742
+ ? deserializeAws_json1_1DriftCheckModelDataQuality(output.ModelDataQuality, context)
23743
+ : undefined,
23744
+ ModelQuality: output.ModelQuality !== undefined && output.ModelQuality !== null
23745
+ ? deserializeAws_json1_1DriftCheckModelQuality(output.ModelQuality, context)
23746
+ : undefined,
23747
+ };
23748
+ };
23749
+ var deserializeAws_json1_1DriftCheckBias = function (output, context) {
23750
+ return {
23751
+ ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
23752
+ ? deserializeAws_json1_1FileSource(output.ConfigFile, context)
23753
+ : undefined,
23754
+ PostTrainingConstraints: output.PostTrainingConstraints !== undefined && output.PostTrainingConstraints !== null
23755
+ ? deserializeAws_json1_1MetricsSource(output.PostTrainingConstraints, context)
23756
+ : undefined,
23757
+ PreTrainingConstraints: output.PreTrainingConstraints !== undefined && output.PreTrainingConstraints !== null
23758
+ ? deserializeAws_json1_1MetricsSource(output.PreTrainingConstraints, context)
23759
+ : undefined,
23760
+ };
23761
+ };
23762
+ var deserializeAws_json1_1DriftCheckExplainability = function (output, context) {
23763
+ return {
23764
+ ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
23765
+ ? deserializeAws_json1_1FileSource(output.ConfigFile, context)
23766
+ : undefined,
23767
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23768
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
23769
+ : undefined,
23770
+ };
23771
+ };
23772
+ var deserializeAws_json1_1DriftCheckModelDataQuality = function (output, context) {
22672
23773
  return {
22673
- RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
22674
- ? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
23774
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23775
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
22675
23776
  : undefined,
22676
- SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
22677
- ? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
23777
+ Statistics: output.Statistics !== undefined && output.Statistics !== null
23778
+ ? deserializeAws_json1_1MetricsSource(output.Statistics, context)
23779
+ : undefined,
23780
+ };
23781
+ };
23782
+ var deserializeAws_json1_1DriftCheckModelQuality = function (output, context) {
23783
+ return {
23784
+ Constraints: output.Constraints !== undefined && output.Constraints !== null
23785
+ ? deserializeAws_json1_1MetricsSource(output.Constraints, context)
23786
+ : undefined,
23787
+ Statistics: output.Statistics !== undefined && output.Statistics !== null
23788
+ ? deserializeAws_json1_1MetricsSource(output.Statistics, context)
22678
23789
  : undefined,
22679
23790
  };
22680
23791
  };
23792
+ var deserializeAws_json1_1Edge = function (output, context) {
23793
+ return {
23794
+ AssociationType: __expectString(output.AssociationType),
23795
+ DestinationArn: __expectString(output.DestinationArn),
23796
+ SourceArn: __expectString(output.SourceArn),
23797
+ };
23798
+ };
22681
23799
  var deserializeAws_json1_1EdgeModel = function (output, context) {
22682
23800
  return {
22683
23801
  LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
@@ -22778,6 +23896,16 @@ var deserializeAws_json1_1EdgePresetDeploymentOutput = function (output, context
22778
23896
  Type: __expectString(output.Type),
22779
23897
  };
22780
23898
  };
23899
+ var deserializeAws_json1_1Edges = function (output, context) {
23900
+ return (output || [])
23901
+ .filter(function (e) { return e != null; })
23902
+ .map(function (entry) {
23903
+ if (entry === null) {
23904
+ return null;
23905
+ }
23906
+ return deserializeAws_json1_1Edge(entry, context);
23907
+ });
23908
+ };
22781
23909
  var deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = function (output, context) {
22782
23910
  return {};
22783
23911
  };
@@ -22841,6 +23969,33 @@ var deserializeAws_json1_1EndpointInput = function (output, context) {
22841
23969
  StartTimeOffset: __expectString(output.StartTimeOffset),
22842
23970
  };
22843
23971
  };
23972
+ var deserializeAws_json1_1EndpointInputConfiguration = function (output, context) {
23973
+ return {
23974
+ EnvironmentParameterRanges: output.EnvironmentParameterRanges !== undefined && output.EnvironmentParameterRanges !== null
23975
+ ? deserializeAws_json1_1EnvironmentParameterRanges(output.EnvironmentParameterRanges, context)
23976
+ : undefined,
23977
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
23978
+ InstanceType: __expectString(output.InstanceType),
23979
+ };
23980
+ };
23981
+ var deserializeAws_json1_1EndpointInputConfigurations = function (output, context) {
23982
+ return (output || [])
23983
+ .filter(function (e) { return e != null; })
23984
+ .map(function (entry) {
23985
+ if (entry === null) {
23986
+ return null;
23987
+ }
23988
+ return deserializeAws_json1_1EndpointInputConfiguration(entry, context);
23989
+ });
23990
+ };
23991
+ var deserializeAws_json1_1EndpointOutputConfiguration = function (output, context) {
23992
+ return {
23993
+ EndpointName: __expectString(output.EndpointName),
23994
+ InitialInstanceCount: __expectInt32(output.InitialInstanceCount),
23995
+ InstanceType: __expectString(output.InstanceType),
23996
+ VariantName: __expectString(output.VariantName),
23997
+ };
23998
+ };
22844
23999
  var deserializeAws_json1_1EndpointSummary = function (output, context) {
22845
24000
  return {
22846
24001
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
@@ -22874,6 +24029,30 @@ var deserializeAws_json1_1EnvironmentMap = function (output, context) {
22874
24029
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
22875
24030
  }, {});
22876
24031
  };
24032
+ var deserializeAws_json1_1EnvironmentParameter = function (output, context) {
24033
+ return {
24034
+ Key: __expectString(output.Key),
24035
+ Value: __expectString(output.Value),
24036
+ ValueType: __expectString(output.ValueType),
24037
+ };
24038
+ };
24039
+ var deserializeAws_json1_1EnvironmentParameterRanges = function (output, context) {
24040
+ return {
24041
+ CategoricalParameterRanges: output.CategoricalParameterRanges !== undefined && output.CategoricalParameterRanges !== null
24042
+ ? deserializeAws_json1_1CategoricalParameters(output.CategoricalParameterRanges, context)
24043
+ : undefined,
24044
+ };
24045
+ };
24046
+ var deserializeAws_json1_1EnvironmentParameters = function (output, context) {
24047
+ return (output || [])
24048
+ .filter(function (e) { return e != null; })
24049
+ .map(function (entry) {
24050
+ if (entry === null) {
24051
+ return null;
24052
+ }
24053
+ return deserializeAws_json1_1EnvironmentParameter(entry, context);
24054
+ });
24055
+ };
22877
24056
  var deserializeAws_json1_1Experiment = function (output, context) {
22878
24057
  return {
22879
24058
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -23015,6 +24194,13 @@ var deserializeAws_json1_1FeatureGroupSummary = function (output, context) {
23015
24194
  : undefined,
23016
24195
  };
23017
24196
  };
24197
+ var deserializeAws_json1_1FileSource = function (output, context) {
24198
+ return {
24199
+ ContentDigest: __expectString(output.ContentDigest),
24200
+ ContentType: __expectString(output.ContentType),
24201
+ S3Uri: __expectString(output.S3Uri),
24202
+ };
24203
+ };
23018
24204
  var deserializeAws_json1_1FileSystemConfig = function (output, context) {
23019
24205
  return {
23020
24206
  DefaultGid: __expectInt32(output.DefaultGid),
@@ -23113,6 +24299,12 @@ var deserializeAws_json1_1GetDeviceFleetReportResponse = function (output, conte
23113
24299
  : undefined,
23114
24300
  };
23115
24301
  };
24302
+ var deserializeAws_json1_1GetLineageGroupPolicyResponse = function (output, context) {
24303
+ return {
24304
+ LineageGroupArn: __expectString(output.LineageGroupArn),
24305
+ ResourcePolicy: __expectString(output.ResourcePolicy),
24306
+ };
24307
+ };
23116
24308
  var deserializeAws_json1_1GetModelPackageGroupPolicyOutput = function (output, context) {
23117
24309
  return {
23118
24310
  ResourcePolicy: __expectString(output.ResourcePolicy),
@@ -23510,6 +24702,59 @@ var deserializeAws_json1_1InferenceExecutionConfig = function (output, context)
23510
24702
  Mode: __expectString(output.Mode),
23511
24703
  };
23512
24704
  };
24705
+ var deserializeAws_json1_1InferenceRecommendation = function (output, context) {
24706
+ return {
24707
+ EndpointConfiguration: output.EndpointConfiguration !== undefined && output.EndpointConfiguration !== null
24708
+ ? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
24709
+ : undefined,
24710
+ Metrics: output.Metrics !== undefined && output.Metrics !== null
24711
+ ? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context)
24712
+ : undefined,
24713
+ ModelConfiguration: output.ModelConfiguration !== undefined && output.ModelConfiguration !== null
24714
+ ? deserializeAws_json1_1ModelConfiguration(output.ModelConfiguration, context)
24715
+ : undefined,
24716
+ };
24717
+ };
24718
+ var deserializeAws_json1_1InferenceRecommendations = function (output, context) {
24719
+ return (output || [])
24720
+ .filter(function (e) { return e != null; })
24721
+ .map(function (entry) {
24722
+ if (entry === null) {
24723
+ return null;
24724
+ }
24725
+ return deserializeAws_json1_1InferenceRecommendation(entry, context);
24726
+ });
24727
+ };
24728
+ var deserializeAws_json1_1InferenceRecommendationsJob = function (output, context) {
24729
+ return {
24730
+ CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
24731
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
24732
+ : undefined,
24733
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
24734
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24735
+ : undefined,
24736
+ FailureReason: __expectString(output.FailureReason),
24737
+ JobArn: __expectString(output.JobArn),
24738
+ JobDescription: __expectString(output.JobDescription),
24739
+ JobName: __expectString(output.JobName),
24740
+ JobType: __expectString(output.JobType),
24741
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
24742
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24743
+ : undefined,
24744
+ RoleArn: __expectString(output.RoleArn),
24745
+ Status: __expectString(output.Status),
24746
+ };
24747
+ };
24748
+ var deserializeAws_json1_1InferenceRecommendationsJobs = function (output, context) {
24749
+ return (output || [])
24750
+ .filter(function (e) { return e != null; })
24751
+ .map(function (entry) {
24752
+ if (entry === null) {
24753
+ return null;
24754
+ }
24755
+ return deserializeAws_json1_1InferenceRecommendationsJob(entry, context);
24756
+ });
24757
+ };
23513
24758
  var deserializeAws_json1_1InferenceSpecification = function (output, context) {
23514
24759
  return {
23515
24760
  Containers: output.Containers !== undefined && output.Containers !== null
@@ -23815,6 +25060,29 @@ var deserializeAws_json1_1LineageEntityParameters = function (output, context) {
23815
25060
  return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
23816
25061
  }, {});
23817
25062
  };
25063
+ var deserializeAws_json1_1LineageGroupSummaries = function (output, context) {
25064
+ return (output || [])
25065
+ .filter(function (e) { return e != null; })
25066
+ .map(function (entry) {
25067
+ if (entry === null) {
25068
+ return null;
25069
+ }
25070
+ return deserializeAws_json1_1LineageGroupSummary(entry, context);
25071
+ });
25072
+ };
25073
+ var deserializeAws_json1_1LineageGroupSummary = function (output, context) {
25074
+ return {
25075
+ CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
25076
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
25077
+ : undefined,
25078
+ DisplayName: __expectString(output.DisplayName),
25079
+ LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
25080
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
25081
+ : undefined,
25082
+ LineageGroupArn: __expectString(output.LineageGroupArn),
25083
+ LineageGroupName: __expectString(output.LineageGroupName),
25084
+ };
25085
+ };
23818
25086
  var deserializeAws_json1_1ListActionsResponse = function (output, context) {
23819
25087
  return {
23820
25088
  ActionSummaries: output.ActionSummaries !== undefined && output.ActionSummaries !== null
@@ -24015,6 +25283,14 @@ var deserializeAws_json1_1ListImageVersionsResponse = function (output, context)
24015
25283
  NextToken: __expectString(output.NextToken),
24016
25284
  };
24017
25285
  };
25286
+ var deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = function (output, context) {
25287
+ return {
25288
+ InferenceRecommendationsJobs: output.InferenceRecommendationsJobs !== undefined && output.InferenceRecommendationsJobs !== null
25289
+ ? deserializeAws_json1_1InferenceRecommendationsJobs(output.InferenceRecommendationsJobs, context)
25290
+ : undefined,
25291
+ NextToken: __expectString(output.NextToken),
25292
+ };
25293
+ };
24018
25294
  var deserializeAws_json1_1ListLabelingJobsForWorkteamResponse = function (output, context) {
24019
25295
  return {
24020
25296
  LabelingJobSummaryList: output.LabelingJobSummaryList !== undefined && output.LabelingJobSummaryList !== null
@@ -24031,6 +25307,14 @@ var deserializeAws_json1_1ListLabelingJobsResponse = function (output, context)
24031
25307
  NextToken: __expectString(output.NextToken),
24032
25308
  };
24033
25309
  };
25310
+ var deserializeAws_json1_1ListLineageGroupsResponse = function (output, context) {
25311
+ return {
25312
+ LineageGroupSummaries: output.LineageGroupSummaries !== undefined && output.LineageGroupSummaries !== null
25313
+ ? deserializeAws_json1_1LineageGroupSummaries(output.LineageGroupSummaries, context)
25314
+ : undefined,
25315
+ NextToken: __expectString(output.NextToken),
25316
+ };
25317
+ };
24034
25318
  var deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = function (output, context) {
24035
25319
  return {
24036
25320
  JobDefinitionSummaries: output.JobDefinitionSummaries !== undefined && output.JobDefinitionSummaries !== null
@@ -24047,6 +25331,14 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = functi
24047
25331
  NextToken: __expectString(output.NextToken),
24048
25332
  };
24049
25333
  };
25334
+ var deserializeAws_json1_1ListModelMetadataResponse = function (output, context) {
25335
+ return {
25336
+ ModelMetadataSummaries: output.ModelMetadataSummaries !== undefined && output.ModelMetadataSummaries !== null
25337
+ ? deserializeAws_json1_1ModelMetadataSummaries(output.ModelMetadataSummaries, context)
25338
+ : undefined,
25339
+ NextToken: __expectString(output.NextToken),
25340
+ };
25341
+ };
24050
25342
  var deserializeAws_json1_1ListModelPackageGroupsOutput = function (output, context) {
24051
25343
  return {
24052
25344
  ModelPackageGroupSummaryList: output.ModelPackageGroupSummaryList !== undefined && output.ModelPackageGroupSummaryList !== null
@@ -24362,6 +25654,14 @@ var deserializeAws_json1_1ModelClientConfig = function (output, context) {
24362
25654
  InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
24363
25655
  };
24364
25656
  };
25657
+ var deserializeAws_json1_1ModelConfiguration = function (output, context) {
25658
+ return {
25659
+ EnvironmentParameters: output.EnvironmentParameters !== undefined && output.EnvironmentParameters !== null
25660
+ ? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
25661
+ : undefined,
25662
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
25663
+ };
25664
+ };
24365
25665
  var deserializeAws_json1_1ModelDataQuality = function (output, context) {
24366
25666
  return {
24367
25667
  Constraints: output.Constraints !== undefined && output.Constraints !== null
@@ -24412,6 +25712,46 @@ var deserializeAws_json1_1ModelExplainabilityJobInput = function (output, contex
24412
25712
  : undefined,
24413
25713
  };
24414
25714
  };
25715
+ var deserializeAws_json1_1ModelInput = function (output, context) {
25716
+ return {
25717
+ DataInputConfig: __expectString(output.DataInputConfig),
25718
+ };
25719
+ };
25720
+ var deserializeAws_json1_1ModelLatencyThreshold = function (output, context) {
25721
+ return {
25722
+ Percentile: __expectString(output.Percentile),
25723
+ ValueInMilliseconds: __expectInt32(output.ValueInMilliseconds),
25724
+ };
25725
+ };
25726
+ var deserializeAws_json1_1ModelLatencyThresholds = function (output, context) {
25727
+ return (output || [])
25728
+ .filter(function (e) { return e != null; })
25729
+ .map(function (entry) {
25730
+ if (entry === null) {
25731
+ return null;
25732
+ }
25733
+ return deserializeAws_json1_1ModelLatencyThreshold(entry, context);
25734
+ });
25735
+ };
25736
+ var deserializeAws_json1_1ModelMetadataSummaries = function (output, context) {
25737
+ return (output || [])
25738
+ .filter(function (e) { return e != null; })
25739
+ .map(function (entry) {
25740
+ if (entry === null) {
25741
+ return null;
25742
+ }
25743
+ return deserializeAws_json1_1ModelMetadataSummary(entry, context);
25744
+ });
25745
+ };
25746
+ var deserializeAws_json1_1ModelMetadataSummary = function (output, context) {
25747
+ return {
25748
+ Domain: __expectString(output.Domain),
25749
+ Framework: __expectString(output.Framework),
25750
+ FrameworkVersion: __expectString(output.FrameworkVersion),
25751
+ Model: __expectString(output.Model),
25752
+ Task: __expectString(output.Task),
25753
+ };
25754
+ };
24415
25755
  var deserializeAws_json1_1ModelMetrics = function (output, context) {
24416
25756
  return {
24417
25757
  Bias: output.Bias !== undefined && output.Bias !== null ? deserializeAws_json1_1Bias(output.Bias, context) : undefined,
@@ -24428,6 +25768,9 @@ var deserializeAws_json1_1ModelMetrics = function (output, context) {
24428
25768
  };
24429
25769
  var deserializeAws_json1_1ModelPackage = function (output, context) {
24430
25770
  return {
25771
+ AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
25772
+ ? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
25773
+ : undefined,
24431
25774
  ApprovalDescription: __expectString(output.ApprovalDescription),
24432
25775
  CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
24433
25776
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -24439,6 +25782,10 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
24439
25782
  CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
24440
25783
  ? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
24441
25784
  : undefined,
25785
+ Domain: __expectString(output.Domain),
25786
+ DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
25787
+ ? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
25788
+ : undefined,
24442
25789
  InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
24443
25790
  ? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
24444
25791
  : undefined,
@@ -24464,12 +25811,14 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
24464
25811
  ? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
24465
25812
  : undefined,
24466
25813
  ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
25814
+ SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
24467
25815
  SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
24468
25816
  ? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
24469
25817
  : undefined,
24470
25818
  Tags: output.Tags !== undefined && output.Tags !== null
24471
25819
  ? deserializeAws_json1_1TagList(output.Tags, context)
24472
25820
  : undefined,
25821
+ Task: __expectString(output.Task),
24473
25822
  ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
24474
25823
  ? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
24475
25824
  : undefined,
@@ -24481,9 +25830,15 @@ var deserializeAws_json1_1ModelPackageContainerDefinition = function (output, co
24481
25830
  Environment: output.Environment !== undefined && output.Environment !== null
24482
25831
  ? deserializeAws_json1_1EnvironmentMap(output.Environment, context)
24483
25832
  : undefined,
25833
+ Framework: __expectString(output.Framework),
25834
+ FrameworkVersion: __expectString(output.FrameworkVersion),
24484
25835
  Image: __expectString(output.Image),
24485
25836
  ImageDigest: __expectString(output.ImageDigest),
24486
25837
  ModelDataUrl: __expectString(output.ModelDataUrl),
25838
+ ModelInput: output.ModelInput !== undefined && output.ModelInput !== null
25839
+ ? deserializeAws_json1_1ModelInput(output.ModelInput, context)
25840
+ : undefined,
25841
+ NearestModelName: __expectString(output.NearestModelName),
24487
25842
  ProductId: __expectString(output.ProductId),
24488
25843
  };
24489
25844
  };
@@ -25294,11 +26649,17 @@ var deserializeAws_json1_1PendingProductionVariantSummary = function (output, co
25294
26649
  return {
25295
26650
  AcceleratorType: __expectString(output.AcceleratorType),
25296
26651
  CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
26652
+ CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
26653
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
26654
+ : undefined,
25297
26655
  CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
25298
26656
  DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
25299
26657
  ? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
25300
26658
  : undefined,
25301
26659
  DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
26660
+ DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
26661
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
26662
+ : undefined,
25302
26663
  DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
25303
26664
  InstanceType: __expectString(output.InstanceType),
25304
26665
  VariantName: __expectString(output.VariantName),
@@ -25317,6 +26678,23 @@ var deserializeAws_json1_1PendingProductionVariantSummaryList = function (output
25317
26678
  return deserializeAws_json1_1PendingProductionVariantSummary(entry, context);
25318
26679
  });
25319
26680
  };
26681
+ var deserializeAws_json1_1Phase = function (output, context) {
26682
+ return {
26683
+ DurationInSeconds: __expectInt32(output.DurationInSeconds),
26684
+ InitialNumberOfUsers: __expectInt32(output.InitialNumberOfUsers),
26685
+ SpawnRate: __expectInt32(output.SpawnRate),
26686
+ };
26687
+ };
26688
+ var deserializeAws_json1_1Phases = function (output, context) {
26689
+ return (output || [])
26690
+ .filter(function (e) { return e != null; })
26691
+ .map(function (entry) {
26692
+ if (entry === null) {
26693
+ return null;
26694
+ }
26695
+ return deserializeAws_json1_1Phase(entry, context);
26696
+ });
26697
+ };
25320
26698
  var deserializeAws_json1_1Pipeline = function (output, context) {
25321
26699
  return {
25322
26700
  CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
@@ -25407,6 +26785,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
25407
26785
  Callback: output.Callback !== undefined && output.Callback !== null
25408
26786
  ? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context)
25409
26787
  : undefined,
26788
+ ClarifyCheck: output.ClarifyCheck !== undefined && output.ClarifyCheck !== null
26789
+ ? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
26790
+ : undefined,
25410
26791
  Condition: output.Condition !== undefined && output.Condition !== null
25411
26792
  ? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
25412
26793
  : undefined,
@@ -25419,6 +26800,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
25419
26800
  ProcessingJob: output.ProcessingJob !== undefined && output.ProcessingJob !== null
25420
26801
  ? deserializeAws_json1_1ProcessingJobStepMetadata(output.ProcessingJob, context)
25421
26802
  : undefined,
26803
+ QualityCheck: output.QualityCheck !== undefined && output.QualityCheck !== null
26804
+ ? deserializeAws_json1_1QualityCheckStepMetadata(output.QualityCheck, context)
26805
+ : undefined,
25422
26806
  RegisterModel: output.RegisterModel !== undefined && output.RegisterModel !== null
25423
26807
  ? deserializeAws_json1_1RegisterModelStepMetadata(output.RegisterModel, context)
25424
26808
  : undefined,
@@ -25687,6 +27071,9 @@ var deserializeAws_json1_1ProductionVariant = function (output, context) {
25687
27071
  InitialVariantWeight: __limitedParseFloat32(output.InitialVariantWeight),
25688
27072
  InstanceType: __expectString(output.InstanceType),
25689
27073
  ModelName: __expectString(output.ModelName),
27074
+ ServerlessConfig: output.ServerlessConfig !== undefined && output.ServerlessConfig !== null
27075
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.ServerlessConfig, context)
27076
+ : undefined,
25690
27077
  VariantName: __expectString(output.VariantName),
25691
27078
  };
25692
27079
  };
@@ -25706,6 +27093,12 @@ var deserializeAws_json1_1ProductionVariantList = function (output, context) {
25706
27093
  return deserializeAws_json1_1ProductionVariant(entry, context);
25707
27094
  });
25708
27095
  };
27096
+ var deserializeAws_json1_1ProductionVariantServerlessConfig = function (output, context) {
27097
+ return {
27098
+ MaxConcurrency: __expectInt32(output.MaxConcurrency),
27099
+ MemorySizeInMB: __expectInt32(output.MemorySizeInMB),
27100
+ };
27101
+ };
25709
27102
  var deserializeAws_json1_1ProductionVariantStatus = function (output, context) {
25710
27103
  return {
25711
27104
  StartTime: output.StartTime !== undefined && output.StartTime !== null
@@ -25728,11 +27121,17 @@ var deserializeAws_json1_1ProductionVariantStatusList = function (output, contex
25728
27121
  var deserializeAws_json1_1ProductionVariantSummary = function (output, context) {
25729
27122
  return {
25730
27123
  CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
27124
+ CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
27125
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
27126
+ : undefined,
25731
27127
  CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
25732
27128
  DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
25733
27129
  ? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
25734
27130
  : undefined,
25735
27131
  DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
27132
+ DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
27133
+ ? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
27134
+ : undefined,
25736
27135
  DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
25737
27136
  VariantName: __expectString(output.VariantName),
25738
27137
  VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
@@ -25919,6 +27318,31 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyOutput = function (output, c
25919
27318
  ModelPackageGroupArn: __expectString(output.ModelPackageGroupArn),
25920
27319
  };
25921
27320
  };
27321
+ var deserializeAws_json1_1QualityCheckStepMetadata = function (output, context) {
27322
+ return {
27323
+ BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
27324
+ BaselineUsedForDriftCheckStatistics: __expectString(output.BaselineUsedForDriftCheckStatistics),
27325
+ CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
27326
+ CalculatedBaselineStatistics: __expectString(output.CalculatedBaselineStatistics),
27327
+ CheckJobArn: __expectString(output.CheckJobArn),
27328
+ CheckType: __expectString(output.CheckType),
27329
+ ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
27330
+ RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
27331
+ SkipCheck: __expectBoolean(output.SkipCheck),
27332
+ ViolationReport: __expectString(output.ViolationReport),
27333
+ };
27334
+ };
27335
+ var deserializeAws_json1_1QueryLineageResponse = function (output, context) {
27336
+ return {
27337
+ Edges: output.Edges !== undefined && output.Edges !== null
27338
+ ? deserializeAws_json1_1Edges(output.Edges, context)
27339
+ : undefined,
27340
+ NextToken: __expectString(output.NextToken),
27341
+ Vertices: output.Vertices !== undefined && output.Vertices !== null
27342
+ ? deserializeAws_json1_1Vertices(output.Vertices, context)
27343
+ : undefined,
27344
+ };
27345
+ };
25922
27346
  var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, context) {
25923
27347
  return (output || [])
25924
27348
  .filter(function (e) { return e != null; })
@@ -25929,6 +27353,43 @@ var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, con
25929
27353
  return __expectString(entry);
25930
27354
  });
25931
27355
  };
27356
+ var deserializeAws_json1_1RecommendationJobInputConfig = function (output, context) {
27357
+ return {
27358
+ EndpointConfigurations: output.EndpointConfigurations !== undefined && output.EndpointConfigurations !== null
27359
+ ? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
27360
+ : undefined,
27361
+ JobDurationInSeconds: __expectInt32(output.JobDurationInSeconds),
27362
+ ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
27363
+ ResourceLimit: output.ResourceLimit !== undefined && output.ResourceLimit !== null
27364
+ ? deserializeAws_json1_1RecommendationJobResourceLimit(output.ResourceLimit, context)
27365
+ : undefined,
27366
+ TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
27367
+ ? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
27368
+ : undefined,
27369
+ };
27370
+ };
27371
+ var deserializeAws_json1_1RecommendationJobResourceLimit = function (output, context) {
27372
+ return {
27373
+ MaxNumberOfTests: __expectInt32(output.MaxNumberOfTests),
27374
+ MaxParallelOfTests: __expectInt32(output.MaxParallelOfTests),
27375
+ };
27376
+ };
27377
+ var deserializeAws_json1_1RecommendationJobStoppingConditions = function (output, context) {
27378
+ return {
27379
+ MaxInvocations: __expectInt32(output.MaxInvocations),
27380
+ ModelLatencyThresholds: output.ModelLatencyThresholds !== undefined && output.ModelLatencyThresholds !== null
27381
+ ? deserializeAws_json1_1ModelLatencyThresholds(output.ModelLatencyThresholds, context)
27382
+ : undefined,
27383
+ };
27384
+ };
27385
+ var deserializeAws_json1_1RecommendationMetrics = function (output, context) {
27386
+ return {
27387
+ CostPerHour: __limitedParseFloat32(output.CostPerHour),
27388
+ CostPerInference: __limitedParseFloat32(output.CostPerInference),
27389
+ MaxInvocations: __expectInt32(output.MaxInvocations),
27390
+ ModelLatency: __expectInt32(output.ModelLatency),
27391
+ };
27392
+ };
25932
27393
  var deserializeAws_json1_1RedshiftDatasetDefinition = function (output, context) {
25933
27394
  return {
25934
27395
  ClusterId: __expectString(output.ClusterId),
@@ -26364,6 +27825,14 @@ var deserializeAws_json1_1TensorBoardOutputConfig = function (output, context) {
26364
27825
  S3OutputPath: __expectString(output.S3OutputPath),
26365
27826
  };
26366
27827
  };
27828
+ var deserializeAws_json1_1TrafficPattern = function (output, context) {
27829
+ return {
27830
+ Phases: output.Phases !== undefined && output.Phases !== null
27831
+ ? deserializeAws_json1_1Phases(output.Phases, context)
27832
+ : undefined,
27833
+ TrafficType: __expectString(output.TrafficType),
27834
+ };
27835
+ };
26367
27836
  var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
26368
27837
  return {
26369
27838
  CanarySize: output.CanarySize !== undefined && output.CanarySize !== null
@@ -26774,6 +28243,7 @@ var deserializeAws_json1_1TrialComponent = function (output, context) {
26774
28243
  LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
26775
28244
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
26776
28245
  : undefined,
28246
+ LineageGroupArn: __expectString(output.LineageGroupArn),
26777
28247
  MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
26778
28248
  ? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
26779
28249
  : undefined,
@@ -27192,6 +28662,23 @@ var deserializeAws_json1_1UserSettings = function (output, context) {
27192
28662
  : undefined,
27193
28663
  };
27194
28664
  };
28665
+ var deserializeAws_json1_1Vertex = function (output, context) {
28666
+ return {
28667
+ Arn: __expectString(output.Arn),
28668
+ LineageType: __expectString(output.LineageType),
28669
+ Type: __expectString(output.Type),
28670
+ };
28671
+ };
28672
+ var deserializeAws_json1_1Vertices = function (output, context) {
28673
+ return (output || [])
28674
+ .filter(function (e) { return e != null; })
28675
+ .map(function (entry) {
28676
+ if (entry === null) {
28677
+ return null;
28678
+ }
28679
+ return deserializeAws_json1_1Vertex(entry, context);
28680
+ });
28681
+ };
27195
28682
  var deserializeAws_json1_1VpcConfig = function (output, context) {
27196
28683
  return {
27197
28684
  SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null