@aws-sdk/client-sagemaker 3.682.0 → 3.684.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 (74) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +140 -24
  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 -2
  8. package/dist-es/models/models_2.js +0 -8
  9. package/dist-es/models/models_3.js +8 -5
  10. package/dist-es/models/models_4.js +5 -5
  11. package/dist-es/models/models_5.js +5 -1
  12. package/dist-es/protocols/Aws_json1_1.js +59 -0
  13. package/dist-types/SageMaker.d.ts +7 -0
  14. package/dist-types/SageMakerClient.d.ts +3 -2
  15. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +102 -0
  16. package/dist-types/commands/CreateAlgorithmCommand.d.ts +4 -4
  17. package/dist-types/commands/CreateAppCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  19. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +8 -8
  20. package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -0
  21. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +2 -1
  22. package/dist-types/commands/CreatePipelineCommand.d.ts +1 -1
  23. package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +12 -3
  24. package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -2
  25. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -3
  26. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +8 -8
  29. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -2
  31. package/dist-types/commands/DescribeModelPackageCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +2 -2
  33. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
  34. package/dist-types/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  35. package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -2
  36. package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -0
  37. package/dist-types/commands/SearchCommand.d.ts +13 -8
  38. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +5 -0
  40. package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
  41. package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateWorkteamCommand.d.ts +1 -2
  44. package/dist-types/commands/index.d.ts +1 -0
  45. package/dist-types/models/models_0.d.ts +116 -168
  46. package/dist-types/models/models_1.d.ts +215 -134
  47. package/dist-types/models/models_2.d.ts +117 -160
  48. package/dist-types/models/models_3.d.ts +161 -172
  49. package/dist-types/models/models_4.d.ts +201 -128
  50. package/dist-types/models/models_5.d.ts +127 -2
  51. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  52. package/dist-types/ts3.4/SageMaker.d.ts +17 -0
  53. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  54. package/dist-types/ts3.4/commands/BatchDeleteClusterNodesCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +4 -2
  61. package/dist-types/ts3.4/commands/ListMlflowTrackingServersCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ListModelBiasJobDefinitionsCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UpdateWorkteamCommand.d.ts +4 -2
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +55 -26
  68. package/dist-types/ts3.4/models/models_1.d.ts +32 -25
  69. package/dist-types/ts3.4/models/models_2.d.ts +25 -43
  70. package/dist-types/ts3.4/models/models_3.d.ts +47 -44
  71. package/dist-types/ts3.4/models/models_4.d.ts +49 -35
  72. package/dist-types/ts3.4/models/models_5.d.ts +38 -2
  73. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  74. package/package.json +1 -1
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",
@@ -1411,7 +1429,6 @@ var TrainingInstanceType = {
1411
1429
  ML_P3_8XLARGE: "ml.p3.8xlarge",
1412
1430
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
1413
1431
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
1414
- ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
1415
1432
  ML_P5E_48XLARGE: "ml.p5e.48xlarge",
1416
1433
  ML_P5_48XLARGE: "ml.p5.48xlarge",
1417
1434
  ML_R5D_12XLARGE: "ml.r5d.12xlarge",
@@ -1436,8 +1453,7 @@ var TrainingInstanceType = {
1436
1453
  ML_T3_XLARGE: "ml.t3.xlarge",
1437
1454
  ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
1438
1455
  ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
1439
- ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
1440
- ML_TRN2_48XLARGE: "ml.trn2.48xlarge"
1456
+ ML_TRN1_32XLARGE: "ml.trn1.32xlarge"
1441
1457
  };
1442
1458
  var BatchStrategy = {
1443
1459
  MULTI_RECORD: "MultiRecord",
@@ -1889,6 +1905,11 @@ var AwsManagedHumanLoopRequestSource = {
1889
1905
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
1890
1906
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1"
1891
1907
  };
1908
+ var BatchDeleteClusterNodesErrorCode = {
1909
+ INVALID_NODE_STATUS: "InvalidNodeStatus",
1910
+ NODE_ID_IN_USE: "NodeIdInUse",
1911
+ NODE_ID_NOT_FOUND: "NodeIdNotFound"
1912
+ };
1892
1913
  var ModelApprovalStatus = {
1893
1914
  APPROVED: "Approved",
1894
1915
  PENDING_MANUAL_APPROVAL: "PendingManualApproval",
@@ -2042,6 +2063,24 @@ var ClusterInstanceType = {
2042
2063
  ML_G5_4XLARGE: "ml.g5.4xlarge",
2043
2064
  ML_G5_8XLARGE: "ml.g5.8xlarge",
2044
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",
2045
2084
  ML_M5_12XLARGE: "ml.m5.12xlarge",
2046
2085
  ML_M5_16XLARGE: "ml.m5.16xlarge",
2047
2086
  ML_M5_24XLARGE: "ml.m5.24xlarge",
@@ -2052,6 +2091,7 @@ var ClusterInstanceType = {
2052
2091
  ML_M5_XLARGE: "ml.m5.xlarge",
2053
2092
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
2054
2093
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
2094
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
2055
2095
  ML_P5_48XLARGE: "ml.p5.48xlarge",
2056
2096
  ML_T3_2XLARGE: "ml.t3.2xlarge",
2057
2097
  ML_T3_LARGE: "ml.t3.large",
@@ -2809,8 +2849,8 @@ var JoinSource = {
2809
2849
  NONE: "None"
2810
2850
  };
2811
2851
  var TrialComponentParameterValue;
2812
- ((TrialComponentParameterValue3) => {
2813
- TrialComponentParameterValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
2852
+ ((TrialComponentParameterValue2) => {
2853
+ TrialComponentParameterValue2.visit = /* @__PURE__ */ __name((value, visitor) => {
2814
2854
  if (value.StringValue !== void 0)
2815
2855
  return visitor.StringValue(value.StringValue);
2816
2856
  if (value.NumberValue !== void 0)
@@ -3025,14 +3065,6 @@ var RecommendationJobStatus = {
3025
3065
  STOPPED: "STOPPED",
3026
3066
  STOPPING: "STOPPING"
3027
3067
  };
3028
- var LabelingJobStatus = {
3029
- COMPLETED: "Completed",
3030
- FAILED: "Failed",
3031
- INITIALIZING: "Initializing",
3032
- IN_PROGRESS: "InProgress",
3033
- STOPPED: "Stopped",
3034
- STOPPING: "Stopping"
3035
- };
3036
3068
  var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3037
3069
  ...obj,
3038
3070
  ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
@@ -3061,6 +3093,12 @@ var se_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (input, con
3061
3093
  body = JSON.stringify((0, import_smithy_client._json)(input));
3062
3094
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3063
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");
3064
3102
  var se_BatchDescribeModelPackageCommand = /* @__PURE__ */ __name(async (input, context) => {
3065
3103
  const headers = sharedHeaders("BatchDescribeModelPackage");
3066
3104
  let body;
@@ -5092,6 +5130,19 @@ var de_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (output, co
5092
5130
  };
5093
5131
  return response;
5094
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");
5095
5146
  var de_BatchDescribeModelPackageCommand = /* @__PURE__ */ __name(async (output, context) => {
5096
5147
  if (output.statusCode >= 300) {
5097
5148
  return de_CommandError(output, context);
@@ -9488,6 +9539,7 @@ var se_CreateModelPackageInput = /* @__PURE__ */ __name((input, context) => {
9488
9539
  MetadataProperties: import_smithy_client._json,
9489
9540
  ModelApprovalStatus: [],
9490
9541
  ModelCard: import_smithy_client._json,
9542
+ ModelLifeCycle: import_smithy_client._json,
9491
9543
  ModelMetrics: import_smithy_client._json,
9492
9544
  ModelPackageDescription: [],
9493
9545
  ModelPackageGroupName: [],
@@ -11280,6 +11332,25 @@ var de_BatchDataCaptureConfig = /* @__PURE__ */ __name((output, context) => {
11280
11332
  KmsKeyId: import_smithy_client.expectString
11281
11333
  });
11282
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");
11283
11354
  var de_BatchDescribeModelPackageError = /* @__PURE__ */ __name((output, context) => {
11284
11355
  return (0, import_smithy_client.take)(output, {
11285
11356
  ErrorCode: import_smithy_client.expectString,
@@ -11641,6 +11712,12 @@ var de_ClusterNodeDetails = /* @__PURE__ */ __name((output, context) => {
11641
11712
  ThreadsPerCore: import_smithy_client.expectInt32
11642
11713
  });
11643
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");
11644
11721
  var de_ClusterNodeSummaries = /* @__PURE__ */ __name((output, context) => {
11645
11722
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
11646
11723
  return de_ClusterNodeSummary(entry, context);
@@ -13226,6 +13303,7 @@ var de_DescribeModelPackageOutput = /* @__PURE__ */ __name((output, context) =>
13226
13303
  MetadataProperties: (_) => de_MetadataProperties(_, context),
13227
13304
  ModelApprovalStatus: import_smithy_client.expectString,
13228
13305
  ModelCard: (_) => de_ModelPackageModelCard(_, context),
13306
+ ModelLifeCycle: (_) => de_ModelLifeCycle(_, context),
13229
13307
  ModelMetrics: (_) => de_ModelMetrics(_, context),
13230
13308
  ModelPackageArn: import_smithy_client.expectString,
13231
13309
  ModelPackageDescription: import_smithy_client.expectString,
@@ -16110,6 +16188,13 @@ var de_ModelLatencyThresholds = /* @__PURE__ */ __name((output, context) => {
16110
16188
  });
16111
16189
  return retVal;
16112
16190
  }, "de_ModelLatencyThresholds");
16191
+ var de_ModelLifeCycle = /* @__PURE__ */ __name((output, context) => {
16192
+ return (0, import_smithy_client.take)(output, {
16193
+ Stage: import_smithy_client.expectString,
16194
+ StageDescription: import_smithy_client.expectString,
16195
+ StageStatus: import_smithy_client.expectString
16196
+ });
16197
+ }, "de_ModelLifeCycle");
16113
16198
  var de_ModelMetadataSummaries = /* @__PURE__ */ __name((output, context) => {
16114
16199
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
16115
16200
  return de_ModelMetadataSummary(entry, context);
@@ -16149,6 +16234,7 @@ var de_ModelPackage = /* @__PURE__ */ __name((output, context) => {
16149
16234
  MetadataProperties: (_) => de_MetadataProperties(_, context),
16150
16235
  ModelApprovalStatus: import_smithy_client.expectString,
16151
16236
  ModelCard: (_) => de_ModelPackageModelCard(_, context),
16237
+ ModelLifeCycle: (_) => de_ModelLifeCycle(_, context),
16152
16238
  ModelMetrics: (_) => de_ModelMetrics(_, context),
16153
16239
  ModelPackageArn: import_smithy_client.expectString,
16154
16240
  ModelPackageDescription: import_smithy_client.expectString,
@@ -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
 
@@ -21296,6 +21397,14 @@ var DescribeModelBiasJobDefinitionCommand = _DescribeModelBiasJobDefinitionComma
21296
21397
 
21297
21398
  // src/models/models_3.ts
21298
21399
 
21400
+ var LabelingJobStatus = {
21401
+ COMPLETED: "Completed",
21402
+ FAILED: "Failed",
21403
+ INITIALIZING: "Initializing",
21404
+ IN_PROGRESS: "InProgress",
21405
+ STOPPED: "Stopped",
21406
+ STOPPING: "Stopping"
21407
+ };
21299
21408
  var IsTrackingServerActive = {
21300
21409
  ACTIVE: "Active",
21301
21410
  INACTIVE: "Inactive"
@@ -21685,11 +21794,6 @@ var SortLineageGroupsBy = {
21685
21794
  CREATION_TIME: "CreationTime",
21686
21795
  NAME: "Name"
21687
21796
  };
21688
- var SortTrackingServerBy = {
21689
- CREATION_TIME: "CreationTime",
21690
- NAME: "Name",
21691
- STATUS: "Status"
21692
- };
21693
21797
  var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
21694
21798
  ...obj,
21695
21799
  ...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
@@ -23355,6 +23459,11 @@ var RetryPipelineExecutionCommand = _RetryPipelineExecutionCommand;
23355
23459
 
23356
23460
  // src/models/models_4.ts
23357
23461
 
23462
+ var SortTrackingServerBy = {
23463
+ CREATION_TIME: "CreationTime",
23464
+ NAME: "Name",
23465
+ STATUS: "Status"
23466
+ };
23358
23467
  var ModelCardExportJobSortBy = {
23359
23468
  CREATION_TIME: "CreationTime",
23360
23469
  NAME: "Name",
@@ -23546,10 +23655,6 @@ var UpdateModelPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
23546
23655
  ...obj,
23547
23656
  ...obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }
23548
23657
  }), "UpdateModelPackageInputFilterSensitiveLog");
23549
- var UpdateWorkforceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
23550
- ...obj,
23551
- ...obj.OidcConfig && { OidcConfig: OidcConfigFilterSensitiveLog(obj.OidcConfig) }
23552
- }), "UpdateWorkforceRequestFilterSensitiveLog");
23553
23658
 
23554
23659
  // src/commands/SearchCommand.ts
23555
23660
  var _SearchCommand = class _SearchCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
@@ -24406,6 +24511,14 @@ var UpdateUserProfileCommand = _UpdateUserProfileCommand;
24406
24511
 
24407
24512
 
24408
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
24409
24522
  var _UpdateWorkforceCommand = class _UpdateWorkforceCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
24410
24523
  return [
24411
24524
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -24435,6 +24548,7 @@ var commands = {
24435
24548
  AddAssociationCommand,
24436
24549
  AddTagsCommand,
24437
24550
  AssociateTrialComponentCommand,
24551
+ BatchDeleteClusterNodesCommand,
24438
24552
  BatchDescribeModelPackageCommand,
24439
24553
  CreateActionCommand,
24440
24554
  CreateAlgorithmCommand,
@@ -25630,6 +25744,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
25630
25744
  AddAssociationCommand,
25631
25745
  AddTagsCommand,
25632
25746
  AssociateTrialComponentCommand,
25747
+ BatchDeleteClusterNodesCommand,
25633
25748
  BatchDescribeModelPackageCommand,
25634
25749
  CreateActionCommand,
25635
25750
  CreateAlgorithmCommand,
@@ -26126,6 +26241,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
26126
26241
  AutoMountHomeEFS,
26127
26242
  AutotuneMode,
26128
26243
  AwsManagedHumanLoopRequestSource,
26244
+ BatchDeleteClusterNodesErrorCode,
26129
26245
  ModelApprovalStatus,
26130
26246
  ModelPackageStatus,
26131
26247
  ProcessingS3DataDistributionType,
@@ -26260,9 +26376,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
26260
26376
  ModelVariantStatus,
26261
26377
  InferenceExperimentStatus,
26262
26378
  RecommendationJobStatus,
26263
- LabelingJobStatus,
26264
26379
  OidcConfigFilterSensitiveLog,
26265
26380
  CreateWorkforceRequestFilterSensitiveLog,
26381
+ LabelingJobStatus,
26266
26382
  IsTrackingServerActive,
26267
26383
  TrackingServerStatus,
26268
26384
  ModelCardProcessingStatus,
@@ -26323,9 +26439,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
26323
26439
  SortBy,
26324
26440
  ListLabelingJobsForWorkteamSortByOptions,
26325
26441
  SortLineageGroupsBy,
26326
- SortTrackingServerBy,
26327
26442
  DescribeModelCardResponseFilterSensitiveLog,
26328
26443
  DescribeModelPackageOutputFilterSensitiveLog,
26444
+ SortTrackingServerBy,
26329
26445
  ModelCardExportJobSortBy,
26330
26446
  ModelCardExportJobSortOrder,
26331
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",
@@ -463,7 +479,6 @@ export const TrainingInstanceType = {
463
479
  ML_P3_8XLARGE: "ml.p3.8xlarge",
464
480
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
465
481
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
466
- ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
467
482
  ML_P5E_48XLARGE: "ml.p5e.48xlarge",
468
483
  ML_P5_48XLARGE: "ml.p5.48xlarge",
469
484
  ML_R5D_12XLARGE: "ml.r5d.12xlarge",
@@ -489,7 +504,6 @@ export const TrainingInstanceType = {
489
504
  ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
490
505
  ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
491
506
  ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
492
- ML_TRN2_48XLARGE: "ml.trn2.48xlarge",
493
507
  };
494
508
  export const BatchStrategy = {
495
509
  MULTI_RECORD: "MultiRecord",
@@ -941,6 +955,11 @@ export const AwsManagedHumanLoopRequestSource = {
941
955
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
942
956
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
943
957
  };
958
+ export const BatchDeleteClusterNodesErrorCode = {
959
+ INVALID_NODE_STATUS: "InvalidNodeStatus",
960
+ NODE_ID_IN_USE: "NodeIdInUse",
961
+ NODE_ID_NOT_FOUND: "NodeIdNotFound",
962
+ };
944
963
  export const ModelApprovalStatus = {
945
964
  APPROVED: "Approved",
946
965
  PENDING_MANUAL_APPROVAL: "PendingManualApproval",
@@ -1094,6 +1113,24 @@ export const ClusterInstanceType = {
1094
1113
  ML_G5_4XLARGE: "ml.g5.4xlarge",
1095
1114
  ML_G5_8XLARGE: "ml.g5.8xlarge",
1096
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",
1097
1134
  ML_M5_12XLARGE: "ml.m5.12xlarge",
1098
1135
  ML_M5_16XLARGE: "ml.m5.16xlarge",
1099
1136
  ML_M5_24XLARGE: "ml.m5.24xlarge",
@@ -1104,6 +1141,7 @@ export const ClusterInstanceType = {
1104
1141
  ML_M5_XLARGE: "ml.m5.xlarge",
1105
1142
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
1106
1143
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
1144
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
1107
1145
  ML_P5_48XLARGE: "ml.p5.48xlarge",
1108
1146
  ML_T3_2XLARGE: "ml.t3.2xlarge",
1109
1147
  ML_T3_LARGE: "ml.t3.large",
@@ -265,14 +265,6 @@ export const RecommendationJobStatus = {
265
265
  STOPPED: "STOPPED",
266
266
  STOPPING: "STOPPING",
267
267
  };
268
- export const LabelingJobStatus = {
269
- COMPLETED: "Completed",
270
- FAILED: "Failed",
271
- INITIALIZING: "Initializing",
272
- IN_PROGRESS: "InProgress",
273
- STOPPED: "Stopped",
274
- STOPPING: "Stopping",
275
- };
276
268
  export const OidcConfigFilterSensitiveLog = (obj) => ({
277
269
  ...obj,
278
270
  ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
@@ -1,5 +1,13 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
+ export const LabelingJobStatus = {
4
+ COMPLETED: "Completed",
5
+ FAILED: "Failed",
6
+ INITIALIZING: "Initializing",
7
+ IN_PROGRESS: "InProgress",
8
+ STOPPED: "Stopped",
9
+ STOPPING: "Stopping",
10
+ };
3
11
  export const IsTrackingServerActive = {
4
12
  ACTIVE: "Active",
5
13
  INACTIVE: "Inactive",
@@ -389,11 +397,6 @@ export const SortLineageGroupsBy = {
389
397
  CREATION_TIME: "CreationTime",
390
398
  NAME: "Name",
391
399
  };
392
- export const SortTrackingServerBy = {
393
- CREATION_TIME: "CreationTime",
394
- NAME: "Name",
395
- STATUS: "Status",
396
- };
397
400
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
398
401
  ...obj,
399
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
+ });