@aws-sdk/client-sagemaker 3.461.0 → 3.462.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 (181) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/SageMaker.js +26 -0
  3. package/dist-cjs/commands/CreateClusterCommand.js +51 -0
  4. package/dist-cjs/commands/CreateInferenceComponentCommand.js +51 -0
  5. package/dist-cjs/commands/CreateWorkforceCommand.js +2 -2
  6. package/dist-cjs/commands/DeleteClusterCommand.js +51 -0
  7. package/dist-cjs/commands/DeleteInferenceComponentCommand.js +51 -0
  8. package/dist-cjs/commands/DescribeClusterCommand.js +51 -0
  9. package/dist-cjs/commands/DescribeClusterNodeCommand.js +51 -0
  10. package/dist-cjs/commands/DescribeInferenceComponentCommand.js +51 -0
  11. package/dist-cjs/commands/ListClusterNodesCommand.js +51 -0
  12. package/dist-cjs/commands/ListClustersCommand.js +51 -0
  13. package/dist-cjs/commands/ListInferenceComponentsCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateClusterCommand.js +51 -0
  15. package/dist-cjs/commands/UpdateInferenceComponentCommand.js +51 -0
  16. package/dist-cjs/commands/UpdateInferenceComponentRuntimeConfigCommand.js +51 -0
  17. package/dist-cjs/commands/index.js +13 -0
  18. package/dist-cjs/models/models_0.js +62 -51
  19. package/dist-cjs/models/models_1.js +63 -30
  20. package/dist-cjs/models/models_2.js +37 -39
  21. package/dist-cjs/models/models_3.js +45 -44
  22. package/dist-cjs/models/models_4.js +45 -3
  23. package/dist-cjs/pagination/ListInferenceComponentsPaginator.js +29 -0
  24. package/dist-cjs/pagination/index.js +1 -0
  25. package/dist-cjs/protocols/Aws_json1_1.js +845 -13
  26. package/dist-es/SageMaker.js +26 -0
  27. package/dist-es/commands/CreateClusterCommand.js +47 -0
  28. package/dist-es/commands/CreateInferenceComponentCommand.js +47 -0
  29. package/dist-es/commands/CreateWorkforceCommand.js +1 -1
  30. package/dist-es/commands/DeleteClusterCommand.js +47 -0
  31. package/dist-es/commands/DeleteInferenceComponentCommand.js +47 -0
  32. package/dist-es/commands/DescribeClusterCommand.js +47 -0
  33. package/dist-es/commands/DescribeClusterNodeCommand.js +47 -0
  34. package/dist-es/commands/DescribeInferenceComponentCommand.js +47 -0
  35. package/dist-es/commands/ListClusterNodesCommand.js +47 -0
  36. package/dist-es/commands/ListClustersCommand.js +47 -0
  37. package/dist-es/commands/ListInferenceComponentsCommand.js +47 -0
  38. package/dist-es/commands/UpdateClusterCommand.js +47 -0
  39. package/dist-es/commands/UpdateInferenceComponentCommand.js +47 -0
  40. package/dist-es/commands/UpdateInferenceComponentRuntimeConfigCommand.js +47 -0
  41. package/dist-es/commands/index.js +13 -0
  42. package/dist-es/models/models_0.js +60 -50
  43. package/dist-es/models/models_1.js +62 -27
  44. package/dist-es/models/models_2.js +34 -38
  45. package/dist-es/models/models_3.js +43 -42
  46. package/dist-es/models/models_4.js +43 -1
  47. package/dist-es/pagination/ListInferenceComponentsPaginator.js +25 -0
  48. package/dist-es/pagination/index.js +1 -0
  49. package/dist-es/protocols/Aws_json1_1.js +807 -1
  50. package/dist-types/SageMaker.d.ts +91 -0
  51. package/dist-types/SageMakerClient.d.ts +15 -2
  52. package/dist-types/commands/AddTagsCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateAppCommand.d.ts +2 -1
  54. package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +3 -0
  55. package/dist-types/commands/CreateClusterCommand.d.ts +109 -0
  56. package/dist-types/commands/CreateDomainCommand.d.ts +15 -8
  57. package/dist-types/commands/CreateEndpointConfigCommand.d.ts +28 -2
  58. package/dist-types/commands/CreateInferenceComponentCommand.d.ts +115 -0
  59. package/dist-types/commands/CreateModelCommand.d.ts +1 -1
  60. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +3 -2
  61. package/dist-types/commands/CreateSpaceCommand.d.ts +2 -0
  62. package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -0
  64. package/dist-types/commands/CreateUserProfileCommand.d.ts +9 -2
  65. package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
  67. package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
  68. package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
  69. package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
  72. package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
  73. package/dist-types/commands/DeleteClusterCommand.d.ts +80 -0
  74. package/dist-types/commands/DeleteInferenceComponentCommand.d.ts +71 -0
  75. package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
  76. package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
  77. package/dist-types/commands/DescribeAppCommand.d.ts +1 -0
  78. package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +3 -0
  79. package/dist-types/commands/DescribeClusterCommand.d.ts +102 -0
  80. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +92 -0
  81. package/dist-types/commands/DescribeDomainCommand.d.ts +7 -0
  82. package/dist-types/commands/DescribeEndpointCommand.d.ts +32 -0
  83. package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +28 -2
  84. package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +109 -0
  85. package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
  86. package/dist-types/commands/DescribeSpaceCommand.d.ts +3 -0
  87. package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
  88. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +3 -0
  89. package/dist-types/commands/DescribeUserProfileCommand.d.ts +8 -1
  90. package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
  91. package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
  92. package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
  93. package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
  94. package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
  95. package/dist-types/commands/ListClusterNodesCommand.d.ts +96 -0
  96. package/dist-types/commands/ListClustersCommand.d.ts +87 -0
  97. package/dist-types/commands/ListInferenceComponentsCommand.d.ts +96 -0
  98. package/dist-types/commands/ListResourceCatalogsCommand.d.ts +1 -1
  99. package/dist-types/commands/ListSpacesCommand.d.ts +1 -1
  100. package/dist-types/commands/ListStageDevicesCommand.d.ts +1 -1
  101. package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
  102. package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
  103. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  104. package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
  105. package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
  106. package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
  107. package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
  108. package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
  109. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  110. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
  111. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
  112. package/dist-types/commands/SearchCommand.d.ts +16 -0
  113. package/dist-types/commands/UpdateClusterCommand.d.ts +97 -0
  114. package/dist-types/commands/UpdateDomainCommand.d.ts +11 -0
  115. package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +100 -0
  116. package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +80 -0
  117. package/dist-types/commands/UpdateSpaceCommand.d.ts +2 -0
  118. package/dist-types/commands/UpdateUserProfileCommand.d.ts +6 -0
  119. package/dist-types/commands/index.d.ts +13 -0
  120. package/dist-types/models/models_0.d.ts +409 -345
  121. package/dist-types/models/models_1.d.ts +708 -551
  122. package/dist-types/models/models_2.d.ts +5059 -5239
  123. package/dist-types/models/models_3.d.ts +4732 -4693
  124. package/dist-types/models/models_4.d.ts +1446 -4
  125. package/dist-types/pagination/ListInferenceComponentsPaginator.d.ts +7 -0
  126. package/dist-types/pagination/index.d.ts +1 -0
  127. package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
  128. package/dist-types/ts3.4/SageMaker.d.ts +227 -0
  129. package/dist-types/ts3.4/SageMakerClient.d.ts +78 -0
  130. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +38 -0
  131. package/dist-types/ts3.4/commands/CreateInferenceComponentCommand.d.ts +42 -0
  132. package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +2 -4
  133. package/dist-types/ts3.4/commands/CreateWorkforceCommand.d.ts +1 -1
  134. package/dist-types/ts3.4/commands/CreateWorkteamCommand.d.ts +1 -1
  135. package/dist-types/ts3.4/commands/DeleteActionCommand.d.ts +1 -1
  136. package/dist-types/ts3.4/commands/DeleteAlgorithmCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/DeleteAppImageConfigCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +38 -0
  142. package/dist-types/ts3.4/commands/DeleteInferenceComponentCommand.d.ts +38 -0
  143. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +38 -0
  144. package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +39 -0
  145. package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +42 -0
  146. package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +2 -4
  147. package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/DescribeWorkteamCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/DisassociateTrialComponentCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
  152. package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +38 -0
  153. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +35 -0
  154. package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +42 -0
  155. package/dist-types/ts3.4/commands/ListResourceCatalogsCommand.d.ts +1 -1
  156. package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +1 -1
  157. package/dist-types/ts3.4/commands/ListStageDevicesCommand.d.ts +1 -1
  158. package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
  159. package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
  160. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
  161. package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
  162. package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
  163. package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  167. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +38 -0
  170. package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +42 -0
  171. package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +42 -0
  172. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  173. package/dist-types/ts3.4/models/models_0.d.ts +124 -111
  174. package/dist-types/ts3.4/models/models_1.d.ts +188 -151
  175. package/dist-types/ts3.4/models/models_2.d.ts +227 -288
  176. package/dist-types/ts3.4/models/models_3.d.ts +349 -344
  177. package/dist-types/ts3.4/models/models_4.d.ts +372 -15
  178. package/dist-types/ts3.4/pagination/ListInferenceComponentsPaginator.d.ts +11 -0
  179. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  180. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +156 -0
  181. package/package.json +2 -2
@@ -71,6 +71,12 @@ export const se_CreateAutoMLJobV2Command = async (input, context) => {
71
71
  body = JSON.stringify(se_CreateAutoMLJobV2Request(input, context));
72
72
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
73
73
  };
74
+ export const se_CreateClusterCommand = async (input, context) => {
75
+ const headers = sharedHeaders("CreateCluster");
76
+ let body;
77
+ body = JSON.stringify(_json(input));
78
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
79
+ };
74
80
  export const se_CreateCodeRepositoryCommand = async (input, context) => {
75
81
  const headers = sharedHeaders("CreateCodeRepository");
76
82
  let body;
@@ -185,6 +191,12 @@ export const se_CreateImageVersionCommand = async (input, context) => {
185
191
  body = JSON.stringify(se_CreateImageVersionRequest(input, context));
186
192
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
187
193
  };
194
+ export const se_CreateInferenceComponentCommand = async (input, context) => {
195
+ const headers = sharedHeaders("CreateInferenceComponent");
196
+ let body;
197
+ body = JSON.stringify(se_CreateInferenceComponentInput(input, context));
198
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
199
+ };
188
200
  export const se_CreateInferenceExperimentCommand = async (input, context) => {
189
201
  const headers = sharedHeaders("CreateInferenceExperiment");
190
202
  let body;
@@ -389,6 +401,12 @@ export const se_DeleteAssociationCommand = async (input, context) => {
389
401
  body = JSON.stringify(_json(input));
390
402
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
391
403
  };
404
+ export const se_DeleteClusterCommand = async (input, context) => {
405
+ const headers = sharedHeaders("DeleteCluster");
406
+ let body;
407
+ body = JSON.stringify(_json(input));
408
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
409
+ };
392
410
  export const se_DeleteCodeRepositoryCommand = async (input, context) => {
393
411
  const headers = sharedHeaders("DeleteCodeRepository");
394
412
  let body;
@@ -491,6 +509,12 @@ export const se_DeleteImageVersionCommand = async (input, context) => {
491
509
  body = JSON.stringify(_json(input));
492
510
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
493
511
  };
512
+ export const se_DeleteInferenceComponentCommand = async (input, context) => {
513
+ const headers = sharedHeaders("DeleteInferenceComponent");
514
+ let body;
515
+ body = JSON.stringify(_json(input));
516
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
517
+ };
494
518
  export const se_DeleteInferenceExperimentCommand = async (input, context) => {
495
519
  const headers = sharedHeaders("DeleteInferenceExperiment");
496
520
  let body;
@@ -671,6 +695,18 @@ export const se_DescribeAutoMLJobV2Command = async (input, context) => {
671
695
  body = JSON.stringify(_json(input));
672
696
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
673
697
  };
698
+ export const se_DescribeClusterCommand = async (input, context) => {
699
+ const headers = sharedHeaders("DescribeCluster");
700
+ let body;
701
+ body = JSON.stringify(_json(input));
702
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
703
+ };
704
+ export const se_DescribeClusterNodeCommand = async (input, context) => {
705
+ const headers = sharedHeaders("DescribeClusterNode");
706
+ let body;
707
+ body = JSON.stringify(_json(input));
708
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
709
+ };
674
710
  export const se_DescribeCodeRepositoryCommand = async (input, context) => {
675
711
  const headers = sharedHeaders("DescribeCodeRepository");
676
712
  let body;
@@ -797,6 +833,12 @@ export const se_DescribeImageVersionCommand = async (input, context) => {
797
833
  body = JSON.stringify(_json(input));
798
834
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
799
835
  };
836
+ export const se_DescribeInferenceComponentCommand = async (input, context) => {
837
+ const headers = sharedHeaders("DescribeInferenceComponent");
838
+ let body;
839
+ body = JSON.stringify(_json(input));
840
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
841
+ };
800
842
  export const se_DescribeInferenceExperimentCommand = async (input, context) => {
801
843
  const headers = sharedHeaders("DescribeInferenceExperiment");
802
844
  let body;
@@ -1091,6 +1133,18 @@ export const se_ListCandidatesForAutoMLJobCommand = async (input, context) => {
1091
1133
  body = JSON.stringify(_json(input));
1092
1134
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1093
1135
  };
1136
+ export const se_ListClusterNodesCommand = async (input, context) => {
1137
+ const headers = sharedHeaders("ListClusterNodes");
1138
+ let body;
1139
+ body = JSON.stringify(se_ListClusterNodesRequest(input, context));
1140
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1141
+ };
1142
+ export const se_ListClustersCommand = async (input, context) => {
1143
+ const headers = sharedHeaders("ListClusters");
1144
+ let body;
1145
+ body = JSON.stringify(se_ListClustersRequest(input, context));
1146
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1147
+ };
1094
1148
  export const se_ListCodeRepositoriesCommand = async (input, context) => {
1095
1149
  const headers = sharedHeaders("ListCodeRepositories");
1096
1150
  let body;
@@ -1217,6 +1271,12 @@ export const se_ListImageVersionsCommand = async (input, context) => {
1217
1271
  body = JSON.stringify(se_ListImageVersionsRequest(input, context));
1218
1272
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1219
1273
  };
1274
+ export const se_ListInferenceComponentsCommand = async (input, context) => {
1275
+ const headers = sharedHeaders("ListInferenceComponents");
1276
+ let body;
1277
+ body = JSON.stringify(se_ListInferenceComponentsInput(input, context));
1278
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1279
+ };
1220
1280
  export const se_ListInferenceExperimentsCommand = async (input, context) => {
1221
1281
  const headers = sharedHeaders("ListInferenceExperiments");
1222
1282
  let body;
@@ -1649,6 +1709,12 @@ export const se_UpdateArtifactCommand = async (input, context) => {
1649
1709
  body = JSON.stringify(_json(input));
1650
1710
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1651
1711
  };
1712
+ export const se_UpdateClusterCommand = async (input, context) => {
1713
+ const headers = sharedHeaders("UpdateCluster");
1714
+ let body;
1715
+ body = JSON.stringify(_json(input));
1716
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1717
+ };
1652
1718
  export const se_UpdateCodeRepositoryCommand = async (input, context) => {
1653
1719
  const headers = sharedHeaders("UpdateCodeRepository");
1654
1720
  let body;
@@ -1727,6 +1793,18 @@ export const se_UpdateImageVersionCommand = async (input, context) => {
1727
1793
  body = JSON.stringify(_json(input));
1728
1794
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1729
1795
  };
1796
+ export const se_UpdateInferenceComponentCommand = async (input, context) => {
1797
+ const headers = sharedHeaders("UpdateInferenceComponent");
1798
+ let body;
1799
+ body = JSON.stringify(se_UpdateInferenceComponentInput(input, context));
1800
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1801
+ };
1802
+ export const se_UpdateInferenceComponentRuntimeConfigCommand = async (input, context) => {
1803
+ const headers = sharedHeaders("UpdateInferenceComponentRuntimeConfig");
1804
+ let body;
1805
+ body = JSON.stringify(_json(input));
1806
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1807
+ };
1730
1808
  export const se_UpdateInferenceExperimentCommand = async (input, context) => {
1731
1809
  const headers = sharedHeaders("UpdateInferenceExperiment");
1732
1810
  let body;
@@ -2178,6 +2256,41 @@ const de_CreateAutoMLJobV2CommandError = async (output, context) => {
2178
2256
  });
2179
2257
  }
2180
2258
  };
2259
+ export const de_CreateClusterCommand = async (output, context) => {
2260
+ if (output.statusCode >= 300) {
2261
+ return de_CreateClusterCommandError(output, context);
2262
+ }
2263
+ const data = await parseBody(output.body, context);
2264
+ let contents = {};
2265
+ contents = de_CreateClusterResponse(data, context);
2266
+ const response = {
2267
+ $metadata: deserializeMetadata(output),
2268
+ ...contents,
2269
+ };
2270
+ return response;
2271
+ };
2272
+ const de_CreateClusterCommandError = async (output, context) => {
2273
+ const parsedOutput = {
2274
+ ...output,
2275
+ body: await parseErrorBody(output.body, context),
2276
+ };
2277
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2278
+ switch (errorCode) {
2279
+ case "ResourceInUse":
2280
+ case "com.amazonaws.sagemaker#ResourceInUse":
2281
+ throw await de_ResourceInUseRes(parsedOutput, context);
2282
+ case "ResourceLimitExceeded":
2283
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
2284
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
2285
+ default:
2286
+ const parsedBody = parsedOutput.body;
2287
+ return throwDefaultError({
2288
+ output,
2289
+ parsedBody,
2290
+ errorCode,
2291
+ });
2292
+ }
2293
+ };
2181
2294
  export const de_CreateCodeRepositoryCommand = async (output, context) => {
2182
2295
  if (output.statusCode >= 300) {
2183
2296
  return de_CreateCodeRepositoryCommandError(output, context);
@@ -2807,6 +2920,38 @@ const de_CreateImageVersionCommandError = async (output, context) => {
2807
2920
  });
2808
2921
  }
2809
2922
  };
2923
+ export const de_CreateInferenceComponentCommand = async (output, context) => {
2924
+ if (output.statusCode >= 300) {
2925
+ return de_CreateInferenceComponentCommandError(output, context);
2926
+ }
2927
+ const data = await parseBody(output.body, context);
2928
+ let contents = {};
2929
+ contents = de_CreateInferenceComponentOutput(data, context);
2930
+ const response = {
2931
+ $metadata: deserializeMetadata(output),
2932
+ ...contents,
2933
+ };
2934
+ return response;
2935
+ };
2936
+ const de_CreateInferenceComponentCommandError = async (output, context) => {
2937
+ const parsedOutput = {
2938
+ ...output,
2939
+ body: await parseErrorBody(output.body, context),
2940
+ };
2941
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2942
+ switch (errorCode) {
2943
+ case "ResourceLimitExceeded":
2944
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
2945
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
2946
+ default:
2947
+ const parsedBody = parsedOutput.body;
2948
+ return throwDefaultError({
2949
+ output,
2950
+ parsedBody,
2951
+ errorCode,
2952
+ });
2953
+ }
2954
+ };
2810
2955
  export const de_CreateInferenceExperimentCommand = async (output, context) => {
2811
2956
  if (output.statusCode >= 300) {
2812
2957
  return de_CreateInferenceExperimentCommandError(output, context);
@@ -3937,6 +4082,41 @@ const de_DeleteAssociationCommandError = async (output, context) => {
3937
4082
  });
3938
4083
  }
3939
4084
  };
4085
+ export const de_DeleteClusterCommand = async (output, context) => {
4086
+ if (output.statusCode >= 300) {
4087
+ return de_DeleteClusterCommandError(output, context);
4088
+ }
4089
+ const data = await parseBody(output.body, context);
4090
+ let contents = {};
4091
+ contents = de_DeleteClusterResponse(data, context);
4092
+ const response = {
4093
+ $metadata: deserializeMetadata(output),
4094
+ ...contents,
4095
+ };
4096
+ return response;
4097
+ };
4098
+ const de_DeleteClusterCommandError = async (output, context) => {
4099
+ const parsedOutput = {
4100
+ ...output,
4101
+ body: await parseErrorBody(output.body, context),
4102
+ };
4103
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4104
+ switch (errorCode) {
4105
+ case "ConflictException":
4106
+ case "com.amazonaws.sagemaker#ConflictException":
4107
+ throw await de_ConflictExceptionRes(parsedOutput, context);
4108
+ case "ResourceNotFound":
4109
+ case "com.amazonaws.sagemaker#ResourceNotFound":
4110
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
4111
+ default:
4112
+ const parsedBody = parsedOutput.body;
4113
+ return throwDefaultError({
4114
+ output,
4115
+ parsedBody,
4116
+ errorCode,
4117
+ });
4118
+ }
4119
+ };
3940
4120
  export const de_DeleteCodeRepositoryCommand = async (output, context) => {
3941
4121
  if (output.statusCode >= 300) {
3942
4122
  return de_DeleteCodeRepositoryCommandError(output, context);
@@ -4448,6 +4628,29 @@ const de_DeleteImageVersionCommandError = async (output, context) => {
4448
4628
  });
4449
4629
  }
4450
4630
  };
4631
+ export const de_DeleteInferenceComponentCommand = async (output, context) => {
4632
+ if (output.statusCode >= 300) {
4633
+ return de_DeleteInferenceComponentCommandError(output, context);
4634
+ }
4635
+ await collectBody(output.body, context);
4636
+ const response = {
4637
+ $metadata: deserializeMetadata(output),
4638
+ };
4639
+ return response;
4640
+ };
4641
+ const de_DeleteInferenceComponentCommandError = async (output, context) => {
4642
+ const parsedOutput = {
4643
+ ...output,
4644
+ body: await parseErrorBody(output.body, context),
4645
+ };
4646
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4647
+ const parsedBody = parsedOutput.body;
4648
+ return throwDefaultError({
4649
+ output,
4650
+ parsedBody,
4651
+ errorCode,
4652
+ });
4653
+ };
4451
4654
  export const de_DeleteInferenceExperimentCommand = async (output, context) => {
4452
4655
  if (output.statusCode >= 300) {
4453
4656
  return de_DeleteInferenceExperimentCommandError(output, context);
@@ -5327,6 +5530,70 @@ const de_DescribeAutoMLJobV2CommandError = async (output, context) => {
5327
5530
  });
5328
5531
  }
5329
5532
  };
5533
+ export const de_DescribeClusterCommand = async (output, context) => {
5534
+ if (output.statusCode >= 300) {
5535
+ return de_DescribeClusterCommandError(output, context);
5536
+ }
5537
+ const data = await parseBody(output.body, context);
5538
+ let contents = {};
5539
+ contents = de_DescribeClusterResponse(data, context);
5540
+ const response = {
5541
+ $metadata: deserializeMetadata(output),
5542
+ ...contents,
5543
+ };
5544
+ return response;
5545
+ };
5546
+ const de_DescribeClusterCommandError = 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 "ResourceNotFound":
5554
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5555
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
5556
+ default:
5557
+ const parsedBody = parsedOutput.body;
5558
+ return throwDefaultError({
5559
+ output,
5560
+ parsedBody,
5561
+ errorCode,
5562
+ });
5563
+ }
5564
+ };
5565
+ export const de_DescribeClusterNodeCommand = async (output, context) => {
5566
+ if (output.statusCode >= 300) {
5567
+ return de_DescribeClusterNodeCommandError(output, context);
5568
+ }
5569
+ const data = await parseBody(output.body, context);
5570
+ let contents = {};
5571
+ contents = de_DescribeClusterNodeResponse(data, context);
5572
+ const response = {
5573
+ $metadata: deserializeMetadata(output),
5574
+ ...contents,
5575
+ };
5576
+ return response;
5577
+ };
5578
+ const de_DescribeClusterNodeCommandError = async (output, context) => {
5579
+ const parsedOutput = {
5580
+ ...output,
5581
+ body: await parseErrorBody(output.body, context),
5582
+ };
5583
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5584
+ switch (errorCode) {
5585
+ case "ResourceNotFound":
5586
+ case "com.amazonaws.sagemaker#ResourceNotFound":
5587
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
5588
+ default:
5589
+ const parsedBody = parsedOutput.body;
5590
+ return throwDefaultError({
5591
+ output,
5592
+ parsedBody,
5593
+ errorCode,
5594
+ });
5595
+ }
5596
+ };
5330
5597
  export const de_DescribeCodeRepositoryCommand = async (output, context) => {
5331
5598
  if (output.statusCode >= 300) {
5332
5599
  return de_DescribeCodeRepositoryCommandError(output, context);
@@ -5981,6 +6248,32 @@ const de_DescribeImageVersionCommandError = async (output, context) => {
5981
6248
  });
5982
6249
  }
5983
6250
  };
6251
+ export const de_DescribeInferenceComponentCommand = async (output, context) => {
6252
+ if (output.statusCode >= 300) {
6253
+ return de_DescribeInferenceComponentCommandError(output, context);
6254
+ }
6255
+ const data = await parseBody(output.body, context);
6256
+ let contents = {};
6257
+ contents = de_DescribeInferenceComponentOutput(data, context);
6258
+ const response = {
6259
+ $metadata: deserializeMetadata(output),
6260
+ ...contents,
6261
+ };
6262
+ return response;
6263
+ };
6264
+ const de_DescribeInferenceComponentCommandError = async (output, context) => {
6265
+ const parsedOutput = {
6266
+ ...output,
6267
+ body: await parseErrorBody(output.body, context),
6268
+ };
6269
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
6270
+ const parsedBody = parsedOutput.body;
6271
+ return throwDefaultError({
6272
+ output,
6273
+ parsedBody,
6274
+ errorCode,
6275
+ });
6276
+ };
5984
6277
  export const de_DescribeInferenceExperimentCommand = async (output, context) => {
5985
6278
  if (output.statusCode >= 300) {
5986
6279
  return de_DescribeInferenceExperimentCommandError(output, context);
@@ -7441,6 +7734,64 @@ const de_ListCandidatesForAutoMLJobCommandError = async (output, context) => {
7441
7734
  });
7442
7735
  }
7443
7736
  };
7737
+ export const de_ListClusterNodesCommand = async (output, context) => {
7738
+ if (output.statusCode >= 300) {
7739
+ return de_ListClusterNodesCommandError(output, context);
7740
+ }
7741
+ const data = await parseBody(output.body, context);
7742
+ let contents = {};
7743
+ contents = de_ListClusterNodesResponse(data, context);
7744
+ const response = {
7745
+ $metadata: deserializeMetadata(output),
7746
+ ...contents,
7747
+ };
7748
+ return response;
7749
+ };
7750
+ const de_ListClusterNodesCommandError = async (output, context) => {
7751
+ const parsedOutput = {
7752
+ ...output,
7753
+ body: await parseErrorBody(output.body, context),
7754
+ };
7755
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7756
+ switch (errorCode) {
7757
+ case "ResourceNotFound":
7758
+ case "com.amazonaws.sagemaker#ResourceNotFound":
7759
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
7760
+ default:
7761
+ const parsedBody = parsedOutput.body;
7762
+ return throwDefaultError({
7763
+ output,
7764
+ parsedBody,
7765
+ errorCode,
7766
+ });
7767
+ }
7768
+ };
7769
+ export const de_ListClustersCommand = async (output, context) => {
7770
+ if (output.statusCode >= 300) {
7771
+ return de_ListClustersCommandError(output, context);
7772
+ }
7773
+ const data = await parseBody(output.body, context);
7774
+ let contents = {};
7775
+ contents = de_ListClustersResponse(data, context);
7776
+ const response = {
7777
+ $metadata: deserializeMetadata(output),
7778
+ ...contents,
7779
+ };
7780
+ return response;
7781
+ };
7782
+ const de_ListClustersCommandError = async (output, context) => {
7783
+ const parsedOutput = {
7784
+ ...output,
7785
+ body: await parseErrorBody(output.body, context),
7786
+ };
7787
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7788
+ const parsedBody = parsedOutput.body;
7789
+ return throwDefaultError({
7790
+ output,
7791
+ parsedBody,
7792
+ errorCode,
7793
+ });
7794
+ };
7444
7795
  export const de_ListCodeRepositoriesCommand = async (output, context) => {
7445
7796
  if (output.statusCode >= 300) {
7446
7797
  return de_ListCodeRepositoriesCommandError(output, context);
@@ -8011,6 +8362,32 @@ const de_ListImageVersionsCommandError = async (output, context) => {
8011
8362
  });
8012
8363
  }
8013
8364
  };
8365
+ export const de_ListInferenceComponentsCommand = async (output, context) => {
8366
+ if (output.statusCode >= 300) {
8367
+ return de_ListInferenceComponentsCommandError(output, context);
8368
+ }
8369
+ const data = await parseBody(output.body, context);
8370
+ let contents = {};
8371
+ contents = de_ListInferenceComponentsOutput(data, context);
8372
+ const response = {
8373
+ $metadata: deserializeMetadata(output),
8374
+ ...contents,
8375
+ };
8376
+ return response;
8377
+ };
8378
+ const de_ListInferenceComponentsCommandError = async (output, context) => {
8379
+ const parsedOutput = {
8380
+ ...output,
8381
+ body: await parseErrorBody(output.body, context),
8382
+ };
8383
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
8384
+ const parsedBody = parsedOutput.body;
8385
+ return throwDefaultError({
8386
+ output,
8387
+ parsedBody,
8388
+ errorCode,
8389
+ });
8390
+ };
8014
8391
  export const de_ListInferenceExperimentsCommand = async (output, context) => {
8015
8392
  if (output.statusCode >= 300) {
8016
8393
  return de_ListInferenceExperimentsCommandError(output, context);
@@ -10056,7 +10433,42 @@ export const de_UpdateArtifactCommand = async (output, context) => {
10056
10433
  };
10057
10434
  return response;
10058
10435
  };
10059
- const de_UpdateArtifactCommandError = async (output, context) => {
10436
+ const de_UpdateArtifactCommandError = async (output, context) => {
10437
+ const parsedOutput = {
10438
+ ...output,
10439
+ body: await parseErrorBody(output.body, context),
10440
+ };
10441
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10442
+ switch (errorCode) {
10443
+ case "ConflictException":
10444
+ case "com.amazonaws.sagemaker#ConflictException":
10445
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10446
+ case "ResourceNotFound":
10447
+ case "com.amazonaws.sagemaker#ResourceNotFound":
10448
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
10449
+ default:
10450
+ const parsedBody = parsedOutput.body;
10451
+ return throwDefaultError({
10452
+ output,
10453
+ parsedBody,
10454
+ errorCode,
10455
+ });
10456
+ }
10457
+ };
10458
+ export const de_UpdateClusterCommand = async (output, context) => {
10459
+ if (output.statusCode >= 300) {
10460
+ return de_UpdateClusterCommandError(output, context);
10461
+ }
10462
+ const data = await parseBody(output.body, context);
10463
+ let contents = {};
10464
+ contents = de_UpdateClusterResponse(data, context);
10465
+ const response = {
10466
+ $metadata: deserializeMetadata(output),
10467
+ ...contents,
10468
+ };
10469
+ return response;
10470
+ };
10471
+ const de_UpdateClusterCommandError = async (output, context) => {
10060
10472
  const parsedOutput = {
10061
10473
  ...output,
10062
10474
  body: await parseErrorBody(output.body, context),
@@ -10066,6 +10478,9 @@ const de_UpdateArtifactCommandError = async (output, context) => {
10066
10478
  case "ConflictException":
10067
10479
  case "com.amazonaws.sagemaker#ConflictException":
10068
10480
  throw await de_ConflictExceptionRes(parsedOutput, context);
10481
+ case "ResourceLimitExceeded":
10482
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
10483
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
10069
10484
  case "ResourceNotFound":
10070
10485
  case "com.amazonaws.sagemaker#ResourceNotFound":
10071
10486
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -10491,6 +10906,70 @@ const de_UpdateImageVersionCommandError = async (output, context) => {
10491
10906
  });
10492
10907
  }
10493
10908
  };
10909
+ export const de_UpdateInferenceComponentCommand = async (output, context) => {
10910
+ if (output.statusCode >= 300) {
10911
+ return de_UpdateInferenceComponentCommandError(output, context);
10912
+ }
10913
+ const data = await parseBody(output.body, context);
10914
+ let contents = {};
10915
+ contents = de_UpdateInferenceComponentOutput(data, context);
10916
+ const response = {
10917
+ $metadata: deserializeMetadata(output),
10918
+ ...contents,
10919
+ };
10920
+ return response;
10921
+ };
10922
+ const de_UpdateInferenceComponentCommandError = async (output, context) => {
10923
+ const parsedOutput = {
10924
+ ...output,
10925
+ body: await parseErrorBody(output.body, context),
10926
+ };
10927
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10928
+ switch (errorCode) {
10929
+ case "ResourceLimitExceeded":
10930
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
10931
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
10932
+ default:
10933
+ const parsedBody = parsedOutput.body;
10934
+ return throwDefaultError({
10935
+ output,
10936
+ parsedBody,
10937
+ errorCode,
10938
+ });
10939
+ }
10940
+ };
10941
+ export const de_UpdateInferenceComponentRuntimeConfigCommand = async (output, context) => {
10942
+ if (output.statusCode >= 300) {
10943
+ return de_UpdateInferenceComponentRuntimeConfigCommandError(output, context);
10944
+ }
10945
+ const data = await parseBody(output.body, context);
10946
+ let contents = {};
10947
+ contents = de_UpdateInferenceComponentRuntimeConfigOutput(data, context);
10948
+ const response = {
10949
+ $metadata: deserializeMetadata(output),
10950
+ ...contents,
10951
+ };
10952
+ return response;
10953
+ };
10954
+ const de_UpdateInferenceComponentRuntimeConfigCommandError = async (output, context) => {
10955
+ const parsedOutput = {
10956
+ ...output,
10957
+ body: await parseErrorBody(output.body, context),
10958
+ };
10959
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10960
+ switch (errorCode) {
10961
+ case "ResourceLimitExceeded":
10962
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
10963
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
10964
+ default:
10965
+ const parsedBody = parsedOutput.body;
10966
+ return throwDefaultError({
10967
+ output,
10968
+ parsedBody,
10969
+ errorCode,
10970
+ });
10971
+ }
10972
+ };
10494
10973
  export const de_UpdateInferenceExperimentCommand = async (output, context) => {
10495
10974
  if (output.statusCode >= 300) {
10496
10975
  return de_UpdateInferenceExperimentCommandError(output, context);
@@ -11168,12 +11647,15 @@ const se_CreateEndpointConfigInput = (input, context) => {
11168
11647
  return take(input, {
11169
11648
  AsyncInferenceConfig: _json,
11170
11649
  DataCaptureConfig: _json,
11650
+ EnableNetworkIsolation: [],
11171
11651
  EndpointConfigName: [],
11652
+ ExecutionRoleArn: [],
11172
11653
  ExplainerConfig: _json,
11173
11654
  KmsKeyId: [],
11174
11655
  ProductionVariants: (_) => se_ProductionVariantList(_, context),
11175
11656
  ShadowProductionVariants: (_) => se_ProductionVariantList(_, context),
11176
11657
  Tags: _json,
11658
+ VpcConfig: _json,
11177
11659
  });
11178
11660
  };
11179
11661
  const se_CreateFlowDefinitionRequest = (input, context) => {
@@ -11213,6 +11695,16 @@ const se_CreateImageVersionRequest = (input, context) => {
11213
11695
  VendorGuidance: [],
11214
11696
  });
11215
11697
  };
11698
+ const se_CreateInferenceComponentInput = (input, context) => {
11699
+ return take(input, {
11700
+ EndpointName: [],
11701
+ InferenceComponentName: [],
11702
+ RuntimeConfig: _json,
11703
+ Specification: (_) => se_InferenceComponentSpecification(_, context),
11704
+ Tags: _json,
11705
+ VariantName: [],
11706
+ });
11707
+ };
11216
11708
  const se_CreateInferenceExperimentRequest = (input, context) => {
11217
11709
  return take(input, {
11218
11710
  DataStorageConfig: _json,
@@ -11391,6 +11883,22 @@ const se_HyperParameterTuningJobConfig = (input, context) => {
11391
11883
  TuningJobCompletionCriteria: (_) => se_TuningJobCompletionCriteria(_, context),
11392
11884
  });
11393
11885
  };
11886
+ const se_InferenceComponentComputeResourceRequirements = (input, context) => {
11887
+ return take(input, {
11888
+ MaxMemoryRequiredInMb: [],
11889
+ MinMemoryRequiredInMb: [],
11890
+ NumberOfAcceleratorDevicesRequired: __serializeFloat,
11891
+ NumberOfCpuCoresRequired: __serializeFloat,
11892
+ });
11893
+ };
11894
+ const se_InferenceComponentSpecification = (input, context) => {
11895
+ return take(input, {
11896
+ ComputeResourceRequirements: (_) => se_InferenceComponentComputeResourceRequirements(_, context),
11897
+ Container: _json,
11898
+ ModelName: [],
11899
+ StartupParameters: _json,
11900
+ });
11901
+ };
11394
11902
  const se_InferenceExperimentSchedule = (input, context) => {
11395
11903
  return take(input, {
11396
11904
  EndTime: (_) => Math.round(_.getTime() / 1000),
@@ -11474,6 +11982,29 @@ const se_ListAutoMLJobsRequest = (input, context) => {
11474
11982
  StatusEquals: [],
11475
11983
  });
11476
11984
  };
11985
+ const se_ListClusterNodesRequest = (input, context) => {
11986
+ return take(input, {
11987
+ ClusterName: [],
11988
+ CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
11989
+ CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
11990
+ InstanceGroupNameContains: [],
11991
+ MaxResults: [],
11992
+ NextToken: [],
11993
+ SortBy: [],
11994
+ SortOrder: [],
11995
+ });
11996
+ };
11997
+ const se_ListClustersRequest = (input, context) => {
11998
+ return take(input, {
11999
+ CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
12000
+ CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
12001
+ MaxResults: [],
12002
+ NameContains: [],
12003
+ NextToken: [],
12004
+ SortBy: [],
12005
+ SortOrder: [],
12006
+ });
12007
+ };
11477
12008
  const se_ListCodeRepositoriesInput = (input, context) => {
11478
12009
  return take(input, {
11479
12010
  CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
@@ -11724,6 +12255,22 @@ const se_ListImageVersionsRequest = (input, context) => {
11724
12255
  SortOrder: [],
11725
12256
  });
11726
12257
  };
12258
+ const se_ListInferenceComponentsInput = (input, context) => {
12259
+ return take(input, {
12260
+ CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
12261
+ CreationTimeBefore: (_) => Math.round(_.getTime() / 1000),
12262
+ EndpointNameEquals: [],
12263
+ LastModifiedTimeAfter: (_) => Math.round(_.getTime() / 1000),
12264
+ LastModifiedTimeBefore: (_) => Math.round(_.getTime() / 1000),
12265
+ MaxResults: [],
12266
+ NameContains: [],
12267
+ NextToken: [],
12268
+ SortBy: [],
12269
+ SortOrder: [],
12270
+ StatusEquals: [],
12271
+ VariantNameEquals: [],
12272
+ });
12273
+ };
11727
12274
  const se_ListInferenceExperimentsRequest = (input, context) => {
11728
12275
  return take(input, {
11729
12276
  CreationTimeAfter: (_) => Math.round(_.getTime() / 1000),
@@ -12169,8 +12716,10 @@ const se_ProductionVariant = (input, context) => {
12169
12716
  InitialInstanceCount: [],
12170
12717
  InitialVariantWeight: __serializeFloat,
12171
12718
  InstanceType: [],
12719
+ ManagedInstanceScaling: _json,
12172
12720
  ModelDataDownloadTimeoutInSeconds: [],
12173
12721
  ModelName: [],
12722
+ RoutingConfig: _json,
12174
12723
  ServerlessConfig: _json,
12175
12724
  VariantName: [],
12176
12725
  VolumeSizeInGB: [],
@@ -12298,6 +12847,13 @@ const se_UpdateEndpointWeightsAndCapacitiesInput = (input, context) => {
12298
12847
  EndpointName: [],
12299
12848
  });
12300
12849
  };
12850
+ const se_UpdateInferenceComponentInput = (input, context) => {
12851
+ return take(input, {
12852
+ InferenceComponentName: [],
12853
+ RuntimeConfig: _json,
12854
+ Specification: (_) => se_InferenceComponentSpecification(_, context),
12855
+ });
12856
+ };
12301
12857
  const se_UpdateInferenceExperimentRequest = (input, context) => {
12302
12858
  return take(input, {
12303
12859
  DataStorageConfig: _json,
@@ -13269,6 +13825,81 @@ const de_ClarifyTextConfig = (output, context) => {
13269
13825
  Language: __expectString,
13270
13826
  });
13271
13827
  };
13828
+ const de_ClusterInstanceGroupDetails = (output, context) => {
13829
+ return take(output, {
13830
+ CurrentCount: __expectInt32,
13831
+ ExecutionRole: __expectString,
13832
+ InstanceGroupName: __expectString,
13833
+ InstanceType: __expectString,
13834
+ LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
13835
+ TargetCount: __expectInt32,
13836
+ ThreadsPerCore: __expectInt32,
13837
+ });
13838
+ };
13839
+ const de_ClusterInstanceGroupDetailsList = (output, context) => {
13840
+ const retVal = (output || [])
13841
+ .filter((e) => e != null)
13842
+ .map((entry) => {
13843
+ return de_ClusterInstanceGroupDetails(entry, context);
13844
+ });
13845
+ return retVal;
13846
+ };
13847
+ const de_ClusterInstanceStatusDetails = (output, context) => {
13848
+ return take(output, {
13849
+ Message: __expectString,
13850
+ Status: __expectString,
13851
+ });
13852
+ };
13853
+ const de_ClusterLifeCycleConfig = (output, context) => {
13854
+ return take(output, {
13855
+ OnCreate: __expectString,
13856
+ SourceS3Uri: __expectString,
13857
+ });
13858
+ };
13859
+ const de_ClusterNodeDetails = (output, context) => {
13860
+ return take(output, {
13861
+ InstanceGroupName: __expectString,
13862
+ InstanceId: __expectString,
13863
+ InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
13864
+ InstanceType: __expectString,
13865
+ LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
13866
+ LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
13867
+ ThreadsPerCore: __expectInt32,
13868
+ });
13869
+ };
13870
+ const de_ClusterNodeSummaries = (output, context) => {
13871
+ const retVal = (output || [])
13872
+ .filter((e) => e != null)
13873
+ .map((entry) => {
13874
+ return de_ClusterNodeSummary(entry, context);
13875
+ });
13876
+ return retVal;
13877
+ };
13878
+ const de_ClusterNodeSummary = (output, context) => {
13879
+ return take(output, {
13880
+ InstanceGroupName: __expectString,
13881
+ InstanceId: __expectString,
13882
+ InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
13883
+ InstanceType: __expectString,
13884
+ LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
13885
+ });
13886
+ };
13887
+ const de_ClusterSummaries = (output, context) => {
13888
+ const retVal = (output || [])
13889
+ .filter((e) => e != null)
13890
+ .map((entry) => {
13891
+ return de_ClusterSummary(entry, context);
13892
+ });
13893
+ return retVal;
13894
+ };
13895
+ const de_ClusterSummary = (output, context) => {
13896
+ return take(output, {
13897
+ ClusterArn: __expectString,
13898
+ ClusterName: __expectString,
13899
+ ClusterStatus: __expectString,
13900
+ CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
13901
+ });
13902
+ };
13272
13903
  const de_CodeRepositories = (output, context) => {
13273
13904
  const retVal = (output || [])
13274
13905
  .filter((e) => e != null)
@@ -13525,6 +14156,11 @@ const de_CreateAutoMLJobV2Response = (output, context) => {
13525
14156
  AutoMLJobArn: __expectString,
13526
14157
  });
13527
14158
  };
14159
+ const de_CreateClusterResponse = (output, context) => {
14160
+ return take(output, {
14161
+ ClusterArn: __expectString,
14162
+ });
14163
+ };
13528
14164
  const de_CreateCodeRepositoryOutput = (output, context) => {
13529
14165
  return take(output, {
13530
14166
  CodeRepositoryArn: __expectString,
@@ -13606,6 +14242,11 @@ const de_CreateImageVersionResponse = (output, context) => {
13606
14242
  ImageVersionArn: __expectString,
13607
14243
  });
13608
14244
  };
14245
+ const de_CreateInferenceComponentOutput = (output, context) => {
14246
+ return take(output, {
14247
+ InferenceComponentArn: __expectString,
14248
+ });
14249
+ };
13609
14250
  const de_CreateInferenceExperimentResponse = (output, context) => {
13610
14251
  return take(output, {
13611
14252
  InferenceExperimentArn: __expectString,
@@ -13925,6 +14566,11 @@ const de_DeleteAssociationResponse = (output, context) => {
13925
14566
  SourceArn: __expectString,
13926
14567
  });
13927
14568
  };
14569
+ const de_DeleteClusterResponse = (output, context) => {
14570
+ return take(output, {
14571
+ ClusterArn: __expectString,
14572
+ });
14573
+ };
13928
14574
  const de_DeleteContextResponse = (output, context) => {
13929
14575
  return take(output, {
13930
14576
  ContextArn: __expectString,
@@ -14150,6 +14796,22 @@ const de_DescribeAutoMLJobV2Response = (output, context) => {
14150
14796
  SecurityConfig: (_) => de_AutoMLSecurityConfig(_, context),
14151
14797
  });
14152
14798
  };
14799
+ const de_DescribeClusterNodeResponse = (output, context) => {
14800
+ return take(output, {
14801
+ NodeDetails: (_) => de_ClusterNodeDetails(_, context),
14802
+ });
14803
+ };
14804
+ const de_DescribeClusterResponse = (output, context) => {
14805
+ return take(output, {
14806
+ ClusterArn: __expectString,
14807
+ ClusterName: __expectString,
14808
+ ClusterStatus: __expectString,
14809
+ CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14810
+ FailureMessage: __expectString,
14811
+ InstanceGroups: (_) => de_ClusterInstanceGroupDetailsList(_, context),
14812
+ VpcConfig: (_) => de_VpcConfig(_, context),
14813
+ });
14814
+ };
14153
14815
  const de_DescribeCodeRepositoryOutput = (output, context) => {
14154
14816
  return take(output, {
14155
14817
  CodeRepositoryArn: __expectString,
@@ -14303,12 +14965,15 @@ const de_DescribeEndpointConfigOutput = (output, context) => {
14303
14965
  AsyncInferenceConfig: (_) => de_AsyncInferenceConfig(_, context),
14304
14966
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14305
14967
  DataCaptureConfig: (_) => de_DataCaptureConfig(_, context),
14968
+ EnableNetworkIsolation: __expectBoolean,
14306
14969
  EndpointConfigArn: __expectString,
14307
14970
  EndpointConfigName: __expectString,
14971
+ ExecutionRoleArn: __expectString,
14308
14972
  ExplainerConfig: (_) => de_ExplainerConfig(_, context),
14309
14973
  KmsKeyId: __expectString,
14310
14974
  ProductionVariants: (_) => de_ProductionVariantList(_, context),
14311
14975
  ShadowProductionVariants: (_) => de_ProductionVariantList(_, context),
14976
+ VpcConfig: (_) => de_VpcConfig(_, context),
14312
14977
  });
14313
14978
  };
14314
14979
  const de_DescribeEndpointOutput = (output, context) => {
@@ -14487,6 +15152,21 @@ const de_DescribeImageVersionResponse = (output, context) => {
14487
15152
  Version: __expectInt32,
14488
15153
  });
14489
15154
  };
15155
+ const de_DescribeInferenceComponentOutput = (output, context) => {
15156
+ return take(output, {
15157
+ CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15158
+ EndpointArn: __expectString,
15159
+ EndpointName: __expectString,
15160
+ FailureReason: __expectString,
15161
+ InferenceComponentArn: __expectString,
15162
+ InferenceComponentName: __expectString,
15163
+ InferenceComponentStatus: __expectString,
15164
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15165
+ RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
15166
+ Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
15167
+ VariantName: __expectString,
15168
+ });
15169
+ };
14490
15170
  const de_DescribeInferenceExperimentResponse = (output, context) => {
14491
15171
  return take(output, {
14492
15172
  Arn: __expectString,
@@ -14828,6 +15508,7 @@ const de_DescribeSpaceResponse = (output, context) => {
14828
15508
  SpaceName: __expectString,
14829
15509
  SpaceSettings: (_) => de_SpaceSettings(_, context),
14830
15510
  Status: __expectString,
15511
+ Url: __expectString,
14831
15512
  });
14832
15513
  };
14833
15514
  const de_DescribeStudioLifecycleConfigResponse = (output, context) => {
@@ -14863,6 +15544,7 @@ const de_DescribeTrainingJobResponse = (output, context) => {
14863
15544
  FailureReason: __expectString,
14864
15545
  FinalMetricDataList: (_) => de_FinalMetricDataList(_, context),
14865
15546
  HyperParameters: (_) => de_HyperParameters(_, context),
15547
+ InfraCheckConfig: (_) => de_InfraCheckConfig(_, context),
14866
15548
  InputDataConfig: (_) => de_InputDataConfig(_, context),
14867
15549
  LabelingJobArn: __expectString,
14868
15550
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -16226,6 +16908,61 @@ const de_ImportHubContentResponse = (output, context) => {
16226
16908
  HubContentArn: __expectString,
16227
16909
  });
16228
16910
  };
16911
+ const de_InferenceComponentComputeResourceRequirements = (output, context) => {
16912
+ return take(output, {
16913
+ MaxMemoryRequiredInMb: __expectInt32,
16914
+ MinMemoryRequiredInMb: __expectInt32,
16915
+ NumberOfAcceleratorDevicesRequired: __limitedParseFloat32,
16916
+ NumberOfCpuCoresRequired: __limitedParseFloat32,
16917
+ });
16918
+ };
16919
+ const de_InferenceComponentContainerSpecificationSummary = (output, context) => {
16920
+ return take(output, {
16921
+ ArtifactUrl: __expectString,
16922
+ DeployedImage: (_) => de_DeployedImage(_, context),
16923
+ Environment: (_) => de_EnvironmentMap(_, context),
16924
+ });
16925
+ };
16926
+ const de_InferenceComponentRuntimeConfigSummary = (output, context) => {
16927
+ return take(output, {
16928
+ CurrentCopyCount: __expectInt32,
16929
+ DesiredCopyCount: __expectInt32,
16930
+ });
16931
+ };
16932
+ const de_InferenceComponentSpecificationSummary = (output, context) => {
16933
+ return take(output, {
16934
+ ComputeResourceRequirements: (_) => de_InferenceComponentComputeResourceRequirements(_, context),
16935
+ Container: (_) => de_InferenceComponentContainerSpecificationSummary(_, context),
16936
+ ModelName: __expectString,
16937
+ StartupParameters: (_) => de_InferenceComponentStartupParameters(_, context),
16938
+ });
16939
+ };
16940
+ const de_InferenceComponentStartupParameters = (output, context) => {
16941
+ return take(output, {
16942
+ ContainerStartupHealthCheckTimeoutInSeconds: __expectInt32,
16943
+ ModelDataDownloadTimeoutInSeconds: __expectInt32,
16944
+ });
16945
+ };
16946
+ const de_InferenceComponentSummary = (output, context) => {
16947
+ return take(output, {
16948
+ CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16949
+ EndpointArn: __expectString,
16950
+ EndpointName: __expectString,
16951
+ InferenceComponentArn: __expectString,
16952
+ InferenceComponentName: __expectString,
16953
+ InferenceComponentStatus: __expectString,
16954
+ LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16955
+ VariantName: __expectString,
16956
+ });
16957
+ };
16958
+ const de_InferenceComponentSummaryList = (output, context) => {
16959
+ const retVal = (output || [])
16960
+ .filter((e) => e != null)
16961
+ .map((entry) => {
16962
+ return de_InferenceComponentSummary(entry, context);
16963
+ });
16964
+ return retVal;
16965
+ };
16229
16966
  const de_InferenceExecutionConfig = (output, context) => {
16230
16967
  return take(output, {
16231
16968
  Mode: __expectString,
@@ -16340,6 +17077,11 @@ const de_InferenceSpecification = (output, context) => {
16340
17077
  SupportedTransformInstanceTypes: (_) => de_TransformInstanceTypes(_, context),
16341
17078
  });
16342
17079
  };
17080
+ const de_InfraCheckConfig = (output, context) => {
17081
+ return take(output, {
17082
+ EnableInfraCheck: __expectBoolean,
17083
+ });
17084
+ };
16343
17085
  const de_InputConfig = (output, context) => {
16344
17086
  return take(output, {
16345
17087
  DataInputConfig: __expectString,
@@ -16678,6 +17420,18 @@ const de_ListCandidatesForAutoMLJobResponse = (output, context) => {
16678
17420
  NextToken: __expectString,
16679
17421
  });
16680
17422
  };
17423
+ const de_ListClusterNodesResponse = (output, context) => {
17424
+ return take(output, {
17425
+ ClusterNodeSummaries: (_) => de_ClusterNodeSummaries(_, context),
17426
+ NextToken: __expectString,
17427
+ });
17428
+ };
17429
+ const de_ListClustersResponse = (output, context) => {
17430
+ return take(output, {
17431
+ ClusterSummaries: (_) => de_ClusterSummaries(_, context),
17432
+ NextToken: __expectString,
17433
+ });
17434
+ };
16681
17435
  const de_ListCodeRepositoriesOutput = (output, context) => {
16682
17436
  return take(output, {
16683
17437
  CodeRepositorySummaryList: (_) => de_CodeRepositorySummaryList(_, context),
@@ -16804,6 +17558,12 @@ const de_ListImageVersionsResponse = (output, context) => {
16804
17558
  NextToken: __expectString,
16805
17559
  });
16806
17560
  };
17561
+ const de_ListInferenceComponentsOutput = (output, context) => {
17562
+ return take(output, {
17563
+ InferenceComponents: (_) => de_InferenceComponentSummaryList(_, context),
17564
+ NextToken: __expectString,
17565
+ });
17566
+ };
16807
17567
  const de_ListInferenceExperimentsResponse = (output, context) => {
16808
17568
  return take(output, {
16809
17569
  InferenceExperiments: (_) => de_InferenceExperimentList(_, context),
@@ -18212,6 +18972,8 @@ const de_PendingProductionVariantSummary = (output, context) => {
18212
18972
  DesiredServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
18213
18973
  DesiredWeight: __limitedParseFloat32,
18214
18974
  InstanceType: __expectString,
18975
+ ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
18976
+ RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
18215
18977
  VariantName: __expectString,
18216
18978
  VariantStatus: (_) => de_ProductionVariantStatusList(_, context),
18217
18979
  });
@@ -18511,8 +19273,10 @@ const de_ProductionVariant = (output, context) => {
18511
19273
  InitialInstanceCount: __expectInt32,
18512
19274
  InitialVariantWeight: __limitedParseFloat32,
18513
19275
  InstanceType: __expectString,
19276
+ ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
18514
19277
  ModelDataDownloadTimeoutInSeconds: __expectInt32,
18515
19278
  ModelName: __expectString,
19279
+ RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
18516
19280
  ServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
18517
19281
  VariantName: __expectString,
18518
19282
  VolumeSizeInGB: __expectInt32,
@@ -18532,6 +19296,18 @@ const de_ProductionVariantList = (output, context) => {
18532
19296
  });
18533
19297
  return retVal;
18534
19298
  };
19299
+ const de_ProductionVariantManagedInstanceScaling = (output, context) => {
19300
+ return take(output, {
19301
+ MaxInstanceCount: __expectInt32,
19302
+ MinInstanceCount: __expectInt32,
19303
+ Status: __expectString,
19304
+ });
19305
+ };
19306
+ const de_ProductionVariantRoutingConfig = (output, context) => {
19307
+ return take(output, {
19308
+ RoutingStrategy: __expectString,
19309
+ });
19310
+ };
18535
19311
  const de_ProductionVariantServerlessConfig = (output, context) => {
18536
19312
  return take(output, {
18537
19313
  MaxConcurrency: __expectInt32,
@@ -18563,6 +19339,8 @@ const de_ProductionVariantSummary = (output, context) => {
18563
19339
  DesiredInstanceCount: __expectInt32,
18564
19340
  DesiredServerlessConfig: (_) => de_ProductionVariantServerlessConfig(_, context),
18565
19341
  DesiredWeight: __limitedParseFloat32,
19342
+ ManagedInstanceScaling: (_) => de_ProductionVariantManagedInstanceScaling(_, context),
19343
+ RoutingConfig: (_) => de_ProductionVariantRoutingConfig(_, context),
18566
19344
  VariantName: __expectString,
18567
19345
  VariantStatus: (_) => de_ProductionVariantStatusList(_, context),
18568
19346
  });
@@ -18975,6 +19753,7 @@ const de_ResourceSpec = (output, context) => {
18975
19753
  InstanceType: __expectString,
18976
19754
  LifecycleConfigArn: __expectString,
18977
19755
  SageMakerImageArn: __expectString,
19756
+ SageMakerImageVersionAlias: __expectString,
18978
19757
  SageMakerImageVersionArn: __expectString,
18979
19758
  });
18980
19759
  };
@@ -19430,10 +20209,20 @@ const de_TextClassificationJobConfig = (output, context) => {
19430
20209
  TargetLabelColumn: __expectString,
19431
20210
  });
19432
20211
  };
20212
+ const de_TextGenerationHyperParameters = (output, context) => {
20213
+ return Object.entries(output).reduce((acc, [key, value]) => {
20214
+ if (value === null) {
20215
+ return acc;
20216
+ }
20217
+ acc[key] = __expectString(value);
20218
+ return acc;
20219
+ }, {});
20220
+ };
19433
20221
  const de_TextGenerationJobConfig = (output, context) => {
19434
20222
  return take(output, {
19435
20223
  BaseModelName: __expectString,
19436
20224
  CompletionCriteria: (_) => de_AutoMLJobCompletionCriteria(_, context),
20225
+ TextGenerationHyperParameters: (_) => de_TextGenerationHyperParameters(_, context),
19437
20226
  });
19438
20227
  };
19439
20228
  const de_TextGenerationResolvedAttributes = (output, context) => {
@@ -19974,6 +20763,11 @@ const de_UpdateArtifactResponse = (output, context) => {
19974
20763
  ArtifactArn: __expectString,
19975
20764
  });
19976
20765
  };
20766
+ const de_UpdateClusterResponse = (output, context) => {
20767
+ return take(output, {
20768
+ ClusterArn: __expectString,
20769
+ });
20770
+ };
19977
20771
  const de_UpdateCodeRepositoryOutput = (output, context) => {
19978
20772
  return take(output, {
19979
20773
  CodeRepositoryArn: __expectString,
@@ -20024,6 +20818,16 @@ const de_UpdateImageVersionResponse = (output, context) => {
20024
20818
  ImageVersionArn: __expectString,
20025
20819
  });
20026
20820
  };
20821
+ const de_UpdateInferenceComponentOutput = (output, context) => {
20822
+ return take(output, {
20823
+ InferenceComponentArn: __expectString,
20824
+ });
20825
+ };
20826
+ const de_UpdateInferenceComponentRuntimeConfigOutput = (output, context) => {
20827
+ return take(output, {
20828
+ InferenceComponentArn: __expectString,
20829
+ });
20830
+ };
20027
20831
  const de_UpdateInferenceExperimentResponse = (output, context) => {
20028
20832
  return take(output, {
20029
20833
  InferenceExperimentArn: __expectString,
@@ -20141,6 +20945,7 @@ const de_UserProfileList = (output, context) => {
20141
20945
  const de_UserSettings = (output, context) => {
20142
20946
  return take(output, {
20143
20947
  CanvasAppSettings: (_) => de_CanvasAppSettings(_, context),
20948
+ DefaultLandingUri: __expectString,
20144
20949
  ExecutionRole: __expectString,
20145
20950
  JupyterServerAppSettings: (_) => de_JupyterServerAppSettings(_, context),
20146
20951
  KernelGatewayAppSettings: (_) => de_KernelGatewayAppSettings(_, context),
@@ -20148,6 +20953,7 @@ const de_UserSettings = (output, context) => {
20148
20953
  RStudioServerProAppSettings: (_) => de_RStudioServerProAppSettings(_, context),
20149
20954
  SecurityGroups: (_) => de_SecurityGroupIds(_, context),
20150
20955
  SharingSettings: (_) => de_SharingSettings(_, context),
20956
+ StudioWebPortal: __expectString,
20151
20957
  TensorBoardAppSettings: (_) => de_TensorBoardAppSettings(_, context),
20152
20958
  });
20153
20959
  };