@aws-sdk/client-sagemaker 3.218.0 → 3.221.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 (419) hide show
  1. package/dist-cjs/SageMaker.js +510 -0
  2. package/dist-cjs/commands/CreateHubCommand.js +46 -0
  3. package/dist-cjs/commands/CreateInferenceExperimentCommand.js +46 -0
  4. package/dist-cjs/commands/CreateModelCardCommand.js +46 -0
  5. package/dist-cjs/commands/CreateModelCardExportJobCommand.js +46 -0
  6. package/dist-cjs/commands/CreateSpaceCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteHubCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteHubContentCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteInferenceExperimentCommand.js +46 -0
  10. package/dist-cjs/commands/DeleteModelCardCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteSpaceCommand.js +46 -0
  12. package/dist-cjs/commands/DescribeAppImageConfigCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeArtifactCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeAutoMLJobCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeCodeRepositoryCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeCompilationJobCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeContextCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeDataQualityJobDefinitionCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeDeviceCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeDeviceFleetCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeEdgeDeploymentPlanCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeEdgePackagingJobCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeEndpointCommand.js +1 -2
  25. package/dist-cjs/commands/DescribeHubCommand.js +46 -0
  26. package/dist-cjs/commands/DescribeHubContentCommand.js +46 -0
  27. package/dist-cjs/commands/DescribeInferenceExperimentCommand.js +46 -0
  28. package/dist-cjs/commands/DescribeModelCardCommand.js +46 -0
  29. package/dist-cjs/commands/DescribeModelCardExportJobCommand.js +46 -0
  30. package/dist-cjs/commands/DescribeSpaceCommand.js +46 -0
  31. package/dist-cjs/commands/ImportHubContentCommand.js +46 -0
  32. package/dist-cjs/commands/ListCodeRepositoriesCommand.js +2 -1
  33. package/dist-cjs/commands/ListCompilationJobsCommand.js +3 -3
  34. package/dist-cjs/commands/ListContextsCommand.js +3 -3
  35. package/dist-cjs/commands/ListDataQualityJobDefinitionsCommand.js +3 -3
  36. package/dist-cjs/commands/ListDeviceFleetsCommand.js +3 -3
  37. package/dist-cjs/commands/ListDevicesCommand.js +3 -3
  38. package/dist-cjs/commands/ListDomainsCommand.js +3 -3
  39. package/dist-cjs/commands/ListEdgeDeploymentPlansCommand.js +3 -3
  40. package/dist-cjs/commands/ListEdgePackagingJobsCommand.js +3 -3
  41. package/dist-cjs/commands/ListEndpointConfigsCommand.js +3 -3
  42. package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
  43. package/dist-cjs/commands/ListExperimentsCommand.js +3 -3
  44. package/dist-cjs/commands/ListFeatureGroupsCommand.js +3 -3
  45. package/dist-cjs/commands/ListFlowDefinitionsCommand.js +3 -3
  46. package/dist-cjs/commands/ListHubContentVersionsCommand.js +46 -0
  47. package/dist-cjs/commands/ListHubContentsCommand.js +46 -0
  48. package/dist-cjs/commands/ListHubsCommand.js +46 -0
  49. package/dist-cjs/commands/ListHumanTaskUisCommand.js +3 -3
  50. package/dist-cjs/commands/ListHyperParameterTuningJobsCommand.js +3 -3
  51. package/dist-cjs/commands/ListImageVersionsCommand.js +3 -3
  52. package/dist-cjs/commands/ListImagesCommand.js +3 -3
  53. package/dist-cjs/commands/ListInferenceExperimentsCommand.js +46 -0
  54. package/dist-cjs/commands/ListInferenceRecommendationsJobStepsCommand.js +3 -3
  55. package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +3 -3
  56. package/dist-cjs/commands/ListLabelingJobsCommand.js +3 -3
  57. package/dist-cjs/commands/ListLabelingJobsForWorkteamCommand.js +3 -3
  58. package/dist-cjs/commands/ListLineageGroupsCommand.js +3 -3
  59. package/dist-cjs/commands/ListModelBiasJobDefinitionsCommand.js +3 -3
  60. package/dist-cjs/commands/ListModelCardExportJobsCommand.js +46 -0
  61. package/dist-cjs/commands/ListModelCardVersionsCommand.js +46 -0
  62. package/dist-cjs/commands/ListModelCardsCommand.js +46 -0
  63. package/dist-cjs/commands/ListModelExplainabilityJobDefinitionsCommand.js +3 -3
  64. package/dist-cjs/commands/ListModelMetadataCommand.js +1 -2
  65. package/dist-cjs/commands/ListMonitoringAlertHistoryCommand.js +46 -0
  66. package/dist-cjs/commands/ListMonitoringAlertsCommand.js +46 -0
  67. package/dist-cjs/commands/ListSpacesCommand.js +46 -0
  68. package/dist-cjs/commands/SearchCommand.js +2 -1
  69. package/dist-cjs/commands/StartInferenceExperimentCommand.js +46 -0
  70. package/dist-cjs/commands/StopInferenceExperimentCommand.js +46 -0
  71. package/dist-cjs/commands/UpdateHubCommand.js +46 -0
  72. package/dist-cjs/commands/UpdateInferenceExperimentCommand.js +46 -0
  73. package/dist-cjs/commands/UpdateModelCardCommand.js +46 -0
  74. package/dist-cjs/commands/UpdateModelPackageCommand.js +3 -3
  75. package/dist-cjs/commands/UpdateMonitoringAlertCommand.js +46 -0
  76. package/dist-cjs/commands/UpdateMonitoringScheduleCommand.js +3 -3
  77. package/dist-cjs/commands/UpdateNotebookInstanceCommand.js +3 -3
  78. package/dist-cjs/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +3 -3
  79. package/dist-cjs/commands/UpdatePipelineCommand.js +3 -3
  80. package/dist-cjs/commands/UpdatePipelineExecutionCommand.js +3 -3
  81. package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
  82. package/dist-cjs/commands/UpdateSpaceCommand.js +46 -0
  83. package/dist-cjs/commands/UpdateTrainingJobCommand.js +3 -3
  84. package/dist-cjs/commands/UpdateTrialCommand.js +3 -3
  85. package/dist-cjs/commands/UpdateTrialComponentCommand.js +3 -3
  86. package/dist-cjs/commands/UpdateUserProfileCommand.js +3 -3
  87. package/dist-cjs/commands/UpdateWorkforceCommand.js +3 -3
  88. package/dist-cjs/commands/UpdateWorkteamCommand.js +3 -3
  89. package/dist-cjs/commands/index.js +34 -0
  90. package/dist-cjs/models/index.js +1 -0
  91. package/dist-cjs/models/models_0.js +15 -15
  92. package/dist-cjs/models/models_1.js +194 -207
  93. package/dist-cjs/models/models_2.js +333 -293
  94. package/dist-cjs/models/models_3.js +512 -129
  95. package/dist-cjs/models/models_4.js +158 -0
  96. package/dist-cjs/pagination/ListInferenceExperimentsPaginator.js +36 -0
  97. package/dist-cjs/pagination/ListModelCardExportJobsPaginator.js +36 -0
  98. package/dist-cjs/pagination/ListModelCardVersionsPaginator.js +36 -0
  99. package/dist-cjs/pagination/ListModelCardsPaginator.js +36 -0
  100. package/dist-cjs/pagination/ListMonitoringAlertHistoryPaginator.js +36 -0
  101. package/dist-cjs/pagination/ListMonitoringAlertsPaginator.js +36 -0
  102. package/dist-cjs/pagination/ListSpacesPaginator.js +36 -0
  103. package/dist-cjs/pagination/index.js +7 -0
  104. package/dist-cjs/protocols/Aws_json1_1.js +3050 -107
  105. package/dist-es/SageMaker.js +510 -0
  106. package/dist-es/commands/CreateHubCommand.js +42 -0
  107. package/dist-es/commands/CreateInferenceExperimentCommand.js +42 -0
  108. package/dist-es/commands/CreateModelCardCommand.js +42 -0
  109. package/dist-es/commands/CreateModelCardExportJobCommand.js +42 -0
  110. package/dist-es/commands/CreateSpaceCommand.js +42 -0
  111. package/dist-es/commands/DeleteHubCommand.js +42 -0
  112. package/dist-es/commands/DeleteHubContentCommand.js +42 -0
  113. package/dist-es/commands/DeleteInferenceExperimentCommand.js +42 -0
  114. package/dist-es/commands/DeleteModelCardCommand.js +42 -0
  115. package/dist-es/commands/DeleteSpaceCommand.js +42 -0
  116. package/dist-es/commands/DescribeAppImageConfigCommand.js +1 -1
  117. package/dist-es/commands/DescribeArtifactCommand.js +1 -1
  118. package/dist-es/commands/DescribeAutoMLJobCommand.js +1 -1
  119. package/dist-es/commands/DescribeCodeRepositoryCommand.js +1 -1
  120. package/dist-es/commands/DescribeCompilationJobCommand.js +1 -1
  121. package/dist-es/commands/DescribeContextCommand.js +1 -1
  122. package/dist-es/commands/DescribeDataQualityJobDefinitionCommand.js +1 -1
  123. package/dist-es/commands/DescribeDeviceCommand.js +1 -1
  124. package/dist-es/commands/DescribeDeviceFleetCommand.js +1 -1
  125. package/dist-es/commands/DescribeDomainCommand.js +1 -1
  126. package/dist-es/commands/DescribeEdgeDeploymentPlanCommand.js +1 -1
  127. package/dist-es/commands/DescribeEdgePackagingJobCommand.js +1 -1
  128. package/dist-es/commands/DescribeEndpointCommand.js +1 -2
  129. package/dist-es/commands/DescribeHubCommand.js +42 -0
  130. package/dist-es/commands/DescribeHubContentCommand.js +42 -0
  131. package/dist-es/commands/DescribeInferenceExperimentCommand.js +42 -0
  132. package/dist-es/commands/DescribeModelCardCommand.js +42 -0
  133. package/dist-es/commands/DescribeModelCardExportJobCommand.js +42 -0
  134. package/dist-es/commands/DescribeSpaceCommand.js +42 -0
  135. package/dist-es/commands/ImportHubContentCommand.js +42 -0
  136. package/dist-es/commands/ListCodeRepositoriesCommand.js +2 -1
  137. package/dist-es/commands/ListCompilationJobsCommand.js +1 -1
  138. package/dist-es/commands/ListContextsCommand.js +1 -1
  139. package/dist-es/commands/ListDataQualityJobDefinitionsCommand.js +1 -1
  140. package/dist-es/commands/ListDeviceFleetsCommand.js +1 -1
  141. package/dist-es/commands/ListDevicesCommand.js +1 -1
  142. package/dist-es/commands/ListDomainsCommand.js +1 -1
  143. package/dist-es/commands/ListEdgeDeploymentPlansCommand.js +1 -1
  144. package/dist-es/commands/ListEdgePackagingJobsCommand.js +1 -1
  145. package/dist-es/commands/ListEndpointConfigsCommand.js +1 -1
  146. package/dist-es/commands/ListEndpointsCommand.js +1 -1
  147. package/dist-es/commands/ListExperimentsCommand.js +1 -1
  148. package/dist-es/commands/ListFeatureGroupsCommand.js +1 -1
  149. package/dist-es/commands/ListFlowDefinitionsCommand.js +1 -1
  150. package/dist-es/commands/ListHubContentVersionsCommand.js +42 -0
  151. package/dist-es/commands/ListHubContentsCommand.js +42 -0
  152. package/dist-es/commands/ListHubsCommand.js +42 -0
  153. package/dist-es/commands/ListHumanTaskUisCommand.js +1 -1
  154. package/dist-es/commands/ListHyperParameterTuningJobsCommand.js +1 -1
  155. package/dist-es/commands/ListImageVersionsCommand.js +1 -1
  156. package/dist-es/commands/ListImagesCommand.js +1 -1
  157. package/dist-es/commands/ListInferenceExperimentsCommand.js +42 -0
  158. package/dist-es/commands/ListInferenceRecommendationsJobStepsCommand.js +1 -1
  159. package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +1 -1
  160. package/dist-es/commands/ListLabelingJobsCommand.js +1 -1
  161. package/dist-es/commands/ListLabelingJobsForWorkteamCommand.js +1 -1
  162. package/dist-es/commands/ListLineageGroupsCommand.js +1 -1
  163. package/dist-es/commands/ListModelBiasJobDefinitionsCommand.js +1 -1
  164. package/dist-es/commands/ListModelCardExportJobsCommand.js +42 -0
  165. package/dist-es/commands/ListModelCardVersionsCommand.js +42 -0
  166. package/dist-es/commands/ListModelCardsCommand.js +42 -0
  167. package/dist-es/commands/ListModelExplainabilityJobDefinitionsCommand.js +1 -1
  168. package/dist-es/commands/ListModelMetadataCommand.js +1 -2
  169. package/dist-es/commands/ListMonitoringAlertHistoryCommand.js +42 -0
  170. package/dist-es/commands/ListMonitoringAlertsCommand.js +42 -0
  171. package/dist-es/commands/ListSpacesCommand.js +42 -0
  172. package/dist-es/commands/SearchCommand.js +2 -1
  173. package/dist-es/commands/StartInferenceExperimentCommand.js +42 -0
  174. package/dist-es/commands/StopInferenceExperimentCommand.js +42 -0
  175. package/dist-es/commands/UpdateHubCommand.js +42 -0
  176. package/dist-es/commands/UpdateInferenceExperimentCommand.js +42 -0
  177. package/dist-es/commands/UpdateModelCardCommand.js +42 -0
  178. package/dist-es/commands/UpdateModelPackageCommand.js +1 -1
  179. package/dist-es/commands/UpdateMonitoringAlertCommand.js +42 -0
  180. package/dist-es/commands/UpdateMonitoringScheduleCommand.js +1 -1
  181. package/dist-es/commands/UpdateNotebookInstanceCommand.js +1 -1
  182. package/dist-es/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +1 -1
  183. package/dist-es/commands/UpdatePipelineCommand.js +1 -1
  184. package/dist-es/commands/UpdatePipelineExecutionCommand.js +1 -1
  185. package/dist-es/commands/UpdateProjectCommand.js +1 -1
  186. package/dist-es/commands/UpdateSpaceCommand.js +42 -0
  187. package/dist-es/commands/UpdateTrainingJobCommand.js +1 -1
  188. package/dist-es/commands/UpdateTrialCommand.js +1 -1
  189. package/dist-es/commands/UpdateTrialComponentCommand.js +1 -1
  190. package/dist-es/commands/UpdateUserProfileCommand.js +1 -1
  191. package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
  192. package/dist-es/commands/UpdateWorkteamCommand.js +1 -1
  193. package/dist-es/commands/index.js +34 -0
  194. package/dist-es/models/index.js +1 -0
  195. package/dist-es/models/models_0.js +9 -9
  196. package/dist-es/models/models_1.js +157 -169
  197. package/dist-es/models/models_2.js +275 -234
  198. package/dist-es/models/models_3.js +411 -93
  199. package/dist-es/models/models_4.js +118 -0
  200. package/dist-es/pagination/ListInferenceExperimentsPaginator.js +32 -0
  201. package/dist-es/pagination/ListModelCardExportJobsPaginator.js +32 -0
  202. package/dist-es/pagination/ListModelCardVersionsPaginator.js +32 -0
  203. package/dist-es/pagination/ListModelCardsPaginator.js +32 -0
  204. package/dist-es/pagination/ListMonitoringAlertHistoryPaginator.js +32 -0
  205. package/dist-es/pagination/ListMonitoringAlertsPaginator.js +32 -0
  206. package/dist-es/pagination/ListSpacesPaginator.js +32 -0
  207. package/dist-es/pagination/index.js +7 -0
  208. package/dist-es/protocols/Aws_json1_1.js +2970 -96
  209. package/dist-types/SageMaker.d.ts +266 -0
  210. package/dist-types/SageMakerClient.d.ts +36 -2
  211. package/dist-types/commands/CreateHubCommand.d.ts +37 -0
  212. package/dist-types/commands/CreateInferenceExperimentCommand.d.ts +51 -0
  213. package/dist-types/commands/CreateModelCardCommand.d.ts +38 -0
  214. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +37 -0
  215. package/dist-types/commands/CreateSpaceCommand.d.ts +37 -0
  216. package/dist-types/commands/DeleteHubCommand.d.ts +37 -0
  217. package/dist-types/commands/DeleteHubContentCommand.d.ts +37 -0
  218. package/dist-types/commands/DeleteInferenceExperimentCommand.d.ts +43 -0
  219. package/dist-types/commands/DeleteModelCardCommand.d.ts +37 -0
  220. package/dist-types/commands/DeleteSpaceCommand.d.ts +37 -0
  221. package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +1 -1
  222. package/dist-types/commands/DescribeArtifactCommand.d.ts +1 -1
  223. package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +1 -1
  224. package/dist-types/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
  225. package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
  226. package/dist-types/commands/DescribeContextCommand.d.ts +1 -1
  227. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  228. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  229. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  230. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  231. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  232. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  233. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  234. package/dist-types/commands/DescribeHubCommand.d.ts +37 -0
  235. package/dist-types/commands/DescribeHubContentCommand.d.ts +37 -0
  236. package/dist-types/commands/DescribeInferenceExperimentCommand.d.ts +37 -0
  237. package/dist-types/commands/DescribeModelCardCommand.d.ts +37 -0
  238. package/dist-types/commands/DescribeModelCardExportJobCommand.d.ts +37 -0
  239. package/dist-types/commands/DescribeSpaceCommand.d.ts +37 -0
  240. package/dist-types/commands/ImportHubContentCommand.d.ts +37 -0
  241. package/dist-types/commands/ListCodeRepositoriesCommand.d.ts +2 -1
  242. package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -1
  243. package/dist-types/commands/ListContextsCommand.d.ts +1 -1
  244. package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
  245. package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -1
  246. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  247. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  248. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  249. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  250. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  251. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  252. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  253. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  254. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -1
  255. package/dist-types/commands/ListHubContentVersionsCommand.d.ts +37 -0
  256. package/dist-types/commands/ListHubContentsCommand.d.ts +37 -0
  257. package/dist-types/commands/ListHubsCommand.d.ts +37 -0
  258. package/dist-types/commands/ListHumanTaskUisCommand.d.ts +1 -1
  259. package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
  260. package/dist-types/commands/ListImageVersionsCommand.d.ts +1 -1
  261. package/dist-types/commands/ListImagesCommand.d.ts +1 -1
  262. package/dist-types/commands/ListInferenceExperimentsCommand.d.ts +37 -0
  263. package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
  264. package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
  265. package/dist-types/commands/ListLabelingJobsCommand.d.ts +1 -1
  266. package/dist-types/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
  267. package/dist-types/commands/ListLineageGroupsCommand.d.ts +1 -1
  268. package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -1
  269. package/dist-types/commands/ListModelCardExportJobsCommand.d.ts +37 -0
  270. package/dist-types/commands/ListModelCardVersionsCommand.d.ts +37 -0
  271. package/dist-types/commands/ListModelCardsCommand.d.ts +37 -0
  272. package/dist-types/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
  273. package/dist-types/commands/ListModelMetadataCommand.d.ts +1 -2
  274. package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +37 -0
  275. package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +37 -0
  276. package/dist-types/commands/ListSpacesCommand.d.ts +37 -0
  277. package/dist-types/commands/SearchCommand.d.ts +2 -1
  278. package/dist-types/commands/StartInferenceExperimentCommand.d.ts +37 -0
  279. package/dist-types/commands/StopInferenceExperimentCommand.d.ts +37 -0
  280. package/dist-types/commands/UpdateHubCommand.d.ts +37 -0
  281. package/dist-types/commands/UpdateInferenceExperimentCommand.d.ts +41 -0
  282. package/dist-types/commands/UpdateModelCardCommand.d.ts +40 -0
  283. package/dist-types/commands/UpdateModelPackageCommand.d.ts +1 -1
  284. package/dist-types/commands/UpdateMonitoringAlertCommand.d.ts +37 -0
  285. package/dist-types/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
  286. package/dist-types/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
  287. package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  288. package/dist-types/commands/UpdatePipelineCommand.d.ts +1 -1
  289. package/dist-types/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
  290. package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
  291. package/dist-types/commands/UpdateSpaceCommand.d.ts +37 -0
  292. package/dist-types/commands/UpdateTrainingJobCommand.d.ts +1 -1
  293. package/dist-types/commands/UpdateTrialCommand.d.ts +1 -1
  294. package/dist-types/commands/UpdateTrialComponentCommand.d.ts +1 -1
  295. package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
  296. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  297. package/dist-types/commands/UpdateWorkteamCommand.d.ts +1 -1
  298. package/dist-types/commands/index.d.ts +34 -0
  299. package/dist-types/models/index.d.ts +1 -0
  300. package/dist-types/models/models_0.d.ts +82 -143
  301. package/dist-types/models/models_1.d.ts +900 -1156
  302. package/dist-types/models/models_2.d.ts +5496 -5051
  303. package/dist-types/models/models_3.d.ts +5386 -3240
  304. package/dist-types/models/models_4.d.ts +841 -0
  305. package/dist-types/pagination/ListInferenceExperimentsPaginator.d.ts +4 -0
  306. package/dist-types/pagination/ListModelCardExportJobsPaginator.d.ts +4 -0
  307. package/dist-types/pagination/ListModelCardVersionsPaginator.d.ts +4 -0
  308. package/dist-types/pagination/ListModelCardsPaginator.d.ts +4 -0
  309. package/dist-types/pagination/ListMonitoringAlertHistoryPaginator.d.ts +4 -0
  310. package/dist-types/pagination/ListMonitoringAlertsPaginator.d.ts +4 -0
  311. package/dist-types/pagination/ListSpacesPaginator.d.ts +4 -0
  312. package/dist-types/pagination/index.d.ts +7 -0
  313. package/dist-types/protocols/Aws_json1_1.d.ts +102 -0
  314. package/dist-types/ts3.4/SageMaker.d.ts +578 -0
  315. package/dist-types/ts3.4/SageMakerClient.d.ts +204 -0
  316. package/dist-types/ts3.4/commands/CreateHubCommand.d.ts +34 -0
  317. package/dist-types/ts3.4/commands/CreateInferenceExperimentCommand.d.ts +41 -0
  318. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +37 -0
  319. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +41 -0
  320. package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +34 -0
  321. package/dist-types/ts3.4/commands/DeleteHubCommand.d.ts +32 -0
  322. package/dist-types/ts3.4/commands/DeleteHubContentCommand.d.ts +32 -0
  323. package/dist-types/ts3.4/commands/DeleteInferenceExperimentCommand.d.ts +41 -0
  324. package/dist-types/ts3.4/commands/DeleteModelCardCommand.d.ts +32 -0
  325. package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +32 -0
  326. package/dist-types/ts3.4/commands/DescribeAppImageConfigCommand.d.ts +1 -1
  327. package/dist-types/ts3.4/commands/DescribeArtifactCommand.d.ts +1 -1
  328. package/dist-types/ts3.4/commands/DescribeAutoMLJobCommand.d.ts +1 -1
  329. package/dist-types/ts3.4/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
  330. package/dist-types/ts3.4/commands/DescribeCompilationJobCommand.d.ts +1 -1
  331. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +1 -1
  332. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  333. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  334. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  335. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  336. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  337. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  338. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  339. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +34 -0
  340. package/dist-types/ts3.4/commands/DescribeHubContentCommand.d.ts +38 -0
  341. package/dist-types/ts3.4/commands/DescribeInferenceExperimentCommand.d.ts +41 -0
  342. package/dist-types/ts3.4/commands/DescribeModelCardCommand.d.ts +38 -0
  343. package/dist-types/ts3.4/commands/DescribeModelCardExportJobCommand.d.ts +41 -0
  344. package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +37 -0
  345. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +37 -0
  346. package/dist-types/ts3.4/commands/ListCodeRepositoriesCommand.d.ts +2 -4
  347. package/dist-types/ts3.4/commands/ListCompilationJobsCommand.d.ts +1 -1
  348. package/dist-types/ts3.4/commands/ListContextsCommand.d.ts +1 -1
  349. package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
  350. package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +1 -1
  351. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  352. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
  353. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  354. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  355. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  356. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  357. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  358. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  359. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -1
  360. package/dist-types/ts3.4/commands/ListHubContentVersionsCommand.d.ts +41 -0
  361. package/dist-types/ts3.4/commands/ListHubContentsCommand.d.ts +37 -0
  362. package/dist-types/ts3.4/commands/ListHubsCommand.d.ts +34 -0
  363. package/dist-types/ts3.4/commands/ListHumanTaskUisCommand.d.ts +1 -1
  364. package/dist-types/ts3.4/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
  365. package/dist-types/ts3.4/commands/ListImageVersionsCommand.d.ts +1 -1
  366. package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +1 -1
  367. package/dist-types/ts3.4/commands/ListInferenceExperimentsCommand.d.ts +41 -0
  368. package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
  369. package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
  370. package/dist-types/ts3.4/commands/ListLabelingJobsCommand.d.ts +1 -1
  371. package/dist-types/ts3.4/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
  372. package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +1 -1
  373. package/dist-types/ts3.4/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -1
  374. package/dist-types/ts3.4/commands/ListModelCardExportJobsCommand.d.ts +41 -0
  375. package/dist-types/ts3.4/commands/ListModelCardVersionsCommand.d.ts +41 -0
  376. package/dist-types/ts3.4/commands/ListModelCardsCommand.d.ts +37 -0
  377. package/dist-types/ts3.4/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
  378. package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +4 -2
  379. package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +41 -0
  380. package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +41 -0
  381. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +34 -0
  382. package/dist-types/ts3.4/commands/SearchCommand.d.ts +2 -1
  383. package/dist-types/ts3.4/commands/StartInferenceExperimentCommand.d.ts +41 -0
  384. package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +41 -0
  385. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +34 -0
  386. package/dist-types/ts3.4/commands/UpdateInferenceExperimentCommand.d.ts +41 -0
  387. package/dist-types/ts3.4/commands/UpdateModelCardCommand.d.ts +37 -0
  388. package/dist-types/ts3.4/commands/UpdateModelPackageCommand.d.ts +1 -1
  389. package/dist-types/ts3.4/commands/UpdateMonitoringAlertCommand.d.ts +41 -0
  390. package/dist-types/ts3.4/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
  391. package/dist-types/ts3.4/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
  392. package/dist-types/ts3.4/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
  393. package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +1 -1
  394. package/dist-types/ts3.4/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
  395. package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
  396. package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +34 -0
  397. package/dist-types/ts3.4/commands/UpdateTrainingJobCommand.d.ts +1 -1
  398. package/dist-types/ts3.4/commands/UpdateTrialCommand.d.ts +1 -1
  399. package/dist-types/ts3.4/commands/UpdateTrialComponentCommand.d.ts +1 -1
  400. package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
  401. package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
  402. package/dist-types/ts3.4/commands/UpdateWorkteamCommand.d.ts +1 -1
  403. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  404. package/dist-types/ts3.4/models/index.d.ts +1 -0
  405. package/dist-types/ts3.4/models/models_0.d.ts +27 -22
  406. package/dist-types/ts3.4/models/models_1.d.ts +326 -463
  407. package/dist-types/ts3.4/models/models_2.d.ts +717 -586
  408. package/dist-types/ts3.4/models/models_3.d.ts +1123 -289
  409. package/dist-types/ts3.4/models/models_4.d.ts +335 -0
  410. package/dist-types/ts3.4/pagination/ListInferenceExperimentsPaginator.d.ts +11 -0
  411. package/dist-types/ts3.4/pagination/ListModelCardExportJobsPaginator.d.ts +11 -0
  412. package/dist-types/ts3.4/pagination/ListModelCardVersionsPaginator.d.ts +11 -0
  413. package/dist-types/ts3.4/pagination/ListModelCardsPaginator.d.ts +11 -0
  414. package/dist-types/ts3.4/pagination/ListMonitoringAlertHistoryPaginator.d.ts +11 -0
  415. package/dist-types/ts3.4/pagination/ListMonitoringAlertsPaginator.d.ts +11 -0
  416. package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +11 -0
  417. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  418. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +408 -0
  419. package/package.json +1 -1
@@ -220,6 +220,15 @@ export const serializeAws_json1_1CreateFlowDefinitionCommand = async (input, con
220
220
  body = JSON.stringify(serializeAws_json1_1CreateFlowDefinitionRequest(input, context));
221
221
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
222
222
  };
223
+ export const serializeAws_json1_1CreateHubCommand = async (input, context) => {
224
+ const headers = {
225
+ "content-type": "application/x-amz-json-1.1",
226
+ "x-amz-target": "SageMaker.CreateHub",
227
+ };
228
+ let body;
229
+ body = JSON.stringify(serializeAws_json1_1CreateHubRequest(input, context));
230
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
231
+ };
223
232
  export const serializeAws_json1_1CreateHumanTaskUiCommand = async (input, context) => {
224
233
  const headers = {
225
234
  "content-type": "application/x-amz-json-1.1",
@@ -256,6 +265,15 @@ export const serializeAws_json1_1CreateImageVersionCommand = async (input, conte
256
265
  body = JSON.stringify(serializeAws_json1_1CreateImageVersionRequest(input, context));
257
266
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
258
267
  };
268
+ export const serializeAws_json1_1CreateInferenceExperimentCommand = async (input, context) => {
269
+ const headers = {
270
+ "content-type": "application/x-amz-json-1.1",
271
+ "x-amz-target": "SageMaker.CreateInferenceExperiment",
272
+ };
273
+ let body;
274
+ body = JSON.stringify(serializeAws_json1_1CreateInferenceExperimentRequest(input, context));
275
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
276
+ };
259
277
  export const serializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (input, context) => {
260
278
  const headers = {
261
279
  "content-type": "application/x-amz-json-1.1",
@@ -292,6 +310,24 @@ export const serializeAws_json1_1CreateModelBiasJobDefinitionCommand = async (in
292
310
  body = JSON.stringify(serializeAws_json1_1CreateModelBiasJobDefinitionRequest(input, context));
293
311
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
294
312
  };
313
+ export const serializeAws_json1_1CreateModelCardCommand = async (input, context) => {
314
+ const headers = {
315
+ "content-type": "application/x-amz-json-1.1",
316
+ "x-amz-target": "SageMaker.CreateModelCard",
317
+ };
318
+ let body;
319
+ body = JSON.stringify(serializeAws_json1_1CreateModelCardRequest(input, context));
320
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
321
+ };
322
+ export const serializeAws_json1_1CreateModelCardExportJobCommand = async (input, context) => {
323
+ const headers = {
324
+ "content-type": "application/x-amz-json-1.1",
325
+ "x-amz-target": "SageMaker.CreateModelCardExportJob",
326
+ };
327
+ let body;
328
+ body = JSON.stringify(serializeAws_json1_1CreateModelCardExportJobRequest(input, context));
329
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
330
+ };
295
331
  export const serializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = async (input, context) => {
296
332
  const headers = {
297
333
  "content-type": "application/x-amz-json-1.1",
@@ -400,6 +436,15 @@ export const serializeAws_json1_1CreateProjectCommand = async (input, context) =
400
436
  body = JSON.stringify(serializeAws_json1_1CreateProjectInput(input, context));
401
437
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
402
438
  };
439
+ export const serializeAws_json1_1CreateSpaceCommand = async (input, context) => {
440
+ const headers = {
441
+ "content-type": "application/x-amz-json-1.1",
442
+ "x-amz-target": "SageMaker.CreateSpace",
443
+ };
444
+ let body;
445
+ body = JSON.stringify(serializeAws_json1_1CreateSpaceRequest(input, context));
446
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
447
+ };
403
448
  export const serializeAws_json1_1CreateStudioLifecycleConfigCommand = async (input, context) => {
404
449
  const headers = {
405
450
  "content-type": "application/x-amz-json-1.1",
@@ -634,6 +679,24 @@ export const serializeAws_json1_1DeleteFlowDefinitionCommand = async (input, con
634
679
  body = JSON.stringify(serializeAws_json1_1DeleteFlowDefinitionRequest(input, context));
635
680
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
636
681
  };
682
+ export const serializeAws_json1_1DeleteHubCommand = async (input, context) => {
683
+ const headers = {
684
+ "content-type": "application/x-amz-json-1.1",
685
+ "x-amz-target": "SageMaker.DeleteHub",
686
+ };
687
+ let body;
688
+ body = JSON.stringify(serializeAws_json1_1DeleteHubRequest(input, context));
689
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
690
+ };
691
+ export const serializeAws_json1_1DeleteHubContentCommand = async (input, context) => {
692
+ const headers = {
693
+ "content-type": "application/x-amz-json-1.1",
694
+ "x-amz-target": "SageMaker.DeleteHubContent",
695
+ };
696
+ let body;
697
+ body = JSON.stringify(serializeAws_json1_1DeleteHubContentRequest(input, context));
698
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
699
+ };
637
700
  export const serializeAws_json1_1DeleteHumanTaskUiCommand = async (input, context) => {
638
701
  const headers = {
639
702
  "content-type": "application/x-amz-json-1.1",
@@ -661,6 +724,15 @@ export const serializeAws_json1_1DeleteImageVersionCommand = async (input, conte
661
724
  body = JSON.stringify(serializeAws_json1_1DeleteImageVersionRequest(input, context));
662
725
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
663
726
  };
727
+ export const serializeAws_json1_1DeleteInferenceExperimentCommand = async (input, context) => {
728
+ const headers = {
729
+ "content-type": "application/x-amz-json-1.1",
730
+ "x-amz-target": "SageMaker.DeleteInferenceExperiment",
731
+ };
732
+ let body;
733
+ body = JSON.stringify(serializeAws_json1_1DeleteInferenceExperimentRequest(input, context));
734
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
735
+ };
664
736
  export const serializeAws_json1_1DeleteModelCommand = async (input, context) => {
665
737
  const headers = {
666
738
  "content-type": "application/x-amz-json-1.1",
@@ -679,6 +751,15 @@ export const serializeAws_json1_1DeleteModelBiasJobDefinitionCommand = async (in
679
751
  body = JSON.stringify(serializeAws_json1_1DeleteModelBiasJobDefinitionRequest(input, context));
680
752
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
681
753
  };
754
+ export const serializeAws_json1_1DeleteModelCardCommand = async (input, context) => {
755
+ const headers = {
756
+ "content-type": "application/x-amz-json-1.1",
757
+ "x-amz-target": "SageMaker.DeleteModelCard",
758
+ };
759
+ let body;
760
+ body = JSON.stringify(serializeAws_json1_1DeleteModelCardRequest(input, context));
761
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
762
+ };
682
763
  export const serializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = async (input, context) => {
683
764
  const headers = {
684
765
  "content-type": "application/x-amz-json-1.1",
@@ -769,6 +850,15 @@ export const serializeAws_json1_1DeleteProjectCommand = async (input, context) =
769
850
  body = JSON.stringify(serializeAws_json1_1DeleteProjectInput(input, context));
770
851
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
771
852
  };
853
+ export const serializeAws_json1_1DeleteSpaceCommand = async (input, context) => {
854
+ const headers = {
855
+ "content-type": "application/x-amz-json-1.1",
856
+ "x-amz-target": "SageMaker.DeleteSpace",
857
+ };
858
+ let body;
859
+ body = JSON.stringify(serializeAws_json1_1DeleteSpaceRequest(input, context));
860
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
861
+ };
772
862
  export const serializeAws_json1_1DeleteStudioLifecycleConfigCommand = async (input, context) => {
773
863
  const headers = {
774
864
  "content-type": "application/x-amz-json-1.1",
@@ -1030,6 +1120,24 @@ export const serializeAws_json1_1DescribeFlowDefinitionCommand = async (input, c
1030
1120
  body = JSON.stringify(serializeAws_json1_1DescribeFlowDefinitionRequest(input, context));
1031
1121
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1032
1122
  };
1123
+ export const serializeAws_json1_1DescribeHubCommand = async (input, context) => {
1124
+ const headers = {
1125
+ "content-type": "application/x-amz-json-1.1",
1126
+ "x-amz-target": "SageMaker.DescribeHub",
1127
+ };
1128
+ let body;
1129
+ body = JSON.stringify(serializeAws_json1_1DescribeHubRequest(input, context));
1130
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1131
+ };
1132
+ export const serializeAws_json1_1DescribeHubContentCommand = async (input, context) => {
1133
+ const headers = {
1134
+ "content-type": "application/x-amz-json-1.1",
1135
+ "x-amz-target": "SageMaker.DescribeHubContent",
1136
+ };
1137
+ let body;
1138
+ body = JSON.stringify(serializeAws_json1_1DescribeHubContentRequest(input, context));
1139
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1140
+ };
1033
1141
  export const serializeAws_json1_1DescribeHumanTaskUiCommand = async (input, context) => {
1034
1142
  const headers = {
1035
1143
  "content-type": "application/x-amz-json-1.1",
@@ -1066,6 +1174,15 @@ export const serializeAws_json1_1DescribeImageVersionCommand = async (input, con
1066
1174
  body = JSON.stringify(serializeAws_json1_1DescribeImageVersionRequest(input, context));
1067
1175
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1068
1176
  };
1177
+ export const serializeAws_json1_1DescribeInferenceExperimentCommand = async (input, context) => {
1178
+ const headers = {
1179
+ "content-type": "application/x-amz-json-1.1",
1180
+ "x-amz-target": "SageMaker.DescribeInferenceExperiment",
1181
+ };
1182
+ let body;
1183
+ body = JSON.stringify(serializeAws_json1_1DescribeInferenceExperimentRequest(input, context));
1184
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1185
+ };
1069
1186
  export const serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (input, context) => {
1070
1187
  const headers = {
1071
1188
  "content-type": "application/x-amz-json-1.1",
@@ -1111,6 +1228,24 @@ export const serializeAws_json1_1DescribeModelBiasJobDefinitionCommand = async (
1111
1228
  body = JSON.stringify(serializeAws_json1_1DescribeModelBiasJobDefinitionRequest(input, context));
1112
1229
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1113
1230
  };
1231
+ export const serializeAws_json1_1DescribeModelCardCommand = async (input, context) => {
1232
+ const headers = {
1233
+ "content-type": "application/x-amz-json-1.1",
1234
+ "x-amz-target": "SageMaker.DescribeModelCard",
1235
+ };
1236
+ let body;
1237
+ body = JSON.stringify(serializeAws_json1_1DescribeModelCardRequest(input, context));
1238
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1239
+ };
1240
+ export const serializeAws_json1_1DescribeModelCardExportJobCommand = async (input, context) => {
1241
+ const headers = {
1242
+ "content-type": "application/x-amz-json-1.1",
1243
+ "x-amz-target": "SageMaker.DescribeModelCardExportJob",
1244
+ };
1245
+ let body;
1246
+ body = JSON.stringify(serializeAws_json1_1DescribeModelCardExportJobRequest(input, context));
1247
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1248
+ };
1114
1249
  export const serializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = async (input, context) => {
1115
1250
  const headers = {
1116
1251
  "content-type": "application/x-amz-json-1.1",
@@ -1219,6 +1354,15 @@ export const serializeAws_json1_1DescribeProjectCommand = async (input, context)
1219
1354
  body = JSON.stringify(serializeAws_json1_1DescribeProjectInput(input, context));
1220
1355
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1221
1356
  };
1357
+ export const serializeAws_json1_1DescribeSpaceCommand = async (input, context) => {
1358
+ const headers = {
1359
+ "content-type": "application/x-amz-json-1.1",
1360
+ "x-amz-target": "SageMaker.DescribeSpace",
1361
+ };
1362
+ let body;
1363
+ body = JSON.stringify(serializeAws_json1_1DescribeSpaceRequest(input, context));
1364
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1365
+ };
1222
1366
  export const serializeAws_json1_1DescribeStudioLifecycleConfigCommand = async (input, context) => {
1223
1367
  const headers = {
1224
1368
  "content-type": "application/x-amz-json-1.1",
@@ -1372,6 +1516,15 @@ export const serializeAws_json1_1GetSearchSuggestionsCommand = async (input, con
1372
1516
  body = JSON.stringify(serializeAws_json1_1GetSearchSuggestionsRequest(input, context));
1373
1517
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1374
1518
  };
1519
+ export const serializeAws_json1_1ImportHubContentCommand = async (input, context) => {
1520
+ const headers = {
1521
+ "content-type": "application/x-amz-json-1.1",
1522
+ "x-amz-target": "SageMaker.ImportHubContent",
1523
+ };
1524
+ let body;
1525
+ body = JSON.stringify(serializeAws_json1_1ImportHubContentRequest(input, context));
1526
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1527
+ };
1375
1528
  export const serializeAws_json1_1ListActionsCommand = async (input, context) => {
1376
1529
  const headers = {
1377
1530
  "content-type": "application/x-amz-json-1.1",
@@ -1570,6 +1723,33 @@ export const serializeAws_json1_1ListFlowDefinitionsCommand = async (input, cont
1570
1723
  body = JSON.stringify(serializeAws_json1_1ListFlowDefinitionsRequest(input, context));
1571
1724
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1572
1725
  };
1726
+ export const serializeAws_json1_1ListHubContentsCommand = async (input, context) => {
1727
+ const headers = {
1728
+ "content-type": "application/x-amz-json-1.1",
1729
+ "x-amz-target": "SageMaker.ListHubContents",
1730
+ };
1731
+ let body;
1732
+ body = JSON.stringify(serializeAws_json1_1ListHubContentsRequest(input, context));
1733
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1734
+ };
1735
+ export const serializeAws_json1_1ListHubContentVersionsCommand = async (input, context) => {
1736
+ const headers = {
1737
+ "content-type": "application/x-amz-json-1.1",
1738
+ "x-amz-target": "SageMaker.ListHubContentVersions",
1739
+ };
1740
+ let body;
1741
+ body = JSON.stringify(serializeAws_json1_1ListHubContentVersionsRequest(input, context));
1742
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1743
+ };
1744
+ export const serializeAws_json1_1ListHubsCommand = async (input, context) => {
1745
+ const headers = {
1746
+ "content-type": "application/x-amz-json-1.1",
1747
+ "x-amz-target": "SageMaker.ListHubs",
1748
+ };
1749
+ let body;
1750
+ body = JSON.stringify(serializeAws_json1_1ListHubsRequest(input, context));
1751
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1752
+ };
1573
1753
  export const serializeAws_json1_1ListHumanTaskUisCommand = async (input, context) => {
1574
1754
  const headers = {
1575
1755
  "content-type": "application/x-amz-json-1.1",
@@ -1606,6 +1786,15 @@ export const serializeAws_json1_1ListImageVersionsCommand = async (input, contex
1606
1786
  body = JSON.stringify(serializeAws_json1_1ListImageVersionsRequest(input, context));
1607
1787
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1608
1788
  };
1789
+ export const serializeAws_json1_1ListInferenceExperimentsCommand = async (input, context) => {
1790
+ const headers = {
1791
+ "content-type": "application/x-amz-json-1.1",
1792
+ "x-amz-target": "SageMaker.ListInferenceExperiments",
1793
+ };
1794
+ let body;
1795
+ body = JSON.stringify(serializeAws_json1_1ListInferenceExperimentsRequest(input, context));
1796
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1797
+ };
1609
1798
  export const serializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (input, context) => {
1610
1799
  const headers = {
1611
1800
  "content-type": "application/x-amz-json-1.1",
@@ -1660,6 +1849,33 @@ export const serializeAws_json1_1ListModelBiasJobDefinitionsCommand = async (inp
1660
1849
  body = JSON.stringify(serializeAws_json1_1ListModelBiasJobDefinitionsRequest(input, context));
1661
1850
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1662
1851
  };
1852
+ export const serializeAws_json1_1ListModelCardExportJobsCommand = async (input, context) => {
1853
+ const headers = {
1854
+ "content-type": "application/x-amz-json-1.1",
1855
+ "x-amz-target": "SageMaker.ListModelCardExportJobs",
1856
+ };
1857
+ let body;
1858
+ body = JSON.stringify(serializeAws_json1_1ListModelCardExportJobsRequest(input, context));
1859
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1860
+ };
1861
+ export const serializeAws_json1_1ListModelCardsCommand = async (input, context) => {
1862
+ const headers = {
1863
+ "content-type": "application/x-amz-json-1.1",
1864
+ "x-amz-target": "SageMaker.ListModelCards",
1865
+ };
1866
+ let body;
1867
+ body = JSON.stringify(serializeAws_json1_1ListModelCardsRequest(input, context));
1868
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1869
+ };
1870
+ export const serializeAws_json1_1ListModelCardVersionsCommand = async (input, context) => {
1871
+ const headers = {
1872
+ "content-type": "application/x-amz-json-1.1",
1873
+ "x-amz-target": "SageMaker.ListModelCardVersions",
1874
+ };
1875
+ let body;
1876
+ body = JSON.stringify(serializeAws_json1_1ListModelCardVersionsRequest(input, context));
1877
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1878
+ };
1663
1879
  export const serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = async (input, context) => {
1664
1880
  const headers = {
1665
1881
  "content-type": "application/x-amz-json-1.1",
@@ -1714,6 +1930,24 @@ export const serializeAws_json1_1ListModelsCommand = async (input, context) => {
1714
1930
  body = JSON.stringify(serializeAws_json1_1ListModelsInput(input, context));
1715
1931
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1716
1932
  };
1933
+ export const serializeAws_json1_1ListMonitoringAlertHistoryCommand = async (input, context) => {
1934
+ const headers = {
1935
+ "content-type": "application/x-amz-json-1.1",
1936
+ "x-amz-target": "SageMaker.ListMonitoringAlertHistory",
1937
+ };
1938
+ let body;
1939
+ body = JSON.stringify(serializeAws_json1_1ListMonitoringAlertHistoryRequest(input, context));
1940
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1941
+ };
1942
+ export const serializeAws_json1_1ListMonitoringAlertsCommand = async (input, context) => {
1943
+ const headers = {
1944
+ "content-type": "application/x-amz-json-1.1",
1945
+ "x-amz-target": "SageMaker.ListMonitoringAlerts",
1946
+ };
1947
+ let body;
1948
+ body = JSON.stringify(serializeAws_json1_1ListMonitoringAlertsRequest(input, context));
1949
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1950
+ };
1717
1951
  export const serializeAws_json1_1ListMonitoringExecutionsCommand = async (input, context) => {
1718
1952
  const headers = {
1719
1953
  "content-type": "application/x-amz-json-1.1",
@@ -1804,6 +2038,15 @@ export const serializeAws_json1_1ListProjectsCommand = async (input, context) =>
1804
2038
  body = JSON.stringify(serializeAws_json1_1ListProjectsInput(input, context));
1805
2039
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1806
2040
  };
2041
+ export const serializeAws_json1_1ListSpacesCommand = async (input, context) => {
2042
+ const headers = {
2043
+ "content-type": "application/x-amz-json-1.1",
2044
+ "x-amz-target": "SageMaker.ListSpaces",
2045
+ };
2046
+ let body;
2047
+ body = JSON.stringify(serializeAws_json1_1ListSpacesRequest(input, context));
2048
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2049
+ };
1807
2050
  export const serializeAws_json1_1ListStageDevicesCommand = async (input, context) => {
1808
2051
  const headers = {
1809
2052
  "content-type": "application/x-amz-json-1.1",
@@ -1993,6 +2236,15 @@ export const serializeAws_json1_1StartEdgeDeploymentStageCommand = async (input,
1993
2236
  body = JSON.stringify(serializeAws_json1_1StartEdgeDeploymentStageRequest(input, context));
1994
2237
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1995
2238
  };
2239
+ export const serializeAws_json1_1StartInferenceExperimentCommand = async (input, context) => {
2240
+ const headers = {
2241
+ "content-type": "application/x-amz-json-1.1",
2242
+ "x-amz-target": "SageMaker.StartInferenceExperiment",
2243
+ };
2244
+ let body;
2245
+ body = JSON.stringify(serializeAws_json1_1StartInferenceExperimentRequest(input, context));
2246
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2247
+ };
1996
2248
  export const serializeAws_json1_1StartMonitoringScheduleCommand = async (input, context) => {
1997
2249
  const headers = {
1998
2250
  "content-type": "application/x-amz-json-1.1",
@@ -2065,6 +2317,15 @@ export const serializeAws_json1_1StopHyperParameterTuningJobCommand = async (inp
2065
2317
  body = JSON.stringify(serializeAws_json1_1StopHyperParameterTuningJobRequest(input, context));
2066
2318
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2067
2319
  };
2320
+ export const serializeAws_json1_1StopInferenceExperimentCommand = async (input, context) => {
2321
+ const headers = {
2322
+ "content-type": "application/x-amz-json-1.1",
2323
+ "x-amz-target": "SageMaker.StopInferenceExperiment",
2324
+ };
2325
+ let body;
2326
+ body = JSON.stringify(serializeAws_json1_1StopInferenceExperimentRequest(input, context));
2327
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2328
+ };
2068
2329
  export const serializeAws_json1_1StopInferenceRecommendationsJobCommand = async (input, context) => {
2069
2330
  const headers = {
2070
2331
  "content-type": "application/x-amz-json-1.1",
@@ -2254,6 +2515,15 @@ export const serializeAws_json1_1UpdateFeatureMetadataCommand = async (input, co
2254
2515
  body = JSON.stringify(serializeAws_json1_1UpdateFeatureMetadataRequest(input, context));
2255
2516
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2256
2517
  };
2518
+ export const serializeAws_json1_1UpdateHubCommand = async (input, context) => {
2519
+ const headers = {
2520
+ "content-type": "application/x-amz-json-1.1",
2521
+ "x-amz-target": "SageMaker.UpdateHub",
2522
+ };
2523
+ let body;
2524
+ body = JSON.stringify(serializeAws_json1_1UpdateHubRequest(input, context));
2525
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2526
+ };
2257
2527
  export const serializeAws_json1_1UpdateImageCommand = async (input, context) => {
2258
2528
  const headers = {
2259
2529
  "content-type": "application/x-amz-json-1.1",
@@ -2263,6 +2533,24 @@ export const serializeAws_json1_1UpdateImageCommand = async (input, context) =>
2263
2533
  body = JSON.stringify(serializeAws_json1_1UpdateImageRequest(input, context));
2264
2534
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2265
2535
  };
2536
+ export const serializeAws_json1_1UpdateInferenceExperimentCommand = async (input, context) => {
2537
+ const headers = {
2538
+ "content-type": "application/x-amz-json-1.1",
2539
+ "x-amz-target": "SageMaker.UpdateInferenceExperiment",
2540
+ };
2541
+ let body;
2542
+ body = JSON.stringify(serializeAws_json1_1UpdateInferenceExperimentRequest(input, context));
2543
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2544
+ };
2545
+ export const serializeAws_json1_1UpdateModelCardCommand = async (input, context) => {
2546
+ const headers = {
2547
+ "content-type": "application/x-amz-json-1.1",
2548
+ "x-amz-target": "SageMaker.UpdateModelCard",
2549
+ };
2550
+ let body;
2551
+ body = JSON.stringify(serializeAws_json1_1UpdateModelCardRequest(input, context));
2552
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2553
+ };
2266
2554
  export const serializeAws_json1_1UpdateModelPackageCommand = async (input, context) => {
2267
2555
  const headers = {
2268
2556
  "content-type": "application/x-amz-json-1.1",
@@ -2272,6 +2560,15 @@ export const serializeAws_json1_1UpdateModelPackageCommand = async (input, conte
2272
2560
  body = JSON.stringify(serializeAws_json1_1UpdateModelPackageInput(input, context));
2273
2561
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2274
2562
  };
2563
+ export const serializeAws_json1_1UpdateMonitoringAlertCommand = async (input, context) => {
2564
+ const headers = {
2565
+ "content-type": "application/x-amz-json-1.1",
2566
+ "x-amz-target": "SageMaker.UpdateMonitoringAlert",
2567
+ };
2568
+ let body;
2569
+ body = JSON.stringify(serializeAws_json1_1UpdateMonitoringAlertRequest(input, context));
2570
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2571
+ };
2275
2572
  export const serializeAws_json1_1UpdateMonitoringScheduleCommand = async (input, context) => {
2276
2573
  const headers = {
2277
2574
  "content-type": "application/x-amz-json-1.1",
@@ -2326,6 +2623,15 @@ export const serializeAws_json1_1UpdateProjectCommand = async (input, context) =
2326
2623
  body = JSON.stringify(serializeAws_json1_1UpdateProjectInput(input, context));
2327
2624
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
2328
2625
  };
2626
+ export const serializeAws_json1_1UpdateSpaceCommand = async (input, context) => {
2627
+ const headers = {
2628
+ "content-type": "application/x-amz-json-1.1",
2629
+ "x-amz-target": "SageMaker.UpdateSpace",
2630
+ };
2631
+ let body;
2632
+ body = JSON.stringify(serializeAws_json1_1UpdateSpaceRequest(input, context));
2633
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
2634
+ };
2329
2635
  export const serializeAws_json1_1UpdateTrainingJobCommand = async (input, context) => {
2330
2636
  const headers = {
2331
2637
  "content-type": "application/x-amz-json-1.1",
@@ -3169,6 +3475,42 @@ const deserializeAws_json1_1CreateFlowDefinitionCommandError = async (output, co
3169
3475
  });
3170
3476
  }
3171
3477
  };
3478
+ export const deserializeAws_json1_1CreateHubCommand = async (output, context) => {
3479
+ if (output.statusCode >= 300) {
3480
+ return deserializeAws_json1_1CreateHubCommandError(output, context);
3481
+ }
3482
+ const data = await parseBody(output.body, context);
3483
+ let contents = {};
3484
+ contents = deserializeAws_json1_1CreateHubResponse(data, context);
3485
+ const response = {
3486
+ $metadata: deserializeMetadata(output),
3487
+ ...contents,
3488
+ };
3489
+ return Promise.resolve(response);
3490
+ };
3491
+ const deserializeAws_json1_1CreateHubCommandError = async (output, context) => {
3492
+ const parsedOutput = {
3493
+ ...output,
3494
+ body: await parseErrorBody(output.body, context),
3495
+ };
3496
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3497
+ switch (errorCode) {
3498
+ case "ResourceInUse":
3499
+ case "com.amazonaws.sagemaker#ResourceInUse":
3500
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
3501
+ case "ResourceLimitExceeded":
3502
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
3503
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
3504
+ default:
3505
+ const parsedBody = parsedOutput.body;
3506
+ throwDefaultError({
3507
+ output,
3508
+ parsedBody,
3509
+ exceptionCtor: __BaseException,
3510
+ errorCode,
3511
+ });
3512
+ }
3513
+ };
3172
3514
  export const deserializeAws_json1_1CreateHumanTaskUiCommand = async (output, context) => {
3173
3515
  if (output.statusCode >= 300) {
3174
3516
  return deserializeAws_json1_1CreateHumanTaskUiCommandError(output, context);
@@ -3316,20 +3658,20 @@ const deserializeAws_json1_1CreateImageVersionCommandError = async (output, cont
3316
3658
  });
3317
3659
  }
3318
3660
  };
3319
- export const deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (output, context) => {
3661
+ export const deserializeAws_json1_1CreateInferenceExperimentCommand = async (output, context) => {
3320
3662
  if (output.statusCode >= 300) {
3321
- return deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context);
3663
+ return deserializeAws_json1_1CreateInferenceExperimentCommandError(output, context);
3322
3664
  }
3323
3665
  const data = await parseBody(output.body, context);
3324
3666
  let contents = {};
3325
- contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
3667
+ contents = deserializeAws_json1_1CreateInferenceExperimentResponse(data, context);
3326
3668
  const response = {
3327
3669
  $metadata: deserializeMetadata(output),
3328
3670
  ...contents,
3329
3671
  };
3330
3672
  return Promise.resolve(response);
3331
3673
  };
3332
- const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = async (output, context) => {
3674
+ const deserializeAws_json1_1CreateInferenceExperimentCommandError = async (output, context) => {
3333
3675
  const parsedOutput = {
3334
3676
  ...output,
3335
3677
  body: await parseErrorBody(output.body, context),
@@ -3352,20 +3694,20 @@ const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = asyn
3352
3694
  });
3353
3695
  }
3354
3696
  };
3355
- export const deserializeAws_json1_1CreateLabelingJobCommand = async (output, context) => {
3697
+ export const deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (output, context) => {
3356
3698
  if (output.statusCode >= 300) {
3357
- return deserializeAws_json1_1CreateLabelingJobCommandError(output, context);
3699
+ return deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context);
3358
3700
  }
3359
3701
  const data = await parseBody(output.body, context);
3360
3702
  let contents = {};
3361
- contents = deserializeAws_json1_1CreateLabelingJobResponse(data, context);
3703
+ contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
3362
3704
  const response = {
3363
3705
  $metadata: deserializeMetadata(output),
3364
3706
  ...contents,
3365
3707
  };
3366
3708
  return Promise.resolve(response);
3367
3709
  };
3368
- const deserializeAws_json1_1CreateLabelingJobCommandError = async (output, context) => {
3710
+ const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = async (output, context) => {
3369
3711
  const parsedOutput = {
3370
3712
  ...output,
3371
3713
  body: await parseErrorBody(output.body, context),
@@ -3388,20 +3730,56 @@ const deserializeAws_json1_1CreateLabelingJobCommandError = async (output, conte
3388
3730
  });
3389
3731
  }
3390
3732
  };
3391
- export const deserializeAws_json1_1CreateModelCommand = async (output, context) => {
3733
+ export const deserializeAws_json1_1CreateLabelingJobCommand = async (output, context) => {
3392
3734
  if (output.statusCode >= 300) {
3393
- return deserializeAws_json1_1CreateModelCommandError(output, context);
3735
+ return deserializeAws_json1_1CreateLabelingJobCommandError(output, context);
3394
3736
  }
3395
3737
  const data = await parseBody(output.body, context);
3396
3738
  let contents = {};
3397
- contents = deserializeAws_json1_1CreateModelOutput(data, context);
3739
+ contents = deserializeAws_json1_1CreateLabelingJobResponse(data, context);
3398
3740
  const response = {
3399
3741
  $metadata: deserializeMetadata(output),
3400
3742
  ...contents,
3401
3743
  };
3402
3744
  return Promise.resolve(response);
3403
3745
  };
3404
- const deserializeAws_json1_1CreateModelCommandError = async (output, context) => {
3746
+ const deserializeAws_json1_1CreateLabelingJobCommandError = async (output, context) => {
3747
+ const parsedOutput = {
3748
+ ...output,
3749
+ body: await parseErrorBody(output.body, context),
3750
+ };
3751
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3752
+ switch (errorCode) {
3753
+ case "ResourceInUse":
3754
+ case "com.amazonaws.sagemaker#ResourceInUse":
3755
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
3756
+ case "ResourceLimitExceeded":
3757
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
3758
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
3759
+ default:
3760
+ const parsedBody = parsedOutput.body;
3761
+ throwDefaultError({
3762
+ output,
3763
+ parsedBody,
3764
+ exceptionCtor: __BaseException,
3765
+ errorCode,
3766
+ });
3767
+ }
3768
+ };
3769
+ export const deserializeAws_json1_1CreateModelCommand = async (output, context) => {
3770
+ if (output.statusCode >= 300) {
3771
+ return deserializeAws_json1_1CreateModelCommandError(output, context);
3772
+ }
3773
+ const data = await parseBody(output.body, context);
3774
+ let contents = {};
3775
+ contents = deserializeAws_json1_1CreateModelOutput(data, context);
3776
+ const response = {
3777
+ $metadata: deserializeMetadata(output),
3778
+ ...contents,
3779
+ };
3780
+ return Promise.resolve(response);
3781
+ };
3782
+ const deserializeAws_json1_1CreateModelCommandError = async (output, context) => {
3405
3783
  const parsedOutput = {
3406
3784
  ...output,
3407
3785
  body: await parseErrorBody(output.body, context),
@@ -3457,6 +3835,81 @@ const deserializeAws_json1_1CreateModelBiasJobDefinitionCommandError = async (ou
3457
3835
  });
3458
3836
  }
3459
3837
  };
3838
+ export const deserializeAws_json1_1CreateModelCardCommand = async (output, context) => {
3839
+ if (output.statusCode >= 300) {
3840
+ return deserializeAws_json1_1CreateModelCardCommandError(output, context);
3841
+ }
3842
+ const data = await parseBody(output.body, context);
3843
+ let contents = {};
3844
+ contents = deserializeAws_json1_1CreateModelCardResponse(data, context);
3845
+ const response = {
3846
+ $metadata: deserializeMetadata(output),
3847
+ ...contents,
3848
+ };
3849
+ return Promise.resolve(response);
3850
+ };
3851
+ const deserializeAws_json1_1CreateModelCardCommandError = async (output, context) => {
3852
+ const parsedOutput = {
3853
+ ...output,
3854
+ body: await parseErrorBody(output.body, context),
3855
+ };
3856
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3857
+ switch (errorCode) {
3858
+ case "ConflictException":
3859
+ case "com.amazonaws.sagemaker#ConflictException":
3860
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
3861
+ case "ResourceLimitExceeded":
3862
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
3863
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
3864
+ default:
3865
+ const parsedBody = parsedOutput.body;
3866
+ throwDefaultError({
3867
+ output,
3868
+ parsedBody,
3869
+ exceptionCtor: __BaseException,
3870
+ errorCode,
3871
+ });
3872
+ }
3873
+ };
3874
+ export const deserializeAws_json1_1CreateModelCardExportJobCommand = async (output, context) => {
3875
+ if (output.statusCode >= 300) {
3876
+ return deserializeAws_json1_1CreateModelCardExportJobCommandError(output, context);
3877
+ }
3878
+ const data = await parseBody(output.body, context);
3879
+ let contents = {};
3880
+ contents = deserializeAws_json1_1CreateModelCardExportJobResponse(data, context);
3881
+ const response = {
3882
+ $metadata: deserializeMetadata(output),
3883
+ ...contents,
3884
+ };
3885
+ return Promise.resolve(response);
3886
+ };
3887
+ const deserializeAws_json1_1CreateModelCardExportJobCommandError = async (output, context) => {
3888
+ const parsedOutput = {
3889
+ ...output,
3890
+ body: await parseErrorBody(output.body, context),
3891
+ };
3892
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3893
+ switch (errorCode) {
3894
+ case "ConflictException":
3895
+ case "com.amazonaws.sagemaker#ConflictException":
3896
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
3897
+ case "ResourceLimitExceeded":
3898
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
3899
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
3900
+ case "ResourceNotFound":
3901
+ case "com.amazonaws.sagemaker#ResourceNotFound":
3902
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
3903
+ default:
3904
+ const parsedBody = parsedOutput.body;
3905
+ throwDefaultError({
3906
+ output,
3907
+ parsedBody,
3908
+ exceptionCtor: __BaseException,
3909
+ errorCode,
3910
+ });
3911
+ }
3912
+ };
3460
3913
  export const deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = async (output, context) => {
3461
3914
  if (output.statusCode >= 300) {
3462
3915
  return deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommandError(output, context);
@@ -3868,6 +4321,42 @@ const deserializeAws_json1_1CreateProjectCommandError = async (output, context)
3868
4321
  });
3869
4322
  }
3870
4323
  };
4324
+ export const deserializeAws_json1_1CreateSpaceCommand = async (output, context) => {
4325
+ if (output.statusCode >= 300) {
4326
+ return deserializeAws_json1_1CreateSpaceCommandError(output, context);
4327
+ }
4328
+ const data = await parseBody(output.body, context);
4329
+ let contents = {};
4330
+ contents = deserializeAws_json1_1CreateSpaceResponse(data, context);
4331
+ const response = {
4332
+ $metadata: deserializeMetadata(output),
4333
+ ...contents,
4334
+ };
4335
+ return Promise.resolve(response);
4336
+ };
4337
+ const deserializeAws_json1_1CreateSpaceCommandError = async (output, context) => {
4338
+ const parsedOutput = {
4339
+ ...output,
4340
+ body: await parseErrorBody(output.body, context),
4341
+ };
4342
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4343
+ switch (errorCode) {
4344
+ case "ResourceInUse":
4345
+ case "com.amazonaws.sagemaker#ResourceInUse":
4346
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
4347
+ case "ResourceLimitExceeded":
4348
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
4349
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
4350
+ default:
4351
+ const parsedBody = parsedOutput.body;
4352
+ throwDefaultError({
4353
+ output,
4354
+ parsedBody,
4355
+ exceptionCtor: __BaseException,
4356
+ errorCode,
4357
+ });
4358
+ }
4359
+ };
3871
4360
  export const deserializeAws_json1_1CreateStudioLifecycleConfigCommand = async (output, context) => {
3872
4361
  if (output.statusCode >= 300) {
3873
4362
  return deserializeAws_json1_1CreateStudioLifecycleConfigCommandError(output, context);
@@ -4690,6 +5179,72 @@ const deserializeAws_json1_1DeleteFlowDefinitionCommandError = async (output, co
4690
5179
  });
4691
5180
  }
4692
5181
  };
5182
+ export const deserializeAws_json1_1DeleteHubCommand = async (output, context) => {
5183
+ if (output.statusCode >= 300) {
5184
+ return deserializeAws_json1_1DeleteHubCommandError(output, context);
5185
+ }
5186
+ await collectBody(output.body, context);
5187
+ const response = {
5188
+ $metadata: deserializeMetadata(output),
5189
+ };
5190
+ return Promise.resolve(response);
5191
+ };
5192
+ const deserializeAws_json1_1DeleteHubCommandError = async (output, context) => {
5193
+ const parsedOutput = {
5194
+ ...output,
5195
+ body: await parseErrorBody(output.body, context),
5196
+ };
5197
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5198
+ switch (errorCode) {
5199
+ case "ResourceInUse":
5200
+ case "com.amazonaws.sagemaker#ResourceInUse":
5201
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
5202
+ case "ResourceNotFound":
5203
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5204
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
5205
+ default:
5206
+ const parsedBody = parsedOutput.body;
5207
+ throwDefaultError({
5208
+ output,
5209
+ parsedBody,
5210
+ exceptionCtor: __BaseException,
5211
+ errorCode,
5212
+ });
5213
+ }
5214
+ };
5215
+ export const deserializeAws_json1_1DeleteHubContentCommand = async (output, context) => {
5216
+ if (output.statusCode >= 300) {
5217
+ return deserializeAws_json1_1DeleteHubContentCommandError(output, context);
5218
+ }
5219
+ await collectBody(output.body, context);
5220
+ const response = {
5221
+ $metadata: deserializeMetadata(output),
5222
+ };
5223
+ return Promise.resolve(response);
5224
+ };
5225
+ const deserializeAws_json1_1DeleteHubContentCommandError = async (output, context) => {
5226
+ const parsedOutput = {
5227
+ ...output,
5228
+ body: await parseErrorBody(output.body, context),
5229
+ };
5230
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5231
+ switch (errorCode) {
5232
+ case "ResourceInUse":
5233
+ case "com.amazonaws.sagemaker#ResourceInUse":
5234
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
5235
+ case "ResourceNotFound":
5236
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5237
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
5238
+ default:
5239
+ const parsedBody = parsedOutput.body;
5240
+ throwDefaultError({
5241
+ output,
5242
+ parsedBody,
5243
+ exceptionCtor: __BaseException,
5244
+ errorCode,
5245
+ });
5246
+ }
5247
+ };
4693
5248
  export const deserializeAws_json1_1DeleteHumanTaskUiCommand = async (output, context) => {
4694
5249
  if (output.statusCode >= 300) {
4695
5250
  return deserializeAws_json1_1DeleteHumanTaskUiCommandError(output, context);
@@ -4795,6 +5350,42 @@ const deserializeAws_json1_1DeleteImageVersionCommandError = async (output, cont
4795
5350
  });
4796
5351
  }
4797
5352
  };
5353
+ export const deserializeAws_json1_1DeleteInferenceExperimentCommand = async (output, context) => {
5354
+ if (output.statusCode >= 300) {
5355
+ return deserializeAws_json1_1DeleteInferenceExperimentCommandError(output, context);
5356
+ }
5357
+ const data = await parseBody(output.body, context);
5358
+ let contents = {};
5359
+ contents = deserializeAws_json1_1DeleteInferenceExperimentResponse(data, context);
5360
+ const response = {
5361
+ $metadata: deserializeMetadata(output),
5362
+ ...contents,
5363
+ };
5364
+ return Promise.resolve(response);
5365
+ };
5366
+ const deserializeAws_json1_1DeleteInferenceExperimentCommandError = async (output, context) => {
5367
+ const parsedOutput = {
5368
+ ...output,
5369
+ body: await parseErrorBody(output.body, context),
5370
+ };
5371
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5372
+ switch (errorCode) {
5373
+ case "ConflictException":
5374
+ case "com.amazonaws.sagemaker#ConflictException":
5375
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
5376
+ case "ResourceNotFound":
5377
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5378
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
5379
+ default:
5380
+ const parsedBody = parsedOutput.body;
5381
+ throwDefaultError({
5382
+ output,
5383
+ parsedBody,
5384
+ exceptionCtor: __BaseException,
5385
+ errorCode,
5386
+ });
5387
+ }
5388
+ };
4798
5389
  export const deserializeAws_json1_1DeleteModelCommand = async (output, context) => {
4799
5390
  if (output.statusCode >= 300) {
4800
5391
  return deserializeAws_json1_1DeleteModelCommandError(output, context);
@@ -4849,9 +5440,9 @@ const deserializeAws_json1_1DeleteModelBiasJobDefinitionCommandError = async (ou
4849
5440
  });
4850
5441
  }
4851
5442
  };
4852
- export const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = async (output, context) => {
5443
+ export const deserializeAws_json1_1DeleteModelCardCommand = async (output, context) => {
4853
5444
  if (output.statusCode >= 300) {
4854
- return deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError(output, context);
5445
+ return deserializeAws_json1_1DeleteModelCardCommandError(output, context);
4855
5446
  }
4856
5447
  await collectBody(output.body, context);
4857
5448
  const response = {
@@ -4859,13 +5450,16 @@ export const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand
4859
5450
  };
4860
5451
  return Promise.resolve(response);
4861
5452
  };
4862
- const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError = async (output, context) => {
5453
+ const deserializeAws_json1_1DeleteModelCardCommandError = async (output, context) => {
4863
5454
  const parsedOutput = {
4864
5455
  ...output,
4865
5456
  body: await parseErrorBody(output.body, context),
4866
5457
  };
4867
5458
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4868
5459
  switch (errorCode) {
5460
+ case "ConflictException":
5461
+ case "com.amazonaws.sagemaker#ConflictException":
5462
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
4869
5463
  case "ResourceNotFound":
4870
5464
  case "com.amazonaws.sagemaker#ResourceNotFound":
4871
5465
  throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
@@ -4879,9 +5473,9 @@ const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError =
4879
5473
  });
4880
5474
  }
4881
5475
  };
4882
- export const deserializeAws_json1_1DeleteModelPackageCommand = async (output, context) => {
5476
+ export const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = async (output, context) => {
4883
5477
  if (output.statusCode >= 300) {
4884
- return deserializeAws_json1_1DeleteModelPackageCommandError(output, context);
5478
+ return deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError(output, context);
4885
5479
  }
4886
5480
  await collectBody(output.body, context);
4887
5481
  const response = {
@@ -4889,16 +5483,16 @@ export const deserializeAws_json1_1DeleteModelPackageCommand = async (output, co
4889
5483
  };
4890
5484
  return Promise.resolve(response);
4891
5485
  };
4892
- const deserializeAws_json1_1DeleteModelPackageCommandError = async (output, context) => {
5486
+ const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError = async (output, context) => {
4893
5487
  const parsedOutput = {
4894
5488
  ...output,
4895
5489
  body: await parseErrorBody(output.body, context),
4896
5490
  };
4897
5491
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4898
5492
  switch (errorCode) {
4899
- case "ConflictException":
4900
- case "com.amazonaws.sagemaker#ConflictException":
4901
- throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
5493
+ case "ResourceNotFound":
5494
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5495
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
4902
5496
  default:
4903
5497
  const parsedBody = parsedOutput.body;
4904
5498
  throwDefaultError({
@@ -4909,9 +5503,9 @@ const deserializeAws_json1_1DeleteModelPackageCommandError = async (output, cont
4909
5503
  });
4910
5504
  }
4911
5505
  };
4912
- export const deserializeAws_json1_1DeleteModelPackageGroupCommand = async (output, context) => {
5506
+ export const deserializeAws_json1_1DeleteModelPackageCommand = async (output, context) => {
4913
5507
  if (output.statusCode >= 300) {
4914
- return deserializeAws_json1_1DeleteModelPackageGroupCommandError(output, context);
5508
+ return deserializeAws_json1_1DeleteModelPackageCommandError(output, context);
4915
5509
  }
4916
5510
  await collectBody(output.body, context);
4917
5511
  const response = {
@@ -4919,7 +5513,7 @@ export const deserializeAws_json1_1DeleteModelPackageGroupCommand = async (outpu
4919
5513
  };
4920
5514
  return Promise.resolve(response);
4921
5515
  };
4922
- const deserializeAws_json1_1DeleteModelPackageGroupCommandError = async (output, context) => {
5516
+ const deserializeAws_json1_1DeleteModelPackageCommandError = async (output, context) => {
4923
5517
  const parsedOutput = {
4924
5518
  ...output,
4925
5519
  body: await parseErrorBody(output.body, context),
@@ -4939,9 +5533,9 @@ const deserializeAws_json1_1DeleteModelPackageGroupCommandError = async (output,
4939
5533
  });
4940
5534
  }
4941
5535
  };
4942
- export const deserializeAws_json1_1DeleteModelPackageGroupPolicyCommand = async (output, context) => {
5536
+ export const deserializeAws_json1_1DeleteModelPackageGroupCommand = async (output, context) => {
4943
5537
  if (output.statusCode >= 300) {
4944
- return deserializeAws_json1_1DeleteModelPackageGroupPolicyCommandError(output, context);
5538
+ return deserializeAws_json1_1DeleteModelPackageGroupCommandError(output, context);
4945
5539
  }
4946
5540
  await collectBody(output.body, context);
4947
5541
  const response = {
@@ -4949,7 +5543,37 @@ export const deserializeAws_json1_1DeleteModelPackageGroupPolicyCommand = async
4949
5543
  };
4950
5544
  return Promise.resolve(response);
4951
5545
  };
4952
- const deserializeAws_json1_1DeleteModelPackageGroupPolicyCommandError = async (output, context) => {
5546
+ const deserializeAws_json1_1DeleteModelPackageGroupCommandError = async (output, context) => {
5547
+ const parsedOutput = {
5548
+ ...output,
5549
+ body: await parseErrorBody(output.body, context),
5550
+ };
5551
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5552
+ switch (errorCode) {
5553
+ case "ConflictException":
5554
+ case "com.amazonaws.sagemaker#ConflictException":
5555
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
5556
+ default:
5557
+ const parsedBody = parsedOutput.body;
5558
+ throwDefaultError({
5559
+ output,
5560
+ parsedBody,
5561
+ exceptionCtor: __BaseException,
5562
+ errorCode,
5563
+ });
5564
+ }
5565
+ };
5566
+ export const deserializeAws_json1_1DeleteModelPackageGroupPolicyCommand = async (output, context) => {
5567
+ if (output.statusCode >= 300) {
5568
+ return deserializeAws_json1_1DeleteModelPackageGroupPolicyCommandError(output, context);
5569
+ }
5570
+ await collectBody(output.body, context);
5571
+ const response = {
5572
+ $metadata: deserializeMetadata(output),
5573
+ };
5574
+ return Promise.resolve(response);
5575
+ };
5576
+ const deserializeAws_json1_1DeleteModelPackageGroupPolicyCommandError = async (output, context) => {
4953
5577
  const parsedOutput = {
4954
5578
  ...output,
4955
5579
  body: await parseErrorBody(output.body, context),
@@ -5134,6 +5758,39 @@ const deserializeAws_json1_1DeleteProjectCommandError = async (output, context)
5134
5758
  });
5135
5759
  }
5136
5760
  };
5761
+ export const deserializeAws_json1_1DeleteSpaceCommand = async (output, context) => {
5762
+ if (output.statusCode >= 300) {
5763
+ return deserializeAws_json1_1DeleteSpaceCommandError(output, context);
5764
+ }
5765
+ await collectBody(output.body, context);
5766
+ const response = {
5767
+ $metadata: deserializeMetadata(output),
5768
+ };
5769
+ return Promise.resolve(response);
5770
+ };
5771
+ const deserializeAws_json1_1DeleteSpaceCommandError = async (output, context) => {
5772
+ const parsedOutput = {
5773
+ ...output,
5774
+ body: await parseErrorBody(output.body, context),
5775
+ };
5776
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5777
+ switch (errorCode) {
5778
+ case "ResourceInUse":
5779
+ case "com.amazonaws.sagemaker#ResourceInUse":
5780
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
5781
+ case "ResourceNotFound":
5782
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5783
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
5784
+ default:
5785
+ const parsedBody = parsedOutput.body;
5786
+ throwDefaultError({
5787
+ output,
5788
+ parsedBody,
5789
+ exceptionCtor: __BaseException,
5790
+ errorCode,
5791
+ });
5792
+ }
5793
+ };
5137
5794
  export const deserializeAws_json1_1DeleteStudioLifecycleConfigCommand = async (output, context) => {
5138
5795
  if (output.statusCode >= 300) {
5139
5796
  return deserializeAws_json1_1DeleteStudioLifecycleConfigCommandError(output, context);
@@ -6046,6 +6703,72 @@ const deserializeAws_json1_1DescribeFlowDefinitionCommandError = async (output,
6046
6703
  });
6047
6704
  }
6048
6705
  };
6706
+ export const deserializeAws_json1_1DescribeHubCommand = async (output, context) => {
6707
+ if (output.statusCode >= 300) {
6708
+ return deserializeAws_json1_1DescribeHubCommandError(output, context);
6709
+ }
6710
+ const data = await parseBody(output.body, context);
6711
+ let contents = {};
6712
+ contents = deserializeAws_json1_1DescribeHubResponse(data, context);
6713
+ const response = {
6714
+ $metadata: deserializeMetadata(output),
6715
+ ...contents,
6716
+ };
6717
+ return Promise.resolve(response);
6718
+ };
6719
+ const deserializeAws_json1_1DescribeHubCommandError = async (output, context) => {
6720
+ const parsedOutput = {
6721
+ ...output,
6722
+ body: await parseErrorBody(output.body, context),
6723
+ };
6724
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6725
+ switch (errorCode) {
6726
+ case "ResourceNotFound":
6727
+ case "com.amazonaws.sagemaker#ResourceNotFound":
6728
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
6729
+ default:
6730
+ const parsedBody = parsedOutput.body;
6731
+ throwDefaultError({
6732
+ output,
6733
+ parsedBody,
6734
+ exceptionCtor: __BaseException,
6735
+ errorCode,
6736
+ });
6737
+ }
6738
+ };
6739
+ export const deserializeAws_json1_1DescribeHubContentCommand = async (output, context) => {
6740
+ if (output.statusCode >= 300) {
6741
+ return deserializeAws_json1_1DescribeHubContentCommandError(output, context);
6742
+ }
6743
+ const data = await parseBody(output.body, context);
6744
+ let contents = {};
6745
+ contents = deserializeAws_json1_1DescribeHubContentResponse(data, context);
6746
+ const response = {
6747
+ $metadata: deserializeMetadata(output),
6748
+ ...contents,
6749
+ };
6750
+ return Promise.resolve(response);
6751
+ };
6752
+ const deserializeAws_json1_1DescribeHubContentCommandError = async (output, context) => {
6753
+ const parsedOutput = {
6754
+ ...output,
6755
+ body: await parseErrorBody(output.body, context),
6756
+ };
6757
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6758
+ switch (errorCode) {
6759
+ case "ResourceNotFound":
6760
+ case "com.amazonaws.sagemaker#ResourceNotFound":
6761
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
6762
+ default:
6763
+ const parsedBody = parsedOutput.body;
6764
+ throwDefaultError({
6765
+ output,
6766
+ parsedBody,
6767
+ exceptionCtor: __BaseException,
6768
+ errorCode,
6769
+ });
6770
+ }
6771
+ };
6049
6772
  export const deserializeAws_json1_1DescribeHumanTaskUiCommand = async (output, context) => {
6050
6773
  if (output.statusCode >= 300) {
6051
6774
  return deserializeAws_json1_1DescribeHumanTaskUiCommandError(output, context);
@@ -6178,6 +6901,39 @@ const deserializeAws_json1_1DescribeImageVersionCommandError = async (output, co
6178
6901
  });
6179
6902
  }
6180
6903
  };
6904
+ export const deserializeAws_json1_1DescribeInferenceExperimentCommand = async (output, context) => {
6905
+ if (output.statusCode >= 300) {
6906
+ return deserializeAws_json1_1DescribeInferenceExperimentCommandError(output, context);
6907
+ }
6908
+ const data = await parseBody(output.body, context);
6909
+ let contents = {};
6910
+ contents = deserializeAws_json1_1DescribeInferenceExperimentResponse(data, context);
6911
+ const response = {
6912
+ $metadata: deserializeMetadata(output),
6913
+ ...contents,
6914
+ };
6915
+ return Promise.resolve(response);
6916
+ };
6917
+ const deserializeAws_json1_1DescribeInferenceExperimentCommandError = async (output, context) => {
6918
+ const parsedOutput = {
6919
+ ...output,
6920
+ body: await parseErrorBody(output.body, context),
6921
+ };
6922
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6923
+ switch (errorCode) {
6924
+ case "ResourceNotFound":
6925
+ case "com.amazonaws.sagemaker#ResourceNotFound":
6926
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
6927
+ default:
6928
+ const parsedBody = parsedOutput.body;
6929
+ throwDefaultError({
6930
+ output,
6931
+ parsedBody,
6932
+ exceptionCtor: __BaseException,
6933
+ errorCode,
6934
+ });
6935
+ }
6936
+ };
6181
6937
  export const deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (output, context) => {
6182
6938
  if (output.statusCode >= 300) {
6183
6939
  return deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError(output, context);
@@ -6337,6 +7093,72 @@ const deserializeAws_json1_1DescribeModelBiasJobDefinitionCommandError = async (
6337
7093
  });
6338
7094
  }
6339
7095
  };
7096
+ export const deserializeAws_json1_1DescribeModelCardCommand = async (output, context) => {
7097
+ if (output.statusCode >= 300) {
7098
+ return deserializeAws_json1_1DescribeModelCardCommandError(output, context);
7099
+ }
7100
+ const data = await parseBody(output.body, context);
7101
+ let contents = {};
7102
+ contents = deserializeAws_json1_1DescribeModelCardResponse(data, context);
7103
+ const response = {
7104
+ $metadata: deserializeMetadata(output),
7105
+ ...contents,
7106
+ };
7107
+ return Promise.resolve(response);
7108
+ };
7109
+ const deserializeAws_json1_1DescribeModelCardCommandError = async (output, context) => {
7110
+ const parsedOutput = {
7111
+ ...output,
7112
+ body: await parseErrorBody(output.body, context),
7113
+ };
7114
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7115
+ switch (errorCode) {
7116
+ case "ResourceNotFound":
7117
+ case "com.amazonaws.sagemaker#ResourceNotFound":
7118
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
7119
+ default:
7120
+ const parsedBody = parsedOutput.body;
7121
+ throwDefaultError({
7122
+ output,
7123
+ parsedBody,
7124
+ exceptionCtor: __BaseException,
7125
+ errorCode,
7126
+ });
7127
+ }
7128
+ };
7129
+ export const deserializeAws_json1_1DescribeModelCardExportJobCommand = async (output, context) => {
7130
+ if (output.statusCode >= 300) {
7131
+ return deserializeAws_json1_1DescribeModelCardExportJobCommandError(output, context);
7132
+ }
7133
+ const data = await parseBody(output.body, context);
7134
+ let contents = {};
7135
+ contents = deserializeAws_json1_1DescribeModelCardExportJobResponse(data, context);
7136
+ const response = {
7137
+ $metadata: deserializeMetadata(output),
7138
+ ...contents,
7139
+ };
7140
+ return Promise.resolve(response);
7141
+ };
7142
+ const deserializeAws_json1_1DescribeModelCardExportJobCommandError = async (output, context) => {
7143
+ const parsedOutput = {
7144
+ ...output,
7145
+ body: await parseErrorBody(output.body, context),
7146
+ };
7147
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7148
+ switch (errorCode) {
7149
+ case "ResourceNotFound":
7150
+ case "com.amazonaws.sagemaker#ResourceNotFound":
7151
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
7152
+ default:
7153
+ const parsedBody = parsedOutput.body;
7154
+ throwDefaultError({
7155
+ output,
7156
+ parsedBody,
7157
+ exceptionCtor: __BaseException,
7158
+ errorCode,
7159
+ });
7160
+ }
7161
+ };
6340
7162
  export const deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = async (output, context) => {
6341
7163
  if (output.statusCode >= 300) {
6342
7164
  return deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommandError(output, context);
@@ -6703,6 +7525,39 @@ const deserializeAws_json1_1DescribeProjectCommandError = async (output, context
6703
7525
  errorCode,
6704
7526
  });
6705
7527
  };
7528
+ export const deserializeAws_json1_1DescribeSpaceCommand = async (output, context) => {
7529
+ if (output.statusCode >= 300) {
7530
+ return deserializeAws_json1_1DescribeSpaceCommandError(output, context);
7531
+ }
7532
+ const data = await parseBody(output.body, context);
7533
+ let contents = {};
7534
+ contents = deserializeAws_json1_1DescribeSpaceResponse(data, context);
7535
+ const response = {
7536
+ $metadata: deserializeMetadata(output),
7537
+ ...contents,
7538
+ };
7539
+ return Promise.resolve(response);
7540
+ };
7541
+ const deserializeAws_json1_1DescribeSpaceCommandError = async (output, context) => {
7542
+ const parsedOutput = {
7543
+ ...output,
7544
+ body: await parseErrorBody(output.body, context),
7545
+ };
7546
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7547
+ switch (errorCode) {
7548
+ case "ResourceNotFound":
7549
+ case "com.amazonaws.sagemaker#ResourceNotFound":
7550
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
7551
+ default:
7552
+ const parsedBody = parsedOutput.body;
7553
+ throwDefaultError({
7554
+ output,
7555
+ parsedBody,
7556
+ exceptionCtor: __BaseException,
7557
+ errorCode,
7558
+ });
7559
+ }
7560
+ };
6706
7561
  export const deserializeAws_json1_1DescribeStudioLifecycleConfigCommand = async (output, context) => {
6707
7562
  if (output.statusCode >= 300) {
6708
7563
  return deserializeAws_json1_1DescribeStudioLifecycleConfigCommandError(output, context);
@@ -7210,26 +8065,32 @@ const deserializeAws_json1_1GetSearchSuggestionsCommandError = async (output, co
7210
8065
  errorCode,
7211
8066
  });
7212
8067
  };
7213
- export const deserializeAws_json1_1ListActionsCommand = async (output, context) => {
8068
+ export const deserializeAws_json1_1ImportHubContentCommand = async (output, context) => {
7214
8069
  if (output.statusCode >= 300) {
7215
- return deserializeAws_json1_1ListActionsCommandError(output, context);
8070
+ return deserializeAws_json1_1ImportHubContentCommandError(output, context);
7216
8071
  }
7217
8072
  const data = await parseBody(output.body, context);
7218
8073
  let contents = {};
7219
- contents = deserializeAws_json1_1ListActionsResponse(data, context);
8074
+ contents = deserializeAws_json1_1ImportHubContentResponse(data, context);
7220
8075
  const response = {
7221
8076
  $metadata: deserializeMetadata(output),
7222
8077
  ...contents,
7223
8078
  };
7224
8079
  return Promise.resolve(response);
7225
8080
  };
7226
- const deserializeAws_json1_1ListActionsCommandError = async (output, context) => {
8081
+ const deserializeAws_json1_1ImportHubContentCommandError = async (output, context) => {
7227
8082
  const parsedOutput = {
7228
8083
  ...output,
7229
8084
  body: await parseErrorBody(output.body, context),
7230
8085
  };
7231
8086
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7232
8087
  switch (errorCode) {
8088
+ case "ResourceInUse":
8089
+ case "com.amazonaws.sagemaker#ResourceInUse":
8090
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
8091
+ case "ResourceLimitExceeded":
8092
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
8093
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
7233
8094
  case "ResourceNotFound":
7234
8095
  case "com.amazonaws.sagemaker#ResourceNotFound":
7235
8096
  throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
@@ -7243,28 +8104,61 @@ const deserializeAws_json1_1ListActionsCommandError = async (output, context) =>
7243
8104
  });
7244
8105
  }
7245
8106
  };
7246
- export const deserializeAws_json1_1ListAlgorithmsCommand = async (output, context) => {
8107
+ export const deserializeAws_json1_1ListActionsCommand = async (output, context) => {
7247
8108
  if (output.statusCode >= 300) {
7248
- return deserializeAws_json1_1ListAlgorithmsCommandError(output, context);
8109
+ return deserializeAws_json1_1ListActionsCommandError(output, context);
7249
8110
  }
7250
8111
  const data = await parseBody(output.body, context);
7251
8112
  let contents = {};
7252
- contents = deserializeAws_json1_1ListAlgorithmsOutput(data, context);
8113
+ contents = deserializeAws_json1_1ListActionsResponse(data, context);
7253
8114
  const response = {
7254
8115
  $metadata: deserializeMetadata(output),
7255
8116
  ...contents,
7256
8117
  };
7257
8118
  return Promise.resolve(response);
7258
8119
  };
7259
- const deserializeAws_json1_1ListAlgorithmsCommandError = async (output, context) => {
8120
+ const deserializeAws_json1_1ListActionsCommandError = async (output, context) => {
7260
8121
  const parsedOutput = {
7261
8122
  ...output,
7262
8123
  body: await parseErrorBody(output.body, context),
7263
8124
  };
7264
8125
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7265
- const parsedBody = parsedOutput.body;
7266
- throwDefaultError({
7267
- output,
8126
+ switch (errorCode) {
8127
+ case "ResourceNotFound":
8128
+ case "com.amazonaws.sagemaker#ResourceNotFound":
8129
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
8130
+ default:
8131
+ const parsedBody = parsedOutput.body;
8132
+ throwDefaultError({
8133
+ output,
8134
+ parsedBody,
8135
+ exceptionCtor: __BaseException,
8136
+ errorCode,
8137
+ });
8138
+ }
8139
+ };
8140
+ export const deserializeAws_json1_1ListAlgorithmsCommand = async (output, context) => {
8141
+ if (output.statusCode >= 300) {
8142
+ return deserializeAws_json1_1ListAlgorithmsCommandError(output, context);
8143
+ }
8144
+ const data = await parseBody(output.body, context);
8145
+ let contents = {};
8146
+ contents = deserializeAws_json1_1ListAlgorithmsOutput(data, context);
8147
+ const response = {
8148
+ $metadata: deserializeMetadata(output),
8149
+ ...contents,
8150
+ };
8151
+ return Promise.resolve(response);
8152
+ };
8153
+ const deserializeAws_json1_1ListAlgorithmsCommandError = async (output, context) => {
8154
+ const parsedOutput = {
8155
+ ...output,
8156
+ body: await parseErrorBody(output.body, context),
8157
+ };
8158
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8159
+ const parsedBody = parsedOutput.body;
8160
+ throwDefaultError({
8161
+ output,
7268
8162
  parsedBody,
7269
8163
  exceptionCtor: __BaseException,
7270
8164
  errorCode,
@@ -7834,6 +8728,99 @@ const deserializeAws_json1_1ListFlowDefinitionsCommandError = async (output, con
7834
8728
  errorCode,
7835
8729
  });
7836
8730
  };
8731
+ export const deserializeAws_json1_1ListHubContentsCommand = async (output, context) => {
8732
+ if (output.statusCode >= 300) {
8733
+ return deserializeAws_json1_1ListHubContentsCommandError(output, context);
8734
+ }
8735
+ const data = await parseBody(output.body, context);
8736
+ let contents = {};
8737
+ contents = deserializeAws_json1_1ListHubContentsResponse(data, context);
8738
+ const response = {
8739
+ $metadata: deserializeMetadata(output),
8740
+ ...contents,
8741
+ };
8742
+ return Promise.resolve(response);
8743
+ };
8744
+ const deserializeAws_json1_1ListHubContentsCommandError = async (output, context) => {
8745
+ const parsedOutput = {
8746
+ ...output,
8747
+ body: await parseErrorBody(output.body, context),
8748
+ };
8749
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8750
+ switch (errorCode) {
8751
+ case "ResourceNotFound":
8752
+ case "com.amazonaws.sagemaker#ResourceNotFound":
8753
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
8754
+ default:
8755
+ const parsedBody = parsedOutput.body;
8756
+ throwDefaultError({
8757
+ output,
8758
+ parsedBody,
8759
+ exceptionCtor: __BaseException,
8760
+ errorCode,
8761
+ });
8762
+ }
8763
+ };
8764
+ export const deserializeAws_json1_1ListHubContentVersionsCommand = async (output, context) => {
8765
+ if (output.statusCode >= 300) {
8766
+ return deserializeAws_json1_1ListHubContentVersionsCommandError(output, context);
8767
+ }
8768
+ const data = await parseBody(output.body, context);
8769
+ let contents = {};
8770
+ contents = deserializeAws_json1_1ListHubContentVersionsResponse(data, context);
8771
+ const response = {
8772
+ $metadata: deserializeMetadata(output),
8773
+ ...contents,
8774
+ };
8775
+ return Promise.resolve(response);
8776
+ };
8777
+ const deserializeAws_json1_1ListHubContentVersionsCommandError = async (output, context) => {
8778
+ const parsedOutput = {
8779
+ ...output,
8780
+ body: await parseErrorBody(output.body, context),
8781
+ };
8782
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8783
+ switch (errorCode) {
8784
+ case "ResourceNotFound":
8785
+ case "com.amazonaws.sagemaker#ResourceNotFound":
8786
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
8787
+ default:
8788
+ const parsedBody = parsedOutput.body;
8789
+ throwDefaultError({
8790
+ output,
8791
+ parsedBody,
8792
+ exceptionCtor: __BaseException,
8793
+ errorCode,
8794
+ });
8795
+ }
8796
+ };
8797
+ export const deserializeAws_json1_1ListHubsCommand = async (output, context) => {
8798
+ if (output.statusCode >= 300) {
8799
+ return deserializeAws_json1_1ListHubsCommandError(output, context);
8800
+ }
8801
+ const data = await parseBody(output.body, context);
8802
+ let contents = {};
8803
+ contents = deserializeAws_json1_1ListHubsResponse(data, context);
8804
+ const response = {
8805
+ $metadata: deserializeMetadata(output),
8806
+ ...contents,
8807
+ };
8808
+ return Promise.resolve(response);
8809
+ };
8810
+ const deserializeAws_json1_1ListHubsCommandError = async (output, context) => {
8811
+ const parsedOutput = {
8812
+ ...output,
8813
+ body: await parseErrorBody(output.body, context),
8814
+ };
8815
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8816
+ const parsedBody = parsedOutput.body;
8817
+ throwDefaultError({
8818
+ output,
8819
+ parsedBody,
8820
+ exceptionCtor: __BaseException,
8821
+ errorCode,
8822
+ });
8823
+ };
7837
8824
  export const deserializeAws_json1_1ListHumanTaskUisCommand = async (output, context) => {
7838
8825
  if (output.statusCode >= 300) {
7839
8826
  return deserializeAws_json1_1ListHumanTaskUisCommandError(output, context);
@@ -7948,6 +8935,33 @@ const deserializeAws_json1_1ListImageVersionsCommandError = async (output, conte
7948
8935
  });
7949
8936
  }
7950
8937
  };
8938
+ export const deserializeAws_json1_1ListInferenceExperimentsCommand = async (output, context) => {
8939
+ if (output.statusCode >= 300) {
8940
+ return deserializeAws_json1_1ListInferenceExperimentsCommandError(output, context);
8941
+ }
8942
+ const data = await parseBody(output.body, context);
8943
+ let contents = {};
8944
+ contents = deserializeAws_json1_1ListInferenceExperimentsResponse(data, context);
8945
+ const response = {
8946
+ $metadata: deserializeMetadata(output),
8947
+ ...contents,
8948
+ };
8949
+ return Promise.resolve(response);
8950
+ };
8951
+ const deserializeAws_json1_1ListInferenceExperimentsCommandError = async (output, context) => {
8952
+ const parsedOutput = {
8953
+ ...output,
8954
+ body: await parseErrorBody(output.body, context),
8955
+ };
8956
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8957
+ const parsedBody = parsedOutput.body;
8958
+ throwDefaultError({
8959
+ output,
8960
+ parsedBody,
8961
+ exceptionCtor: __BaseException,
8962
+ errorCode,
8963
+ });
8964
+ };
7951
8965
  export const deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (output, context) => {
7952
8966
  if (output.statusCode >= 300) {
7953
8967
  return deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError(output, context);
@@ -8116,6 +9130,93 @@ const deserializeAws_json1_1ListModelBiasJobDefinitionsCommandError = async (out
8116
9130
  errorCode,
8117
9131
  });
8118
9132
  };
9133
+ export const deserializeAws_json1_1ListModelCardExportJobsCommand = async (output, context) => {
9134
+ if (output.statusCode >= 300) {
9135
+ return deserializeAws_json1_1ListModelCardExportJobsCommandError(output, context);
9136
+ }
9137
+ const data = await parseBody(output.body, context);
9138
+ let contents = {};
9139
+ contents = deserializeAws_json1_1ListModelCardExportJobsResponse(data, context);
9140
+ const response = {
9141
+ $metadata: deserializeMetadata(output),
9142
+ ...contents,
9143
+ };
9144
+ return Promise.resolve(response);
9145
+ };
9146
+ const deserializeAws_json1_1ListModelCardExportJobsCommandError = async (output, context) => {
9147
+ const parsedOutput = {
9148
+ ...output,
9149
+ body: await parseErrorBody(output.body, context),
9150
+ };
9151
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9152
+ const parsedBody = parsedOutput.body;
9153
+ throwDefaultError({
9154
+ output,
9155
+ parsedBody,
9156
+ exceptionCtor: __BaseException,
9157
+ errorCode,
9158
+ });
9159
+ };
9160
+ export const deserializeAws_json1_1ListModelCardsCommand = async (output, context) => {
9161
+ if (output.statusCode >= 300) {
9162
+ return deserializeAws_json1_1ListModelCardsCommandError(output, context);
9163
+ }
9164
+ const data = await parseBody(output.body, context);
9165
+ let contents = {};
9166
+ contents = deserializeAws_json1_1ListModelCardsResponse(data, context);
9167
+ const response = {
9168
+ $metadata: deserializeMetadata(output),
9169
+ ...contents,
9170
+ };
9171
+ return Promise.resolve(response);
9172
+ };
9173
+ const deserializeAws_json1_1ListModelCardsCommandError = async (output, context) => {
9174
+ const parsedOutput = {
9175
+ ...output,
9176
+ body: await parseErrorBody(output.body, context),
9177
+ };
9178
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9179
+ const parsedBody = parsedOutput.body;
9180
+ throwDefaultError({
9181
+ output,
9182
+ parsedBody,
9183
+ exceptionCtor: __BaseException,
9184
+ errorCode,
9185
+ });
9186
+ };
9187
+ export const deserializeAws_json1_1ListModelCardVersionsCommand = async (output, context) => {
9188
+ if (output.statusCode >= 300) {
9189
+ return deserializeAws_json1_1ListModelCardVersionsCommandError(output, context);
9190
+ }
9191
+ const data = await parseBody(output.body, context);
9192
+ let contents = {};
9193
+ contents = deserializeAws_json1_1ListModelCardVersionsResponse(data, context);
9194
+ const response = {
9195
+ $metadata: deserializeMetadata(output),
9196
+ ...contents,
9197
+ };
9198
+ return Promise.resolve(response);
9199
+ };
9200
+ const deserializeAws_json1_1ListModelCardVersionsCommandError = async (output, context) => {
9201
+ const parsedOutput = {
9202
+ ...output,
9203
+ body: await parseErrorBody(output.body, context),
9204
+ };
9205
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9206
+ switch (errorCode) {
9207
+ case "ResourceNotFound":
9208
+ case "com.amazonaws.sagemaker#ResourceNotFound":
9209
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
9210
+ default:
9211
+ const parsedBody = parsedOutput.body;
9212
+ throwDefaultError({
9213
+ output,
9214
+ parsedBody,
9215
+ exceptionCtor: __BaseException,
9216
+ errorCode,
9217
+ });
9218
+ }
9219
+ };
8119
9220
  export const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = async (output, context) => {
8120
9221
  if (output.statusCode >= 300) {
8121
9222
  return deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommandError(output, context);
@@ -8278,6 +9379,72 @@ const deserializeAws_json1_1ListModelsCommandError = async (output, context) =>
8278
9379
  errorCode,
8279
9380
  });
8280
9381
  };
9382
+ export const deserializeAws_json1_1ListMonitoringAlertHistoryCommand = async (output, context) => {
9383
+ if (output.statusCode >= 300) {
9384
+ return deserializeAws_json1_1ListMonitoringAlertHistoryCommandError(output, context);
9385
+ }
9386
+ const data = await parseBody(output.body, context);
9387
+ let contents = {};
9388
+ contents = deserializeAws_json1_1ListMonitoringAlertHistoryResponse(data, context);
9389
+ const response = {
9390
+ $metadata: deserializeMetadata(output),
9391
+ ...contents,
9392
+ };
9393
+ return Promise.resolve(response);
9394
+ };
9395
+ const deserializeAws_json1_1ListMonitoringAlertHistoryCommandError = async (output, context) => {
9396
+ const parsedOutput = {
9397
+ ...output,
9398
+ body: await parseErrorBody(output.body, context),
9399
+ };
9400
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9401
+ switch (errorCode) {
9402
+ case "ResourceNotFound":
9403
+ case "com.amazonaws.sagemaker#ResourceNotFound":
9404
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
9405
+ default:
9406
+ const parsedBody = parsedOutput.body;
9407
+ throwDefaultError({
9408
+ output,
9409
+ parsedBody,
9410
+ exceptionCtor: __BaseException,
9411
+ errorCode,
9412
+ });
9413
+ }
9414
+ };
9415
+ export const deserializeAws_json1_1ListMonitoringAlertsCommand = async (output, context) => {
9416
+ if (output.statusCode >= 300) {
9417
+ return deserializeAws_json1_1ListMonitoringAlertsCommandError(output, context);
9418
+ }
9419
+ const data = await parseBody(output.body, context);
9420
+ let contents = {};
9421
+ contents = deserializeAws_json1_1ListMonitoringAlertsResponse(data, context);
9422
+ const response = {
9423
+ $metadata: deserializeMetadata(output),
9424
+ ...contents,
9425
+ };
9426
+ return Promise.resolve(response);
9427
+ };
9428
+ const deserializeAws_json1_1ListMonitoringAlertsCommandError = async (output, context) => {
9429
+ const parsedOutput = {
9430
+ ...output,
9431
+ body: await parseErrorBody(output.body, context),
9432
+ };
9433
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9434
+ switch (errorCode) {
9435
+ case "ResourceNotFound":
9436
+ case "com.amazonaws.sagemaker#ResourceNotFound":
9437
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
9438
+ default:
9439
+ const parsedBody = parsedOutput.body;
9440
+ throwDefaultError({
9441
+ output,
9442
+ parsedBody,
9443
+ exceptionCtor: __BaseException,
9444
+ errorCode,
9445
+ });
9446
+ }
9447
+ };
8281
9448
  export const deserializeAws_json1_1ListMonitoringExecutionsCommand = async (output, context) => {
8282
9449
  if (output.statusCode >= 300) {
8283
9450
  return deserializeAws_json1_1ListMonitoringExecutionsCommandError(output, context);
@@ -8566,6 +9733,33 @@ const deserializeAws_json1_1ListProjectsCommandError = async (output, context) =
8566
9733
  errorCode,
8567
9734
  });
8568
9735
  };
9736
+ export const deserializeAws_json1_1ListSpacesCommand = async (output, context) => {
9737
+ if (output.statusCode >= 300) {
9738
+ return deserializeAws_json1_1ListSpacesCommandError(output, context);
9739
+ }
9740
+ const data = await parseBody(output.body, context);
9741
+ let contents = {};
9742
+ contents = deserializeAws_json1_1ListSpacesResponse(data, context);
9743
+ const response = {
9744
+ $metadata: deserializeMetadata(output),
9745
+ ...contents,
9746
+ };
9747
+ return Promise.resolve(response);
9748
+ };
9749
+ const deserializeAws_json1_1ListSpacesCommandError = async (output, context) => {
9750
+ const parsedOutput = {
9751
+ ...output,
9752
+ body: await parseErrorBody(output.body, context),
9753
+ };
9754
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9755
+ const parsedBody = parsedOutput.body;
9756
+ throwDefaultError({
9757
+ output,
9758
+ parsedBody,
9759
+ exceptionCtor: __BaseException,
9760
+ errorCode,
9761
+ });
9762
+ };
8569
9763
  export const deserializeAws_json1_1ListStageDevicesCommand = async (output, context) => {
8570
9764
  if (output.statusCode >= 300) {
8571
9765
  return deserializeAws_json1_1ListStageDevicesCommandError(output, context);
@@ -9199,6 +10393,42 @@ const deserializeAws_json1_1StartEdgeDeploymentStageCommandError = async (output
9199
10393
  errorCode,
9200
10394
  });
9201
10395
  };
10396
+ export const deserializeAws_json1_1StartInferenceExperimentCommand = async (output, context) => {
10397
+ if (output.statusCode >= 300) {
10398
+ return deserializeAws_json1_1StartInferenceExperimentCommandError(output, context);
10399
+ }
10400
+ const data = await parseBody(output.body, context);
10401
+ let contents = {};
10402
+ contents = deserializeAws_json1_1StartInferenceExperimentResponse(data, context);
10403
+ const response = {
10404
+ $metadata: deserializeMetadata(output),
10405
+ ...contents,
10406
+ };
10407
+ return Promise.resolve(response);
10408
+ };
10409
+ const deserializeAws_json1_1StartInferenceExperimentCommandError = async (output, context) => {
10410
+ const parsedOutput = {
10411
+ ...output,
10412
+ body: await parseErrorBody(output.body, context),
10413
+ };
10414
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10415
+ switch (errorCode) {
10416
+ case "ConflictException":
10417
+ case "com.amazonaws.sagemaker#ConflictException":
10418
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
10419
+ case "ResourceNotFound":
10420
+ case "com.amazonaws.sagemaker#ResourceNotFound":
10421
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
10422
+ default:
10423
+ const parsedBody = parsedOutput.body;
10424
+ throwDefaultError({
10425
+ output,
10426
+ parsedBody,
10427
+ exceptionCtor: __BaseException,
10428
+ errorCode,
10429
+ });
10430
+ }
10431
+ };
9202
10432
  export const deserializeAws_json1_1StartMonitoringScheduleCommand = async (output, context) => {
9203
10433
  if (output.statusCode >= 300) {
9204
10434
  return deserializeAws_json1_1StartMonitoringScheduleCommandError(output, context);
@@ -9433,6 +10663,42 @@ const deserializeAws_json1_1StopHyperParameterTuningJobCommandError = async (out
9433
10663
  });
9434
10664
  }
9435
10665
  };
10666
+ export const deserializeAws_json1_1StopInferenceExperimentCommand = async (output, context) => {
10667
+ if (output.statusCode >= 300) {
10668
+ return deserializeAws_json1_1StopInferenceExperimentCommandError(output, context);
10669
+ }
10670
+ const data = await parseBody(output.body, context);
10671
+ let contents = {};
10672
+ contents = deserializeAws_json1_1StopInferenceExperimentResponse(data, context);
10673
+ const response = {
10674
+ $metadata: deserializeMetadata(output),
10675
+ ...contents,
10676
+ };
10677
+ return Promise.resolve(response);
10678
+ };
10679
+ const deserializeAws_json1_1StopInferenceExperimentCommandError = async (output, context) => {
10680
+ const parsedOutput = {
10681
+ ...output,
10682
+ body: await parseErrorBody(output.body, context),
10683
+ };
10684
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10685
+ switch (errorCode) {
10686
+ case "ConflictException":
10687
+ case "com.amazonaws.sagemaker#ConflictException":
10688
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
10689
+ case "ResourceNotFound":
10690
+ case "com.amazonaws.sagemaker#ResourceNotFound":
10691
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
10692
+ default:
10693
+ const parsedBody = parsedOutput.body;
10694
+ throwDefaultError({
10695
+ output,
10696
+ parsedBody,
10697
+ exceptionCtor: __BaseException,
10698
+ errorCode,
10699
+ });
10700
+ }
10701
+ };
9436
10702
  export const deserializeAws_json1_1StopInferenceRecommendationsJobCommand = async (output, context) => {
9437
10703
  if (output.statusCode >= 300) {
9438
10704
  return deserializeAws_json1_1StopInferenceRecommendationsJobCommandError(output, context);
@@ -10096,6 +11362,39 @@ const deserializeAws_json1_1UpdateFeatureMetadataCommandError = async (output, c
10096
11362
  });
10097
11363
  }
10098
11364
  };
11365
+ export const deserializeAws_json1_1UpdateHubCommand = async (output, context) => {
11366
+ if (output.statusCode >= 300) {
11367
+ return deserializeAws_json1_1UpdateHubCommandError(output, context);
11368
+ }
11369
+ const data = await parseBody(output.body, context);
11370
+ let contents = {};
11371
+ contents = deserializeAws_json1_1UpdateHubResponse(data, context);
11372
+ const response = {
11373
+ $metadata: deserializeMetadata(output),
11374
+ ...contents,
11375
+ };
11376
+ return Promise.resolve(response);
11377
+ };
11378
+ const deserializeAws_json1_1UpdateHubCommandError = async (output, context) => {
11379
+ const parsedOutput = {
11380
+ ...output,
11381
+ body: await parseErrorBody(output.body, context),
11382
+ };
11383
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11384
+ switch (errorCode) {
11385
+ case "ResourceNotFound":
11386
+ case "com.amazonaws.sagemaker#ResourceNotFound":
11387
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
11388
+ default:
11389
+ const parsedBody = parsedOutput.body;
11390
+ throwDefaultError({
11391
+ output,
11392
+ parsedBody,
11393
+ exceptionCtor: __BaseException,
11394
+ errorCode,
11395
+ });
11396
+ }
11397
+ };
10099
11398
  export const deserializeAws_json1_1UpdateImageCommand = async (output, context) => {
10100
11399
  if (output.statusCode >= 300) {
10101
11400
  return deserializeAws_json1_1UpdateImageCommandError(output, context);
@@ -10132,6 +11431,81 @@ const deserializeAws_json1_1UpdateImageCommandError = async (output, context) =>
10132
11431
  });
10133
11432
  }
10134
11433
  };
11434
+ export const deserializeAws_json1_1UpdateInferenceExperimentCommand = async (output, context) => {
11435
+ if (output.statusCode >= 300) {
11436
+ return deserializeAws_json1_1UpdateInferenceExperimentCommandError(output, context);
11437
+ }
11438
+ const data = await parseBody(output.body, context);
11439
+ let contents = {};
11440
+ contents = deserializeAws_json1_1UpdateInferenceExperimentResponse(data, context);
11441
+ const response = {
11442
+ $metadata: deserializeMetadata(output),
11443
+ ...contents,
11444
+ };
11445
+ return Promise.resolve(response);
11446
+ };
11447
+ const deserializeAws_json1_1UpdateInferenceExperimentCommandError = async (output, context) => {
11448
+ const parsedOutput = {
11449
+ ...output,
11450
+ body: await parseErrorBody(output.body, context),
11451
+ };
11452
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11453
+ switch (errorCode) {
11454
+ case "ConflictException":
11455
+ case "com.amazonaws.sagemaker#ConflictException":
11456
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
11457
+ case "ResourceNotFound":
11458
+ case "com.amazonaws.sagemaker#ResourceNotFound":
11459
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
11460
+ default:
11461
+ const parsedBody = parsedOutput.body;
11462
+ throwDefaultError({
11463
+ output,
11464
+ parsedBody,
11465
+ exceptionCtor: __BaseException,
11466
+ errorCode,
11467
+ });
11468
+ }
11469
+ };
11470
+ export const deserializeAws_json1_1UpdateModelCardCommand = async (output, context) => {
11471
+ if (output.statusCode >= 300) {
11472
+ return deserializeAws_json1_1UpdateModelCardCommandError(output, context);
11473
+ }
11474
+ const data = await parseBody(output.body, context);
11475
+ let contents = {};
11476
+ contents = deserializeAws_json1_1UpdateModelCardResponse(data, context);
11477
+ const response = {
11478
+ $metadata: deserializeMetadata(output),
11479
+ ...contents,
11480
+ };
11481
+ return Promise.resolve(response);
11482
+ };
11483
+ const deserializeAws_json1_1UpdateModelCardCommandError = async (output, context) => {
11484
+ const parsedOutput = {
11485
+ ...output,
11486
+ body: await parseErrorBody(output.body, context),
11487
+ };
11488
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11489
+ switch (errorCode) {
11490
+ case "ConflictException":
11491
+ case "com.amazonaws.sagemaker#ConflictException":
11492
+ throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
11493
+ case "ResourceLimitExceeded":
11494
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
11495
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
11496
+ case "ResourceNotFound":
11497
+ case "com.amazonaws.sagemaker#ResourceNotFound":
11498
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
11499
+ default:
11500
+ const parsedBody = parsedOutput.body;
11501
+ throwDefaultError({
11502
+ output,
11503
+ parsedBody,
11504
+ exceptionCtor: __BaseException,
11505
+ errorCode,
11506
+ });
11507
+ }
11508
+ };
10135
11509
  export const deserializeAws_json1_1UpdateModelPackageCommand = async (output, context) => {
10136
11510
  if (output.statusCode >= 300) {
10137
11511
  return deserializeAws_json1_1UpdateModelPackageCommandError(output, context);
@@ -10159,6 +11533,42 @@ const deserializeAws_json1_1UpdateModelPackageCommandError = async (output, cont
10159
11533
  errorCode,
10160
11534
  });
10161
11535
  };
11536
+ export const deserializeAws_json1_1UpdateMonitoringAlertCommand = async (output, context) => {
11537
+ if (output.statusCode >= 300) {
11538
+ return deserializeAws_json1_1UpdateMonitoringAlertCommandError(output, context);
11539
+ }
11540
+ const data = await parseBody(output.body, context);
11541
+ let contents = {};
11542
+ contents = deserializeAws_json1_1UpdateMonitoringAlertResponse(data, context);
11543
+ const response = {
11544
+ $metadata: deserializeMetadata(output),
11545
+ ...contents,
11546
+ };
11547
+ return Promise.resolve(response);
11548
+ };
11549
+ const deserializeAws_json1_1UpdateMonitoringAlertCommandError = async (output, context) => {
11550
+ const parsedOutput = {
11551
+ ...output,
11552
+ body: await parseErrorBody(output.body, context),
11553
+ };
11554
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11555
+ switch (errorCode) {
11556
+ case "ResourceLimitExceeded":
11557
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
11558
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
11559
+ case "ResourceNotFound":
11560
+ case "com.amazonaws.sagemaker#ResourceNotFound":
11561
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
11562
+ default:
11563
+ const parsedBody = parsedOutput.body;
11564
+ throwDefaultError({
11565
+ output,
11566
+ parsedBody,
11567
+ exceptionCtor: __BaseException,
11568
+ errorCode,
11569
+ });
11570
+ }
11571
+ };
10162
11572
  export const deserializeAws_json1_1UpdateMonitoringScheduleCommand = async (output, context) => {
10163
11573
  if (output.statusCode >= 300) {
10164
11574
  return deserializeAws_json1_1UpdateMonitoringScheduleCommandError(output, context);
@@ -10354,6 +11764,45 @@ const deserializeAws_json1_1UpdateProjectCommandError = async (output, context)
10354
11764
  errorCode,
10355
11765
  });
10356
11766
  };
11767
+ export const deserializeAws_json1_1UpdateSpaceCommand = async (output, context) => {
11768
+ if (output.statusCode >= 300) {
11769
+ return deserializeAws_json1_1UpdateSpaceCommandError(output, context);
11770
+ }
11771
+ const data = await parseBody(output.body, context);
11772
+ let contents = {};
11773
+ contents = deserializeAws_json1_1UpdateSpaceResponse(data, context);
11774
+ const response = {
11775
+ $metadata: deserializeMetadata(output),
11776
+ ...contents,
11777
+ };
11778
+ return Promise.resolve(response);
11779
+ };
11780
+ const deserializeAws_json1_1UpdateSpaceCommandError = async (output, context) => {
11781
+ const parsedOutput = {
11782
+ ...output,
11783
+ body: await parseErrorBody(output.body, context),
11784
+ };
11785
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11786
+ switch (errorCode) {
11787
+ case "ResourceInUse":
11788
+ case "com.amazonaws.sagemaker#ResourceInUse":
11789
+ throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
11790
+ case "ResourceLimitExceeded":
11791
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
11792
+ throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
11793
+ case "ResourceNotFound":
11794
+ case "com.amazonaws.sagemaker#ResourceNotFound":
11795
+ throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
11796
+ default:
11797
+ const parsedBody = parsedOutput.body;
11798
+ throwDefaultError({
11799
+ output,
11800
+ parsedBody,
11801
+ exceptionCtor: __BaseException,
11802
+ errorCode,
11803
+ });
11804
+ }
11805
+ };
10357
11806
  export const deserializeAws_json1_1UpdateTrainingJobCommand = async (output, context) => {
10358
11807
  if (output.statusCode >= 300) {
10359
11808
  return deserializeAws_json1_1UpdateTrainingJobCommandError(output, context);
@@ -11154,6 +12603,18 @@ const serializeAws_json1_1ClarifyTextConfig = (input, context) => {
11154
12603
  ...(input.Language != null && { Language: input.Language }),
11155
12604
  };
11156
12605
  };
12606
+ const serializeAws_json1_1CodeRepositories = (input, context) => {
12607
+ return input
12608
+ .filter((e) => e != null)
12609
+ .map((entry) => {
12610
+ return serializeAws_json1_1CodeRepository(entry, context);
12611
+ });
12612
+ };
12613
+ const serializeAws_json1_1CodeRepository = (input, context) => {
12614
+ return {
12615
+ ...(input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl }),
12616
+ };
12617
+ };
11157
12618
  const serializeAws_json1_1CognitoConfig = (input, context) => {
11158
12619
  return {
11159
12620
  ...(input.ClientId != null && { ClientId: input.ClientId }),
@@ -11324,6 +12785,7 @@ const serializeAws_json1_1CreateAppRequest = (input, context) => {
11324
12785
  ...(input.AppType != null && { AppType: input.AppType }),
11325
12786
  ...(input.DomainId != null && { DomainId: input.DomainId }),
11326
12787
  ...(input.ResourceSpec != null && { ResourceSpec: serializeAws_json1_1ResourceSpec(input.ResourceSpec, context) }),
12788
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
11327
12789
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
11328
12790
  ...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
11329
12791
  };
@@ -11446,6 +12908,9 @@ const serializeAws_json1_1CreateDomainRequest = (input, context) => {
11446
12908
  ...(input.AppNetworkAccessType != null && { AppNetworkAccessType: input.AppNetworkAccessType }),
11447
12909
  ...(input.AppSecurityGroupManagement != null && { AppSecurityGroupManagement: input.AppSecurityGroupManagement }),
11448
12910
  ...(input.AuthMode != null && { AuthMode: input.AuthMode }),
12911
+ ...(input.DefaultSpaceSettings != null && {
12912
+ DefaultSpaceSettings: serializeAws_json1_1DefaultSpaceSettings(input.DefaultSpaceSettings, context),
12913
+ }),
11449
12914
  ...(input.DefaultUserSettings != null && {
11450
12915
  DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
11451
12916
  }),
@@ -11507,6 +12972,9 @@ const serializeAws_json1_1CreateEndpointConfigInput = (input, context) => {
11507
12972
  ...(input.ProductionVariants != null && {
11508
12973
  ProductionVariants: serializeAws_json1_1ProductionVariantList(input.ProductionVariants, context),
11509
12974
  }),
12975
+ ...(input.ShadowProductionVariants != null && {
12976
+ ShadowProductionVariants: serializeAws_json1_1ProductionVariantList(input.ShadowProductionVariants, context),
12977
+ }),
11510
12978
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
11511
12979
  };
11512
12980
  };
@@ -11568,6 +13036,20 @@ const serializeAws_json1_1CreateFlowDefinitionRequest = (input, context) => {
11568
13036
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
11569
13037
  };
11570
13038
  };
13039
+ const serializeAws_json1_1CreateHubRequest = (input, context) => {
13040
+ return {
13041
+ ...(input.HubDescription != null && { HubDescription: input.HubDescription }),
13042
+ ...(input.HubDisplayName != null && { HubDisplayName: input.HubDisplayName }),
13043
+ ...(input.HubName != null && { HubName: input.HubName }),
13044
+ ...(input.HubSearchKeywords != null && {
13045
+ HubSearchKeywords: serializeAws_json1_1HubSearchKeywordList(input.HubSearchKeywords, context),
13046
+ }),
13047
+ ...(input.S3StorageConfig != null && {
13048
+ S3StorageConfig: serializeAws_json1_1HubS3StorageConfig(input.S3StorageConfig, context),
13049
+ }),
13050
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
13051
+ };
13052
+ };
11571
13053
  const serializeAws_json1_1CreateHumanTaskUiRequest = (input, context) => {
11572
13054
  return {
11573
13055
  ...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
@@ -11611,6 +13093,29 @@ const serializeAws_json1_1CreateImageVersionRequest = (input, context) => {
11611
13093
  ...(input.ImageName != null && { ImageName: input.ImageName }),
11612
13094
  };
11613
13095
  };
13096
+ const serializeAws_json1_1CreateInferenceExperimentRequest = (input, context) => {
13097
+ return {
13098
+ ...(input.DataStorageConfig != null && {
13099
+ DataStorageConfig: serializeAws_json1_1InferenceExperimentDataStorageConfig(input.DataStorageConfig, context),
13100
+ }),
13101
+ ...(input.Description != null && { Description: input.Description }),
13102
+ ...(input.EndpointName != null && { EndpointName: input.EndpointName }),
13103
+ ...(input.KmsKey != null && { KmsKey: input.KmsKey }),
13104
+ ...(input.ModelVariants != null && {
13105
+ ModelVariants: serializeAws_json1_1ModelVariantConfigList(input.ModelVariants, context),
13106
+ }),
13107
+ ...(input.Name != null && { Name: input.Name }),
13108
+ ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
13109
+ ...(input.Schedule != null && {
13110
+ Schedule: serializeAws_json1_1InferenceExperimentSchedule(input.Schedule, context),
13111
+ }),
13112
+ ...(input.ShadowModeConfig != null && {
13113
+ ShadowModeConfig: serializeAws_json1_1ShadowModeConfig(input.ShadowModeConfig, context),
13114
+ }),
13115
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
13116
+ ...(input.Type != null && { Type: input.Type }),
13117
+ };
13118
+ };
11614
13119
  const serializeAws_json1_1CreateInferenceRecommendationsJobRequest = (input, context) => {
11615
13120
  return {
11616
13121
  ...(input.InputConfig != null && {
@@ -11681,6 +13186,27 @@ const serializeAws_json1_1CreateModelBiasJobDefinitionRequest = (input, context)
11681
13186
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
11682
13187
  };
11683
13188
  };
13189
+ const serializeAws_json1_1CreateModelCardExportJobRequest = (input, context) => {
13190
+ return {
13191
+ ...(input.ModelCardExportJobName != null && { ModelCardExportJobName: input.ModelCardExportJobName }),
13192
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
13193
+ ...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
13194
+ ...(input.OutputConfig != null && {
13195
+ OutputConfig: serializeAws_json1_1ModelCardExportOutputConfig(input.OutputConfig, context),
13196
+ }),
13197
+ };
13198
+ };
13199
+ const serializeAws_json1_1CreateModelCardRequest = (input, context) => {
13200
+ return {
13201
+ ...(input.Content != null && { Content: input.Content }),
13202
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
13203
+ ...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
13204
+ ...(input.SecurityConfig != null && {
13205
+ SecurityConfig: serializeAws_json1_1ModelCardSecurityConfig(input.SecurityConfig, context),
13206
+ }),
13207
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
13208
+ };
13209
+ };
11684
13210
  const serializeAws_json1_1CreateModelExplainabilityJobDefinitionRequest = (input, context) => {
11685
13211
  return {
11686
13212
  ...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
@@ -11874,6 +13400,7 @@ const serializeAws_json1_1CreatePresignedDomainUrlRequest = (input, context) =>
11874
13400
  ...(input.SessionExpirationDurationInSeconds != null && {
11875
13401
  SessionExpirationDurationInSeconds: input.SessionExpirationDurationInSeconds,
11876
13402
  }),
13403
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
11877
13404
  ...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
11878
13405
  };
11879
13406
  };
@@ -11926,6 +13453,16 @@ const serializeAws_json1_1CreateProjectInput = (input, context) => {
11926
13453
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
11927
13454
  };
11928
13455
  };
13456
+ const serializeAws_json1_1CreateSpaceRequest = (input, context) => {
13457
+ return {
13458
+ ...(input.DomainId != null && { DomainId: input.DomainId }),
13459
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
13460
+ ...(input.SpaceSettings != null && {
13461
+ SpaceSettings: serializeAws_json1_1SpaceSettings(input.SpaceSettings, context),
13462
+ }),
13463
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
13464
+ };
13465
+ };
11929
13466
  const serializeAws_json1_1CreateStudioLifecycleConfigRequest = (input, context) => {
11930
13467
  return {
11931
13468
  ...(input.StudioLifecycleConfigAppType != null && {
@@ -12262,6 +13799,20 @@ const serializeAws_json1_1DebugRuleConfigurations = (input, context) => {
12262
13799
  return serializeAws_json1_1DebugRuleConfiguration(entry, context);
12263
13800
  });
12264
13801
  };
13802
+ const serializeAws_json1_1DefaultSpaceSettings = (input, context) => {
13803
+ return {
13804
+ ...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
13805
+ ...(input.JupyterServerAppSettings != null && {
13806
+ JupyterServerAppSettings: serializeAws_json1_1JupyterServerAppSettings(input.JupyterServerAppSettings, context),
13807
+ }),
13808
+ ...(input.KernelGatewayAppSettings != null && {
13809
+ KernelGatewayAppSettings: serializeAws_json1_1KernelGatewayAppSettings(input.KernelGatewayAppSettings, context),
13810
+ }),
13811
+ ...(input.SecurityGroups != null && {
13812
+ SecurityGroups: serializeAws_json1_1SecurityGroupIds(input.SecurityGroups, context),
13813
+ }),
13814
+ };
13815
+ };
12265
13816
  const serializeAws_json1_1DeleteActionRequest = (input, context) => {
12266
13817
  return {
12267
13818
  ...(input.ActionName != null && { ActionName: input.ActionName }),
@@ -12282,6 +13833,7 @@ const serializeAws_json1_1DeleteAppRequest = (input, context) => {
12282
13833
  ...(input.AppName != null && { AppName: input.AppName }),
12283
13834
  ...(input.AppType != null && { AppType: input.AppType }),
12284
13835
  ...(input.DomainId != null && { DomainId: input.DomainId }),
13836
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
12285
13837
  ...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
12286
13838
  };
12287
13839
  };
@@ -12361,6 +13913,19 @@ const serializeAws_json1_1DeleteFlowDefinitionRequest = (input, context) => {
12361
13913
  ...(input.FlowDefinitionName != null && { FlowDefinitionName: input.FlowDefinitionName }),
12362
13914
  };
12363
13915
  };
13916
+ const serializeAws_json1_1DeleteHubContentRequest = (input, context) => {
13917
+ return {
13918
+ ...(input.HubContentName != null && { HubContentName: input.HubContentName }),
13919
+ ...(input.HubContentType != null && { HubContentType: input.HubContentType }),
13920
+ ...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
13921
+ ...(input.HubName != null && { HubName: input.HubName }),
13922
+ };
13923
+ };
13924
+ const serializeAws_json1_1DeleteHubRequest = (input, context) => {
13925
+ return {
13926
+ ...(input.HubName != null && { HubName: input.HubName }),
13927
+ };
13928
+ };
12364
13929
  const serializeAws_json1_1DeleteHumanTaskUiRequest = (input, context) => {
12365
13930
  return {
12366
13931
  ...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
@@ -12377,11 +13942,21 @@ const serializeAws_json1_1DeleteImageVersionRequest = (input, context) => {
12377
13942
  ...(input.Version != null && { Version: input.Version }),
12378
13943
  };
12379
13944
  };
13945
+ const serializeAws_json1_1DeleteInferenceExperimentRequest = (input, context) => {
13946
+ return {
13947
+ ...(input.Name != null && { Name: input.Name }),
13948
+ };
13949
+ };
12380
13950
  const serializeAws_json1_1DeleteModelBiasJobDefinitionRequest = (input, context) => {
12381
13951
  return {
12382
13952
  ...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
12383
13953
  };
12384
13954
  };
13955
+ const serializeAws_json1_1DeleteModelCardRequest = (input, context) => {
13956
+ return {
13957
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
13958
+ };
13959
+ };
12385
13960
  const serializeAws_json1_1DeleteModelExplainabilityJobDefinitionRequest = (input, context) => {
12386
13961
  return {
12387
13962
  ...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
@@ -12440,6 +14015,12 @@ const serializeAws_json1_1DeleteProjectInput = (input, context) => {
12440
14015
  ...(input.ProjectName != null && { ProjectName: input.ProjectName }),
12441
14016
  };
12442
14017
  };
14018
+ const serializeAws_json1_1DeleteSpaceRequest = (input, context) => {
14019
+ return {
14020
+ ...(input.DomainId != null && { DomainId: input.DomainId }),
14021
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
14022
+ };
14023
+ };
12443
14024
  const serializeAws_json1_1DeleteStudioLifecycleConfigRequest = (input, context) => {
12444
14025
  return {
12445
14026
  ...(input.StudioLifecycleConfigName != null && { StudioLifecycleConfigName: input.StudioLifecycleConfigName }),
@@ -12531,6 +14112,7 @@ const serializeAws_json1_1DescribeAppRequest = (input, context) => {
12531
14112
  ...(input.AppName != null && { AppName: input.AppName }),
12532
14113
  ...(input.AppType != null && { AppType: input.AppType }),
12533
14114
  ...(input.DomainId != null && { DomainId: input.DomainId }),
14115
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
12534
14116
  ...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
12535
14117
  };
12536
14118
  };
@@ -12625,6 +14207,19 @@ const serializeAws_json1_1DescribeFlowDefinitionRequest = (input, context) => {
12625
14207
  ...(input.FlowDefinitionName != null && { FlowDefinitionName: input.FlowDefinitionName }),
12626
14208
  };
12627
14209
  };
14210
+ const serializeAws_json1_1DescribeHubContentRequest = (input, context) => {
14211
+ return {
14212
+ ...(input.HubContentName != null && { HubContentName: input.HubContentName }),
14213
+ ...(input.HubContentType != null && { HubContentType: input.HubContentType }),
14214
+ ...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
14215
+ ...(input.HubName != null && { HubName: input.HubName }),
14216
+ };
14217
+ };
14218
+ const serializeAws_json1_1DescribeHubRequest = (input, context) => {
14219
+ return {
14220
+ ...(input.HubName != null && { HubName: input.HubName }),
14221
+ };
14222
+ };
12628
14223
  const serializeAws_json1_1DescribeHumanTaskUiRequest = (input, context) => {
12629
14224
  return {
12630
14225
  ...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
@@ -12648,6 +14243,11 @@ const serializeAws_json1_1DescribeImageVersionRequest = (input, context) => {
12648
14243
  ...(input.Version != null && { Version: input.Version }),
12649
14244
  };
12650
14245
  };
14246
+ const serializeAws_json1_1DescribeInferenceExperimentRequest = (input, context) => {
14247
+ return {
14248
+ ...(input.Name != null && { Name: input.Name }),
14249
+ };
14250
+ };
12651
14251
  const serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = (input, context) => {
12652
14252
  return {
12653
14253
  ...(input.JobName != null && { JobName: input.JobName }),
@@ -12668,6 +14268,17 @@ const serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = (input, contex
12668
14268
  ...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
12669
14269
  };
12670
14270
  };
14271
+ const serializeAws_json1_1DescribeModelCardExportJobRequest = (input, context) => {
14272
+ return {
14273
+ ...(input.ModelCardExportJobArn != null && { ModelCardExportJobArn: input.ModelCardExportJobArn }),
14274
+ };
14275
+ };
14276
+ const serializeAws_json1_1DescribeModelCardRequest = (input, context) => {
14277
+ return {
14278
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
14279
+ ...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
14280
+ };
14281
+ };
12671
14282
  const serializeAws_json1_1DescribeModelExplainabilityJobDefinitionRequest = (input, context) => {
12672
14283
  return {
12673
14284
  ...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
@@ -12735,6 +14346,12 @@ const serializeAws_json1_1DescribeProjectInput = (input, context) => {
12735
14346
  ...(input.ProjectName != null && { ProjectName: input.ProjectName }),
12736
14347
  };
12737
14348
  };
14349
+ const serializeAws_json1_1DescribeSpaceRequest = (input, context) => {
14350
+ return {
14351
+ ...(input.DomainId != null && { DomainId: input.DomainId }),
14352
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
14353
+ };
14354
+ };
12738
14355
  const serializeAws_json1_1DescribeStudioLifecycleConfigRequest = (input, context) => {
12739
14356
  return {
12740
14357
  ...(input.StudioLifecycleConfigName != null && { StudioLifecycleConfigName: input.StudioLifecycleConfigName }),
@@ -12998,6 +14615,7 @@ const serializeAws_json1_1EnvironmentParameterRanges = (input, context) => {
12998
14615
  const serializeAws_json1_1ExperimentConfig = (input, context) => {
12999
14616
  return {
13000
14617
  ...(input.ExperimentName != null && { ExperimentName: input.ExperimentName }),
14618
+ ...(input.RunName != null && { RunName: input.RunName }),
13001
14619
  ...(input.TrialComponentDisplayName != null && { TrialComponentDisplayName: input.TrialComponentDisplayName }),
13002
14620
  ...(input.TrialName != null && { TrialName: input.TrialName }),
13003
14621
  };
@@ -13157,6 +14775,25 @@ const serializeAws_json1_1HookParameters = (input, context) => {
13157
14775
  return acc;
13158
14776
  }, {});
13159
14777
  };
14778
+ const serializeAws_json1_1HubContentSearchKeywordList = (input, context) => {
14779
+ return input
14780
+ .filter((e) => e != null)
14781
+ .map((entry) => {
14782
+ return entry;
14783
+ });
14784
+ };
14785
+ const serializeAws_json1_1HubS3StorageConfig = (input, context) => {
14786
+ return {
14787
+ ...(input.S3OutputPath != null && { S3OutputPath: input.S3OutputPath }),
14788
+ };
14789
+ };
14790
+ const serializeAws_json1_1HubSearchKeywordList = (input, context) => {
14791
+ return input
14792
+ .filter((e) => e != null)
14793
+ .map((entry) => {
14794
+ return entry;
14795
+ });
14796
+ };
13160
14797
  const serializeAws_json1_1HumanLoopActivationConditionsConfig = (input, context) => {
13161
14798
  return {
13162
14799
  ...(input.HumanLoopActivationConditions != null && {
@@ -13408,11 +15045,43 @@ const serializeAws_json1_1ImageDeletePropertyList = (input, context) => {
13408
15045
  return entry;
13409
15046
  });
13410
15047
  };
15048
+ const serializeAws_json1_1ImportHubContentRequest = (input, context) => {
15049
+ return {
15050
+ ...(input.DocumentSchemaVersion != null && { DocumentSchemaVersion: input.DocumentSchemaVersion }),
15051
+ ...(input.HubContentDescription != null && { HubContentDescription: input.HubContentDescription }),
15052
+ ...(input.HubContentDisplayName != null && { HubContentDisplayName: input.HubContentDisplayName }),
15053
+ ...(input.HubContentDocument != null && { HubContentDocument: input.HubContentDocument }),
15054
+ ...(input.HubContentMarkdown != null && { HubContentMarkdown: input.HubContentMarkdown }),
15055
+ ...(input.HubContentName != null && { HubContentName: input.HubContentName }),
15056
+ ...(input.HubContentSearchKeywords != null && {
15057
+ HubContentSearchKeywords: serializeAws_json1_1HubContentSearchKeywordList(input.HubContentSearchKeywords, context),
15058
+ }),
15059
+ ...(input.HubContentType != null && { HubContentType: input.HubContentType }),
15060
+ ...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
15061
+ ...(input.HubName != null && { HubName: input.HubName }),
15062
+ ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
15063
+ };
15064
+ };
13411
15065
  const serializeAws_json1_1InferenceExecutionConfig = (input, context) => {
13412
15066
  return {
13413
15067
  ...(input.Mode != null && { Mode: input.Mode }),
13414
15068
  };
13415
15069
  };
15070
+ const serializeAws_json1_1InferenceExperimentDataStorageConfig = (input, context) => {
15071
+ return {
15072
+ ...(input.ContentType != null && {
15073
+ ContentType: serializeAws_json1_1CaptureContentTypeHeader(input.ContentType, context),
15074
+ }),
15075
+ ...(input.Destination != null && { Destination: input.Destination }),
15076
+ ...(input.KmsKey != null && { KmsKey: input.KmsKey }),
15077
+ };
15078
+ };
15079
+ const serializeAws_json1_1InferenceExperimentSchedule = (input, context) => {
15080
+ return {
15081
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
15082
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
15083
+ };
15084
+ };
13416
15085
  const serializeAws_json1_1InferenceSpecification = (input, context) => {
13417
15086
  return {
13418
15087
  ...(input.Containers != null && {
@@ -13512,6 +15181,9 @@ const serializeAws_json1_1JsonContentTypes = (input, context) => {
13512
15181
  };
13513
15182
  const serializeAws_json1_1JupyterServerAppSettings = (input, context) => {
13514
15183
  return {
15184
+ ...(input.CodeRepositories != null && {
15185
+ CodeRepositories: serializeAws_json1_1CodeRepositories(input.CodeRepositories, context),
15186
+ }),
13515
15187
  ...(input.DefaultResourceSpec != null && {
13516
15188
  DefaultResourceSpec: serializeAws_json1_1ResourceSpec(input.DefaultResourceSpec, context),
13517
15189
  }),
@@ -13688,6 +15360,7 @@ const serializeAws_json1_1ListAppsRequest = (input, context) => {
13688
15360
  ...(input.NextToken != null && { NextToken: input.NextToken }),
13689
15361
  ...(input.SortBy != null && { SortBy: input.SortBy }),
13690
15362
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15363
+ ...(input.SpaceNameEquals != null && { SpaceNameEquals: input.SpaceNameEquals }),
13691
15364
  ...(input.UserProfileNameEquals != null && { UserProfileNameEquals: input.UserProfileNameEquals }),
13692
15365
  };
13693
15366
  };
@@ -13960,6 +15633,58 @@ const serializeAws_json1_1ListFlowDefinitionsRequest = (input, context) => {
13960
15633
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
13961
15634
  };
13962
15635
  };
15636
+ const serializeAws_json1_1ListHubContentsRequest = (input, context) => {
15637
+ return {
15638
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15639
+ ...(input.CreationTimeBefore != null && {
15640
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15641
+ }),
15642
+ ...(input.HubContentType != null && { HubContentType: input.HubContentType }),
15643
+ ...(input.HubName != null && { HubName: input.HubName }),
15644
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15645
+ ...(input.MaxSchemaVersion != null && { MaxSchemaVersion: input.MaxSchemaVersion }),
15646
+ ...(input.NameContains != null && { NameContains: input.NameContains }),
15647
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15648
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15649
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15650
+ };
15651
+ };
15652
+ const serializeAws_json1_1ListHubContentVersionsRequest = (input, context) => {
15653
+ return {
15654
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15655
+ ...(input.CreationTimeBefore != null && {
15656
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15657
+ }),
15658
+ ...(input.HubContentName != null && { HubContentName: input.HubContentName }),
15659
+ ...(input.HubContentType != null && { HubContentType: input.HubContentType }),
15660
+ ...(input.HubName != null && { HubName: input.HubName }),
15661
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15662
+ ...(input.MaxSchemaVersion != null && { MaxSchemaVersion: input.MaxSchemaVersion }),
15663
+ ...(input.MinVersion != null && { MinVersion: input.MinVersion }),
15664
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15665
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15666
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15667
+ };
15668
+ };
15669
+ const serializeAws_json1_1ListHubsRequest = (input, context) => {
15670
+ return {
15671
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15672
+ ...(input.CreationTimeBefore != null && {
15673
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15674
+ }),
15675
+ ...(input.LastModifiedTimeAfter != null && {
15676
+ LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
15677
+ }),
15678
+ ...(input.LastModifiedTimeBefore != null && {
15679
+ LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
15680
+ }),
15681
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15682
+ ...(input.NameContains != null && { NameContains: input.NameContains }),
15683
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15684
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15685
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15686
+ };
15687
+ };
13963
15688
  const serializeAws_json1_1ListHumanTaskUisRequest = (input, context) => {
13964
15689
  return {
13965
15690
  ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
@@ -14029,6 +15754,27 @@ const serializeAws_json1_1ListImageVersionsRequest = (input, context) => {
14029
15754
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
14030
15755
  };
14031
15756
  };
15757
+ const serializeAws_json1_1ListInferenceExperimentsRequest = (input, context) => {
15758
+ return {
15759
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15760
+ ...(input.CreationTimeBefore != null && {
15761
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15762
+ }),
15763
+ ...(input.LastModifiedTimeAfter != null && {
15764
+ LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
15765
+ }),
15766
+ ...(input.LastModifiedTimeBefore != null && {
15767
+ LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
15768
+ }),
15769
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15770
+ ...(input.NameContains != null && { NameContains: input.NameContains }),
15771
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15772
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15773
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15774
+ ...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
15775
+ ...(input.Type != null && { Type: input.Type }),
15776
+ };
15777
+ };
14032
15778
  const serializeAws_json1_1ListInferenceRecommendationsJobsRequest = (input, context) => {
14033
15779
  return {
14034
15780
  ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
@@ -14123,6 +15869,52 @@ const serializeAws_json1_1ListModelBiasJobDefinitionsRequest = (input, context)
14123
15869
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
14124
15870
  };
14125
15871
  };
15872
+ const serializeAws_json1_1ListModelCardExportJobsRequest = (input, context) => {
15873
+ return {
15874
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15875
+ ...(input.CreationTimeBefore != null && {
15876
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15877
+ }),
15878
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15879
+ ...(input.ModelCardExportJobNameContains != null && {
15880
+ ModelCardExportJobNameContains: input.ModelCardExportJobNameContains,
15881
+ }),
15882
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
15883
+ ...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
15884
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15885
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15886
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15887
+ ...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
15888
+ };
15889
+ };
15890
+ const serializeAws_json1_1ListModelCardsRequest = (input, context) => {
15891
+ return {
15892
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15893
+ ...(input.CreationTimeBefore != null && {
15894
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15895
+ }),
15896
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15897
+ ...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
15898
+ ...(input.NameContains != null && { NameContains: input.NameContains }),
15899
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15900
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15901
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15902
+ };
15903
+ };
15904
+ const serializeAws_json1_1ListModelCardVersionsRequest = (input, context) => {
15905
+ return {
15906
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
15907
+ ...(input.CreationTimeBefore != null && {
15908
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
15909
+ }),
15910
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
15911
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
15912
+ ...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
15913
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
15914
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
15915
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
15916
+ };
15917
+ };
14126
15918
  const serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = (input, context) => {
14127
15919
  return {
14128
15920
  ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
@@ -14202,6 +15994,28 @@ const serializeAws_json1_1ListModelsInput = (input, context) => {
14202
15994
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
14203
15995
  };
14204
15996
  };
15997
+ const serializeAws_json1_1ListMonitoringAlertHistoryRequest = (input, context) => {
15998
+ return {
15999
+ ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
16000
+ ...(input.CreationTimeBefore != null && {
16001
+ CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
16002
+ }),
16003
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
16004
+ ...(input.MonitoringAlertName != null && { MonitoringAlertName: input.MonitoringAlertName }),
16005
+ ...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
16006
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
16007
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
16008
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
16009
+ ...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
16010
+ };
16011
+ };
16012
+ const serializeAws_json1_1ListMonitoringAlertsRequest = (input, context) => {
16013
+ return {
16014
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
16015
+ ...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
16016
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
16017
+ };
16018
+ };
14205
16019
  const serializeAws_json1_1ListMonitoringExecutionsRequest = (input, context) => {
14206
16020
  return {
14207
16021
  ...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
@@ -14376,6 +16190,16 @@ const serializeAws_json1_1ListProjectsInput = (input, context) => {
14376
16190
  ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
14377
16191
  };
14378
16192
  };
16193
+ const serializeAws_json1_1ListSpacesRequest = (input, context) => {
16194
+ return {
16195
+ ...(input.DomainIdEquals != null && { DomainIdEquals: input.DomainIdEquals }),
16196
+ ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
16197
+ ...(input.NextToken != null && { NextToken: input.NextToken }),
16198
+ ...(input.SortBy != null && { SortBy: input.SortBy }),
16199
+ ...(input.SortOrder != null && { SortOrder: input.SortOrder }),
16200
+ ...(input.SpaceNameContains != null && { SpaceNameContains: input.SpaceNameContains }),
16201
+ };
16202
+ };
14379
16203
  const serializeAws_json1_1ListStageDevicesRequest = (input, context) => {
14380
16204
  return {
14381
16205
  ...(input.EdgeDeploymentPlanName != null && { EdgeDeploymentPlanName: input.EdgeDeploymentPlanName }),
@@ -14607,6 +16431,16 @@ const serializeAws_json1_1ModelBiasJobInput = (input, context) => {
14607
16431
  }),
14608
16432
  };
14609
16433
  };
16434
+ const serializeAws_json1_1ModelCardExportOutputConfig = (input, context) => {
16435
+ return {
16436
+ ...(input.S3OutputPath != null && { S3OutputPath: input.S3OutputPath }),
16437
+ };
16438
+ };
16439
+ const serializeAws_json1_1ModelCardSecurityConfig = (input, context) => {
16440
+ return {
16441
+ ...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
16442
+ };
16443
+ };
14610
16444
  const serializeAws_json1_1ModelClientConfig = (input, context) => {
14611
16445
  return {
14612
16446
  ...(input.InvocationsMaxRetries != null && { InvocationsMaxRetries: input.InvocationsMaxRetries }),
@@ -14654,6 +16488,14 @@ const serializeAws_json1_1ModelExplainabilityJobInput = (input, context) => {
14654
16488
  }),
14655
16489
  };
14656
16490
  };
16491
+ const serializeAws_json1_1ModelInfrastructureConfig = (input, context) => {
16492
+ return {
16493
+ ...(input.InfrastructureType != null && { InfrastructureType: input.InfrastructureType }),
16494
+ ...(input.RealTimeInferenceConfig != null && {
16495
+ RealTimeInferenceConfig: serializeAws_json1_1RealTimeInferenceConfig(input.RealTimeInferenceConfig, context),
16496
+ }),
16497
+ };
16498
+ };
14657
16499
  const serializeAws_json1_1ModelInput = (input, context) => {
14658
16500
  return {
14659
16501
  ...(input.DataInputConfig != null && { DataInputConfig: input.DataInputConfig }),
@@ -14801,6 +16643,31 @@ const serializeAws_json1_1ModelQualityJobInput = (input, context) => {
14801
16643
  }),
14802
16644
  };
14803
16645
  };
16646
+ const serializeAws_json1_1ModelVariantActionMap = (input, context) => {
16647
+ return Object.entries(input).reduce((acc, [key, value]) => {
16648
+ if (value === null) {
16649
+ return acc;
16650
+ }
16651
+ acc[key] = value;
16652
+ return acc;
16653
+ }, {});
16654
+ };
16655
+ const serializeAws_json1_1ModelVariantConfig = (input, context) => {
16656
+ return {
16657
+ ...(input.InfrastructureConfig != null && {
16658
+ InfrastructureConfig: serializeAws_json1_1ModelInfrastructureConfig(input.InfrastructureConfig, context),
16659
+ }),
16660
+ ...(input.ModelName != null && { ModelName: input.ModelName }),
16661
+ ...(input.VariantName != null && { VariantName: input.VariantName }),
16662
+ };
16663
+ };
16664
+ const serializeAws_json1_1ModelVariantConfigList = (input, context) => {
16665
+ return input
16666
+ .filter((e) => e != null)
16667
+ .map((entry) => {
16668
+ return serializeAws_json1_1ModelVariantConfig(entry, context);
16669
+ });
16670
+ };
14804
16671
  const serializeAws_json1_1MonitoringAppSpecification = (input, context) => {
14805
16672
  return {
14806
16673
  ...(input.ContainerArguments != null && {
@@ -15080,6 +16947,7 @@ const serializeAws_json1_1OfflineStoreConfig = (input, context) => {
15080
16947
  ...(input.S3StorageConfig != null && {
15081
16948
  S3StorageConfig: serializeAws_json1_1S3StorageConfig(input.S3StorageConfig, context),
15082
16949
  }),
16950
+ ...(input.TableFormat != null && { TableFormat: input.TableFormat }),
15083
16951
  };
15084
16952
  };
15085
16953
  const serializeAws_json1_1OidcConfig = (input, context) => {
@@ -15497,6 +17365,12 @@ const serializeAws_json1_1QueryTypes = (input, context) => {
15497
17365
  return entry;
15498
17366
  });
15499
17367
  };
17368
+ const serializeAws_json1_1RealTimeInferenceConfig = (input, context) => {
17369
+ return {
17370
+ ...(input.InstanceCount != null && { InstanceCount: input.InstanceCount }),
17371
+ ...(input.InstanceType != null && { InstanceType: input.InstanceType }),
17372
+ };
17373
+ };
15500
17374
  const serializeAws_json1_1RealtimeInferenceInstanceTypes = (input, context) => {
15501
17375
  return input
15502
17376
  .filter((e) => e != null)
@@ -15823,6 +17697,27 @@ const serializeAws_json1_1ServiceCatalogProvisioningUpdateDetails = (input, cont
15823
17697
  }),
15824
17698
  };
15825
17699
  };
17700
+ const serializeAws_json1_1ShadowModeConfig = (input, context) => {
17701
+ return {
17702
+ ...(input.ShadowModelVariants != null && {
17703
+ ShadowModelVariants: serializeAws_json1_1ShadowModelVariantConfigList(input.ShadowModelVariants, context),
17704
+ }),
17705
+ ...(input.SourceModelVariantName != null && { SourceModelVariantName: input.SourceModelVariantName }),
17706
+ };
17707
+ };
17708
+ const serializeAws_json1_1ShadowModelVariantConfig = (input, context) => {
17709
+ return {
17710
+ ...(input.SamplingPercentage != null && { SamplingPercentage: input.SamplingPercentage }),
17711
+ ...(input.ShadowModelVariantName != null && { ShadowModelVariantName: input.ShadowModelVariantName }),
17712
+ };
17713
+ };
17714
+ const serializeAws_json1_1ShadowModelVariantConfigList = (input, context) => {
17715
+ return input
17716
+ .filter((e) => e != null)
17717
+ .map((entry) => {
17718
+ return serializeAws_json1_1ShadowModelVariantConfig(entry, context);
17719
+ });
17720
+ };
15826
17721
  const serializeAws_json1_1SharingSettings = (input, context) => {
15827
17722
  return {
15828
17723
  ...(input.NotebookOutputOption != null && { NotebookOutputOption: input.NotebookOutputOption }),
@@ -15860,12 +17755,27 @@ const serializeAws_json1_1SourceIpConfig = (input, context) => {
15860
17755
  ...(input.Cidrs != null && { Cidrs: serializeAws_json1_1Cidrs(input.Cidrs, context) }),
15861
17756
  };
15862
17757
  };
17758
+ const serializeAws_json1_1SpaceSettings = (input, context) => {
17759
+ return {
17760
+ ...(input.JupyterServerAppSettings != null && {
17761
+ JupyterServerAppSettings: serializeAws_json1_1JupyterServerAppSettings(input.JupyterServerAppSettings, context),
17762
+ }),
17763
+ ...(input.KernelGatewayAppSettings != null && {
17764
+ KernelGatewayAppSettings: serializeAws_json1_1KernelGatewayAppSettings(input.KernelGatewayAppSettings, context),
17765
+ }),
17766
+ };
17767
+ };
15863
17768
  const serializeAws_json1_1StartEdgeDeploymentStageRequest = (input, context) => {
15864
17769
  return {
15865
17770
  ...(input.EdgeDeploymentPlanName != null && { EdgeDeploymentPlanName: input.EdgeDeploymentPlanName }),
15866
17771
  ...(input.StageName != null && { StageName: input.StageName }),
15867
17772
  };
15868
17773
  };
17774
+ const serializeAws_json1_1StartInferenceExperimentRequest = (input, context) => {
17775
+ return {
17776
+ ...(input.Name != null && { Name: input.Name }),
17777
+ };
17778
+ };
15869
17779
  const serializeAws_json1_1StartMonitoringScheduleRequest = (input, context) => {
15870
17780
  return {
15871
17781
  ...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
@@ -15922,6 +17832,19 @@ const serializeAws_json1_1StopHyperParameterTuningJobRequest = (input, context)
15922
17832
  }),
15923
17833
  };
15924
17834
  };
17835
+ const serializeAws_json1_1StopInferenceExperimentRequest = (input, context) => {
17836
+ return {
17837
+ ...(input.DesiredModelVariants != null && {
17838
+ DesiredModelVariants: serializeAws_json1_1ModelVariantConfigList(input.DesiredModelVariants, context),
17839
+ }),
17840
+ ...(input.DesiredState != null && { DesiredState: input.DesiredState }),
17841
+ ...(input.ModelVariantActions != null && {
17842
+ ModelVariantActions: serializeAws_json1_1ModelVariantActionMap(input.ModelVariantActions, context),
17843
+ }),
17844
+ ...(input.Name != null && { Name: input.Name }),
17845
+ ...(input.Reason != null && { Reason: input.Reason }),
17846
+ };
17847
+ };
15925
17848
  const serializeAws_json1_1StopInferenceRecommendationsJobRequest = (input, context) => {
15926
17849
  return {
15927
17850
  ...(input.JobName != null && { JobName: input.JobName }),
@@ -16322,6 +18245,9 @@ const serializeAws_json1_1UpdateDevicesRequest = (input, context) => {
16322
18245
  };
16323
18246
  const serializeAws_json1_1UpdateDomainRequest = (input, context) => {
16324
18247
  return {
18248
+ ...(input.DefaultSpaceSettings != null && {
18249
+ DefaultSpaceSettings: serializeAws_json1_1DefaultSpaceSettings(input.DefaultSpaceSettings, context),
18250
+ }),
16325
18251
  ...(input.DefaultUserSettings != null && {
16326
18252
  DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
16327
18253
  }),
@@ -16381,6 +18307,16 @@ const serializeAws_json1_1UpdateFeatureMetadataRequest = (input, context) => {
16381
18307
  }),
16382
18308
  };
16383
18309
  };
18310
+ const serializeAws_json1_1UpdateHubRequest = (input, context) => {
18311
+ return {
18312
+ ...(input.HubDescription != null && { HubDescription: input.HubDescription }),
18313
+ ...(input.HubDisplayName != null && { HubDisplayName: input.HubDisplayName }),
18314
+ ...(input.HubName != null && { HubName: input.HubName }),
18315
+ ...(input.HubSearchKeywords != null && {
18316
+ HubSearchKeywords: serializeAws_json1_1HubSearchKeywordList(input.HubSearchKeywords, context),
18317
+ }),
18318
+ };
18319
+ };
16384
18320
  const serializeAws_json1_1UpdateImageRequest = (input, context) => {
16385
18321
  return {
16386
18322
  ...(input.DeleteProperties != null && {
@@ -16392,6 +18328,31 @@ const serializeAws_json1_1UpdateImageRequest = (input, context) => {
16392
18328
  ...(input.RoleArn != null && { RoleArn: input.RoleArn }),
16393
18329
  };
16394
18330
  };
18331
+ const serializeAws_json1_1UpdateInferenceExperimentRequest = (input, context) => {
18332
+ return {
18333
+ ...(input.DataStorageConfig != null && {
18334
+ DataStorageConfig: serializeAws_json1_1InferenceExperimentDataStorageConfig(input.DataStorageConfig, context),
18335
+ }),
18336
+ ...(input.Description != null && { Description: input.Description }),
18337
+ ...(input.ModelVariants != null && {
18338
+ ModelVariants: serializeAws_json1_1ModelVariantConfigList(input.ModelVariants, context),
18339
+ }),
18340
+ ...(input.Name != null && { Name: input.Name }),
18341
+ ...(input.Schedule != null && {
18342
+ Schedule: serializeAws_json1_1InferenceExperimentSchedule(input.Schedule, context),
18343
+ }),
18344
+ ...(input.ShadowModeConfig != null && {
18345
+ ShadowModeConfig: serializeAws_json1_1ShadowModeConfig(input.ShadowModeConfig, context),
18346
+ }),
18347
+ };
18348
+ };
18349
+ const serializeAws_json1_1UpdateModelCardRequest = (input, context) => {
18350
+ return {
18351
+ ...(input.Content != null && { Content: input.Content }),
18352
+ ...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
18353
+ ...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
18354
+ };
18355
+ };
16395
18356
  const serializeAws_json1_1UpdateModelPackageInput = (input, context) => {
16396
18357
  return {
16397
18358
  ...(input.AdditionalInferenceSpecificationsToAdd != null && {
@@ -16408,6 +18369,14 @@ const serializeAws_json1_1UpdateModelPackageInput = (input, context) => {
16408
18369
  ...(input.ModelPackageArn != null && { ModelPackageArn: input.ModelPackageArn }),
16409
18370
  };
16410
18371
  };
18372
+ const serializeAws_json1_1UpdateMonitoringAlertRequest = (input, context) => {
18373
+ return {
18374
+ ...(input.DatapointsToAlert != null && { DatapointsToAlert: input.DatapointsToAlert }),
18375
+ ...(input.EvaluationPeriod != null && { EvaluationPeriod: input.EvaluationPeriod }),
18376
+ ...(input.MonitoringAlertName != null && { MonitoringAlertName: input.MonitoringAlertName }),
18377
+ ...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
18378
+ };
18379
+ };
16411
18380
  const serializeAws_json1_1UpdateMonitoringScheduleRequest = (input, context) => {
16412
18381
  return {
16413
18382
  ...(input.MonitoringScheduleConfig != null && {
@@ -16500,6 +18469,15 @@ const serializeAws_json1_1UpdateProjectInput = (input, context) => {
16500
18469
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
16501
18470
  };
16502
18471
  };
18472
+ const serializeAws_json1_1UpdateSpaceRequest = (input, context) => {
18473
+ return {
18474
+ ...(input.DomainId != null && { DomainId: input.DomainId }),
18475
+ ...(input.SpaceName != null && { SpaceName: input.SpaceName }),
18476
+ ...(input.SpaceSettings != null && {
18477
+ SpaceSettings: serializeAws_json1_1SpaceSettings(input.SpaceSettings, context),
18478
+ }),
18479
+ };
18480
+ };
16503
18481
  const serializeAws_json1_1UpdateTrainingJobRequest = (input, context) => {
16504
18482
  return {
16505
18483
  ...(input.ProfilerConfig != null && {
@@ -16894,6 +18872,7 @@ const deserializeAws_json1_1AppDetails = (output, context) => {
16894
18872
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
16895
18873
  : undefined,
16896
18874
  DomainId: __expectString(output.DomainId),
18875
+ SpaceName: __expectString(output.SpaceName),
16897
18876
  Status: __expectString(output.Status),
16898
18877
  UserProfileName: __expectString(output.UserProfileName),
16899
18878
  };
@@ -17210,6 +19189,11 @@ const deserializeAws_json1_1AutoMLJobObjective = (output, context) => {
17210
19189
  MetricName: __expectString(output.MetricName),
17211
19190
  };
17212
19191
  };
19192
+ const deserializeAws_json1_1AutoMLJobStepMetadata = (output, context) => {
19193
+ return {
19194
+ Arn: __expectString(output.Arn),
19195
+ };
19196
+ };
17213
19197
  const deserializeAws_json1_1AutoMLJobSummaries = (output, context) => {
17214
19198
  const retVal = (output || [])
17215
19199
  .filter((e) => e != null)
@@ -17645,6 +19629,22 @@ const deserializeAws_json1_1ClarifyTextConfig = (output, context) => {
17645
19629
  Language: __expectString(output.Language),
17646
19630
  };
17647
19631
  };
19632
+ const deserializeAws_json1_1CodeRepositories = (output, context) => {
19633
+ const retVal = (output || [])
19634
+ .filter((e) => e != null)
19635
+ .map((entry) => {
19636
+ if (entry === null) {
19637
+ return null;
19638
+ }
19639
+ return deserializeAws_json1_1CodeRepository(entry, context);
19640
+ });
19641
+ return retVal;
19642
+ };
19643
+ const deserializeAws_json1_1CodeRepository = (output, context) => {
19644
+ return {
19645
+ RepositoryUrl: __expectString(output.RepositoryUrl),
19646
+ };
19647
+ };
17648
19648
  const deserializeAws_json1_1CodeRepositorySummary = (output, context) => {
17649
19649
  return {
17650
19650
  CodeRepositoryArn: __expectString(output.CodeRepositoryArn),
@@ -17978,6 +19978,11 @@ const deserializeAws_json1_1CreateFlowDefinitionResponse = (output, context) =>
17978
19978
  FlowDefinitionArn: __expectString(output.FlowDefinitionArn),
17979
19979
  };
17980
19980
  };
19981
+ const deserializeAws_json1_1CreateHubResponse = (output, context) => {
19982
+ return {
19983
+ HubArn: __expectString(output.HubArn),
19984
+ };
19985
+ };
17981
19986
  const deserializeAws_json1_1CreateHumanTaskUiResponse = (output, context) => {
17982
19987
  return {
17983
19988
  HumanTaskUiArn: __expectString(output.HumanTaskUiArn),
@@ -17998,6 +20003,11 @@ const deserializeAws_json1_1CreateImageVersionResponse = (output, context) => {
17998
20003
  ImageVersionArn: __expectString(output.ImageVersionArn),
17999
20004
  };
18000
20005
  };
20006
+ const deserializeAws_json1_1CreateInferenceExperimentResponse = (output, context) => {
20007
+ return {
20008
+ InferenceExperimentArn: __expectString(output.InferenceExperimentArn),
20009
+ };
20010
+ };
18001
20011
  const deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = (output, context) => {
18002
20012
  return {
18003
20013
  JobArn: __expectString(output.JobArn),
@@ -18013,6 +20023,16 @@ const deserializeAws_json1_1CreateModelBiasJobDefinitionResponse = (output, cont
18013
20023
  JobDefinitionArn: __expectString(output.JobDefinitionArn),
18014
20024
  };
18015
20025
  };
20026
+ const deserializeAws_json1_1CreateModelCardExportJobResponse = (output, context) => {
20027
+ return {
20028
+ ModelCardExportJobArn: __expectString(output.ModelCardExportJobArn),
20029
+ };
20030
+ };
20031
+ const deserializeAws_json1_1CreateModelCardResponse = (output, context) => {
20032
+ return {
20033
+ ModelCardArn: __expectString(output.ModelCardArn),
20034
+ };
20035
+ };
18016
20036
  const deserializeAws_json1_1CreateModelExplainabilityJobDefinitionResponse = (output, context) => {
18017
20037
  return {
18018
20038
  JobDefinitionArn: __expectString(output.JobDefinitionArn),
@@ -18079,6 +20099,11 @@ const deserializeAws_json1_1CreateProjectOutput = (output, context) => {
18079
20099
  ProjectId: __expectString(output.ProjectId),
18080
20100
  };
18081
20101
  };
20102
+ const deserializeAws_json1_1CreateSpaceResponse = (output, context) => {
20103
+ return {
20104
+ SpaceArn: __expectString(output.SpaceArn),
20105
+ };
20106
+ };
18082
20107
  const deserializeAws_json1_1CreateStudioLifecycleConfigResponse = (output, context) => {
18083
20108
  return {
18084
20109
  StudioLifecycleConfigArn: __expectString(output.StudioLifecycleConfigArn),
@@ -18304,6 +20329,20 @@ const deserializeAws_json1_1DebugRuleEvaluationStatuses = (output, context) => {
18304
20329
  });
18305
20330
  return retVal;
18306
20331
  };
20332
+ const deserializeAws_json1_1DefaultSpaceSettings = (output, context) => {
20333
+ return {
20334
+ ExecutionRole: __expectString(output.ExecutionRole),
20335
+ JupyterServerAppSettings: output.JupyterServerAppSettings != null
20336
+ ? deserializeAws_json1_1JupyterServerAppSettings(output.JupyterServerAppSettings, context)
20337
+ : undefined,
20338
+ KernelGatewayAppSettings: output.KernelGatewayAppSettings != null
20339
+ ? deserializeAws_json1_1KernelGatewayAppSettings(output.KernelGatewayAppSettings, context)
20340
+ : undefined,
20341
+ SecurityGroups: output.SecurityGroups != null
20342
+ ? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroups, context)
20343
+ : undefined,
20344
+ };
20345
+ };
18307
20346
  const deserializeAws_json1_1DeleteActionResponse = (output, context) => {
18308
20347
  return {
18309
20348
  ActionArn: __expectString(output.ActionArn),
@@ -18342,6 +20381,11 @@ const deserializeAws_json1_1DeleteImageResponse = (output, context) => {
18342
20381
  const deserializeAws_json1_1DeleteImageVersionResponse = (output, context) => {
18343
20382
  return {};
18344
20383
  };
20384
+ const deserializeAws_json1_1DeleteInferenceExperimentResponse = (output, context) => {
20385
+ return {
20386
+ InferenceExperimentArn: __expectString(output.InferenceExperimentArn),
20387
+ };
20388
+ };
18345
20389
  const deserializeAws_json1_1DeletePipelineResponse = (output, context) => {
18346
20390
  return {
18347
20391
  PipelineArn: __expectString(output.PipelineArn),
@@ -18503,6 +20547,7 @@ const deserializeAws_json1_1DescribeAppResponse = (output, context) => {
18503
20547
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUserActivityTimestamp)))
18504
20548
  : undefined,
18505
20549
  ResourceSpec: output.ResourceSpec != null ? deserializeAws_json1_1ResourceSpec(output.ResourceSpec, context) : undefined,
20550
+ SpaceName: __expectString(output.SpaceName),
18506
20551
  Status: __expectString(output.Status),
18507
20552
  UserProfileName: __expectString(output.UserProfileName),
18508
20553
  };
@@ -18710,6 +20755,9 @@ const deserializeAws_json1_1DescribeDomainResponse = (output, context) => {
18710
20755
  CreationTime: output.CreationTime != null
18711
20756
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
18712
20757
  : undefined,
20758
+ DefaultSpaceSettings: output.DefaultSpaceSettings != null
20759
+ ? deserializeAws_json1_1DefaultSpaceSettings(output.DefaultSpaceSettings, context)
20760
+ : undefined,
18713
20761
  DefaultUserSettings: output.DefaultUserSettings != null
18714
20762
  ? deserializeAws_json1_1UserSettings(output.DefaultUserSettings, context)
18715
20763
  : undefined,
@@ -18798,6 +20846,9 @@ const deserializeAws_json1_1DescribeEndpointConfigOutput = (output, context) =>
18798
20846
  ProductionVariants: output.ProductionVariants != null
18799
20847
  ? deserializeAws_json1_1ProductionVariantList(output.ProductionVariants, context)
18800
20848
  : undefined,
20849
+ ShadowProductionVariants: output.ShadowProductionVariants != null
20850
+ ? deserializeAws_json1_1ProductionVariantList(output.ShadowProductionVariants, context)
20851
+ : undefined,
18801
20852
  };
18802
20853
  };
18803
20854
  const deserializeAws_json1_1DescribeEndpointOutput = (output, context) => {
@@ -18831,6 +20882,9 @@ const deserializeAws_json1_1DescribeEndpointOutput = (output, context) => {
18831
20882
  ProductionVariants: output.ProductionVariants != null
18832
20883
  ? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context)
18833
20884
  : undefined,
20885
+ ShadowProductionVariants: output.ShadowProductionVariants != null
20886
+ ? deserializeAws_json1_1ProductionVariantSummaryList(output.ShadowProductionVariants, context)
20887
+ : undefined,
18834
20888
  };
18835
20889
  };
18836
20890
  const deserializeAws_json1_1DescribeExperimentResponse = (output, context) => {
@@ -18925,6 +20979,54 @@ const deserializeAws_json1_1DescribeFlowDefinitionResponse = (output, context) =
18925
20979
  RoleArn: __expectString(output.RoleArn),
18926
20980
  };
18927
20981
  };
20982
+ const deserializeAws_json1_1DescribeHubContentResponse = (output, context) => {
20983
+ return {
20984
+ CreationTime: output.CreationTime != null
20985
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
20986
+ : undefined,
20987
+ DocumentSchemaVersion: __expectString(output.DocumentSchemaVersion),
20988
+ FailureReason: __expectString(output.FailureReason),
20989
+ HubArn: __expectString(output.HubArn),
20990
+ HubContentArn: __expectString(output.HubContentArn),
20991
+ HubContentDependencies: output.HubContentDependencies != null
20992
+ ? deserializeAws_json1_1HubContentDependencyList(output.HubContentDependencies, context)
20993
+ : undefined,
20994
+ HubContentDescription: __expectString(output.HubContentDescription),
20995
+ HubContentDisplayName: __expectString(output.HubContentDisplayName),
20996
+ HubContentDocument: __expectString(output.HubContentDocument),
20997
+ HubContentMarkdown: __expectString(output.HubContentMarkdown),
20998
+ HubContentName: __expectString(output.HubContentName),
20999
+ HubContentSearchKeywords: output.HubContentSearchKeywords != null
21000
+ ? deserializeAws_json1_1HubContentSearchKeywordList(output.HubContentSearchKeywords, context)
21001
+ : undefined,
21002
+ HubContentStatus: __expectString(output.HubContentStatus),
21003
+ HubContentType: __expectString(output.HubContentType),
21004
+ HubContentVersion: __expectString(output.HubContentVersion),
21005
+ HubName: __expectString(output.HubName),
21006
+ };
21007
+ };
21008
+ const deserializeAws_json1_1DescribeHubResponse = (output, context) => {
21009
+ return {
21010
+ CreationTime: output.CreationTime != null
21011
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
21012
+ : undefined,
21013
+ FailureReason: __expectString(output.FailureReason),
21014
+ HubArn: __expectString(output.HubArn),
21015
+ HubDescription: __expectString(output.HubDescription),
21016
+ HubDisplayName: __expectString(output.HubDisplayName),
21017
+ HubName: __expectString(output.HubName),
21018
+ HubSearchKeywords: output.HubSearchKeywords != null
21019
+ ? deserializeAws_json1_1HubSearchKeywordList(output.HubSearchKeywords, context)
21020
+ : undefined,
21021
+ HubStatus: __expectString(output.HubStatus),
21022
+ LastModifiedTime: output.LastModifiedTime != null
21023
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21024
+ : undefined,
21025
+ S3StorageConfig: output.S3StorageConfig != null
21026
+ ? deserializeAws_json1_1HubS3StorageConfig(output.S3StorageConfig, context)
21027
+ : undefined,
21028
+ };
21029
+ };
18928
21030
  const deserializeAws_json1_1DescribeHumanTaskUiResponse = (output, context) => {
18929
21031
  return {
18930
21032
  CreationTime: output.CreationTime != null
@@ -19011,6 +21113,40 @@ const deserializeAws_json1_1DescribeImageVersionResponse = (output, context) =>
19011
21113
  Version: __expectInt32(output.Version),
19012
21114
  };
19013
21115
  };
21116
+ const deserializeAws_json1_1DescribeInferenceExperimentResponse = (output, context) => {
21117
+ return {
21118
+ Arn: __expectString(output.Arn),
21119
+ CompletionTime: output.CompletionTime != null
21120
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
21121
+ : undefined,
21122
+ CreationTime: output.CreationTime != null
21123
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
21124
+ : undefined,
21125
+ DataStorageConfig: output.DataStorageConfig != null
21126
+ ? deserializeAws_json1_1InferenceExperimentDataStorageConfig(output.DataStorageConfig, context)
21127
+ : undefined,
21128
+ Description: __expectString(output.Description),
21129
+ EndpointMetadata: output.EndpointMetadata != null
21130
+ ? deserializeAws_json1_1EndpointMetadata(output.EndpointMetadata, context)
21131
+ : undefined,
21132
+ KmsKey: __expectString(output.KmsKey),
21133
+ LastModifiedTime: output.LastModifiedTime != null
21134
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21135
+ : undefined,
21136
+ ModelVariants: output.ModelVariants != null
21137
+ ? deserializeAws_json1_1ModelVariantConfigSummaryList(output.ModelVariants, context)
21138
+ : undefined,
21139
+ Name: __expectString(output.Name),
21140
+ RoleArn: __expectString(output.RoleArn),
21141
+ Schedule: output.Schedule != null ? deserializeAws_json1_1InferenceExperimentSchedule(output.Schedule, context) : undefined,
21142
+ ShadowModeConfig: output.ShadowModeConfig != null
21143
+ ? deserializeAws_json1_1ShadowModeConfig(output.ShadowModeConfig, context)
21144
+ : undefined,
21145
+ Status: __expectString(output.Status),
21146
+ StatusReason: __expectString(output.StatusReason),
21147
+ Type: __expectString(output.Type),
21148
+ };
21149
+ };
19014
21150
  const deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = (output, context) => {
19015
21151
  return {
19016
21152
  CompletionTime: output.CompletionTime != null
@@ -19126,6 +21262,47 @@ const deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = (output, co
19126
21262
  : undefined,
19127
21263
  };
19128
21264
  };
21265
+ const deserializeAws_json1_1DescribeModelCardExportJobResponse = (output, context) => {
21266
+ return {
21267
+ CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
21268
+ ExportArtifacts: output.ExportArtifacts != null
21269
+ ? deserializeAws_json1_1ModelCardExportArtifacts(output.ExportArtifacts, context)
21270
+ : undefined,
21271
+ FailureReason: __expectString(output.FailureReason),
21272
+ LastModifiedAt: output.LastModifiedAt != null
21273
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedAt)))
21274
+ : undefined,
21275
+ ModelCardExportJobArn: __expectString(output.ModelCardExportJobArn),
21276
+ ModelCardExportJobName: __expectString(output.ModelCardExportJobName),
21277
+ ModelCardName: __expectString(output.ModelCardName),
21278
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
21279
+ OutputConfig: output.OutputConfig != null
21280
+ ? deserializeAws_json1_1ModelCardExportOutputConfig(output.OutputConfig, context)
21281
+ : undefined,
21282
+ Status: __expectString(output.Status),
21283
+ };
21284
+ };
21285
+ const deserializeAws_json1_1DescribeModelCardResponse = (output, context) => {
21286
+ return {
21287
+ Content: __expectString(output.Content),
21288
+ CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
21289
+ CreationTime: output.CreationTime != null
21290
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
21291
+ : undefined,
21292
+ LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
21293
+ LastModifiedTime: output.LastModifiedTime != null
21294
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21295
+ : undefined,
21296
+ ModelCardArn: __expectString(output.ModelCardArn),
21297
+ ModelCardName: __expectString(output.ModelCardName),
21298
+ ModelCardProcessingStatus: __expectString(output.ModelCardProcessingStatus),
21299
+ ModelCardStatus: __expectString(output.ModelCardStatus),
21300
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
21301
+ SecurityConfig: output.SecurityConfig != null
21302
+ ? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
21303
+ : undefined,
21304
+ };
21305
+ };
19129
21306
  const deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionResponse = (output, context) => {
19130
21307
  return {
19131
21308
  CreationTime: output.CreationTime != null
@@ -19469,6 +21646,23 @@ const deserializeAws_json1_1DescribeProjectOutput = (output, context) => {
19469
21646
  : undefined,
19470
21647
  };
19471
21648
  };
21649
+ const deserializeAws_json1_1DescribeSpaceResponse = (output, context) => {
21650
+ return {
21651
+ CreationTime: output.CreationTime != null
21652
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
21653
+ : undefined,
21654
+ DomainId: __expectString(output.DomainId),
21655
+ FailureReason: __expectString(output.FailureReason),
21656
+ HomeEfsFileSystemUid: __expectString(output.HomeEfsFileSystemUid),
21657
+ LastModifiedTime: output.LastModifiedTime != null
21658
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
21659
+ : undefined,
21660
+ SpaceArn: __expectString(output.SpaceArn),
21661
+ SpaceName: __expectString(output.SpaceName),
21662
+ SpaceSettings: output.SpaceSettings != null ? deserializeAws_json1_1SpaceSettings(output.SpaceSettings, context) : undefined,
21663
+ Status: __expectString(output.Status),
21664
+ };
21665
+ };
19472
21666
  const deserializeAws_json1_1DescribeStudioLifecycleConfigResponse = (output, context) => {
19473
21667
  return {
19474
21668
  CreationTime: output.CreationTime != null
@@ -19645,6 +21839,7 @@ const deserializeAws_json1_1DescribeTrialComponentResponse = (output, context) =
19645
21839
  ? deserializeAws_json1_1TrialComponentParameters(output.Parameters, context)
19646
21840
  : undefined,
19647
21841
  Source: output.Source != null ? deserializeAws_json1_1TrialComponentSource(output.Source, context) : undefined,
21842
+ Sources: output.Sources != null ? deserializeAws_json1_1TrialComponentSources(output.Sources, context) : undefined,
19648
21843
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
19649
21844
  Status: output.Status != null ? deserializeAws_json1_1TrialComponentStatus(output.Status, context) : undefined,
19650
21845
  TrialComponentArn: __expectString(output.TrialComponentArn),
@@ -20120,6 +22315,9 @@ const deserializeAws_json1_1Endpoint = (output, context) => {
20120
22315
  ProductionVariants: output.ProductionVariants != null
20121
22316
  ? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context)
20122
22317
  : undefined,
22318
+ ShadowProductionVariants: output.ShadowProductionVariants != null
22319
+ ? deserializeAws_json1_1ProductionVariantSummaryList(output.ShadowProductionVariants, context)
22320
+ : undefined,
20123
22321
  Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
20124
22322
  };
20125
22323
  };
@@ -20182,6 +22380,14 @@ const deserializeAws_json1_1EndpointInputConfigurations = (output, context) => {
20182
22380
  });
20183
22381
  return retVal;
20184
22382
  };
22383
+ const deserializeAws_json1_1EndpointMetadata = (output, context) => {
22384
+ return {
22385
+ EndpointConfigName: __expectString(output.EndpointConfigName),
22386
+ EndpointName: __expectString(output.EndpointName),
22387
+ EndpointStatus: __expectString(output.EndpointStatus),
22388
+ FailureReason: __expectString(output.FailureReason),
22389
+ };
22390
+ };
20185
22391
  const deserializeAws_json1_1EndpointOutputConfiguration = (output, context) => {
20186
22392
  return {
20187
22393
  EndpointName: __expectString(output.EndpointName),
@@ -20297,6 +22503,7 @@ const deserializeAws_json1_1Experiment = (output, context) => {
20297
22503
  const deserializeAws_json1_1ExperimentConfig = (output, context) => {
20298
22504
  return {
20299
22505
  ExperimentName: __expectString(output.ExperimentName),
22506
+ RunName: __expectString(output.RunName),
20300
22507
  TrialComponentDisplayName: __expectString(output.TrialComponentDisplayName),
20301
22508
  TrialName: __expectString(output.TrialName),
20302
22509
  };
@@ -20582,14 +22789,125 @@ const deserializeAws_json1_1GetSearchSuggestionsResponse = (output, context) =>
20582
22789
  : undefined,
20583
22790
  };
20584
22791
  };
20585
- const deserializeAws_json1_1GitConfig = (output, context) => {
22792
+ const deserializeAws_json1_1GitConfig = (output, context) => {
22793
+ return {
22794
+ Branch: __expectString(output.Branch),
22795
+ RepositoryUrl: __expectString(output.RepositoryUrl),
22796
+ SecretArn: __expectString(output.SecretArn),
22797
+ };
22798
+ };
22799
+ const deserializeAws_json1_1Groups = (output, context) => {
22800
+ const retVal = (output || [])
22801
+ .filter((e) => e != null)
22802
+ .map((entry) => {
22803
+ if (entry === null) {
22804
+ return null;
22805
+ }
22806
+ return __expectString(entry);
22807
+ });
22808
+ return retVal;
22809
+ };
22810
+ const deserializeAws_json1_1HookParameters = (output, context) => {
22811
+ return Object.entries(output).reduce((acc, [key, value]) => {
22812
+ if (value === null) {
22813
+ return acc;
22814
+ }
22815
+ acc[key] = __expectString(value);
22816
+ return acc;
22817
+ }, {});
22818
+ };
22819
+ const deserializeAws_json1_1HubContentDependency = (output, context) => {
22820
+ return {
22821
+ DependencyCopyPath: __expectString(output.DependencyCopyPath),
22822
+ DependencyOriginPath: __expectString(output.DependencyOriginPath),
22823
+ };
22824
+ };
22825
+ const deserializeAws_json1_1HubContentDependencyList = (output, context) => {
22826
+ const retVal = (output || [])
22827
+ .filter((e) => e != null)
22828
+ .map((entry) => {
22829
+ if (entry === null) {
22830
+ return null;
22831
+ }
22832
+ return deserializeAws_json1_1HubContentDependency(entry, context);
22833
+ });
22834
+ return retVal;
22835
+ };
22836
+ const deserializeAws_json1_1HubContentInfo = (output, context) => {
22837
+ return {
22838
+ CreationTime: output.CreationTime != null
22839
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22840
+ : undefined,
22841
+ DocumentSchemaVersion: __expectString(output.DocumentSchemaVersion),
22842
+ HubContentArn: __expectString(output.HubContentArn),
22843
+ HubContentDescription: __expectString(output.HubContentDescription),
22844
+ HubContentDisplayName: __expectString(output.HubContentDisplayName),
22845
+ HubContentName: __expectString(output.HubContentName),
22846
+ HubContentSearchKeywords: output.HubContentSearchKeywords != null
22847
+ ? deserializeAws_json1_1HubContentSearchKeywordList(output.HubContentSearchKeywords, context)
22848
+ : undefined,
22849
+ HubContentStatus: __expectString(output.HubContentStatus),
22850
+ HubContentType: __expectString(output.HubContentType),
22851
+ HubContentVersion: __expectString(output.HubContentVersion),
22852
+ };
22853
+ };
22854
+ const deserializeAws_json1_1HubContentInfoList = (output, context) => {
22855
+ const retVal = (output || [])
22856
+ .filter((e) => e != null)
22857
+ .map((entry) => {
22858
+ if (entry === null) {
22859
+ return null;
22860
+ }
22861
+ return deserializeAws_json1_1HubContentInfo(entry, context);
22862
+ });
22863
+ return retVal;
22864
+ };
22865
+ const deserializeAws_json1_1HubContentSearchKeywordList = (output, context) => {
22866
+ const retVal = (output || [])
22867
+ .filter((e) => e != null)
22868
+ .map((entry) => {
22869
+ if (entry === null) {
22870
+ return null;
22871
+ }
22872
+ return __expectString(entry);
22873
+ });
22874
+ return retVal;
22875
+ };
22876
+ const deserializeAws_json1_1HubInfo = (output, context) => {
22877
+ return {
22878
+ CreationTime: output.CreationTime != null
22879
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22880
+ : undefined,
22881
+ HubArn: __expectString(output.HubArn),
22882
+ HubDescription: __expectString(output.HubDescription),
22883
+ HubDisplayName: __expectString(output.HubDisplayName),
22884
+ HubName: __expectString(output.HubName),
22885
+ HubSearchKeywords: output.HubSearchKeywords != null
22886
+ ? deserializeAws_json1_1HubSearchKeywordList(output.HubSearchKeywords, context)
22887
+ : undefined,
22888
+ HubStatus: __expectString(output.HubStatus),
22889
+ LastModifiedTime: output.LastModifiedTime != null
22890
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22891
+ : undefined,
22892
+ };
22893
+ };
22894
+ const deserializeAws_json1_1HubInfoList = (output, context) => {
22895
+ const retVal = (output || [])
22896
+ .filter((e) => e != null)
22897
+ .map((entry) => {
22898
+ if (entry === null) {
22899
+ return null;
22900
+ }
22901
+ return deserializeAws_json1_1HubInfo(entry, context);
22902
+ });
22903
+ return retVal;
22904
+ };
22905
+ const deserializeAws_json1_1HubS3StorageConfig = (output, context) => {
20586
22906
  return {
20587
- Branch: __expectString(output.Branch),
20588
- RepositoryUrl: __expectString(output.RepositoryUrl),
20589
- SecretArn: __expectString(output.SecretArn),
22907
+ S3OutputPath: __expectString(output.S3OutputPath),
20590
22908
  };
20591
22909
  };
20592
- const deserializeAws_json1_1Groups = (output, context) => {
22910
+ const deserializeAws_json1_1HubSearchKeywordList = (output, context) => {
20593
22911
  const retVal = (output || [])
20594
22912
  .filter((e) => e != null)
20595
22913
  .map((entry) => {
@@ -20600,15 +22918,6 @@ const deserializeAws_json1_1Groups = (output, context) => {
20600
22918
  });
20601
22919
  return retVal;
20602
22920
  };
20603
- const deserializeAws_json1_1HookParameters = (output, context) => {
20604
- return Object.entries(output).reduce((acc, [key, value]) => {
20605
- if (value === null) {
20606
- return acc;
20607
- }
20608
- acc[key] = __expectString(value);
20609
- return acc;
20610
- }, {});
20611
- };
20612
22921
  const deserializeAws_json1_1HumanLoopActivationConditionsConfig = (output, context) => {
20613
22922
  return {
20614
22923
  HumanLoopActivationConditions: output.HumanLoopActivationConditions != null
@@ -21038,11 +23347,63 @@ const deserializeAws_json1_1ImageVersions = (output, context) => {
21038
23347
  });
21039
23348
  return retVal;
21040
23349
  };
23350
+ const deserializeAws_json1_1ImportHubContentResponse = (output, context) => {
23351
+ return {
23352
+ HubArn: __expectString(output.HubArn),
23353
+ HubContentArn: __expectString(output.HubContentArn),
23354
+ };
23355
+ };
21041
23356
  const deserializeAws_json1_1InferenceExecutionConfig = (output, context) => {
21042
23357
  return {
21043
23358
  Mode: __expectString(output.Mode),
21044
23359
  };
21045
23360
  };
23361
+ const deserializeAws_json1_1InferenceExperimentDataStorageConfig = (output, context) => {
23362
+ return {
23363
+ ContentType: output.ContentType != null
23364
+ ? deserializeAws_json1_1CaptureContentTypeHeader(output.ContentType, context)
23365
+ : undefined,
23366
+ Destination: __expectString(output.Destination),
23367
+ KmsKey: __expectString(output.KmsKey),
23368
+ };
23369
+ };
23370
+ const deserializeAws_json1_1InferenceExperimentList = (output, context) => {
23371
+ const retVal = (output || [])
23372
+ .filter((e) => e != null)
23373
+ .map((entry) => {
23374
+ if (entry === null) {
23375
+ return null;
23376
+ }
23377
+ return deserializeAws_json1_1InferenceExperimentSummary(entry, context);
23378
+ });
23379
+ return retVal;
23380
+ };
23381
+ const deserializeAws_json1_1InferenceExperimentSchedule = (output, context) => {
23382
+ return {
23383
+ EndTime: output.EndTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EndTime))) : undefined,
23384
+ StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
23385
+ };
23386
+ };
23387
+ const deserializeAws_json1_1InferenceExperimentSummary = (output, context) => {
23388
+ return {
23389
+ CompletionTime: output.CompletionTime != null
23390
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
23391
+ : undefined,
23392
+ CreationTime: output.CreationTime != null
23393
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
23394
+ : undefined,
23395
+ Description: __expectString(output.Description),
23396
+ LastModifiedTime: output.LastModifiedTime != null
23397
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
23398
+ : undefined,
23399
+ Name: __expectString(output.Name),
23400
+ RoleArn: __expectString(output.RoleArn),
23401
+ Schedule: output.Schedule != null ? deserializeAws_json1_1InferenceExperimentSchedule(output.Schedule, context) : undefined,
23402
+ Status: __expectString(output.Status),
23403
+ StatusReason: __expectString(output.StatusReason),
23404
+ Type: __expectString(output.Type),
23405
+ };
23406
+ };
21046
23407
  const deserializeAws_json1_1InferenceMetrics = (output, context) => {
21047
23408
  return {
21048
23409
  MaxInvocations: __expectInt32(output.MaxInvocations),
@@ -21244,6 +23605,9 @@ const deserializeAws_json1_1JsonContentTypes = (output, context) => {
21244
23605
  };
21245
23606
  const deserializeAws_json1_1JupyterServerAppSettings = (output, context) => {
21246
23607
  return {
23608
+ CodeRepositories: output.CodeRepositories != null
23609
+ ? deserializeAws_json1_1CodeRepositories(output.CodeRepositories, context)
23610
+ : undefined,
21247
23611
  DefaultResourceSpec: output.DefaultResourceSpec != null
21248
23612
  ? deserializeAws_json1_1ResourceSpec(output.DefaultResourceSpec, context)
21249
23613
  : undefined,
@@ -21659,6 +24023,28 @@ const deserializeAws_json1_1ListFlowDefinitionsResponse = (output, context) => {
21659
24023
  NextToken: __expectString(output.NextToken),
21660
24024
  };
21661
24025
  };
24026
+ const deserializeAws_json1_1ListHubContentsResponse = (output, context) => {
24027
+ return {
24028
+ HubContentSummaries: output.HubContentSummaries != null
24029
+ ? deserializeAws_json1_1HubContentInfoList(output.HubContentSummaries, context)
24030
+ : undefined,
24031
+ NextToken: __expectString(output.NextToken),
24032
+ };
24033
+ };
24034
+ const deserializeAws_json1_1ListHubContentVersionsResponse = (output, context) => {
24035
+ return {
24036
+ HubContentSummaries: output.HubContentSummaries != null
24037
+ ? deserializeAws_json1_1HubContentInfoList(output.HubContentSummaries, context)
24038
+ : undefined,
24039
+ NextToken: __expectString(output.NextToken),
24040
+ };
24041
+ };
24042
+ const deserializeAws_json1_1ListHubsResponse = (output, context) => {
24043
+ return {
24044
+ HubSummaries: output.HubSummaries != null ? deserializeAws_json1_1HubInfoList(output.HubSummaries, context) : undefined,
24045
+ NextToken: __expectString(output.NextToken),
24046
+ };
24047
+ };
21662
24048
  const deserializeAws_json1_1ListHumanTaskUisResponse = (output, context) => {
21663
24049
  return {
21664
24050
  HumanTaskUiSummaries: output.HumanTaskUiSummaries != null
@@ -21687,6 +24073,14 @@ const deserializeAws_json1_1ListImageVersionsResponse = (output, context) => {
21687
24073
  NextToken: __expectString(output.NextToken),
21688
24074
  };
21689
24075
  };
24076
+ const deserializeAws_json1_1ListInferenceExperimentsResponse = (output, context) => {
24077
+ return {
24078
+ InferenceExperiments: output.InferenceExperiments != null
24079
+ ? deserializeAws_json1_1InferenceExperimentList(output.InferenceExperiments, context)
24080
+ : undefined,
24081
+ NextToken: __expectString(output.NextToken),
24082
+ };
24083
+ };
21690
24084
  const deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = (output, context) => {
21691
24085
  return {
21692
24086
  InferenceRecommendationsJobs: output.InferenceRecommendationsJobs != null
@@ -21733,6 +24127,30 @@ const deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = (output, conte
21733
24127
  NextToken: __expectString(output.NextToken),
21734
24128
  };
21735
24129
  };
24130
+ const deserializeAws_json1_1ListModelCardExportJobsResponse = (output, context) => {
24131
+ return {
24132
+ ModelCardExportJobSummaries: output.ModelCardExportJobSummaries != null
24133
+ ? deserializeAws_json1_1ModelCardExportJobSummaryList(output.ModelCardExportJobSummaries, context)
24134
+ : undefined,
24135
+ NextToken: __expectString(output.NextToken),
24136
+ };
24137
+ };
24138
+ const deserializeAws_json1_1ListModelCardsResponse = (output, context) => {
24139
+ return {
24140
+ ModelCardSummaries: output.ModelCardSummaries != null
24141
+ ? deserializeAws_json1_1ModelCardSummaryList(output.ModelCardSummaries, context)
24142
+ : undefined,
24143
+ NextToken: __expectString(output.NextToken),
24144
+ };
24145
+ };
24146
+ const deserializeAws_json1_1ListModelCardVersionsResponse = (output, context) => {
24147
+ return {
24148
+ ModelCardVersionSummaryList: output.ModelCardVersionSummaryList != null
24149
+ ? deserializeAws_json1_1ModelCardVersionSummaryList(output.ModelCardVersionSummaryList, context)
24150
+ : undefined,
24151
+ NextToken: __expectString(output.NextToken),
24152
+ };
24153
+ };
21736
24154
  const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = (output, context) => {
21737
24155
  return {
21738
24156
  JobDefinitionSummaries: output.JobDefinitionSummaries != null
@@ -21779,6 +24197,22 @@ const deserializeAws_json1_1ListModelsOutput = (output, context) => {
21779
24197
  NextToken: __expectString(output.NextToken),
21780
24198
  };
21781
24199
  };
24200
+ const deserializeAws_json1_1ListMonitoringAlertHistoryResponse = (output, context) => {
24201
+ return {
24202
+ MonitoringAlertHistory: output.MonitoringAlertHistory != null
24203
+ ? deserializeAws_json1_1MonitoringAlertHistoryList(output.MonitoringAlertHistory, context)
24204
+ : undefined,
24205
+ NextToken: __expectString(output.NextToken),
24206
+ };
24207
+ };
24208
+ const deserializeAws_json1_1ListMonitoringAlertsResponse = (output, context) => {
24209
+ return {
24210
+ MonitoringAlertSummaries: output.MonitoringAlertSummaries != null
24211
+ ? deserializeAws_json1_1MonitoringAlertSummaryList(output.MonitoringAlertSummaries, context)
24212
+ : undefined,
24213
+ NextToken: __expectString(output.NextToken),
24214
+ };
24215
+ };
21782
24216
  const deserializeAws_json1_1ListMonitoringExecutionsResponse = (output, context) => {
21783
24217
  return {
21784
24218
  MonitoringExecutionSummaries: output.MonitoringExecutionSummaries != null
@@ -21859,6 +24293,12 @@ const deserializeAws_json1_1ListProjectsOutput = (output, context) => {
21859
24293
  : undefined,
21860
24294
  };
21861
24295
  };
24296
+ const deserializeAws_json1_1ListSpacesResponse = (output, context) => {
24297
+ return {
24298
+ NextToken: __expectString(output.NextToken),
24299
+ Spaces: output.Spaces != null ? deserializeAws_json1_1SpaceList(output.Spaces, context) : undefined,
24300
+ };
24301
+ };
21862
24302
  const deserializeAws_json1_1ListStageDevicesResponse = (output, context) => {
21863
24303
  return {
21864
24304
  DeviceDeploymentSummaries: output.DeviceDeploymentSummaries != null
@@ -21981,96 +24421,327 @@ const deserializeAws_json1_1MetricData = (output, context) => {
21981
24421
  Value: __limitedParseFloat32(output.Value),
21982
24422
  };
21983
24423
  };
21984
- const deserializeAws_json1_1MetricDataList = (output, context) => {
24424
+ const deserializeAws_json1_1MetricDataList = (output, context) => {
24425
+ const retVal = (output || [])
24426
+ .filter((e) => e != null)
24427
+ .map((entry) => {
24428
+ if (entry === null) {
24429
+ return null;
24430
+ }
24431
+ return deserializeAws_json1_1MetricDatum(entry, context);
24432
+ });
24433
+ return retVal;
24434
+ };
24435
+ const deserializeAws_json1_1MetricDatum = (output, context) => {
24436
+ return {
24437
+ MetricName: __expectString(output.MetricName),
24438
+ Set: __expectString(output.Set),
24439
+ StandardMetricName: __expectString(output.StandardMetricName),
24440
+ Value: __limitedParseFloat32(output.Value),
24441
+ };
24442
+ };
24443
+ const deserializeAws_json1_1MetricDefinition = (output, context) => {
24444
+ return {
24445
+ Name: __expectString(output.Name),
24446
+ Regex: __expectString(output.Regex),
24447
+ };
24448
+ };
24449
+ const deserializeAws_json1_1MetricDefinitionList = (output, context) => {
24450
+ const retVal = (output || [])
24451
+ .filter((e) => e != null)
24452
+ .map((entry) => {
24453
+ if (entry === null) {
24454
+ return null;
24455
+ }
24456
+ return deserializeAws_json1_1MetricDefinition(entry, context);
24457
+ });
24458
+ return retVal;
24459
+ };
24460
+ const deserializeAws_json1_1MetricsSource = (output, context) => {
24461
+ return {
24462
+ ContentDigest: __expectString(output.ContentDigest),
24463
+ ContentType: __expectString(output.ContentType),
24464
+ S3Uri: __expectString(output.S3Uri),
24465
+ };
24466
+ };
24467
+ const deserializeAws_json1_1Model = (output, context) => {
24468
+ return {
24469
+ Containers: output.Containers != null ? deserializeAws_json1_1ContainerDefinitionList(output.Containers, context) : undefined,
24470
+ CreationTime: output.CreationTime != null
24471
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24472
+ : undefined,
24473
+ EnableNetworkIsolation: __expectBoolean(output.EnableNetworkIsolation),
24474
+ ExecutionRoleArn: __expectString(output.ExecutionRoleArn),
24475
+ InferenceExecutionConfig: output.InferenceExecutionConfig != null
24476
+ ? deserializeAws_json1_1InferenceExecutionConfig(output.InferenceExecutionConfig, context)
24477
+ : undefined,
24478
+ ModelArn: __expectString(output.ModelArn),
24479
+ ModelName: __expectString(output.ModelName),
24480
+ PrimaryContainer: output.PrimaryContainer != null
24481
+ ? deserializeAws_json1_1ContainerDefinition(output.PrimaryContainer, context)
24482
+ : undefined,
24483
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
24484
+ VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
24485
+ };
24486
+ };
24487
+ const deserializeAws_json1_1ModelArtifacts = (output, context) => {
24488
+ return {
24489
+ S3ModelArtifacts: __expectString(output.S3ModelArtifacts),
24490
+ };
24491
+ };
24492
+ const deserializeAws_json1_1ModelBiasAppSpecification = (output, context) => {
24493
+ return {
24494
+ ConfigUri: __expectString(output.ConfigUri),
24495
+ Environment: output.Environment != null
24496
+ ? deserializeAws_json1_1MonitoringEnvironmentMap(output.Environment, context)
24497
+ : undefined,
24498
+ ImageUri: __expectString(output.ImageUri),
24499
+ };
24500
+ };
24501
+ const deserializeAws_json1_1ModelBiasBaselineConfig = (output, context) => {
24502
+ return {
24503
+ BaseliningJobName: __expectString(output.BaseliningJobName),
24504
+ ConstraintsResource: output.ConstraintsResource != null
24505
+ ? deserializeAws_json1_1MonitoringConstraintsResource(output.ConstraintsResource, context)
24506
+ : undefined,
24507
+ };
24508
+ };
24509
+ const deserializeAws_json1_1ModelBiasJobInput = (output, context) => {
24510
+ return {
24511
+ BatchTransformInput: output.BatchTransformInput != null
24512
+ ? deserializeAws_json1_1BatchTransformInput(output.BatchTransformInput, context)
24513
+ : undefined,
24514
+ EndpointInput: output.EndpointInput != null ? deserializeAws_json1_1EndpointInput(output.EndpointInput, context) : undefined,
24515
+ GroundTruthS3Input: output.GroundTruthS3Input != null
24516
+ ? deserializeAws_json1_1MonitoringGroundTruthS3Input(output.GroundTruthS3Input, context)
24517
+ : undefined,
24518
+ };
24519
+ };
24520
+ const deserializeAws_json1_1ModelCard = (output, context) => {
24521
+ return {
24522
+ Content: __expectString(output.Content),
24523
+ CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
24524
+ CreationTime: output.CreationTime != null
24525
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24526
+ : undefined,
24527
+ LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
24528
+ LastModifiedTime: output.LastModifiedTime != null
24529
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24530
+ : undefined,
24531
+ ModelCardArn: __expectString(output.ModelCardArn),
24532
+ ModelCardName: __expectString(output.ModelCardName),
24533
+ ModelCardStatus: __expectString(output.ModelCardStatus),
24534
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
24535
+ ModelId: __expectString(output.ModelId),
24536
+ RiskRating: __expectString(output.RiskRating),
24537
+ SecurityConfig: output.SecurityConfig != null
24538
+ ? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
24539
+ : undefined,
24540
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
24541
+ };
24542
+ };
24543
+ const deserializeAws_json1_1ModelCardExportArtifacts = (output, context) => {
24544
+ return {
24545
+ S3ExportArtifacts: __expectString(output.S3ExportArtifacts),
24546
+ };
24547
+ };
24548
+ const deserializeAws_json1_1ModelCardExportJobSummary = (output, context) => {
24549
+ return {
24550
+ CreatedAt: output.CreatedAt != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedAt))) : undefined,
24551
+ LastModifiedAt: output.LastModifiedAt != null
24552
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedAt)))
24553
+ : undefined,
24554
+ ModelCardExportJobArn: __expectString(output.ModelCardExportJobArn),
24555
+ ModelCardExportJobName: __expectString(output.ModelCardExportJobName),
24556
+ ModelCardName: __expectString(output.ModelCardName),
24557
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
24558
+ Status: __expectString(output.Status),
24559
+ };
24560
+ };
24561
+ const deserializeAws_json1_1ModelCardExportJobSummaryList = (output, context) => {
24562
+ const retVal = (output || [])
24563
+ .filter((e) => e != null)
24564
+ .map((entry) => {
24565
+ if (entry === null) {
24566
+ return null;
24567
+ }
24568
+ return deserializeAws_json1_1ModelCardExportJobSummary(entry, context);
24569
+ });
24570
+ return retVal;
24571
+ };
24572
+ const deserializeAws_json1_1ModelCardExportOutputConfig = (output, context) => {
24573
+ return {
24574
+ S3OutputPath: __expectString(output.S3OutputPath),
24575
+ };
24576
+ };
24577
+ const deserializeAws_json1_1ModelCardSecurityConfig = (output, context) => {
24578
+ return {
24579
+ KmsKeyId: __expectString(output.KmsKeyId),
24580
+ };
24581
+ };
24582
+ const deserializeAws_json1_1ModelCardSummary = (output, context) => {
24583
+ return {
24584
+ CreationTime: output.CreationTime != null
24585
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24586
+ : undefined,
24587
+ LastModifiedTime: output.LastModifiedTime != null
24588
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24589
+ : undefined,
24590
+ ModelCardArn: __expectString(output.ModelCardArn),
24591
+ ModelCardName: __expectString(output.ModelCardName),
24592
+ ModelCardStatus: __expectString(output.ModelCardStatus),
24593
+ };
24594
+ };
24595
+ const deserializeAws_json1_1ModelCardSummaryList = (output, context) => {
21985
24596
  const retVal = (output || [])
21986
24597
  .filter((e) => e != null)
21987
24598
  .map((entry) => {
21988
24599
  if (entry === null) {
21989
24600
  return null;
21990
24601
  }
21991
- return deserializeAws_json1_1MetricDatum(entry, context);
24602
+ return deserializeAws_json1_1ModelCardSummary(entry, context);
21992
24603
  });
21993
24604
  return retVal;
21994
24605
  };
21995
- const deserializeAws_json1_1MetricDatum = (output, context) => {
21996
- return {
21997
- MetricName: __expectString(output.MetricName),
21998
- Set: __expectString(output.Set),
21999
- StandardMetricName: __expectString(output.StandardMetricName),
22000
- Value: __limitedParseFloat32(output.Value),
22001
- };
22002
- };
22003
- const deserializeAws_json1_1MetricDefinition = (output, context) => {
24606
+ const deserializeAws_json1_1ModelCardVersionSummary = (output, context) => {
22004
24607
  return {
22005
- Name: __expectString(output.Name),
22006
- Regex: __expectString(output.Regex),
24608
+ CreationTime: output.CreationTime != null
24609
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24610
+ : undefined,
24611
+ LastModifiedTime: output.LastModifiedTime != null
24612
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24613
+ : undefined,
24614
+ ModelCardArn: __expectString(output.ModelCardArn),
24615
+ ModelCardName: __expectString(output.ModelCardName),
24616
+ ModelCardStatus: __expectString(output.ModelCardStatus),
24617
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
22007
24618
  };
22008
24619
  };
22009
- const deserializeAws_json1_1MetricDefinitionList = (output, context) => {
24620
+ const deserializeAws_json1_1ModelCardVersionSummaryList = (output, context) => {
22010
24621
  const retVal = (output || [])
22011
24622
  .filter((e) => e != null)
22012
24623
  .map((entry) => {
22013
24624
  if (entry === null) {
22014
24625
  return null;
22015
24626
  }
22016
- return deserializeAws_json1_1MetricDefinition(entry, context);
24627
+ return deserializeAws_json1_1ModelCardVersionSummary(entry, context);
22017
24628
  });
22018
24629
  return retVal;
22019
24630
  };
22020
- const deserializeAws_json1_1MetricsSource = (output, context) => {
24631
+ const deserializeAws_json1_1ModelClientConfig = (output, context) => {
22021
24632
  return {
22022
- ContentDigest: __expectString(output.ContentDigest),
22023
- ContentType: __expectString(output.ContentType),
22024
- S3Uri: __expectString(output.S3Uri),
24633
+ InvocationsMaxRetries: __expectInt32(output.InvocationsMaxRetries),
24634
+ InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
22025
24635
  };
22026
24636
  };
22027
- const deserializeAws_json1_1ModelArtifacts = (output, context) => {
24637
+ const deserializeAws_json1_1ModelConfiguration = (output, context) => {
22028
24638
  return {
22029
- S3ModelArtifacts: __expectString(output.S3ModelArtifacts),
24639
+ EnvironmentParameters: output.EnvironmentParameters != null
24640
+ ? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
24641
+ : undefined,
24642
+ InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
22030
24643
  };
22031
24644
  };
22032
- const deserializeAws_json1_1ModelBiasAppSpecification = (output, context) => {
24645
+ const deserializeAws_json1_1ModelDashboardEndpoint = (output, context) => {
22033
24646
  return {
22034
- ConfigUri: __expectString(output.ConfigUri),
22035
- Environment: output.Environment != null
22036
- ? deserializeAws_json1_1MonitoringEnvironmentMap(output.Environment, context)
24647
+ CreationTime: output.CreationTime != null
24648
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24649
+ : undefined,
24650
+ EndpointArn: __expectString(output.EndpointArn),
24651
+ EndpointName: __expectString(output.EndpointName),
24652
+ EndpointStatus: __expectString(output.EndpointStatus),
24653
+ LastModifiedTime: output.LastModifiedTime != null
24654
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
22037
24655
  : undefined,
22038
- ImageUri: __expectString(output.ImageUri),
22039
24656
  };
22040
24657
  };
22041
- const deserializeAws_json1_1ModelBiasBaselineConfig = (output, context) => {
24658
+ const deserializeAws_json1_1ModelDashboardEndpoints = (output, context) => {
24659
+ const retVal = (output || [])
24660
+ .filter((e) => e != null)
24661
+ .map((entry) => {
24662
+ if (entry === null) {
24663
+ return null;
24664
+ }
24665
+ return deserializeAws_json1_1ModelDashboardEndpoint(entry, context);
24666
+ });
24667
+ return retVal;
24668
+ };
24669
+ const deserializeAws_json1_1ModelDashboardIndicatorAction = (output, context) => {
22042
24670
  return {
22043
- BaseliningJobName: __expectString(output.BaseliningJobName),
22044
- ConstraintsResource: output.ConstraintsResource != null
22045
- ? deserializeAws_json1_1MonitoringConstraintsResource(output.ConstraintsResource, context)
22046
- : undefined,
24671
+ Enabled: __expectBoolean(output.Enabled),
22047
24672
  };
22048
24673
  };
22049
- const deserializeAws_json1_1ModelBiasJobInput = (output, context) => {
24674
+ const deserializeAws_json1_1ModelDashboardModel = (output, context) => {
22050
24675
  return {
22051
- BatchTransformInput: output.BatchTransformInput != null
22052
- ? deserializeAws_json1_1BatchTransformInput(output.BatchTransformInput, context)
24676
+ Endpoints: output.Endpoints != null ? deserializeAws_json1_1ModelDashboardEndpoints(output.Endpoints, context) : undefined,
24677
+ LastBatchTransformJob: output.LastBatchTransformJob != null
24678
+ ? deserializeAws_json1_1TransformJob(output.LastBatchTransformJob, context)
22053
24679
  : undefined,
22054
- EndpointInput: output.EndpointInput != null ? deserializeAws_json1_1EndpointInput(output.EndpointInput, context) : undefined,
22055
- GroundTruthS3Input: output.GroundTruthS3Input != null
22056
- ? deserializeAws_json1_1MonitoringGroundTruthS3Input(output.GroundTruthS3Input, context)
24680
+ Model: output.Model != null ? deserializeAws_json1_1Model(output.Model, context) : undefined,
24681
+ ModelCard: output.ModelCard != null ? deserializeAws_json1_1ModelDashboardModelCard(output.ModelCard, context) : undefined,
24682
+ MonitoringSchedules: output.MonitoringSchedules != null
24683
+ ? deserializeAws_json1_1ModelDashboardMonitoringSchedules(output.MonitoringSchedules, context)
22057
24684
  : undefined,
22058
24685
  };
22059
24686
  };
22060
- const deserializeAws_json1_1ModelClientConfig = (output, context) => {
24687
+ const deserializeAws_json1_1ModelDashboardModelCard = (output, context) => {
22061
24688
  return {
22062
- InvocationsMaxRetries: __expectInt32(output.InvocationsMaxRetries),
22063
- InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
24689
+ CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
24690
+ CreationTime: output.CreationTime != null
24691
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
24692
+ : undefined,
24693
+ LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
24694
+ LastModifiedTime: output.LastModifiedTime != null
24695
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24696
+ : undefined,
24697
+ ModelCardArn: __expectString(output.ModelCardArn),
24698
+ ModelCardName: __expectString(output.ModelCardName),
24699
+ ModelCardStatus: __expectString(output.ModelCardStatus),
24700
+ ModelCardVersion: __expectInt32(output.ModelCardVersion),
24701
+ ModelId: __expectString(output.ModelId),
24702
+ RiskRating: __expectString(output.RiskRating),
24703
+ SecurityConfig: output.SecurityConfig != null
24704
+ ? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
24705
+ : undefined,
24706
+ Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
22064
24707
  };
22065
24708
  };
22066
- const deserializeAws_json1_1ModelConfiguration = (output, context) => {
24709
+ const deserializeAws_json1_1ModelDashboardMonitoringSchedule = (output, context) => {
22067
24710
  return {
22068
- EnvironmentParameters: output.EnvironmentParameters != null
22069
- ? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
24711
+ CreationTime: output.CreationTime != null
24712
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
22070
24713
  : undefined,
22071
- InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
24714
+ EndpointName: __expectString(output.EndpointName),
24715
+ FailureReason: __expectString(output.FailureReason),
24716
+ LastModifiedTime: output.LastModifiedTime != null
24717
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
24718
+ : undefined,
24719
+ LastMonitoringExecutionSummary: output.LastMonitoringExecutionSummary != null
24720
+ ? deserializeAws_json1_1MonitoringExecutionSummary(output.LastMonitoringExecutionSummary, context)
24721
+ : undefined,
24722
+ MonitoringAlertSummaries: output.MonitoringAlertSummaries != null
24723
+ ? deserializeAws_json1_1MonitoringAlertSummaryList(output.MonitoringAlertSummaries, context)
24724
+ : undefined,
24725
+ MonitoringScheduleArn: __expectString(output.MonitoringScheduleArn),
24726
+ MonitoringScheduleConfig: output.MonitoringScheduleConfig != null
24727
+ ? deserializeAws_json1_1MonitoringScheduleConfig(output.MonitoringScheduleConfig, context)
24728
+ : undefined,
24729
+ MonitoringScheduleName: __expectString(output.MonitoringScheduleName),
24730
+ MonitoringScheduleStatus: __expectString(output.MonitoringScheduleStatus),
24731
+ MonitoringType: __expectString(output.MonitoringType),
22072
24732
  };
22073
24733
  };
24734
+ const deserializeAws_json1_1ModelDashboardMonitoringSchedules = (output, context) => {
24735
+ const retVal = (output || [])
24736
+ .filter((e) => e != null)
24737
+ .map((entry) => {
24738
+ if (entry === null) {
24739
+ return null;
24740
+ }
24741
+ return deserializeAws_json1_1ModelDashboardMonitoringSchedule(entry, context);
24742
+ });
24743
+ return retVal;
24744
+ };
22074
24745
  const deserializeAws_json1_1ModelDataQuality = (output, context) => {
22075
24746
  return {
22076
24747
  Constraints: output.Constraints != null ? deserializeAws_json1_1MetricsSource(output.Constraints, context) : undefined,
@@ -22118,6 +24789,14 @@ const deserializeAws_json1_1ModelExplainabilityJobInput = (output, context) => {
22118
24789
  EndpointInput: output.EndpointInput != null ? deserializeAws_json1_1EndpointInput(output.EndpointInput, context) : undefined,
22119
24790
  };
22120
24791
  };
24792
+ const deserializeAws_json1_1ModelInfrastructureConfig = (output, context) => {
24793
+ return {
24794
+ InfrastructureType: __expectString(output.InfrastructureType),
24795
+ RealTimeInferenceConfig: output.RealTimeInferenceConfig != null
24796
+ ? deserializeAws_json1_1RealTimeInferenceConfig(output.RealTimeInferenceConfig, context)
24797
+ : undefined,
24798
+ };
24799
+ };
22121
24800
  const deserializeAws_json1_1ModelInput = (output, context) => {
22122
24801
  return {
22123
24802
  DataInputConfig: __expectString(output.DataInputConfig),
@@ -22436,6 +25115,81 @@ const deserializeAws_json1_1ModelSummaryList = (output, context) => {
22436
25115
  });
22437
25116
  return retVal;
22438
25117
  };
25118
+ const deserializeAws_json1_1ModelVariantConfigSummary = (output, context) => {
25119
+ return {
25120
+ InfrastructureConfig: output.InfrastructureConfig != null
25121
+ ? deserializeAws_json1_1ModelInfrastructureConfig(output.InfrastructureConfig, context)
25122
+ : undefined,
25123
+ ModelName: __expectString(output.ModelName),
25124
+ Status: __expectString(output.Status),
25125
+ VariantName: __expectString(output.VariantName),
25126
+ };
25127
+ };
25128
+ const deserializeAws_json1_1ModelVariantConfigSummaryList = (output, context) => {
25129
+ const retVal = (output || [])
25130
+ .filter((e) => e != null)
25131
+ .map((entry) => {
25132
+ if (entry === null) {
25133
+ return null;
25134
+ }
25135
+ return deserializeAws_json1_1ModelVariantConfigSummary(entry, context);
25136
+ });
25137
+ return retVal;
25138
+ };
25139
+ const deserializeAws_json1_1MonitoringAlertActions = (output, context) => {
25140
+ return {
25141
+ ModelDashboardIndicator: output.ModelDashboardIndicator != null
25142
+ ? deserializeAws_json1_1ModelDashboardIndicatorAction(output.ModelDashboardIndicator, context)
25143
+ : undefined,
25144
+ };
25145
+ };
25146
+ const deserializeAws_json1_1MonitoringAlertHistoryList = (output, context) => {
25147
+ const retVal = (output || [])
25148
+ .filter((e) => e != null)
25149
+ .map((entry) => {
25150
+ if (entry === null) {
25151
+ return null;
25152
+ }
25153
+ return deserializeAws_json1_1MonitoringAlertHistorySummary(entry, context);
25154
+ });
25155
+ return retVal;
25156
+ };
25157
+ const deserializeAws_json1_1MonitoringAlertHistorySummary = (output, context) => {
25158
+ return {
25159
+ AlertStatus: __expectString(output.AlertStatus),
25160
+ CreationTime: output.CreationTime != null
25161
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
25162
+ : undefined,
25163
+ MonitoringAlertName: __expectString(output.MonitoringAlertName),
25164
+ MonitoringScheduleName: __expectString(output.MonitoringScheduleName),
25165
+ };
25166
+ };
25167
+ const deserializeAws_json1_1MonitoringAlertSummary = (output, context) => {
25168
+ return {
25169
+ Actions: output.Actions != null ? deserializeAws_json1_1MonitoringAlertActions(output.Actions, context) : undefined,
25170
+ AlertStatus: __expectString(output.AlertStatus),
25171
+ CreationTime: output.CreationTime != null
25172
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
25173
+ : undefined,
25174
+ DatapointsToAlert: __expectInt32(output.DatapointsToAlert),
25175
+ EvaluationPeriod: __expectInt32(output.EvaluationPeriod),
25176
+ LastModifiedTime: output.LastModifiedTime != null
25177
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
25178
+ : undefined,
25179
+ MonitoringAlertName: __expectString(output.MonitoringAlertName),
25180
+ };
25181
+ };
25182
+ const deserializeAws_json1_1MonitoringAlertSummaryList = (output, context) => {
25183
+ const retVal = (output || [])
25184
+ .filter((e) => e != null)
25185
+ .map((entry) => {
25186
+ if (entry === null) {
25187
+ return null;
25188
+ }
25189
+ return deserializeAws_json1_1MonitoringAlertSummary(entry, context);
25190
+ });
25191
+ return retVal;
25192
+ };
22439
25193
  const deserializeAws_json1_1MonitoringAppSpecification = (output, context) => {
22440
25194
  return {
22441
25195
  ContainerArguments: output.ContainerArguments != null
@@ -22888,6 +25642,7 @@ const deserializeAws_json1_1OfflineStoreConfig = (output, context) => {
22888
25642
  S3StorageConfig: output.S3StorageConfig != null
22889
25643
  ? deserializeAws_json1_1S3StorageConfig(output.S3StorageConfig, context)
22890
25644
  : undefined,
25645
+ TableFormat: __expectString(output.TableFormat),
22891
25646
  };
22892
25647
  };
22893
25648
  const deserializeAws_json1_1OfflineStoreStatus = (output, context) => {
@@ -23055,6 +25810,9 @@ const deserializeAws_json1_1PendingDeploymentSummary = (output, context) => {
23055
25810
  ProductionVariants: output.ProductionVariants != null
23056
25811
  ? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ProductionVariants, context)
23057
25812
  : undefined,
25813
+ ShadowProductionVariants: output.ShadowProductionVariants != null
25814
+ ? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ShadowProductionVariants, context)
25815
+ : undefined,
23058
25816
  StartTime: output.StartTime != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime))) : undefined,
23059
25817
  };
23060
25818
  };
@@ -23189,6 +25947,7 @@ const deserializeAws_json1_1PipelineExecutionStepList = (output, context) => {
23189
25947
  };
23190
25948
  const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) => {
23191
25949
  return {
25950
+ AutoMLJob: output.AutoMLJob != null ? deserializeAws_json1_1AutoMLJobStepMetadata(output.AutoMLJob, context) : undefined,
23192
25951
  Callback: output.Callback != null ? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context) : undefined,
23193
25952
  ClarifyCheck: output.ClarifyCheck != null
23194
25953
  ? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
@@ -23728,6 +26487,12 @@ const deserializeAws_json1_1QueryLineageResponse = (output, context) => {
23728
26487
  Vertices: output.Vertices != null ? deserializeAws_json1_1Vertices(output.Vertices, context) : undefined,
23729
26488
  };
23730
26489
  };
26490
+ const deserializeAws_json1_1RealTimeInferenceConfig = (output, context) => {
26491
+ return {
26492
+ InstanceCount: __expectInt32(output.InstanceCount),
26493
+ InstanceType: __expectString(output.InstanceType),
26494
+ };
26495
+ };
23731
26496
  const deserializeAws_json1_1RealtimeInferenceInstanceTypes = (output, context) => {
23732
26497
  const retVal = (output || [])
23733
26498
  .filter((e) => e != null)
@@ -24020,6 +26785,8 @@ const deserializeAws_json1_1SearchRecord = (output, context) => {
24020
26785
  HyperParameterTuningJob: output.HyperParameterTuningJob != null
24021
26786
  ? deserializeAws_json1_1HyperParameterTuningJobSearchEntity(output.HyperParameterTuningJob, context)
24022
26787
  : undefined,
26788
+ Model: output.Model != null ? deserializeAws_json1_1ModelDashboardModel(output.Model, context) : undefined,
26789
+ ModelCard: output.ModelCard != null ? deserializeAws_json1_1ModelCard(output.ModelCard, context) : undefined,
24023
26790
  ModelPackage: output.ModelPackage != null ? deserializeAws_json1_1ModelPackage(output.ModelPackage, context) : undefined,
24024
26791
  ModelPackageGroup: output.ModelPackageGroup != null
24025
26792
  ? deserializeAws_json1_1ModelPackageGroup(output.ModelPackageGroup, context)
@@ -24107,6 +26874,31 @@ const deserializeAws_json1_1ServiceCatalogProvisioningDetails = (output, context
24107
26874
  : undefined,
24108
26875
  };
24109
26876
  };
26877
+ const deserializeAws_json1_1ShadowModeConfig = (output, context) => {
26878
+ return {
26879
+ ShadowModelVariants: output.ShadowModelVariants != null
26880
+ ? deserializeAws_json1_1ShadowModelVariantConfigList(output.ShadowModelVariants, context)
26881
+ : undefined,
26882
+ SourceModelVariantName: __expectString(output.SourceModelVariantName),
26883
+ };
26884
+ };
26885
+ const deserializeAws_json1_1ShadowModelVariantConfig = (output, context) => {
26886
+ return {
26887
+ SamplingPercentage: __expectInt32(output.SamplingPercentage),
26888
+ ShadowModelVariantName: __expectString(output.ShadowModelVariantName),
26889
+ };
26890
+ };
26891
+ const deserializeAws_json1_1ShadowModelVariantConfigList = (output, context) => {
26892
+ const retVal = (output || [])
26893
+ .filter((e) => e != null)
26894
+ .map((entry) => {
26895
+ if (entry === null) {
26896
+ return null;
26897
+ }
26898
+ return deserializeAws_json1_1ShadowModelVariantConfig(entry, context);
26899
+ });
26900
+ return retVal;
26901
+ };
24110
26902
  const deserializeAws_json1_1SharingSettings = (output, context) => {
24111
26903
  return {
24112
26904
  NotebookOutputOption: __expectString(output.NotebookOutputOption),
@@ -24148,11 +26940,55 @@ const deserializeAws_json1_1SourceIpConfig = (output, context) => {
24148
26940
  Cidrs: output.Cidrs != null ? deserializeAws_json1_1Cidrs(output.Cidrs, context) : undefined,
24149
26941
  };
24150
26942
  };
26943
+ const deserializeAws_json1_1SpaceDetails = (output, context) => {
26944
+ return {
26945
+ CreationTime: output.CreationTime != null
26946
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
26947
+ : undefined,
26948
+ DomainId: __expectString(output.DomainId),
26949
+ LastModifiedTime: output.LastModifiedTime != null
26950
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
26951
+ : undefined,
26952
+ SpaceName: __expectString(output.SpaceName),
26953
+ Status: __expectString(output.Status),
26954
+ };
26955
+ };
26956
+ const deserializeAws_json1_1SpaceList = (output, context) => {
26957
+ const retVal = (output || [])
26958
+ .filter((e) => e != null)
26959
+ .map((entry) => {
26960
+ if (entry === null) {
26961
+ return null;
26962
+ }
26963
+ return deserializeAws_json1_1SpaceDetails(entry, context);
26964
+ });
26965
+ return retVal;
26966
+ };
26967
+ const deserializeAws_json1_1SpaceSettings = (output, context) => {
26968
+ return {
26969
+ JupyterServerAppSettings: output.JupyterServerAppSettings != null
26970
+ ? deserializeAws_json1_1JupyterServerAppSettings(output.JupyterServerAppSettings, context)
26971
+ : undefined,
26972
+ KernelGatewayAppSettings: output.KernelGatewayAppSettings != null
26973
+ ? deserializeAws_json1_1KernelGatewayAppSettings(output.KernelGatewayAppSettings, context)
26974
+ : undefined,
26975
+ };
26976
+ };
26977
+ const deserializeAws_json1_1StartInferenceExperimentResponse = (output, context) => {
26978
+ return {
26979
+ InferenceExperimentArn: __expectString(output.InferenceExperimentArn),
26980
+ };
26981
+ };
24151
26982
  const deserializeAws_json1_1StartPipelineExecutionResponse = (output, context) => {
24152
26983
  return {
24153
26984
  PipelineExecutionArn: __expectString(output.PipelineExecutionArn),
24154
26985
  };
24155
26986
  };
26987
+ const deserializeAws_json1_1StopInferenceExperimentResponse = (output, context) => {
26988
+ return {
26989
+ InferenceExperimentArn: __expectString(output.InferenceExperimentArn),
26990
+ };
26991
+ };
24156
26992
  const deserializeAws_json1_1StoppingCondition = (output, context) => {
24157
26993
  return {
24158
26994
  MaxRuntimeInSeconds: __expectInt32(output.MaxRuntimeInSeconds),
@@ -24686,6 +27522,7 @@ const deserializeAws_json1_1TrialComponent = (output, context) => {
24686
27522
  ? deserializeAws_json1_1TrialComponentParameters(output.Parameters, context)
24687
27523
  : undefined,
24688
27524
  Parents: output.Parents != null ? deserializeAws_json1_1Parents(output.Parents, context) : undefined,
27525
+ RunName: __expectString(output.RunName),
24689
27526
  Source: output.Source != null ? deserializeAws_json1_1TrialComponentSource(output.Source, context) : undefined,
24690
27527
  SourceDetail: output.SourceDetail != null
24691
27528
  ? deserializeAws_json1_1TrialComponentSourceDetail(output.SourceDetail, context)
@@ -24792,6 +27629,17 @@ const deserializeAws_json1_1TrialComponentSourceDetail = (output, context) => {
24792
27629
  TransformJob: output.TransformJob != null ? deserializeAws_json1_1TransformJob(output.TransformJob, context) : undefined,
24793
27630
  };
24794
27631
  };
27632
+ const deserializeAws_json1_1TrialComponentSources = (output, context) => {
27633
+ const retVal = (output || [])
27634
+ .filter((e) => e != null)
27635
+ .map((entry) => {
27636
+ if (entry === null) {
27637
+ return null;
27638
+ }
27639
+ return deserializeAws_json1_1TrialComponentSource(entry, context);
27640
+ });
27641
+ return retVal;
27642
+ };
24795
27643
  const deserializeAws_json1_1TrialComponentStatus = (output, context) => {
24796
27644
  return {
24797
27645
  Message: __expectString(output.Message),
@@ -24933,16 +27781,37 @@ const deserializeAws_json1_1UpdateFeatureGroupResponse = (output, context) => {
24933
27781
  FeatureGroupArn: __expectString(output.FeatureGroupArn),
24934
27782
  };
24935
27783
  };
27784
+ const deserializeAws_json1_1UpdateHubResponse = (output, context) => {
27785
+ return {
27786
+ HubArn: __expectString(output.HubArn),
27787
+ };
27788
+ };
24936
27789
  const deserializeAws_json1_1UpdateImageResponse = (output, context) => {
24937
27790
  return {
24938
27791
  ImageArn: __expectString(output.ImageArn),
24939
27792
  };
24940
27793
  };
27794
+ const deserializeAws_json1_1UpdateInferenceExperimentResponse = (output, context) => {
27795
+ return {
27796
+ InferenceExperimentArn: __expectString(output.InferenceExperimentArn),
27797
+ };
27798
+ };
27799
+ const deserializeAws_json1_1UpdateModelCardResponse = (output, context) => {
27800
+ return {
27801
+ ModelCardArn: __expectString(output.ModelCardArn),
27802
+ };
27803
+ };
24941
27804
  const deserializeAws_json1_1UpdateModelPackageOutput = (output, context) => {
24942
27805
  return {
24943
27806
  ModelPackageArn: __expectString(output.ModelPackageArn),
24944
27807
  };
24945
27808
  };
27809
+ const deserializeAws_json1_1UpdateMonitoringAlertResponse = (output, context) => {
27810
+ return {
27811
+ MonitoringAlertName: __expectString(output.MonitoringAlertName),
27812
+ MonitoringScheduleArn: __expectString(output.MonitoringScheduleArn),
27813
+ };
27814
+ };
24946
27815
  const deserializeAws_json1_1UpdateMonitoringScheduleResponse = (output, context) => {
24947
27816
  return {
24948
27817
  MonitoringScheduleArn: __expectString(output.MonitoringScheduleArn),
@@ -24969,6 +27838,11 @@ const deserializeAws_json1_1UpdateProjectOutput = (output, context) => {
24969
27838
  ProjectArn: __expectString(output.ProjectArn),
24970
27839
  };
24971
27840
  };
27841
+ const deserializeAws_json1_1UpdateSpaceResponse = (output, context) => {
27842
+ return {
27843
+ SpaceArn: __expectString(output.SpaceArn),
27844
+ };
27845
+ };
24972
27846
  const deserializeAws_json1_1UpdateTrainingJobResponse = (output, context) => {
24973
27847
  return {
24974
27848
  TrainingJobArn: __expectString(output.TrainingJobArn),