@aws-sdk/client-sagemaker 3.859.0 → 3.860.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 (45) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +111 -8
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/AttachClusterNodeVolumeCommand.js +22 -0
  5. package/dist-es/commands/DetachClusterNodeVolumeCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +7 -8
  8. package/dist-es/models/models_1.js +8 -0
  9. package/dist-es/models/models_4.js +0 -4
  10. package/dist-es/models/models_5.js +4 -0
  11. package/dist-es/protocols/Aws_json1_1.js +58 -0
  12. package/dist-types/SageMaker.d.ts +14 -0
  13. package/dist-types/SageMakerClient.d.ts +4 -2
  14. package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +82 -0
  15. package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +82 -0
  16. package/dist-types/commands/ListActionsCommand.d.ts +2 -1
  17. package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
  18. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  19. package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  20. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  21. package/dist-types/commands/index.d.ts +2 -0
  22. package/dist-types/models/models_0.d.ts +70 -40
  23. package/dist-types/models/models_1.d.ts +42 -50
  24. package/dist-types/models/models_2.d.ts +49 -124
  25. package/dist-types/models/models_3.d.ts +181 -118
  26. package/dist-types/models/models_4.d.ts +118 -72
  27. package/dist-types/models/models_5.d.ts +72 -3
  28. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  29. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  30. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  31. package/dist-types/ts3.4/commands/AttachClusterNodeVolumeCommand.d.ts +51 -0
  32. package/dist-types/ts3.4/commands/DetachClusterNodeVolumeCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +2 -1
  34. package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
  35. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +22 -16
  39. package/dist-types/ts3.4/models/models_1.d.ts +17 -15
  40. package/dist-types/ts3.4/models/models_2.d.ts +12 -34
  41. package/dist-types/ts3.4/models/models_3.d.ts +43 -34
  42. package/dist-types/ts3.4/models/models_4.d.ts +32 -22
  43. package/dist-types/ts3.4/models/models_5.d.ts +22 -4
  44. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  45. package/package.json +1 -1
package/README.md CHANGED
@@ -226,6 +226,14 @@ AssociateTrialComponent
226
226
 
227
227
  [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/)
228
228
 
229
+ </details>
230
+ <details>
231
+ <summary>
232
+ AttachClusterNodeVolume
233
+ </summary>
234
+
235
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/AttachClusterNodeVolumeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/AttachClusterNodeVolumeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/AttachClusterNodeVolumeCommandOutput/)
236
+
229
237
  </details>
230
238
  <details>
231
239
  <summary>
@@ -1754,6 +1762,14 @@ DescribeWorkteam
1754
1762
 
1755
1763
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/DescribeWorkteamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DescribeWorkteamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DescribeWorkteamCommandOutput/)
1756
1764
 
1765
+ </details>
1766
+ <details>
1767
+ <summary>
1768
+ DetachClusterNodeVolume
1769
+ </summary>
1770
+
1771
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/DetachClusterNodeVolumeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DetachClusterNodeVolumeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DetachClusterNodeVolumeCommandOutput/)
1772
+
1757
1773
  </details>
1758
1774
  <details>
1759
1775
  <summary>
package/dist-cjs/index.js CHANGED
@@ -43,6 +43,7 @@ __export(index_exports, {
43
43
  AsyncNotificationTopicTypes: () => AsyncNotificationTopicTypes,
44
44
  AthenaResultCompressionType: () => AthenaResultCompressionType,
45
45
  AthenaResultFormat: () => AthenaResultFormat,
46
+ AttachClusterNodeVolumeCommand: () => AttachClusterNodeVolumeCommand,
46
47
  AuthMode: () => AuthMode,
47
48
  AutoMLAlgorithm: () => AutoMLAlgorithm,
48
49
  AutoMLChannelType: () => AutoMLChannelType,
@@ -294,6 +295,7 @@ __export(index_exports, {
294
295
  DescribeUserProfileCommand: () => DescribeUserProfileCommand,
295
296
  DescribeWorkforceCommand: () => DescribeWorkforceCommand,
296
297
  DescribeWorkteamCommand: () => DescribeWorkteamCommand,
298
+ DetachClusterNodeVolumeCommand: () => DetachClusterNodeVolumeCommand,
297
299
  DetailedAlgorithmStatus: () => DetailedAlgorithmStatus,
298
300
  DetailedModelPackageStatus: () => DetailedModelPackageStatus,
299
301
  DeviceDeploymentStatus: () => DeviceDeploymentStatus,
@@ -715,6 +717,7 @@ __export(index_exports, {
715
717
  VariantPropertyType: () => VariantPropertyType,
716
718
  VariantStatus: () => VariantStatus,
717
719
  VendorGuidance: () => VendorGuidance,
720
+ VolumeAttachmentStatus: () => VolumeAttachmentStatus,
718
721
  WarmPoolResourceStatus: () => WarmPoolResourceStatus,
719
722
  WorkforceIpAddressType: () => WorkforceIpAddressType,
720
723
  WorkforceStatus: () => WorkforceStatus,
@@ -1883,6 +1886,13 @@ var AthenaResultFormat = {
1883
1886
  PARQUET: "PARQUET",
1884
1887
  TEXTFILE: "TEXTFILE"
1885
1888
  };
1889
+ var VolumeAttachmentStatus = {
1890
+ ATTACHED: "attached",
1891
+ ATTACHING: "attaching",
1892
+ BUSY: "busy",
1893
+ DETACHED: "detached",
1894
+ DETACHING: "detaching"
1895
+ };
1886
1896
  var AuthMode = {
1887
1897
  IAM: "IAM",
1888
1898
  SSO: "SSO"
@@ -2484,6 +2494,9 @@ var TargetPlatformOs = {
2484
2494
  ANDROID: "ANDROID",
2485
2495
  LINUX: "LINUX"
2486
2496
  };
2497
+
2498
+ // src/models/models_1.ts
2499
+
2487
2500
  var CompleteOnConvergence = {
2488
2501
  DISABLED: "Disabled",
2489
2502
  ENABLED: "Enabled"
@@ -2492,9 +2505,6 @@ var PreemptTeamTasks = {
2492
2505
  LOWERPRIORITY: "LowerPriority",
2493
2506
  NEVER: "Never"
2494
2507
  };
2495
-
2496
- // src/models/models_1.ts
2497
-
2498
2508
  var ResourceSharingStrategy = {
2499
2509
  DONTLEND: "DontLend",
2500
2510
  LEND: "Lend",
@@ -3363,6 +3373,12 @@ var se_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (input, con
3363
3373
  body = JSON.stringify((0, import_smithy_client._json)(input));
3364
3374
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3365
3375
  }, "se_AssociateTrialComponentCommand");
3376
+ var se_AttachClusterNodeVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
3377
+ const headers = sharedHeaders("AttachClusterNodeVolume");
3378
+ let body;
3379
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3380
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3381
+ }, "se_AttachClusterNodeVolumeCommand");
3366
3382
  var se_BatchDeleteClusterNodesCommand = /* @__PURE__ */ __name(async (input, context) => {
3367
3383
  const headers = sharedHeaders("BatchDeleteClusterNodes");
3368
3384
  let body;
@@ -4509,6 +4525,12 @@ var se_DescribeWorkteamCommand = /* @__PURE__ */ __name(async (input, context) =
4509
4525
  body = JSON.stringify((0, import_smithy_client._json)(input));
4510
4526
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
4511
4527
  }, "se_DescribeWorkteamCommand");
4528
+ var se_DetachClusterNodeVolumeCommand = /* @__PURE__ */ __name(async (input, context) => {
4529
+ const headers = sharedHeaders("DetachClusterNodeVolume");
4530
+ let body;
4531
+ body = JSON.stringify((0, import_smithy_client._json)(input));
4532
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
4533
+ }, "se_DetachClusterNodeVolumeCommand");
4512
4534
  var se_DisableSagemakerServicecatalogPortfolioCommand = /* @__PURE__ */ __name(async (input, context) => {
4513
4535
  const headers = sharedHeaders("DisableSagemakerServicecatalogPortfolio");
4514
4536
  let body;
@@ -5556,6 +5578,19 @@ var de_AssociateTrialComponentCommand = /* @__PURE__ */ __name(async (output, co
5556
5578
  };
5557
5579
  return response;
5558
5580
  }, "de_AssociateTrialComponentCommand");
5581
+ var de_AttachClusterNodeVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
5582
+ if (output.statusCode >= 300) {
5583
+ return de_CommandError(output, context);
5584
+ }
5585
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5586
+ let contents = {};
5587
+ contents = de_AttachClusterNodeVolumeResponse(data, context);
5588
+ const response = {
5589
+ $metadata: deserializeMetadata(output),
5590
+ ...contents
5591
+ };
5592
+ return response;
5593
+ }, "de_AttachClusterNodeVolumeCommand");
5559
5594
  var de_BatchDeleteClusterNodesCommand = /* @__PURE__ */ __name(async (output, context) => {
5560
5595
  if (output.statusCode >= 300) {
5561
5596
  return de_CommandError(output, context);
@@ -7919,6 +7954,19 @@ var de_DescribeWorkteamCommand = /* @__PURE__ */ __name(async (output, context)
7919
7954
  };
7920
7955
  return response;
7921
7956
  }, "de_DescribeWorkteamCommand");
7957
+ var de_DetachClusterNodeVolumeCommand = /* @__PURE__ */ __name(async (output, context) => {
7958
+ if (output.statusCode >= 300) {
7959
+ return de_CommandError(output, context);
7960
+ }
7961
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
7962
+ let contents = {};
7963
+ contents = de_DetachClusterNodeVolumeResponse(data, context);
7964
+ const response = {
7965
+ $metadata: deserializeMetadata(output),
7966
+ ...contents
7967
+ };
7968
+ return response;
7969
+ }, "de_DetachClusterNodeVolumeCommand");
7922
7970
  var de_DisableSagemakerServicecatalogPortfolioCommand = /* @__PURE__ */ __name(async (output, context) => {
7923
7971
  if (output.statusCode >= 300) {
7924
7972
  return de_CommandError(output, context);
@@ -11893,6 +11941,16 @@ var de_AthenaDatasetDefinition = /* @__PURE__ */ __name((output, context) => {
11893
11941
  WorkGroup: import_smithy_client.expectString
11894
11942
  });
11895
11943
  }, "de_AthenaDatasetDefinition");
11944
+ var de_AttachClusterNodeVolumeResponse = /* @__PURE__ */ __name((output, context) => {
11945
+ return (0, import_smithy_client.take)(output, {
11946
+ AttachTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AttachTime"),
11947
+ ClusterArn: import_smithy_client.expectString,
11948
+ DeviceName: import_smithy_client.expectString,
11949
+ NodeId: import_smithy_client.expectString,
11950
+ Status: import_smithy_client.expectString,
11951
+ VolumeId: import_smithy_client.expectString
11952
+ });
11953
+ }, "de_AttachClusterNodeVolumeResponse");
11896
11954
  var de_AttributeNames = /* @__PURE__ */ __name((output, context) => {
11897
11955
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
11898
11956
  return (0, import_smithy_client.expectString)(entry);
@@ -14811,6 +14869,16 @@ var de_DescribeWorkteamResponse = /* @__PURE__ */ __name((output, context) => {
14811
14869
  Workteam: /* @__PURE__ */ __name((_) => de_Workteam(_, context), "Workteam")
14812
14870
  });
14813
14871
  }, "de_DescribeWorkteamResponse");
14872
+ var de_DetachClusterNodeVolumeResponse = /* @__PURE__ */ __name((output, context) => {
14873
+ return (0, import_smithy_client.take)(output, {
14874
+ AttachTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "AttachTime"),
14875
+ ClusterArn: import_smithy_client.expectString,
14876
+ DeviceName: import_smithy_client.expectString,
14877
+ NodeId: import_smithy_client.expectString,
14878
+ Status: import_smithy_client.expectString,
14879
+ VolumeId: import_smithy_client.expectString
14880
+ });
14881
+ }, "de_DetachClusterNodeVolumeResponse");
14814
14882
  var de_DeviceDeploymentSummaries = /* @__PURE__ */ __name((output, context) => {
14815
14883
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
14816
14884
  return de_DeviceDeploymentSummary(entry, context);
@@ -20860,6 +20928,21 @@ var AssociateTrialComponentCommand = class extends import_smithy_client.Command.
20860
20928
  }
20861
20929
  };
20862
20930
 
20931
+ // src/commands/AttachClusterNodeVolumeCommand.ts
20932
+
20933
+
20934
+
20935
+ var AttachClusterNodeVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
20936
+ return [
20937
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
20938
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
20939
+ ];
20940
+ }).s("SageMaker", "AttachClusterNodeVolume", {}).n("SageMakerClient", "AttachClusterNodeVolumeCommand").f(void 0, void 0).ser(se_AttachClusterNodeVolumeCommand).de(de_AttachClusterNodeVolumeCommand).build() {
20941
+ static {
20942
+ __name(this, "AttachClusterNodeVolumeCommand");
20943
+ }
20944
+ };
20945
+
20863
20946
  // src/commands/BatchDeleteClusterNodesCommand.ts
20864
20947
 
20865
20948
 
@@ -24222,6 +24305,21 @@ var DescribeWorkteamCommand = class extends import_smithy_client.Command.classBu
24222
24305
  }
24223
24306
  };
24224
24307
 
24308
+ // src/commands/DetachClusterNodeVolumeCommand.ts
24309
+
24310
+
24311
+
24312
+ var DetachClusterNodeVolumeCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
24313
+ return [
24314
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
24315
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
24316
+ ];
24317
+ }).s("SageMaker", "DetachClusterNodeVolume", {}).n("SageMakerClient", "DetachClusterNodeVolumeCommand").f(void 0, void 0).ser(se_DetachClusterNodeVolumeCommand).de(de_DetachClusterNodeVolumeCommand).build() {
24318
+ static {
24319
+ __name(this, "DetachClusterNodeVolumeCommand");
24320
+ }
24321
+ };
24322
+
24225
24323
  // src/commands/DisableSagemakerServicecatalogPortfolioCommand.ts
24226
24324
 
24227
24325
 
@@ -25945,10 +26043,6 @@ var Relation = {
25945
26043
  EQUAL_TO: "EqualTo",
25946
26044
  GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo"
25947
26045
  };
25948
- var SearchSortOrder = {
25949
- ASCENDING: "Ascending",
25950
- DESCENDING: "Descending"
25951
- };
25952
26046
  var ModelCardFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
25953
26047
  ...obj,
25954
26048
  ...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
@@ -25959,6 +26053,10 @@ var ModelPackageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
25959
26053
  }), "ModelPackageFilterSensitiveLog");
25960
26054
 
25961
26055
  // src/models/models_5.ts
26056
+ var SearchSortOrder = {
26057
+ ASCENDING: "Ascending",
26058
+ DESCENDING: "Descending"
26059
+ };
25962
26060
  var VariantPropertyType = {
25963
26061
  DataCaptureConfig: "DataCaptureConfig",
25964
26062
  DesiredInstanceCount: "DesiredInstanceCount",
@@ -27055,6 +27153,7 @@ var commands = {
27055
27153
  AddAssociationCommand,
27056
27154
  AddTagsCommand,
27057
27155
  AssociateTrialComponentCommand,
27156
+ AttachClusterNodeVolumeCommand,
27058
27157
  BatchDeleteClusterNodesCommand,
27059
27158
  BatchDescribeModelPackageCommand,
27060
27159
  CreateActionCommand,
@@ -27246,6 +27345,7 @@ var commands = {
27246
27345
  DescribeUserProfileCommand,
27247
27346
  DescribeWorkforceCommand,
27248
27347
  DescribeWorkteamCommand,
27348
+ DetachClusterNodeVolumeCommand,
27249
27349
  DisableSagemakerServicecatalogPortfolioCommand,
27250
27350
  DisassociateTrialComponentCommand,
27251
27351
  EnableSagemakerServicecatalogPortfolioCommand,
@@ -28310,6 +28410,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28310
28410
  AddAssociationCommand,
28311
28411
  AddTagsCommand,
28312
28412
  AssociateTrialComponentCommand,
28413
+ AttachClusterNodeVolumeCommand,
28313
28414
  BatchDeleteClusterNodesCommand,
28314
28415
  BatchDescribeModelPackageCommand,
28315
28416
  CreateActionCommand,
@@ -28501,6 +28602,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28501
28602
  DescribeUserProfileCommand,
28502
28603
  DescribeWorkforceCommand,
28503
28604
  DescribeWorkteamCommand,
28605
+ DetachClusterNodeVolumeCommand,
28504
28606
  DisableSagemakerServicecatalogPortfolioCommand,
28505
28607
  DisassociateTrialComponentCommand,
28506
28608
  EnableSagemakerServicecatalogPortfolioCommand,
@@ -28817,6 +28919,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28817
28919
  AsyncNotificationTopicTypes,
28818
28920
  AthenaResultCompressionType,
28819
28921
  AthenaResultFormat,
28922
+ VolumeAttachmentStatus,
28820
28923
  AuthMode,
28821
28924
  AutoMLAlgorithm,
28822
28925
  AutoMLMetricEnum,
@@ -29101,9 +29204,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
29101
29204
  ListWorkteamsSortByOptions,
29102
29205
  ModelVariantAction,
29103
29206
  Relation,
29104
- SearchSortOrder,
29105
29207
  ModelCardFilterSensitiveLog,
29106
29208
  ModelPackageFilterSensitiveLog,
29209
+ SearchSortOrder,
29107
29210
  VariantPropertyType,
29108
29211
  SearchRecordFilterSensitiveLog,
29109
29212
  SearchResponseFilterSensitiveLog,
@@ -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 { AttachClusterNodeVolumeCommand, } from "./commands/AttachClusterNodeVolumeCommand";
5
6
  import { BatchDeleteClusterNodesCommand, } from "./commands/BatchDeleteClusterNodesCommand";
6
7
  import { BatchDescribeModelPackageCommand, } from "./commands/BatchDescribeModelPackageCommand";
7
8
  import { CreateActionCommand, } from "./commands/CreateActionCommand";
@@ -193,6 +194,7 @@ import { DescribeTrialComponentCommand, } from "./commands/DescribeTrialComponen
193
194
  import { DescribeUserProfileCommand, } from "./commands/DescribeUserProfileCommand";
194
195
  import { DescribeWorkforceCommand, } from "./commands/DescribeWorkforceCommand";
195
196
  import { DescribeWorkteamCommand, } from "./commands/DescribeWorkteamCommand";
197
+ import { DetachClusterNodeVolumeCommand, } from "./commands/DetachClusterNodeVolumeCommand";
196
198
  import { DisableSagemakerServicecatalogPortfolioCommand, } from "./commands/DisableSagemakerServicecatalogPortfolioCommand";
197
199
  import { DisassociateTrialComponentCommand, } from "./commands/DisassociateTrialComponentCommand";
198
200
  import { EnableSagemakerServicecatalogPortfolioCommand, } from "./commands/EnableSagemakerServicecatalogPortfolioCommand";
@@ -366,6 +368,7 @@ const commands = {
366
368
  AddAssociationCommand,
367
369
  AddTagsCommand,
368
370
  AssociateTrialComponentCommand,
371
+ AttachClusterNodeVolumeCommand,
369
372
  BatchDeleteClusterNodesCommand,
370
373
  BatchDescribeModelPackageCommand,
371
374
  CreateActionCommand,
@@ -557,6 +560,7 @@ const commands = {
557
560
  DescribeUserProfileCommand,
558
561
  DescribeWorkforceCommand,
559
562
  DescribeWorkteamCommand,
563
+ DetachClusterNodeVolumeCommand,
560
564
  DisableSagemakerServicecatalogPortfolioCommand,
561
565
  DisassociateTrialComponentCommand,
562
566
  EnableSagemakerServicecatalogPortfolioCommand,
@@ -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_AttachClusterNodeVolumeCommand, se_AttachClusterNodeVolumeCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class AttachClusterNodeVolumeCommand 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", "AttachClusterNodeVolume", {})
17
+ .n("SageMakerClient", "AttachClusterNodeVolumeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_AttachClusterNodeVolumeCommand)
20
+ .de(de_AttachClusterNodeVolumeCommand)
21
+ .build() {
22
+ }
@@ -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_DetachClusterNodeVolumeCommand, se_DetachClusterNodeVolumeCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DetachClusterNodeVolumeCommand 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", "DetachClusterNodeVolume", {})
17
+ .n("SageMakerClient", "DetachClusterNodeVolumeCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DetachClusterNodeVolumeCommand)
20
+ .de(de_DetachClusterNodeVolumeCommand)
21
+ .build() {
22
+ }
@@ -1,6 +1,7 @@
1
1
  export * from "./AddAssociationCommand";
2
2
  export * from "./AddTagsCommand";
3
3
  export * from "./AssociateTrialComponentCommand";
4
+ export * from "./AttachClusterNodeVolumeCommand";
4
5
  export * from "./BatchDeleteClusterNodesCommand";
5
6
  export * from "./BatchDescribeModelPackageCommand";
6
7
  export * from "./CreateActionCommand";
@@ -192,6 +193,7 @@ export * from "./DescribeTrialComponentCommand";
192
193
  export * from "./DescribeUserProfileCommand";
193
194
  export * from "./DescribeWorkforceCommand";
194
195
  export * from "./DescribeWorkteamCommand";
196
+ export * from "./DetachClusterNodeVolumeCommand";
195
197
  export * from "./DisableSagemakerServicecatalogPortfolioCommand";
196
198
  export * from "./DisassociateTrialComponentCommand";
197
199
  export * from "./EnableSagemakerServicecatalogPortfolioCommand";
@@ -868,6 +868,13 @@ export const AthenaResultFormat = {
868
868
  PARQUET: "PARQUET",
869
869
  TEXTFILE: "TEXTFILE",
870
870
  };
871
+ export const VolumeAttachmentStatus = {
872
+ ATTACHED: "attached",
873
+ ATTACHING: "attaching",
874
+ BUSY: "busy",
875
+ DETACHED: "detached",
876
+ DETACHING: "detaching",
877
+ };
871
878
  export const AuthMode = {
872
879
  IAM: "IAM",
873
880
  SSO: "SSO",
@@ -1472,11 +1479,3 @@ export const TargetPlatformOs = {
1472
1479
  ANDROID: "ANDROID",
1473
1480
  LINUX: "LINUX",
1474
1481
  };
1475
- export const CompleteOnConvergence = {
1476
- DISABLED: "Disabled",
1477
- ENABLED: "Enabled",
1478
- };
1479
- export const PreemptTeamTasks = {
1480
- LOWERPRIORITY: "LowerPriority",
1481
- NEVER: "Never",
1482
- };
@@ -1,5 +1,13 @@
1
1
  import { SENSITIVE_STRING, } from "@smithy/smithy-client";
2
2
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
3
+ export const CompleteOnConvergence = {
4
+ DISABLED: "Disabled",
5
+ ENABLED: "Enabled",
6
+ };
7
+ export const PreemptTeamTasks = {
8
+ LOWERPRIORITY: "LowerPriority",
9
+ NEVER: "Never",
10
+ };
3
11
  export const ResourceSharingStrategy = {
4
12
  DONTLEND: "DontLend",
5
13
  LEND: "Lend",
@@ -258,10 +258,6 @@ export const Relation = {
258
258
  EQUAL_TO: "EqualTo",
259
259
  GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
260
260
  };
261
- export const SearchSortOrder = {
262
- ASCENDING: "Ascending",
263
- DESCENDING: "Descending",
264
- };
265
261
  export const ModelCardFilterSensitiveLog = (obj) => ({
266
262
  ...obj,
267
263
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -2,6 +2,10 @@ import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
3
  import { OidcConfigFilterSensitiveLog, } from "./models_2";
4
4
  import { ModelCardFilterSensitiveLog, ModelPackageFilterSensitiveLog, } from "./models_4";
5
+ export const SearchSortOrder = {
6
+ ASCENDING: "Ascending",
7
+ DESCENDING: "Descending",
8
+ };
5
9
  export const VariantPropertyType = {
6
10
  DataCaptureConfig: "DataCaptureConfig",
7
11
  DesiredInstanceCount: "DesiredInstanceCount",
@@ -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_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
+ };
27
33
  export const se_BatchDeleteClusterNodesCommand = async (input, context) => {
28
34
  const headers = sharedHeaders("BatchDeleteClusterNodes");
29
35
  let body;
@@ -1170,6 +1176,12 @@ export const se_DescribeWorkteamCommand = async (input, context) => {
1170
1176
  body = JSON.stringify(_json(input));
1171
1177
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1172
1178
  };
1179
+ export const se_DetachClusterNodeVolumeCommand = async (input, context) => {
1180
+ const headers = sharedHeaders("DetachClusterNodeVolume");
1181
+ let body;
1182
+ body = JSON.stringify(_json(input));
1183
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1184
+ };
1173
1185
  export const se_DisableSagemakerServicecatalogPortfolioCommand = async (input, context) => {
1174
1186
  const headers = sharedHeaders("DisableSagemakerServicecatalogPortfolio");
1175
1187
  let body;
@@ -2217,6 +2229,19 @@ export const de_AssociateTrialComponentCommand = async (output, context) => {
2217
2229
  };
2218
2230
  return response;
2219
2231
  };
2232
+ export const de_AttachClusterNodeVolumeCommand = async (output, context) => {
2233
+ if (output.statusCode >= 300) {
2234
+ return de_CommandError(output, context);
2235
+ }
2236
+ const data = await parseBody(output.body, context);
2237
+ let contents = {};
2238
+ contents = de_AttachClusterNodeVolumeResponse(data, context);
2239
+ const response = {
2240
+ $metadata: deserializeMetadata(output),
2241
+ ...contents,
2242
+ };
2243
+ return response;
2244
+ };
2220
2245
  export const de_BatchDeleteClusterNodesCommand = async (output, context) => {
2221
2246
  if (output.statusCode >= 300) {
2222
2247
  return de_CommandError(output, context);
@@ -4580,6 +4605,19 @@ export const de_DescribeWorkteamCommand = async (output, context) => {
4580
4605
  };
4581
4606
  return response;
4582
4607
  };
4608
+ export const de_DetachClusterNodeVolumeCommand = async (output, context) => {
4609
+ if (output.statusCode >= 300) {
4610
+ return de_CommandError(output, context);
4611
+ }
4612
+ const data = await parseBody(output.body, context);
4613
+ let contents = {};
4614
+ contents = de_DetachClusterNodeVolumeResponse(data, context);
4615
+ const response = {
4616
+ $metadata: deserializeMetadata(output),
4617
+ ...contents,
4618
+ };
4619
+ return response;
4620
+ };
4583
4621
  export const de_DisableSagemakerServicecatalogPortfolioCommand = async (output, context) => {
4584
4622
  if (output.statusCode >= 300) {
4585
4623
  return de_CommandError(output, context);
@@ -8591,6 +8629,16 @@ const de_AthenaDatasetDefinition = (output, context) => {
8591
8629
  WorkGroup: __expectString,
8592
8630
  });
8593
8631
  };
8632
+ const de_AttachClusterNodeVolumeResponse = (output, context) => {
8633
+ return take(output, {
8634
+ AttachTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
8635
+ ClusterArn: __expectString,
8636
+ DeviceName: __expectString,
8637
+ NodeId: __expectString,
8638
+ Status: __expectString,
8639
+ VolumeId: __expectString,
8640
+ });
8641
+ };
8594
8642
  const de_AttributeNames = (output, context) => {
8595
8643
  const retVal = (output || [])
8596
8644
  .filter((e) => e != null)
@@ -11615,6 +11663,16 @@ const de_DescribeWorkteamResponse = (output, context) => {
11615
11663
  Workteam: (_) => de_Workteam(_, context),
11616
11664
  });
11617
11665
  };
11666
+ const de_DetachClusterNodeVolumeResponse = (output, context) => {
11667
+ return take(output, {
11668
+ AttachTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11669
+ ClusterArn: __expectString,
11670
+ DeviceName: __expectString,
11671
+ NodeId: __expectString,
11672
+ Status: __expectString,
11673
+ VolumeId: __expectString,
11674
+ });
11675
+ };
11618
11676
  const de_DeviceDeploymentSummaries = (output, context) => {
11619
11677
  const retVal = (output || [])
11620
11678
  .filter((e) => e != null)
@@ -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 { AttachClusterNodeVolumeCommandInput, AttachClusterNodeVolumeCommandOutput } from "./commands/AttachClusterNodeVolumeCommand";
5
6
  import { BatchDeleteClusterNodesCommandInput, BatchDeleteClusterNodesCommandOutput } from "./commands/BatchDeleteClusterNodesCommand";
6
7
  import { BatchDescribeModelPackageCommandInput, BatchDescribeModelPackageCommandOutput } from "./commands/BatchDescribeModelPackageCommand";
7
8
  import { CreateActionCommandInput, CreateActionCommandOutput } from "./commands/CreateActionCommand";
@@ -193,6 +194,7 @@ import { DescribeTrialComponentCommandInput, DescribeTrialComponentCommandOutput
193
194
  import { DescribeUserProfileCommandInput, DescribeUserProfileCommandOutput } from "./commands/DescribeUserProfileCommand";
194
195
  import { DescribeWorkforceCommandInput, DescribeWorkforceCommandOutput } from "./commands/DescribeWorkforceCommand";
195
196
  import { DescribeWorkteamCommandInput, DescribeWorkteamCommandOutput } from "./commands/DescribeWorkteamCommand";
197
+ import { DetachClusterNodeVolumeCommandInput, DetachClusterNodeVolumeCommandOutput } from "./commands/DetachClusterNodeVolumeCommand";
196
198
  import { DisableSagemakerServicecatalogPortfolioCommandInput, DisableSagemakerServicecatalogPortfolioCommandOutput } from "./commands/DisableSagemakerServicecatalogPortfolioCommand";
197
199
  import { DisassociateTrialComponentCommandInput, DisassociateTrialComponentCommandOutput } from "./commands/DisassociateTrialComponentCommand";
198
200
  import { EnableSagemakerServicecatalogPortfolioCommandInput, EnableSagemakerServicecatalogPortfolioCommandOutput } from "./commands/EnableSagemakerServicecatalogPortfolioCommand";
@@ -381,6 +383,12 @@ export interface SageMaker {
381
383
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options?: __HttpHandlerOptions): Promise<AssociateTrialComponentCommandOutput>;
382
384
  associateTrialComponent(args: AssociateTrialComponentCommandInput, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
383
385
  associateTrialComponent(args: AssociateTrialComponentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateTrialComponentCommandOutput) => void): void;
386
+ /**
387
+ * @see {@link AttachClusterNodeVolumeCommand}
388
+ */
389
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options?: __HttpHandlerOptions): Promise<AttachClusterNodeVolumeCommandOutput>;
390
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
391
+ attachClusterNodeVolume(args: AttachClusterNodeVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AttachClusterNodeVolumeCommandOutput) => void): void;
384
392
  /**
385
393
  * @see {@link BatchDeleteClusterNodesCommand}
386
394
  */
@@ -1529,6 +1537,12 @@ export interface SageMaker {
1529
1537
  describeWorkteam(args: DescribeWorkteamCommandInput, options?: __HttpHandlerOptions): Promise<DescribeWorkteamCommandOutput>;
1530
1538
  describeWorkteam(args: DescribeWorkteamCommandInput, cb: (err: any, data?: DescribeWorkteamCommandOutput) => void): void;
1531
1539
  describeWorkteam(args: DescribeWorkteamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeWorkteamCommandOutput) => void): void;
1540
+ /**
1541
+ * @see {@link DetachClusterNodeVolumeCommand}
1542
+ */
1543
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, options?: __HttpHandlerOptions): Promise<DetachClusterNodeVolumeCommandOutput>;
1544
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, cb: (err: any, data?: DetachClusterNodeVolumeCommandOutput) => void): void;
1545
+ detachClusterNodeVolume(args: DetachClusterNodeVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DetachClusterNodeVolumeCommandOutput) => void): void;
1532
1546
  /**
1533
1547
  * @see {@link DisableSagemakerServicecatalogPortfolioCommand}
1534
1548
  */