@aws-sdk/client-sagemaker 3.859.0 → 3.861.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 (104) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +596 -125
  3. package/dist-es/SageMaker.js +10 -0
  4. package/dist-es/commands/AttachClusterNodeVolumeCommand.js +22 -0
  5. package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
  6. package/dist-es/commands/CreateModelCardCommand.js +1 -1
  7. package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
  8. package/dist-es/commands/DetachClusterNodeVolumeCommand.js +22 -0
  9. package/dist-es/commands/ListClusterEventsCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +45 -101
  12. package/dist-es/models/models_1.js +94 -15
  13. package/dist-es/models/models_2.js +14 -40
  14. package/dist-es/models/models_3.js +43 -40
  15. package/dist-es/models/models_4.js +40 -14
  16. package/dist-es/models/models_5.js +14 -2
  17. package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_json1_1.js +339 -0
  20. package/dist-types/SageMaker.d.ts +35 -0
  21. package/dist-types/SageMakerClient.d.ts +7 -2
  22. package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +82 -0
  23. package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
  24. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
  25. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  26. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
  32. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
  33. package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
  34. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  41. package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +82 -0
  42. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
  43. package/dist-types/commands/ListActionsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  46. package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
  47. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
  48. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  49. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  50. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  51. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  54. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
  55. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  56. package/dist-types/commands/index.d.ts +5 -0
  57. package/dist-types/models/models_0.d.ts +657 -531
  58. package/dist-types/models/models_1.d.ts +3755 -3694
  59. package/dist-types/models/models_2.d.ts +3169 -3559
  60. package/dist-types/models/models_3.d.ts +4492 -4376
  61. package/dist-types/models/models_4.d.ts +3841 -3859
  62. package/dist-types/models/models_5.d.ts +905 -5
  63. package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  66. package/dist-types/ts3.4/SageMaker.d.ts +85 -0
  67. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  68. package/dist-types/ts3.4/commands/AttachClusterNodeVolumeCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/DetachClusterNodeVolumeCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +208 -204
  96. package/dist-types/ts3.4/models/models_1.d.ts +194 -132
  97. package/dist-types/ts3.4/models/models_2.d.ts +135 -248
  98. package/dist-types/ts3.4/models/models_3.d.ts +262 -229
  99. package/dist-types/ts3.4/models/models_4.d.ts +257 -266
  100. package/dist-types/ts3.4/models/models_5.d.ts +242 -21
  101. package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  103. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  104. package/package.json +1 -1
@@ -24,6 +24,18 @@ 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_AttachClusterNodeVolumeCommand = async (input, context) => {
28
+ const headers = sharedHeaders("AttachClusterNodeVolume");
29
+ let body;
30
+ body = JSON.stringify(_json(input));
31
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
32
+ };
33
+ export const se_BatchAddClusterNodesCommand = async (input, context) => {
34
+ const headers = sharedHeaders("BatchAddClusterNodes");
35
+ let body;
36
+ body = JSON.stringify(se_BatchAddClusterNodesRequest(input, context));
37
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
38
+ };
27
39
  export const se_BatchDeleteClusterNodesCommand = async (input, context) => {
28
40
  const headers = sharedHeaders("BatchDeleteClusterNodes");
29
41
  let body;
@@ -816,6 +828,12 @@ export const se_DescribeClusterCommand = async (input, context) => {
816
828
  body = JSON.stringify(_json(input));
817
829
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
818
830
  };
831
+ export const se_DescribeClusterEventCommand = async (input, context) => {
832
+ const headers = sharedHeaders("DescribeClusterEvent");
833
+ let body;
834
+ body = JSON.stringify(_json(input));
835
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
836
+ };
819
837
  export const se_DescribeClusterNodeCommand = async (input, context) => {
820
838
  const headers = sharedHeaders("DescribeClusterNode");
821
839
  let body;
@@ -1170,6 +1188,12 @@ export const se_DescribeWorkteamCommand = async (input, context) => {
1170
1188
  body = JSON.stringify(_json(input));
1171
1189
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1172
1190
  };
1191
+ export const se_DetachClusterNodeVolumeCommand = async (input, context) => {
1192
+ const headers = sharedHeaders("DetachClusterNodeVolume");
1193
+ let body;
1194
+ body = JSON.stringify(_json(input));
1195
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1196
+ };
1173
1197
  export const se_DisableSagemakerServicecatalogPortfolioCommand = async (input, context) => {
1174
1198
  const headers = sharedHeaders("DisableSagemakerServicecatalogPortfolio");
1175
1199
  let body;
@@ -1284,6 +1308,12 @@ export const se_ListCandidatesForAutoMLJobCommand = async (input, context) => {
1284
1308
  body = JSON.stringify(_json(input));
1285
1309
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1286
1310
  };
1311
+ export const se_ListClusterEventsCommand = async (input, context) => {
1312
+ const headers = sharedHeaders("ListClusterEvents");
1313
+ let body;
1314
+ body = JSON.stringify(se_ListClusterEventsRequest(input, context));
1315
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1316
+ };
1287
1317
  export const se_ListClusterNodesCommand = async (input, context) => {
1288
1318
  const headers = sharedHeaders("ListClusterNodes");
1289
1319
  let body;
@@ -2217,6 +2247,32 @@ export const de_AssociateTrialComponentCommand = async (output, context) => {
2217
2247
  };
2218
2248
  return response;
2219
2249
  };
2250
+ export const de_AttachClusterNodeVolumeCommand = async (output, context) => {
2251
+ if (output.statusCode >= 300) {
2252
+ return de_CommandError(output, context);
2253
+ }
2254
+ const data = await parseBody(output.body, context);
2255
+ let contents = {};
2256
+ contents = de_AttachClusterNodeVolumeResponse(data, context);
2257
+ const response = {
2258
+ $metadata: deserializeMetadata(output),
2259
+ ...contents,
2260
+ };
2261
+ return response;
2262
+ };
2263
+ export const de_BatchAddClusterNodesCommand = async (output, context) => {
2264
+ if (output.statusCode >= 300) {
2265
+ return de_CommandError(output, context);
2266
+ }
2267
+ const data = await parseBody(output.body, context);
2268
+ let contents = {};
2269
+ contents = de_BatchAddClusterNodesResponse(data, context);
2270
+ const response = {
2271
+ $metadata: deserializeMetadata(output),
2272
+ ...contents,
2273
+ };
2274
+ return response;
2275
+ };
2220
2276
  export const de_BatchDeleteClusterNodesCommand = async (output, context) => {
2221
2277
  if (output.statusCode >= 300) {
2222
2278
  return de_CommandError(output, context);
@@ -3813,6 +3869,19 @@ export const de_DescribeClusterCommand = async (output, context) => {
3813
3869
  };
3814
3870
  return response;
3815
3871
  };
3872
+ export const de_DescribeClusterEventCommand = async (output, context) => {
3873
+ if (output.statusCode >= 300) {
3874
+ return de_CommandError(output, context);
3875
+ }
3876
+ const data = await parseBody(output.body, context);
3877
+ let contents = {};
3878
+ contents = de_DescribeClusterEventResponse(data, context);
3879
+ const response = {
3880
+ $metadata: deserializeMetadata(output),
3881
+ ...contents,
3882
+ };
3883
+ return response;
3884
+ };
3816
3885
  export const de_DescribeClusterNodeCommand = async (output, context) => {
3817
3886
  if (output.statusCode >= 300) {
3818
3887
  return de_CommandError(output, context);
@@ -4580,6 +4649,19 @@ export const de_DescribeWorkteamCommand = async (output, context) => {
4580
4649
  };
4581
4650
  return response;
4582
4651
  };
4652
+ export const de_DetachClusterNodeVolumeCommand = async (output, context) => {
4653
+ if (output.statusCode >= 300) {
4654
+ return de_CommandError(output, context);
4655
+ }
4656
+ const data = await parseBody(output.body, context);
4657
+ let contents = {};
4658
+ contents = de_DetachClusterNodeVolumeResponse(data, context);
4659
+ const response = {
4660
+ $metadata: deserializeMetadata(output),
4661
+ ...contents,
4662
+ };
4663
+ return response;
4664
+ };
4583
4665
  export const de_DisableSagemakerServicecatalogPortfolioCommand = async (output, context) => {
4584
4666
  if (output.statusCode >= 300) {
4585
4667
  return de_CommandError(output, context);
@@ -4827,6 +4909,19 @@ export const de_ListCandidatesForAutoMLJobCommand = async (output, context) => {
4827
4909
  };
4828
4910
  return response;
4829
4911
  };
4912
+ export const de_ListClusterEventsCommand = async (output, context) => {
4913
+ if (output.statusCode >= 300) {
4914
+ return de_CommandError(output, context);
4915
+ }
4916
+ const data = await parseBody(output.body, context);
4917
+ let contents = {};
4918
+ contents = de_ListClusterEventsResponse(data, context);
4919
+ const response = {
4920
+ $metadata: deserializeMetadata(output),
4921
+ ...contents,
4922
+ };
4923
+ return response;
4924
+ };
4830
4925
  export const de_ListClusterNodesCommand = async (output, context) => {
4831
4926
  if (output.statusCode >= 300) {
4832
4927
  return de_CommandError(output, context);
@@ -6782,6 +6877,13 @@ const se_AutoMLJobConfig = (input, context) => {
6782
6877
  SecurityConfig: _json,
6783
6878
  });
6784
6879
  };
6880
+ const se_BatchAddClusterNodesRequest = (input, context) => {
6881
+ return take(input, {
6882
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
6883
+ ClusterName: [],
6884
+ NodesToAdd: _json,
6885
+ });
6886
+ };
6785
6887
  const se_BatchTransformInput = (input, context) => {
6786
6888
  return take(input, {
6787
6889
  DataCapturedDestinationS3Uri: [],
@@ -7206,11 +7308,26 @@ const se_ListAutoMLJobsRequest = (input, context) => {
7206
7308
  StatusEquals: [],
7207
7309
  });
7208
7310
  };
7311
+ const se_ListClusterEventsRequest = (input, context) => {
7312
+ return take(input, {
7313
+ ClusterName: [],
7314
+ EventTimeAfter: (_) => _.getTime() / 1_000,
7315
+ EventTimeBefore: (_) => _.getTime() / 1_000,
7316
+ InstanceGroupName: [],
7317
+ MaxResults: [],
7318
+ NextToken: [],
7319
+ NodeId: [],
7320
+ ResourceType: [],
7321
+ SortBy: [],
7322
+ SortOrder: [],
7323
+ });
7324
+ };
7209
7325
  const se_ListClusterNodesRequest = (input, context) => {
7210
7326
  return take(input, {
7211
7327
  ClusterName: [],
7212
7328
  CreationTimeAfter: (_) => _.getTime() / 1_000,
7213
7329
  CreationTimeBefore: (_) => _.getTime() / 1_000,
7330
+ IncludeNodeLogicalIds: [],
7214
7331
  InstanceGroupNameContains: [],
7215
7332
  MaxResults: [],
7216
7333
  NextToken: [],
@@ -8252,6 +8369,11 @@ const de_AdditionalCodeRepositoryNamesOrUrls = (output, context) => {
8252
8369
  });
8253
8370
  return retVal;
8254
8371
  };
8372
+ const de_AdditionalEnis = (output, context) => {
8373
+ return take(output, {
8374
+ EfaEnis: (_) => de_EfaEnis(_, context),
8375
+ });
8376
+ };
8255
8377
  const de_AdditionalInferenceSpecificationDefinition = (output, context) => {
8256
8378
  return take(output, {
8257
8379
  Containers: (_) => de_ModelPackageContainerDefinitionList(_, context),
@@ -8591,6 +8713,16 @@ const de_AthenaDatasetDefinition = (output, context) => {
8591
8713
  WorkGroup: __expectString,
8592
8714
  });
8593
8715
  };
8716
+ const de_AttachClusterNodeVolumeResponse = (output, context) => {
8717
+ return take(output, {
8718
+ AttachTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8719
+ ClusterArn: __expectString,
8720
+ DeviceName: __expectString,
8721
+ NodeId: __expectString,
8722
+ Status: __expectString,
8723
+ VolumeId: __expectString,
8724
+ });
8725
+ };
8594
8726
  const de_AttributeNames = (output, context) => {
8595
8727
  const retVal = (output || [])
8596
8728
  .filter((e) => e != null)
@@ -8918,6 +9050,28 @@ const de_Autotune = (output, context) => {
8918
9050
  Mode: __expectString,
8919
9051
  });
8920
9052
  };
9053
+ const de_BatchAddClusterNodesError = (output, context) => {
9054
+ return take(output, {
9055
+ ErrorCode: __expectString,
9056
+ FailedCount: __expectInt32,
9057
+ InstanceGroupName: __expectString,
9058
+ Message: __expectString,
9059
+ });
9060
+ };
9061
+ const de_BatchAddClusterNodesErrorList = (output, context) => {
9062
+ const retVal = (output || [])
9063
+ .filter((e) => e != null)
9064
+ .map((entry) => {
9065
+ return de_BatchAddClusterNodesError(entry, context);
9066
+ });
9067
+ return retVal;
9068
+ };
9069
+ const de_BatchAddClusterNodesResponse = (output, context) => {
9070
+ return take(output, {
9071
+ Failed: (_) => de_BatchAddClusterNodesErrorList(_, context),
9072
+ Successful: (_) => de_NodeAdditionResultList(_, context),
9073
+ });
9074
+ };
8921
9075
  const de_BatchDataCaptureConfig = (output, context) => {
8922
9076
  return take(output, {
8923
9077
  DestinationS3Uri: __expectString,
@@ -8925,6 +9079,21 @@ const de_BatchDataCaptureConfig = (output, context) => {
8925
9079
  KmsKeyId: __expectString,
8926
9080
  });
8927
9081
  };
9082
+ const de_BatchDeleteClusterNodeLogicalIdsError = (output, context) => {
9083
+ return take(output, {
9084
+ Code: __expectString,
9085
+ Message: __expectString,
9086
+ NodeLogicalId: __expectString,
9087
+ });
9088
+ };
9089
+ const de_BatchDeleteClusterNodeLogicalIdsErrorList = (output, context) => {
9090
+ const retVal = (output || [])
9091
+ .filter((e) => e != null)
9092
+ .map((entry) => {
9093
+ return de_BatchDeleteClusterNodeLogicalIdsError(entry, context);
9094
+ });
9095
+ return retVal;
9096
+ };
8928
9097
  const de_BatchDeleteClusterNodesError = (output, context) => {
8929
9098
  return take(output, {
8930
9099
  Code: __expectString,
@@ -8943,7 +9112,9 @@ const de_BatchDeleteClusterNodesErrorList = (output, context) => {
8943
9112
  const de_BatchDeleteClusterNodesResponse = (output, context) => {
8944
9113
  return take(output, {
8945
9114
  Failed: (_) => de_BatchDeleteClusterNodesErrorList(_, context),
9115
+ FailedNodeLogicalIds: (_) => de_BatchDeleteClusterNodeLogicalIdsErrorList(_, context),
8946
9116
  Successful: (_) => de_ClusterNodeIds(_, context),
9117
+ SuccessfulNodeLogicalIds: (_) => de_ClusterNodeLogicalIdList(_, context),
8947
9118
  });
8948
9119
  };
8949
9120
  const de_BatchDescribeModelPackageError = (output, context) => {
@@ -9064,6 +9235,12 @@ const de_CanvasAppSettings = (output, context) => {
9064
9235
  WorkspaceSettings: (_) => de_WorkspaceSettings(_, context),
9065
9236
  });
9066
9237
  };
9238
+ const de_CapacityReservation = (output, context) => {
9239
+ return take(output, {
9240
+ Arn: __expectString,
9241
+ Type: __expectString,
9242
+ });
9243
+ };
9067
9244
  const de_CapacitySize = (output, context) => {
9068
9245
  return take(output, {
9069
9246
  Type: __expectString,
@@ -9294,9 +9471,44 @@ const de_ClusterEbsVolumeConfig = (output, context) => {
9294
9471
  VolumeSizeInGB: __expectInt32,
9295
9472
  });
9296
9473
  };
9474
+ const de_ClusterEventDetail = (output, context) => {
9475
+ return take(output, {
9476
+ ClusterArn: __expectString,
9477
+ ClusterName: __expectString,
9478
+ Description: __expectString,
9479
+ EventDetails: (_) => de_EventDetails(_, context),
9480
+ EventId: __expectString,
9481
+ EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9482
+ InstanceGroupName: __expectString,
9483
+ InstanceId: __expectString,
9484
+ ResourceType: __expectString,
9485
+ });
9486
+ };
9487
+ const de_ClusterEventSummaries = (output, context) => {
9488
+ const retVal = (output || [])
9489
+ .filter((e) => e != null)
9490
+ .map((entry) => {
9491
+ return de_ClusterEventSummary(entry, context);
9492
+ });
9493
+ return retVal;
9494
+ };
9495
+ const de_ClusterEventSummary = (output, context) => {
9496
+ return take(output, {
9497
+ ClusterArn: __expectString,
9498
+ ClusterName: __expectString,
9499
+ Description: __expectString,
9500
+ EventId: __expectString,
9501
+ EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9502
+ InstanceGroupName: __expectString,
9503
+ InstanceId: __expectString,
9504
+ ResourceType: __expectString,
9505
+ });
9506
+ };
9297
9507
  const de_ClusterInstanceGroupDetails = (output, context) => {
9298
9508
  return take(output, {
9299
9509
  CurrentCount: __expectInt32,
9510
+ CurrentImageId: __expectString,
9511
+ DesiredImageId: __expectString,
9300
9512
  ExecutionRole: __expectString,
9301
9513
  InstanceGroupName: __expectString,
9302
9514
  InstanceStorageConfigs: (_) => de_ClusterInstanceStorageConfigs(_, context),
@@ -9354,8 +9566,17 @@ const de_ClusterLifeCycleConfig = (output, context) => {
9354
9566
  SourceS3Uri: __expectString,
9355
9567
  });
9356
9568
  };
9569
+ const de_ClusterMetadata = (output, context) => {
9570
+ return take(output, {
9571
+ EksRoleAccessEntries: (_) => de_EksRoleAccessEntries(_, context),
9572
+ FailureMessage: __expectString,
9573
+ SlrAccessEntry: __expectString,
9574
+ });
9575
+ };
9357
9576
  const de_ClusterNodeDetails = (output, context) => {
9358
9577
  return take(output, {
9578
+ CurrentImageId: __expectString,
9579
+ DesiredImageId: __expectString,
9359
9580
  InstanceGroupName: __expectString,
9360
9581
  InstanceId: __expectString,
9361
9582
  InstanceStatus: (_) => de_ClusterInstanceStatusDetails(_, context),
@@ -9364,6 +9585,7 @@ const de_ClusterNodeDetails = (output, context) => {
9364
9585
  LastSoftwareUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9365
9586
  LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9366
9587
  LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
9588
+ NodeLogicalId: __expectString,
9367
9589
  OverrideVpcConfig: (_) => de_VpcConfig(_, context),
9368
9590
  Placement: (_) => de_ClusterInstancePlacement(_, context),
9369
9591
  PrivateDnsHostname: __expectString,
@@ -9380,6 +9602,14 @@ const de_ClusterNodeIds = (output, context) => {
9380
9602
  });
9381
9603
  return retVal;
9382
9604
  };
9605
+ const de_ClusterNodeLogicalIdList = (output, context) => {
9606
+ const retVal = (output || [])
9607
+ .filter((e) => e != null)
9608
+ .map((entry) => {
9609
+ return __expectString(entry);
9610
+ });
9611
+ return retVal;
9612
+ };
9383
9613
  const de_ClusterNodeSummaries = (output, context) => {
9384
9614
  const retVal = (output || [])
9385
9615
  .filter((e) => e != null)
@@ -9396,6 +9626,7 @@ const de_ClusterNodeSummary = (output, context) => {
9396
9626
  InstanceType: __expectString,
9397
9627
  LastSoftwareUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9398
9628
  LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9629
+ NodeLogicalId: __expectString,
9399
9630
  });
9400
9631
  };
9401
9632
  const de_ClusterOrchestrator = (output, context) => {
@@ -10615,6 +10846,11 @@ const de_DescribeAutoMLJobV2Response = (output, context) => {
10615
10846
  SecurityConfig: (_) => de_AutoMLSecurityConfig(_, context),
10616
10847
  });
10617
10848
  };
10849
+ const de_DescribeClusterEventResponse = (output, context) => {
10850
+ return take(output, {
10851
+ EventDetails: (_) => de_ClusterEventDetail(_, context),
10852
+ });
10853
+ };
10618
10854
  const de_DescribeClusterNodeResponse = (output, context) => {
10619
10855
  return take(output, {
10620
10856
  NodeDetails: (_) => de_ClusterNodeDetails(_, context),
@@ -10628,6 +10864,7 @@ const de_DescribeClusterResponse = (output, context) => {
10628
10864
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10629
10865
  FailureMessage: __expectString,
10630
10866
  InstanceGroups: (_) => de_ClusterInstanceGroupDetailsList(_, context),
10867
+ NodeProvisioningMode: __expectString,
10631
10868
  NodeRecovery: __expectString,
10632
10869
  Orchestrator: (_) => de_ClusterOrchestrator(_, context),
10633
10870
  RestrictedInstanceGroups: (_) => de_ClusterRestrictedInstanceGroupDetailsList(_, context),
@@ -11615,6 +11852,16 @@ const de_DescribeWorkteamResponse = (output, context) => {
11615
11852
  Workteam: (_) => de_Workteam(_, context),
11616
11853
  });
11617
11854
  };
11855
+ const de_DetachClusterNodeVolumeResponse = (output, context) => {
11856
+ return take(output, {
11857
+ AttachTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11858
+ ClusterArn: __expectString,
11859
+ DeviceName: __expectString,
11860
+ NodeId: __expectString,
11861
+ Status: __expectString,
11862
+ VolumeId: __expectString,
11863
+ });
11864
+ };
11618
11865
  const de_DeviceDeploymentSummaries = (output, context) => {
11619
11866
  const retVal = (output || [])
11620
11867
  .filter((e) => e != null)
@@ -11965,6 +12212,14 @@ const de_Edges = (output, context) => {
11965
12212
  });
11966
12213
  return retVal;
11967
12214
  };
12215
+ const de_EfaEnis = (output, context) => {
12216
+ const retVal = (output || [])
12217
+ .filter((e) => e != null)
12218
+ .map((entry) => {
12219
+ return __expectString(entry);
12220
+ });
12221
+ return retVal;
12222
+ };
11968
12223
  const de_EFSFileSystem = (output, context) => {
11969
12224
  return take(output, {
11970
12225
  FileSystemId: __expectString,
@@ -11976,6 +12231,14 @@ const de_EFSFileSystemConfig = (output, context) => {
11976
12231
  FileSystemPath: __expectString,
11977
12232
  });
11978
12233
  };
12234
+ const de_EksRoleAccessEntries = (output, context) => {
12235
+ const retVal = (output || [])
12236
+ .filter((e) => e != null)
12237
+ .map((entry) => {
12238
+ return __expectString(entry);
12239
+ });
12240
+ return retVal;
12241
+ };
11979
12242
  const de_EmrServerlessComputeConfig = (output, context) => {
11980
12243
  return take(output, {
11981
12244
  ExecutionRoleARN: __expectString,
@@ -12178,6 +12441,34 @@ const de_ErrorInfo = (output, context) => {
12178
12441
  Reason: __expectString,
12179
12442
  });
12180
12443
  };
12444
+ const de_EventDetails = (output, context) => {
12445
+ return take(output, {
12446
+ EventMetadata: (_) => de_EventMetadata(__expectUnion(_), context),
12447
+ });
12448
+ };
12449
+ const de_EventMetadata = (output, context) => {
12450
+ if (output.Cluster != null) {
12451
+ return {
12452
+ Cluster: de_ClusterMetadata(output.Cluster, context),
12453
+ };
12454
+ }
12455
+ if (output.Instance != null) {
12456
+ return {
12457
+ Instance: de_InstanceMetadata(output.Instance, context),
12458
+ };
12459
+ }
12460
+ if (output.InstanceGroup != null) {
12461
+ return {
12462
+ InstanceGroup: de_InstanceGroupMetadata(output.InstanceGroup, context),
12463
+ };
12464
+ }
12465
+ if (output.InstanceGroupScaling != null) {
12466
+ return {
12467
+ InstanceGroupScaling: de_InstanceGroupScalingMetadata(output.InstanceGroupScaling, context),
12468
+ };
12469
+ }
12470
+ return { $unknown: Object.entries(output)[0] };
12471
+ };
12181
12472
  const de_ExecutionRoleArns = (output, context) => {
12182
12473
  const retVal = (output || [])
12183
12474
  .filter((e) => e != null)
@@ -13266,6 +13557,16 @@ const de_InstanceGroup = (output, context) => {
13266
13557
  InstanceType: __expectString,
13267
13558
  });
13268
13559
  };
13560
+ const de_InstanceGroupMetadata = (output, context) => {
13561
+ return take(output, {
13562
+ AmiOverride: __expectString,
13563
+ AvailabilityZoneId: __expectString,
13564
+ CapacityReservation: (_) => de_CapacityReservation(_, context),
13565
+ FailureMessage: __expectString,
13566
+ SecurityGroupIds: (_) => de_SecurityGroupIds(_, context),
13567
+ SubnetId: __expectString,
13568
+ });
13569
+ };
13269
13570
  const de_InstanceGroupNames = (output, context) => {
13270
13571
  const retVal = (output || [])
13271
13572
  .filter((e) => e != null)
@@ -13282,6 +13583,23 @@ const de_InstanceGroups = (output, context) => {
13282
13583
  });
13283
13584
  return retVal;
13284
13585
  };
13586
+ const de_InstanceGroupScalingMetadata = (output, context) => {
13587
+ return take(output, {
13588
+ FailureMessage: __expectString,
13589
+ InstanceCount: __expectInt32,
13590
+ TargetCount: __expectInt32,
13591
+ });
13592
+ };
13593
+ const de_InstanceMetadata = (output, context) => {
13594
+ return take(output, {
13595
+ AdditionalEnis: (_) => de_AdditionalEnis(_, context),
13596
+ CapacityReservation: (_) => de_CapacityReservation(_, context),
13597
+ CustomerEni: __expectString,
13598
+ FailureMessage: __expectString,
13599
+ LcsExecutionState: __expectString,
13600
+ NodeLogicalId: __expectString,
13601
+ });
13602
+ };
13285
13603
  const de_InstanceMetadataServiceConfiguration = (output, context) => {
13286
13604
  return take(output, {
13287
13605
  MinimumInstanceMetadataServiceVersion: __expectString,
@@ -13590,6 +13908,12 @@ const de_ListCandidatesForAutoMLJobResponse = (output, context) => {
13590
13908
  NextToken: __expectString,
13591
13909
  });
13592
13910
  };
13911
+ const de_ListClusterEventsResponse = (output, context) => {
13912
+ return take(output, {
13913
+ Events: (_) => de_ClusterEventSummaries(_, context),
13914
+ NextToken: __expectString,
13915
+ });
13916
+ };
13593
13917
  const de_ListClusterNodesResponse = (output, context) => {
13594
13918
  return take(output, {
13595
13919
  ClusterNodeSummaries: (_) => de_ClusterNodeSummaries(_, context),
@@ -14995,6 +15319,21 @@ const de_NetworkConfig = (output, context) => {
14995
15319
  VpcConfig: (_) => de_VpcConfig(_, context),
14996
15320
  });
14997
15321
  };
15322
+ const de_NodeAdditionResult = (output, context) => {
15323
+ return take(output, {
15324
+ InstanceGroupName: __expectString,
15325
+ NodeLogicalId: __expectString,
15326
+ Status: __expectString,
15327
+ });
15328
+ };
15329
+ const de_NodeAdditionResultList = (output, context) => {
15330
+ const retVal = (output || [])
15331
+ .filter((e) => e != null)
15332
+ .map((entry) => {
15333
+ return de_NodeAdditionResult(entry, context);
15334
+ });
15335
+ return retVal;
15336
+ };
14998
15337
  const de_NotebookInstanceAcceleratorTypes = (output, context) => {
14999
15338
  const retVal = (output || [])
15000
15339
  .filter((e) => e != null)
@@ -2,6 +2,8 @@ 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 { AttachClusterNodeVolumeCommandInput, AttachClusterNodeVolumeCommandOutput } from "./commands/AttachClusterNodeVolumeCommand";
6
+ import { BatchAddClusterNodesCommandInput, BatchAddClusterNodesCommandOutput } from "./commands/BatchAddClusterNodesCommand";
5
7
  import { BatchDeleteClusterNodesCommandInput, BatchDeleteClusterNodesCommandOutput } from "./commands/BatchDeleteClusterNodesCommand";
6
8
  import { BatchDescribeModelPackageCommandInput, BatchDescribeModelPackageCommandOutput } from "./commands/BatchDescribeModelPackageCommand";
7
9
  import { CreateActionCommandInput, CreateActionCommandOutput } from "./commands/CreateActionCommand";
@@ -134,6 +136,7 @@ import { DescribeArtifactCommandInput, DescribeArtifactCommandOutput } from "./c
134
136
  import { DescribeAutoMLJobCommandInput, DescribeAutoMLJobCommandOutput } from "./commands/DescribeAutoMLJobCommand";
135
137
  import { DescribeAutoMLJobV2CommandInput, DescribeAutoMLJobV2CommandOutput } from "./commands/DescribeAutoMLJobV2Command";
136
138
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
139
+ import { DescribeClusterEventCommandInput, DescribeClusterEventCommandOutput } from "./commands/DescribeClusterEventCommand";
137
140
  import { DescribeClusterNodeCommandInput, DescribeClusterNodeCommandOutput } from "./commands/DescribeClusterNodeCommand";
138
141
  import { DescribeClusterSchedulerConfigCommandInput, DescribeClusterSchedulerConfigCommandOutput } from "./commands/DescribeClusterSchedulerConfigCommand";
139
142
  import { DescribeCodeRepositoryCommandInput, DescribeCodeRepositoryCommandOutput } from "./commands/DescribeCodeRepositoryCommand";
@@ -193,6 +196,7 @@ import { DescribeTrialComponentCommandInput, DescribeTrialComponentCommandOutput
193
196
  import { DescribeUserProfileCommandInput, DescribeUserProfileCommandOutput } from "./commands/DescribeUserProfileCommand";
194
197
  import { DescribeWorkforceCommandInput, DescribeWorkforceCommandOutput } from "./commands/DescribeWorkforceCommand";
195
198
  import { DescribeWorkteamCommandInput, DescribeWorkteamCommandOutput } from "./commands/DescribeWorkteamCommand";
199
+ import { DetachClusterNodeVolumeCommandInput, DetachClusterNodeVolumeCommandOutput } from "./commands/DetachClusterNodeVolumeCommand";
196
200
  import { DisableSagemakerServicecatalogPortfolioCommandInput, DisableSagemakerServicecatalogPortfolioCommandOutput } from "./commands/DisableSagemakerServicecatalogPortfolioCommand";
197
201
  import { DisassociateTrialComponentCommandInput, DisassociateTrialComponentCommandOutput } from "./commands/DisassociateTrialComponentCommand";
198
202
  import { EnableSagemakerServicecatalogPortfolioCommandInput, EnableSagemakerServicecatalogPortfolioCommandOutput } from "./commands/EnableSagemakerServicecatalogPortfolioCommand";
@@ -212,6 +216,7 @@ import { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./command
212
216
  import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand";
213
217
  import { ListAutoMLJobsCommandInput, ListAutoMLJobsCommandOutput } from "./commands/ListAutoMLJobsCommand";
214
218
  import { ListCandidatesForAutoMLJobCommandInput, ListCandidatesForAutoMLJobCommandOutput } from "./commands/ListCandidatesForAutoMLJobCommand";
219
+ import { ListClusterEventsCommandInput, ListClusterEventsCommandOutput } from "./commands/ListClusterEventsCommand";
215
220
  import { ListClusterNodesCommandInput, ListClusterNodesCommandOutput } from "./commands/ListClusterNodesCommand";
216
221
  import { ListClusterSchedulerConfigsCommandInput, ListClusterSchedulerConfigsCommandOutput } from "./commands/ListClusterSchedulerConfigsCommand";
217
222
  import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
@@ -381,6 +386,18 @@ export interface SageMaker {
381
386
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options?: __HttpHandlerOptions): Promise<AssociateTrialComponentCommandOutput>;
382
387
  associateTrialComponent(args: AssociateTrialComponentCommandInput, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
383
388
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
389
+ /**
390
+ * @see {@link AttachClusterNodeVolumeCommand}
391
+ */
392
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options?: __HttpHandlerOptions): Promise<AttachClusterNodeVolumeCommandOutput>;
393
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
394
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
395
+ /**
396
+ * @see {@link BatchAddClusterNodesCommand}
397
+ */
398
+ batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, options?: __HttpHandlerOptions): Promise<BatchAddClusterNodesCommandOutput>;
399
+ batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, cb: (err: any, data?: BatchAddClusterNodesCommandOutput) => void): void;
400
+ batchAddClusterNodes(args: BatchAddClusterNodesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAddClusterNodesCommandOutput) => void): void;
384
401
  /**
385
402
  * @see {@link BatchDeleteClusterNodesCommand}
386
403
  */
@@ -1175,6 +1192,12 @@ export interface SageMaker {
1175
1192
  describeCluster(args: DescribeClusterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterCommandOutput>;
1176
1193
  describeCluster(args: DescribeClusterCommandInput, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
1177
1194
  describeCluster(args: DescribeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
1195
+ /**
1196
+ * @see {@link DescribeClusterEventCommand}
1197
+ */
1198
+ describeClusterEvent(args: DescribeClusterEventCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterEventCommandOutput>;
1199
+ describeClusterEvent(args: DescribeClusterEventCommandInput, cb: (err: any, data?: DescribeClusterEventCommandOutput) => void): void;
1200
+ describeClusterEvent(args: DescribeClusterEventCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterEventCommandOutput) => void): void;
1178
1201
  /**
1179
1202
  * @see {@link DescribeClusterNodeCommand}
1180
1203
  */
@@ -1529,6 +1552,12 @@ export interface SageMaker {
1529
1552
  describeWorkteam(args: DescribeWorkteamCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkteamCommandOutput>;
1530
1553
  describeWorkteam(args: DescribeWorkteamCommandInput, cb: (err: any, data?: DescribeWorkteamCommandOutput) => void): void;
1531
1554
  describeWorkteam(args: DescribeWorkteamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkteamCommandOutput) => void): void;
1555
+ /**
1556
+ * @see {@link DetachClusterNodeVolumeCommand}
1557
+ */
1558
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, options?: __HttpHandlerOptions): Promise<DetachClusterNodeVolumeCommandOutput>;
1559
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, cb: (err: any, data?: DetachClusterNodeVolumeCommandOutput) => void): void;
1560
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachClusterNodeVolumeCommandOutput) => void): void;
1532
1561
  /**
1533
1562
  * @see {@link DisableSagemakerServicecatalogPortfolioCommand}
1534
1563
  */
@@ -1653,6 +1682,12 @@ export interface SageMaker {
1653
1682
  listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, options?: __HttpHandlerOptions): Promise<ListCandidatesForAutoMLJobCommandOutput>;
1654
1683
  listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, cb: (err: any, data?: ListCandidatesForAutoMLJobCommandOutput) => void): void;
1655
1684
  listCandidatesForAutoMLJob(args: ListCandidatesForAutoMLJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCandidatesForAutoMLJobCommandOutput) => void): void;
1685
+ /**
1686
+ * @see {@link ListClusterEventsCommand}
1687
+ */
1688
+ listClusterEvents(args: ListClusterEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListClusterEventsCommandOutput>;
1689
+ listClusterEvents(args: ListClusterEventsCommandInput, cb: (err: any, data?: ListClusterEventsCommandOutput) => void): void;
1690
+ listClusterEvents(args: ListClusterEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClusterEventsCommandOutput) => void): void;
1656
1691
  /**
1657
1692
  * @see {@link ListClusterNodesCommand}
1658
1693
  */