@aws-sdk/client-sagemaker 3.683.0 → 3.686.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 (65) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +120 -12
  3. package/dist-es/SageMaker.js +2 -0
  4. package/dist-es/commands/BatchDeleteClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
  6. package/dist-es/commands/index.js +1 -0
  7. package/dist-es/models/models_0.js +40 -0
  8. package/dist-es/models/models_3.js +0 -5
  9. package/dist-es/models/models_4.js +5 -5
  10. package/dist-es/models/models_5.js +5 -1
  11. package/dist-es/protocols/Aws_json1_1.js +49 -0
  12. package/dist-types/SageMaker.d.ts +7 -0
  13. package/dist-types/SageMakerClient.d.ts +3 -2
  14. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +102 -0
  15. package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -4
  16. package/dist-types/commands/CreateAppCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +8 -8
  19. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +2 -1
  20. package/dist-types/commands/CreatePipelineCommand.d.ts +1 -2
  21. package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
  22. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -3
  23. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  25. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +8 -8
  26. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  27. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
  28. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
  29. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -0
  32. package/dist-types/commands/SearchCommand.d.ts +8 -8
  33. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +5 -0
  35. package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  37. package/dist-types/commands/index.d.ts +1 -0
  38. package/dist-types/models/models_0.d.ts +114 -164
  39. package/dist-types/models/models_1.d.ts +161 -101
  40. package/dist-types/models/models_2.d.ts +101 -137
  41. package/dist-types/models/models_3.d.ts +138 -123
  42. package/dist-types/models/models_4.d.ts +129 -78
  43. package/dist-types/models/models_5.d.ts +78 -2
  44. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  45. package/dist-types/ts3.4/SageMaker.d.ts +17 -0
  46. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  47. package/dist-types/ts3.4/commands/BatchDeleteClusterNodesCommand.d.ts +51 -0
  48. package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +4 -2
  52. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +4 -2
  54. package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +55 -24
  59. package/dist-types/ts3.4/models/models_1.d.ts +26 -22
  60. package/dist-types/ts3.4/models/models_2.d.ts +22 -33
  61. package/dist-types/ts3.4/models/models_3.d.ts +35 -33
  62. package/dist-types/ts3.4/models/models_4.d.ts +35 -25
  63. package/dist-types/ts3.4/models/models_5.d.ts +25 -1
  64. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  65. package/package.json +36 -36
package/README.md CHANGED
@@ -241,6 +241,14 @@ AssociateTrialComponent
241
241
 
242
242
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/AssociateTrialComponentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/AssociateTrialComponentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/AssociateTrialComponentCommandOutput/)
243
243
 
244
+ </details>
245
+ <details>
246
+ <summary>
247
+ BatchDeleteClusterNodes
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/BatchDeleteClusterNodesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/BatchDeleteClusterNodesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/BatchDeleteClusterNodesCommandOutput/)
251
+
244
252
  </details>
245
253
  <details>
246
254
  <summary>
package/dist-cjs/index.js CHANGED
@@ -61,6 +61,8 @@ __export(src_exports, {
61
61
  AutoMountHomeEFS: () => AutoMountHomeEFS,
62
62
  AutotuneMode: () => AutotuneMode,
63
63
  AwsManagedHumanLoopRequestSource: () => AwsManagedHumanLoopRequestSource,
64
+ BatchDeleteClusterNodesCommand: () => BatchDeleteClusterNodesCommand,
65
+ BatchDeleteClusterNodesErrorCode: () => BatchDeleteClusterNodesErrorCode,
64
66
  BatchDescribeModelPackageCommand: () => BatchDescribeModelPackageCommand,
65
67
  BatchStrategy: () => BatchStrategy,
66
68
  BooleanOperator: () => BooleanOperator,
@@ -1382,6 +1384,22 @@ var TrainingInstanceType = {
1382
1384
  ML_G5_4XLARGE: "ml.g5.4xlarge",
1383
1385
  ML_G5_8XLARGE: "ml.g5.8xlarge",
1384
1386
  ML_G5_XLARGE: "ml.g5.xlarge",
1387
+ ML_G6E_12XLARGE: "ml.g6e.12xlarge",
1388
+ ML_G6E_16XLARGE: "ml.g6e.16xlarge",
1389
+ ML_G6E_24XLARGE: "ml.g6e.24xlarge",
1390
+ ML_G6E_2XLARGE: "ml.g6e.2xlarge",
1391
+ ML_G6E_48XLARGE: "ml.g6e.48xlarge",
1392
+ ML_G6E_4XLARGE: "ml.g6e.4xlarge",
1393
+ ML_G6E_8XLARGE: "ml.g6e.8xlarge",
1394
+ ML_G6E_XLARGE: "ml.g6e.xlarge",
1395
+ ML_G6_12XLARGE: "ml.g6.12xlarge",
1396
+ ML_G6_16XLARGE: "ml.g6.16xlarge",
1397
+ ML_G6_24XLARGE: "ml.g6.24xlarge",
1398
+ ML_G6_2XLARGE: "ml.g6.2xlarge",
1399
+ ML_G6_48XLARGE: "ml.g6.48xlarge",
1400
+ ML_G6_4XLARGE: "ml.g6.4xlarge",
1401
+ ML_G6_8XLARGE: "ml.g6.8xlarge",
1402
+ ML_G6_XLARGE: "ml.g6.xlarge",
1385
1403
  ML_M4_10XLARGE: "ml.m4.10xlarge",
1386
1404
  ML_M4_16XLARGE: "ml.m4.16xlarge",
1387
1405
  ML_M4_2XLARGE: "ml.m4.2xlarge",
@@ -1887,6 +1905,11 @@ var AwsManagedHumanLoopRequestSource = {
1887
1905
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
1888
1906
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1"
1889
1907
  };
1908
+ var BatchDeleteClusterNodesErrorCode = {
1909
+ INVALID_NODE_STATUS: "InvalidNodeStatus",
1910
+ NODE_ID_IN_USE: "NodeIdInUse",
1911
+ NODE_ID_NOT_FOUND: "NodeIdNotFound"
1912
+ };
1890
1913
  var ModelApprovalStatus = {
1891
1914
  APPROVED: "Approved",
1892
1915
  PENDING_MANUAL_APPROVAL: "PendingManualApproval",
@@ -2040,6 +2063,24 @@ var ClusterInstanceType = {
2040
2063
  ML_G5_4XLARGE: "ml.g5.4xlarge",
2041
2064
  ML_G5_8XLARGE: "ml.g5.8xlarge",
2042
2065
  ML_G5_XLARGE: "ml.g5.xlarge",
2066
+ ML_G6E_12XLARGE: "ml.g6e.12xlarge",
2067
+ ML_G6E_16XLARGE: "ml.g6e.16xlarge",
2068
+ ML_G6E_24XLARGE: "ml.g6e.24xlarge",
2069
+ ML_G6E_2XLARGE: "ml.g6e.2xlarge",
2070
+ ML_G6E_48XLARGE: "ml.g6e.48xlarge",
2071
+ ML_G6E_4XLARGE: "ml.g6e.4xlarge",
2072
+ ML_G6E_8XLARGE: "ml.g6e.8xlarge",
2073
+ ML_G6E_XLARGE: "ml.g6e.xlarge",
2074
+ ML_G6_12XLARGE: "ml.g6.12xlarge",
2075
+ ML_G6_16XLARGE: "ml.g6.16xlarge",
2076
+ ML_G6_24XLARGE: "ml.g6.24xlarge",
2077
+ ML_G6_2XLARGE: "ml.g6.2xlarge",
2078
+ ML_G6_48XLARGE: "ml.g6.48xlarge",
2079
+ ML_G6_4XLARGE: "ml.g6.4xlarge",
2080
+ ML_G6_8XLARGE: "ml.g6.8xlarge",
2081
+ ML_G6_XLARGE: "ml.g6.xlarge",
2082
+ ML_GR6_4XLARGE: "ml.gr6.4xlarge",
2083
+ ML_GR6_8XLARGE: "ml.gr6.8xlarge",
2043
2084
  ML_M5_12XLARGE: "ml.m5.12xlarge",
2044
2085
  ML_M5_16XLARGE: "ml.m5.16xlarge",
2045
2086
  ML_M5_24XLARGE: "ml.m5.24xlarge",
@@ -2050,6 +2091,7 @@ var ClusterInstanceType = {
2050
2091
  ML_M5_XLARGE: "ml.m5.xlarge",
2051
2092
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
2052
2093
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
2094
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
2053
2095
  ML_P5_48XLARGE: "ml.p5.48xlarge",
2054
2096
  ML_T3_2XLARGE: "ml.t3.2xlarge",
2055
2097
  ML_T3_LARGE: "ml.t3.large",
@@ -2807,8 +2849,8 @@ var JoinSource = {
2807
2849
  NONE: "None"
2808
2850
  };
2809
2851
  var TrialComponentParameterValue;
2810
- ((TrialComponentParameterValue3) => {
2811
- TrialComponentParameterValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
2852
+ ((TrialComponentParameterValue2) => {
2853
+ TrialComponentParameterValue2.visit = /* @__PURE__ */ __name((value, visitor) => {
2812
2854
  if (value.StringValue !== void 0)
2813
2855
  return visitor.StringValue(value.StringValue);
2814
2856
  if (value.NumberValue !== void 0)
@@ -3051,6 +3093,12 @@ var se_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (input, con
3051
3093
  body = JSON.stringify((0, import_smithy_client._json)(input));
3052
3094
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3053
3095
  }, "se_AssociateTrialComponentCommand");
3096
+ var se_BatchDeleteClusterNodesCommand = /* @__PURE__ */ __name(async (input, context) => {
3097
+ const headers = sharedHeaders("BatchDeleteClusterNodes");
3098
+ let body;
3099
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3100
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3101
+ }, "se_BatchDeleteClusterNodesCommand");
3054
3102
  var se_BatchDescribeModelPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
3055
3103
  const headers = sharedHeaders("BatchDescribeModelPackage");
3056
3104
  let body;
@@ -5082,6 +5130,19 @@ var de_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (output, co
5082
5130
  };
5083
5131
  return response;
5084
5132
  }, "de_AssociateTrialComponentCommand");
5133
+ var de_BatchDeleteClusterNodesCommand = /* @__PURE__ */ __name(async (output, context) => {
5134
+ if (output.statusCode >= 300) {
5135
+ return de_CommandError(output, context);
5136
+ }
5137
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5138
+ let contents = {};
5139
+ contents = de_BatchDeleteClusterNodesResponse(data, context);
5140
+ const response = {
5141
+ $metadata: deserializeMetadata(output),
5142
+ ...contents
5143
+ };
5144
+ return response;
5145
+ }, "de_BatchDeleteClusterNodesCommand");
5085
5146
  var de_BatchDescribeModelPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
5086
5147
  if (output.statusCode >= 300) {
5087
5148
  return de_CommandError(output, context);
@@ -11271,6 +11332,25 @@ var de_BatchDataCaptureConfig = /* @__PURE__ */ __name((output, context) => {
11271
11332
  KmsKeyId: import_smithy_client.expectString
11272
11333
  });
11273
11334
  }, "de_BatchDataCaptureConfig");
11335
+ var de_BatchDeleteClusterNodesError = /* @__PURE__ */ __name((output, context) => {
11336
+ return (0, import_smithy_client.take)(output, {
11337
+ Code: import_smithy_client.expectString,
11338
+ Message: import_smithy_client.expectString,
11339
+ NodeId: import_smithy_client.expectString
11340
+ });
11341
+ }, "de_BatchDeleteClusterNodesError");
11342
+ var de_BatchDeleteClusterNodesErrorList = /* @__PURE__ */ __name((output, context) => {
11343
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
11344
+ return de_BatchDeleteClusterNodesError(entry, context);
11345
+ });
11346
+ return retVal;
11347
+ }, "de_BatchDeleteClusterNodesErrorList");
11348
+ var de_BatchDeleteClusterNodesResponse = /* @__PURE__ */ __name((output, context) => {
11349
+ return (0, import_smithy_client.take)(output, {
11350
+ Failed: (_) => de_BatchDeleteClusterNodesErrorList(_, context),
11351
+ Successful: (_) => de_ClusterNodeIds(_, context)
11352
+ });
11353
+ }, "de_BatchDeleteClusterNodesResponse");
11274
11354
  var de_BatchDescribeModelPackageError = /* @__PURE__ */ __name((output, context) => {
11275
11355
  return (0, import_smithy_client.take)(output, {
11276
11356
  ErrorCode: import_smithy_client.expectString,
@@ -11632,6 +11712,12 @@ var de_ClusterNodeDetails = /* @__PURE__ */ __name((output, context) => {
11632
11712
  ThreadsPerCore: import_smithy_client.expectInt32
11633
11713
  });
11634
11714
  }, "de_ClusterNodeDetails");
11715
+ var de_ClusterNodeIds = /* @__PURE__ */ __name((output, context) => {
11716
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
11717
+ return (0, import_smithy_client.expectString)(entry);
11718
+ });
11719
+ return retVal;
11720
+ }, "de_ClusterNodeIds");
11635
11721
  var de_ClusterNodeSummaries = /* @__PURE__ */ __name((output, context) => {
11636
11722
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
11637
11723
  return de_ClusterNodeSummary(entry, context);
@@ -18414,6 +18500,7 @@ var de_TrainingJobSummary = /* @__PURE__ */ __name((output, context) => {
18414
18500
  return (0, import_smithy_client.take)(output, {
18415
18501
  CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
18416
18502
  LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
18503
+ SecondaryStatus: import_smithy_client.expectString,
18417
18504
  TrainingEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
18418
18505
  TrainingJobArn: import_smithy_client.expectString,
18419
18506
  TrainingJobName: import_smithy_client.expectString,
@@ -19175,6 +19262,20 @@ var _AssociateTrialComponentCommand = class _AssociateTrialComponentCommand exte
19175
19262
  __name(_AssociateTrialComponentCommand, "AssociateTrialComponentCommand");
19176
19263
  var AssociateTrialComponentCommand = _AssociateTrialComponentCommand;
19177
19264
 
19265
+ // src/commands/BatchDeleteClusterNodesCommand.ts
19266
+
19267
+
19268
+
19269
+ var _BatchDeleteClusterNodesCommand = class _BatchDeleteClusterNodesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
19270
+ return [
19271
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
19272
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
19273
+ ];
19274
+ }).s("SageMaker", "BatchDeleteClusterNodes", {}).n("SageMakerClient", "BatchDeleteClusterNodesCommand").f(void 0, void 0).ser(se_BatchDeleteClusterNodesCommand).de(de_BatchDeleteClusterNodesCommand).build() {
19275
+ };
19276
+ __name(_BatchDeleteClusterNodesCommand, "BatchDeleteClusterNodesCommand");
19277
+ var BatchDeleteClusterNodesCommand = _BatchDeleteClusterNodesCommand;
19278
+
19178
19279
  // src/commands/BatchDescribeModelPackageCommand.ts
19179
19280
 
19180
19281
 
@@ -21693,11 +21794,6 @@ var SortLineageGroupsBy = {
21693
21794
  CREATION_TIME: "CreationTime",
21694
21795
  NAME: "Name"
21695
21796
  };
21696
- var SortTrackingServerBy = {
21697
- CREATION_TIME: "CreationTime",
21698
- NAME: "Name",
21699
- STATUS: "Status"
21700
- };
21701
21797
  var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
21702
21798
  ...obj,
21703
21799
  ...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
@@ -23363,6 +23459,11 @@ var RetryPipelineExecutionCommand = _RetryPipelineExecutionCommand;
23363
23459
 
23364
23460
  // src/models/models_4.ts
23365
23461
 
23462
+ var SortTrackingServerBy = {
23463
+ CREATION_TIME: "CreationTime",
23464
+ NAME: "Name",
23465
+ STATUS: "Status"
23466
+ };
23366
23467
  var ModelCardExportJobSortBy = {
23367
23468
  CREATION_TIME: "CreationTime",
23368
23469
  NAME: "Name",
@@ -23554,10 +23655,6 @@ var UpdateModelPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
23554
23655
  ...obj,
23555
23656
  ...obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }
23556
23657
  }), "UpdateModelPackageInputFilterSensitiveLog");
23557
- var UpdateWorkforceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
23558
- ...obj,
23559
- ...obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }
23560
- }), "UpdateWorkforceRequestFilterSensitiveLog");
23561
23658
 
23562
23659
  // src/commands/SearchCommand.ts
23563
23660
  var _SearchCommand = class _SearchCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
@@ -24414,6 +24511,14 @@ var UpdateUserProfileCommand = _UpdateUserProfileCommand;
24414
24511
 
24415
24512
 
24416
24513
 
24514
+
24515
+ // src/models/models_5.ts
24516
+ var UpdateWorkforceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
24517
+ ...obj,
24518
+ ...obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }
24519
+ }), "UpdateWorkforceRequestFilterSensitiveLog");
24520
+
24521
+ // src/commands/UpdateWorkforceCommand.ts
24417
24522
  var _UpdateWorkforceCommand = class _UpdateWorkforceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
24418
24523
  return [
24419
24524
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -24443,6 +24548,7 @@ var commands = {
24443
24548
  AddAssociationCommand,
24444
24549
  AddTagsCommand,
24445
24550
  AssociateTrialComponentCommand,
24551
+ BatchDeleteClusterNodesCommand,
24446
24552
  BatchDescribeModelPackageCommand,
24447
24553
  CreateActionCommand,
24448
24554
  CreateAlgorithmCommand,
@@ -25638,6 +25744,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
25638
25744
  AddAssociationCommand,
25639
25745
  AddTagsCommand,
25640
25746
  AssociateTrialComponentCommand,
25747
+ BatchDeleteClusterNodesCommand,
25641
25748
  BatchDescribeModelPackageCommand,
25642
25749
  CreateActionCommand,
25643
25750
  CreateAlgorithmCommand,
@@ -26134,6 +26241,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
26134
26241
  AutoMountHomeEFS,
26135
26242
  AutotuneMode,
26136
26243
  AwsManagedHumanLoopRequestSource,
26244
+ BatchDeleteClusterNodesErrorCode,
26137
26245
  ModelApprovalStatus,
26138
26246
  ModelPackageStatus,
26139
26247
  ProcessingS3DataDistributionType,
@@ -26331,9 +26439,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
26331
26439
  SortBy,
26332
26440
  ListLabelingJobsForWorkteamSortByOptions,
26333
26441
  SortLineageGroupsBy,
26334
- SortTrackingServerBy,
26335
26442
  DescribeModelCardResponseFilterSensitiveLog,
26336
26443
  DescribeModelPackageOutputFilterSensitiveLog,
26444
+ SortTrackingServerBy,
26337
26445
  ModelCardExportJobSortBy,
26338
26446
  ModelCardExportJobSortOrder,
26339
26447
  ModelCardSortBy,
@@ -2,6 +2,7 @@ import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AddAssociationCommand, } from "./commands/AddAssociationCommand";
3
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
4
4
  import { AssociateTrialComponentCommand, } from "./commands/AssociateTrialComponentCommand";
5
+ import { BatchDeleteClusterNodesCommand, } from "./commands/BatchDeleteClusterNodesCommand";
5
6
  import { BatchDescribeModelPackageCommand, } from "./commands/BatchDescribeModelPackageCommand";
6
7
  import { CreateActionCommand, } from "./commands/CreateActionCommand";
7
8
  import { CreateAlgorithmCommand, } from "./commands/CreateAlgorithmCommand";
@@ -339,6 +340,7 @@ const commands = {
339
340
  AddAssociationCommand,
340
341
  AddTagsCommand,
341
342
  AssociateTrialComponentCommand,
343
+ BatchDeleteClusterNodesCommand,
342
344
  BatchDescribeModelPackageCommand,
343
345
  CreateActionCommand,
344
346
  CreateAlgorithmCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_BatchDeleteClusterNodesCommand, se_BatchDeleteClusterNodesCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class BatchDeleteClusterNodesCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SageMaker", "BatchDeleteClusterNodes", {})
17
+ .n("SageMakerClient", "BatchDeleteClusterNodesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_BatchDeleteClusterNodesCommand)
20
+ .de(de_BatchDeleteClusterNodesCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateWorkforceRequestFilterSensitiveLog, } from "../models/models_4";
5
+ import { UpdateWorkforceRequestFilterSensitiveLog, } from "../models/models_5";
6
6
  import { de_UpdateWorkforceCommand, se_UpdateWorkforceCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
8
  export class UpdateWorkforceCommand extends $Command
@@ -1,6 +1,7 @@
1
1
  export * from "./AddAssociationCommand";
2
2
  export * from "./AddTagsCommand";
3
3
  export * from "./AssociateTrialComponentCommand";
4
+ export * from "./BatchDeleteClusterNodesCommand";
4
5
  export * from "./BatchDescribeModelPackageCommand";
5
6
  export * from "./CreateActionCommand";
6
7
  export * from "./CreateAlgorithmCommand";
@@ -434,6 +434,22 @@ export const TrainingInstanceType = {
434
434
  ML_G5_4XLARGE: "ml.g5.4xlarge",
435
435
  ML_G5_8XLARGE: "ml.g5.8xlarge",
436
436
  ML_G5_XLARGE: "ml.g5.xlarge",
437
+ ML_G6E_12XLARGE: "ml.g6e.12xlarge",
438
+ ML_G6E_16XLARGE: "ml.g6e.16xlarge",
439
+ ML_G6E_24XLARGE: "ml.g6e.24xlarge",
440
+ ML_G6E_2XLARGE: "ml.g6e.2xlarge",
441
+ ML_G6E_48XLARGE: "ml.g6e.48xlarge",
442
+ ML_G6E_4XLARGE: "ml.g6e.4xlarge",
443
+ ML_G6E_8XLARGE: "ml.g6e.8xlarge",
444
+ ML_G6E_XLARGE: "ml.g6e.xlarge",
445
+ ML_G6_12XLARGE: "ml.g6.12xlarge",
446
+ ML_G6_16XLARGE: "ml.g6.16xlarge",
447
+ ML_G6_24XLARGE: "ml.g6.24xlarge",
448
+ ML_G6_2XLARGE: "ml.g6.2xlarge",
449
+ ML_G6_48XLARGE: "ml.g6.48xlarge",
450
+ ML_G6_4XLARGE: "ml.g6.4xlarge",
451
+ ML_G6_8XLARGE: "ml.g6.8xlarge",
452
+ ML_G6_XLARGE: "ml.g6.xlarge",
437
453
  ML_M4_10XLARGE: "ml.m4.10xlarge",
438
454
  ML_M4_16XLARGE: "ml.m4.16xlarge",
439
455
  ML_M4_2XLARGE: "ml.m4.2xlarge",
@@ -939,6 +955,11 @@ export const AwsManagedHumanLoopRequestSource = {
939
955
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
940
956
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
941
957
  };
958
+ export const BatchDeleteClusterNodesErrorCode = {
959
+ INVALID_NODE_STATUS: "InvalidNodeStatus",
960
+ NODE_ID_IN_USE: "NodeIdInUse",
961
+ NODE_ID_NOT_FOUND: "NodeIdNotFound",
962
+ };
942
963
  export const ModelApprovalStatus = {
943
964
  APPROVED: "Approved",
944
965
  PENDING_MANUAL_APPROVAL: "PendingManualApproval",
@@ -1092,6 +1113,24 @@ export const ClusterInstanceType = {
1092
1113
  ML_G5_4XLARGE: "ml.g5.4xlarge",
1093
1114
  ML_G5_8XLARGE: "ml.g5.8xlarge",
1094
1115
  ML_G5_XLARGE: "ml.g5.xlarge",
1116
+ ML_G6E_12XLARGE: "ml.g6e.12xlarge",
1117
+ ML_G6E_16XLARGE: "ml.g6e.16xlarge",
1118
+ ML_G6E_24XLARGE: "ml.g6e.24xlarge",
1119
+ ML_G6E_2XLARGE: "ml.g6e.2xlarge",
1120
+ ML_G6E_48XLARGE: "ml.g6e.48xlarge",
1121
+ ML_G6E_4XLARGE: "ml.g6e.4xlarge",
1122
+ ML_G6E_8XLARGE: "ml.g6e.8xlarge",
1123
+ ML_G6E_XLARGE: "ml.g6e.xlarge",
1124
+ ML_G6_12XLARGE: "ml.g6.12xlarge",
1125
+ ML_G6_16XLARGE: "ml.g6.16xlarge",
1126
+ ML_G6_24XLARGE: "ml.g6.24xlarge",
1127
+ ML_G6_2XLARGE: "ml.g6.2xlarge",
1128
+ ML_G6_48XLARGE: "ml.g6.48xlarge",
1129
+ ML_G6_4XLARGE: "ml.g6.4xlarge",
1130
+ ML_G6_8XLARGE: "ml.g6.8xlarge",
1131
+ ML_G6_XLARGE: "ml.g6.xlarge",
1132
+ ML_GR6_4XLARGE: "ml.gr6.4xlarge",
1133
+ ML_GR6_8XLARGE: "ml.gr6.8xlarge",
1095
1134
  ML_M5_12XLARGE: "ml.m5.12xlarge",
1096
1135
  ML_M5_16XLARGE: "ml.m5.16xlarge",
1097
1136
  ML_M5_24XLARGE: "ml.m5.24xlarge",
@@ -1102,6 +1141,7 @@ export const ClusterInstanceType = {
1102
1141
  ML_M5_XLARGE: "ml.m5.xlarge",
1103
1142
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
1104
1143
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
1144
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
1105
1145
  ML_P5_48XLARGE: "ml.p5.48xlarge",
1106
1146
  ML_T3_2XLARGE: "ml.t3.2xlarge",
1107
1147
  ML_T3_LARGE: "ml.t3.large",
@@ -397,11 +397,6 @@ export const SortLineageGroupsBy = {
397
397
  CREATION_TIME: "CreationTime",
398
398
  NAME: "Name",
399
399
  };
400
- export const SortTrackingServerBy = {
401
- CREATION_TIME: "CreationTime",
402
- NAME: "Name",
403
- STATUS: "Status",
404
- };
405
400
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
406
401
  ...obj,
407
402
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,6 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
- import { OidcConfigFilterSensitiveLog, } from "./models_2";
3
+ export const SortTrackingServerBy = {
4
+ CREATION_TIME: "CreationTime",
5
+ NAME: "Name",
6
+ STATUS: "Status",
7
+ };
4
8
  export const ModelCardExportJobSortBy = {
5
9
  CREATION_TIME: "CreationTime",
6
10
  NAME: "Name",
@@ -192,7 +196,3 @@ export const UpdateModelPackageInputFilterSensitiveLog = (obj) => ({
192
196
  ...obj,
193
197
  ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
194
198
  });
195
- export const UpdateWorkforceRequestFilterSensitiveLog = (obj) => ({
196
- ...obj,
197
- ...(obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }),
198
- });
@@ -1 +1,5 @@
1
- export {};
1
+ import { OidcConfigFilterSensitiveLog, } from "./models_2";
2
+ export const UpdateWorkforceRequestFilterSensitiveLog = (obj) => ({
3
+ ...obj,
4
+ ...(obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }),
5
+ });
@@ -24,6 +24,12 @@ export const se_AssociateTrialComponentCommand = async (input, context) => {
24
24
  body = JSON.stringify(_json(input));
25
25
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
26
26
  };
27
+ export const se_BatchDeleteClusterNodesCommand = async (input, context) => {
28
+ const headers = sharedHeaders("BatchDeleteClusterNodes");
29
+ let body;
30
+ body = JSON.stringify(_json(input));
31
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
32
+ };
27
33
  export const se_BatchDescribeModelPackageCommand = async (input, context) => {
28
34
  const headers = sharedHeaders("BatchDescribeModelPackage");
29
35
  let body;
@@ -2055,6 +2061,19 @@ export const de_AssociateTrialComponentCommand = async (output, context) => {
2055
2061
  };
2056
2062
  return response;
2057
2063
  };
2064
+ export const de_BatchDeleteClusterNodesCommand = async (output, context) => {
2065
+ if (output.statusCode >= 300) {
2066
+ return de_CommandError(output, context);
2067
+ }
2068
+ const data = await parseBody(output.body, context);
2069
+ let contents = {};
2070
+ contents = de_BatchDeleteClusterNodesResponse(data, context);
2071
+ const response = {
2072
+ $metadata: deserializeMetadata(output),
2073
+ ...contents,
2074
+ };
2075
+ return response;
2076
+ };
2058
2077
  export const de_BatchDescribeModelPackageCommand = async (output, context) => {
2059
2078
  if (output.statusCode >= 300) {
2060
2079
  return de_CommandError(output, context);
@@ -8295,6 +8314,27 @@ const de_BatchDataCaptureConfig = (output, context) => {
8295
8314
  KmsKeyId: __expectString,
8296
8315
  });
8297
8316
  };
8317
+ const de_BatchDeleteClusterNodesError = (output, context) => {
8318
+ return take(output, {
8319
+ Code: __expectString,
8320
+ Message: __expectString,
8321
+ NodeId: __expectString,
8322
+ });
8323
+ };
8324
+ const de_BatchDeleteClusterNodesErrorList = (output, context) => {
8325
+ const retVal = (output || [])
8326
+ .filter((e) => e != null)
8327
+ .map((entry) => {
8328
+ return de_BatchDeleteClusterNodesError(entry, context);
8329
+ });
8330
+ return retVal;
8331
+ };
8332
+ const de_BatchDeleteClusterNodesResponse = (output, context) => {
8333
+ return take(output, {
8334
+ Failed: (_) => de_BatchDeleteClusterNodesErrorList(_, context),
8335
+ Successful: (_) => de_ClusterNodeIds(_, context),
8336
+ });
8337
+ };
8298
8338
  const de_BatchDescribeModelPackageError = (output, context) => {
8299
8339
  return take(output, {
8300
8340
  ErrorCode: __expectString,
@@ -8677,6 +8717,14 @@ const de_ClusterNodeDetails = (output, context) => {
8677
8717
  ThreadsPerCore: __expectInt32,
8678
8718
  });
8679
8719
  };
8720
+ const de_ClusterNodeIds = (output, context) => {
8721
+ const retVal = (output || [])
8722
+ .filter((e) => e != null)
8723
+ .map((entry) => {
8724
+ return __expectString(entry);
8725
+ });
8726
+ return retVal;
8727
+ };
8680
8728
  const de_ClusterNodeSummaries = (output, context) => {
8681
8729
  const retVal = (output || [])
8682
8730
  .filter((e) => e != null)
@@ -15831,6 +15879,7 @@ const de_TrainingJobSummary = (output, context) => {
15831
15879
  return take(output, {
15832
15880
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15833
15881
  LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15882
+ SecondaryStatus: __expectString,
15834
15883
  TrainingEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
15835
15884
  TrainingJobArn: __expectString,
15836
15885
  TrainingJobName: __expectString,
@@ -2,6 +2,7 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AddAssociationCommandInput, AddAssociationCommandOutput } from "./commands/AddAssociationCommand";
3
3
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
4
4
  import { AssociateTrialComponentCommandInput, AssociateTrialComponentCommandOutput } from "./commands/AssociateTrialComponentCommand";
5
+ import { BatchDeleteClusterNodesCommandInput, BatchDeleteClusterNodesCommandOutput } from "./commands/BatchDeleteClusterNodesCommand";
5
6
  import { BatchDescribeModelPackageCommandInput, BatchDescribeModelPackageCommandOutput } from "./commands/BatchDescribeModelPackageCommand";
6
7
  import { CreateActionCommandInput, CreateActionCommandOutput } from "./commands/CreateActionCommand";
7
8
  import { CreateAlgorithmCommandInput, CreateAlgorithmCommandOutput } from "./commands/CreateAlgorithmCommand";
@@ -354,6 +355,12 @@ export interface SageMaker {
354
355
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options?: __HttpHandlerOptions): Promise<AssociateTrialComponentCommandOutput>;
355
356
  associateTrialComponent(args: AssociateTrialComponentCommandInput, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
356
357
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
358
+ /**
359
+ * @see {@link BatchDeleteClusterNodesCommand}
360
+ */
361
+ batchDeleteClusterNodes(args: BatchDeleteClusterNodesCommandInput, options?: __HttpHandlerOptions): Promise<BatchDeleteClusterNodesCommandOutput>;
362
+ batchDeleteClusterNodes(args: BatchDeleteClusterNodesCommandInput, cb: (err: any, data?: BatchDeleteClusterNodesCommandOutput) => void): void;
363
+ batchDeleteClusterNodes(args: BatchDeleteClusterNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteClusterNodesCommandOutput) => void): void;
357
364
  /**
358
365
  * @see {@link BatchDescribeModelPackageCommand}
359
366
  */