@aws-sdk/client-sagemaker 3.936.0 → 3.937.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 (63) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +333 -125
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/BatchRebootClusterNodesCommand.js +16 -0
  5. package/dist-es/commands/BatchReplaceClusterNodesCommand.js +16 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +43 -0
  8. package/dist-es/schemas/schemas_0.js +259 -125
  9. package/dist-types/SageMaker.d.ts +14 -0
  10. package/dist-types/SageMakerClient.d.ts +4 -2
  11. package/dist-types/commands/BatchRebootClusterNodesCommand.d.ts +102 -0
  12. package/dist-types/commands/BatchReplaceClusterNodesCommand.d.ts +102 -0
  13. package/dist-types/commands/CreateComputeQuotaCommand.d.ts +4 -0
  14. package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +4 -0
  19. package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeTrialComponentCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeUserProfileCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
  23. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -0
  24. package/dist-types/commands/ListComputeQuotasCommand.d.ts +4 -0
  25. package/dist-types/commands/ListTrainingPlansCommand.d.ts +1 -1
  26. package/dist-types/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
  27. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
  29. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -2
  30. package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +2 -2
  31. package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +4 -0
  32. package/dist-types/commands/index.d.ts +2 -0
  33. package/dist-types/models/enums.d.ts +67 -0
  34. package/dist-types/models/models_0.d.ts +201 -207
  35. package/dist-types/models/models_1.d.ts +208 -261
  36. package/dist-types/models/models_2.d.ts +263 -353
  37. package/dist-types/models/models_3.d.ts +354 -257
  38. package/dist-types/models/models_4.d.ts +259 -7
  39. package/dist-types/schemas/schemas_0.d.ts +15 -0
  40. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  41. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  42. package/dist-types/ts3.4/commands/BatchRebootClusterNodesCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/BatchReplaceClusterNodesCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/CreateDeviceFleetCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  56. package/dist-types/ts3.4/models/enums.d.ts +49 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +51 -50
  58. package/dist-types/ts3.4/models/models_1.d.ts +53 -83
  59. package/dist-types/ts3.4/models/models_2.d.ts +80 -88
  60. package/dist-types/ts3.4/models/models_3.d.ts +89 -68
  61. package/dist-types/ts3.4/models/models_4.d.ts +73 -8
  62. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  63. package/package.json +1 -1
@@ -6,6 +6,8 @@ import { AttachClusterNodeVolumeCommand, } from "./commands/AttachClusterNodeVol
6
6
  import { BatchAddClusterNodesCommand, } from "./commands/BatchAddClusterNodesCommand";
7
7
  import { BatchDeleteClusterNodesCommand, } from "./commands/BatchDeleteClusterNodesCommand";
8
8
  import { BatchDescribeModelPackageCommand, } from "./commands/BatchDescribeModelPackageCommand";
9
+ import { BatchRebootClusterNodesCommand, } from "./commands/BatchRebootClusterNodesCommand";
10
+ import { BatchReplaceClusterNodesCommand, } from "./commands/BatchReplaceClusterNodesCommand";
9
11
  import { CreateActionCommand, } from "./commands/CreateActionCommand";
10
12
  import { CreateAlgorithmCommand, } from "./commands/CreateAlgorithmCommand";
11
13
  import { CreateAppCommand } from "./commands/CreateAppCommand";
@@ -379,6 +381,8 @@ const commands = {
379
381
  BatchAddClusterNodesCommand,
380
382
  BatchDeleteClusterNodesCommand,
381
383
  BatchDescribeModelPackageCommand,
384
+ BatchRebootClusterNodesCommand,
385
+ BatchReplaceClusterNodesCommand,
382
386
  CreateActionCommand,
383
387
  CreateAlgorithmCommand,
384
388
  CreateAppCommand,
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchRebootClusterNodes } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchRebootClusterNodesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SageMaker", "BatchRebootClusterNodes", {})
13
+ .n("SageMakerClient", "BatchRebootClusterNodesCommand")
14
+ .sc(BatchRebootClusterNodes)
15
+ .build() {
16
+ }
@@ -0,0 +1,16 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { commonParams } from "../endpoint/EndpointParameters";
4
+ import { BatchReplaceClusterNodes } from "../schemas/schemas_0";
5
+ export { $Command };
6
+ export class BatchReplaceClusterNodesCommand extends $Command
7
+ .classBuilder()
8
+ .ep(commonParams)
9
+ .m(function (Command, cs, config, o) {
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ })
12
+ .s("SageMaker", "BatchReplaceClusterNodes", {})
13
+ .n("SageMakerClient", "BatchReplaceClusterNodesCommand")
14
+ .sc(BatchReplaceClusterNodes)
15
+ .build() {
16
+ }
@@ -5,6 +5,8 @@ export * from "./AttachClusterNodeVolumeCommand";
5
5
  export * from "./BatchAddClusterNodesCommand";
6
6
  export * from "./BatchDeleteClusterNodesCommand";
7
7
  export * from "./BatchDescribeModelPackageCommand";
8
+ export * from "./BatchRebootClusterNodesCommand";
9
+ export * from "./BatchReplaceClusterNodesCommand";
8
10
  export * from "./CreateActionCommand";
9
11
  export * from "./CreateAlgorithmCommand";
10
12
  export * from "./CreateAppCommand";
@@ -1,3 +1,33 @@
1
+ export const MIGProfileType = {
2
+ MIG_1G_10GB: "mig-1g.10gb",
3
+ MIG_1G_18GB: "mig-1g.18gb",
4
+ MIG_1G_20GB: "mig-1g.20gb",
5
+ MIG_1G_23GB: "mig-1g.23gb",
6
+ MIG_1G_35GB: "mig-1g.35gb",
7
+ MIG_1G_45GB: "mig-1g.45gb",
8
+ MIG_1G_47GB: "mig-1g.47gb",
9
+ MIG_1G_5GB: "mig-1g.5gb",
10
+ MIG_2G_10GB: "mig-2g.10gb",
11
+ MIG_2G_20GB: "mig-2g.20gb",
12
+ MIG_2G_35GB: "mig-2g.35gb",
13
+ MIG_2G_45GB: "mig-2g.45gb",
14
+ MIG_2G_47GB: "mig-2g.47gb",
15
+ MIG_3G_20GB: "mig-3g.20gb",
16
+ MIG_3G_40GB: "mig-3g.40gb",
17
+ MIG_3G_71GB: "mig-3g.71gb",
18
+ MIG_3G_90GB: "mig-3g.90gb",
19
+ MIG_3G_93GB: "mig-3g.93gb",
20
+ MIG_4G_20GB: "mig-4g.20gb",
21
+ MIG_4G_40GB: "mig-4g.40gb",
22
+ MIG_4G_71GB: "mig-4g.71gb",
23
+ MIG_4G_90GB: "mig-4g.90gb",
24
+ MIG_4G_93GB: "mig-4g.93gb",
25
+ MIG_7G_141GB: "mig-7g.141gb",
26
+ MIG_7G_180GB: "mig-7g.180gb",
27
+ MIG_7G_186GB: "mig-7g.186gb",
28
+ MIG_7G_40GB: "mig-7g.40gb",
29
+ MIG_7G_80GB: "mig-7g.80gb",
30
+ };
1
31
  export const ActionStatus = {
2
32
  COMPLETED: "Completed",
3
33
  FAILED: "Failed",
@@ -1071,6 +1101,18 @@ export const ModelPackageStatus = {
1071
1101
  IN_PROGRESS: "InProgress",
1072
1102
  PENDING: "Pending",
1073
1103
  };
1104
+ export const BatchRebootClusterNodesErrorCode = {
1105
+ INSTANCE_ID_IN_USE: "InstanceIdInUse",
1106
+ INSTANCE_ID_NOT_FOUND: "InstanceIdNotFound",
1107
+ INTERNAL_SERVER_ERROR: "InternalServerError",
1108
+ INVALID_INSTANCE_STATUS: "InvalidInstanceStatus",
1109
+ };
1110
+ export const BatchReplaceClusterNodesErrorCode = {
1111
+ INSTANCE_ID_IN_USE: "InstanceIdInUse",
1112
+ INSTANCE_ID_NOT_FOUND: "InstanceIdNotFound",
1113
+ INTERNAL_SERVER_ERROR: "InternalServerError",
1114
+ INVALID_INSTANCE_STATUS: "InvalidInstanceStatus",
1115
+ };
1074
1116
  export const ProcessingS3DataDistributionType = {
1075
1117
  FULLYREPLICATED: "FullyReplicated",
1076
1118
  SHARDEDBYS3KEY: "ShardedByS3Key",
@@ -2558,6 +2600,7 @@ export const TrainingPlanStatus = {
2558
2600
  SCHEDULED: "Scheduled",
2559
2601
  };
2560
2602
  export const SageMakerResourceName = {
2603
+ ENDPOINT: "endpoint",
2561
2604
  HYPERPOD_CLUSTER: "hyperpod-cluster",
2562
2605
  TRAINING_JOB: "training-job",
2563
2606
  };