@aws-sdk/client-sagemaker 3.936.0 → 3.938.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 (91) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +558 -168
  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 +64 -0
  8. package/dist-es/schemas/schemas_0.js +460 -168
  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/CreateClusterCommand.d.ts +17 -0
  14. package/dist-types/commands/CreateComputeQuotaCommand.d.ts +4 -0
  15. package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
  16. package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateOptimizationJobCommand.d.ts +15 -1
  18. package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -1
  19. package/dist-types/commands/CreateTrainingPlanCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeClusterCommand.d.ts +30 -0
  25. package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
  26. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +23 -0
  27. package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +4 -0
  28. package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +15 -1
  29. package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +2 -2
  30. package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeUserProfileCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
  35. package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -0
  36. package/dist-types/commands/ListComputeQuotasCommand.d.ts +4 -0
  37. package/dist-types/commands/ListOptimizationJobsCommand.d.ts +2 -1
  38. package/dist-types/commands/ListTrainingPlansCommand.d.ts +3 -2
  39. package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
  40. package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
  42. package/dist-types/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
  43. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  44. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
  45. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -2
  46. package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +2 -2
  47. package/dist-types/commands/UpdateClusterCommand.d.ts +17 -0
  48. package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +4 -0
  49. package/dist-types/commands/index.d.ts +2 -0
  50. package/dist-types/models/enums.d.ts +128 -0
  51. package/dist-types/models/models_0.d.ts +368 -369
  52. package/dist-types/models/models_1.d.ts +3321 -3361
  53. package/dist-types/models/models_2.d.ts +3816 -4111
  54. package/dist-types/models/models_3.d.ts +4107 -3920
  55. package/dist-types/models/models_4.d.ts +607 -7
  56. package/dist-types/schemas/schemas_0.d.ts +28 -0
  57. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  58. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  59. package/dist-types/ts3.4/commands/BatchRebootClusterNodesCommand.d.ts +51 -0
  60. package/dist-types/ts3.4/commands/BatchReplaceClusterNodesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/CreateDeviceFleetCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +2 -4
  64. package/dist-types/ts3.4/commands/CreateTrainingPlanCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeTrainingPlanCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListTrainingPlansCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  84. package/dist-types/ts3.4/models/enums.d.ts +80 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +93 -90
  86. package/dist-types/ts3.4/models/models_1.d.ts +121 -146
  87. package/dist-types/ts3.4/models/models_2.d.ts +139 -193
  88. package/dist-types/ts3.4/models/models_3.d.ts +195 -150
  89. package/dist-types/ts3.4/models/models_4.d.ts +161 -13
  90. package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
  91. 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",
@@ -10,6 +40,9 @@ export const ActivationState = {
10
40
  DISABLED: "Disabled",
11
41
  ENABLED: "Enabled",
12
42
  };
43
+ export const ActiveClusterOperationName = {
44
+ SCALING: "Scaling",
45
+ };
13
46
  export const AssociationEdgeType = {
14
47
  ASSOCIATED_WITH: "AssociatedWith",
15
48
  CONTRIBUTED_TO: "ContributedTo",
@@ -1071,6 +1104,18 @@ export const ModelPackageStatus = {
1071
1104
  IN_PROGRESS: "InProgress",
1072
1105
  PENDING: "Pending",
1073
1106
  };
1107
+ export const BatchRebootClusterNodesErrorCode = {
1108
+ INSTANCE_ID_IN_USE: "InstanceIdInUse",
1109
+ INSTANCE_ID_NOT_FOUND: "InstanceIdNotFound",
1110
+ INTERNAL_SERVER_ERROR: "InternalServerError",
1111
+ INVALID_INSTANCE_STATUS: "InvalidInstanceStatus",
1112
+ };
1113
+ export const BatchReplaceClusterNodesErrorCode = {
1114
+ INSTANCE_ID_IN_USE: "InstanceIdInUse",
1115
+ INSTANCE_ID_NOT_FOUND: "InstanceIdNotFound",
1116
+ INTERNAL_SERVER_ERROR: "InternalServerError",
1117
+ INVALID_INSTANCE_STATUS: "InvalidInstanceStatus",
1118
+ };
1074
1119
  export const ProcessingS3DataDistributionType = {
1075
1120
  FULLYREPLICATED: "FullyReplicated",
1076
1121
  SHARDEDBYS3KEY: "ShardedByS3Key",
@@ -1206,6 +1251,10 @@ export const ClusterAutoScalingStatus = {
1206
1251
  FAILED: "Failed",
1207
1252
  INSERVICE: "InService",
1208
1253
  };
1254
+ export const ClusterCapacityType = {
1255
+ ON_DEMAND: "OnDemand",
1256
+ SPOT: "Spot",
1257
+ };
1209
1258
  export const ClusterConfigMode = {
1210
1259
  DISABLE: "Disable",
1211
1260
  ENABLE: "Enable",
@@ -1331,6 +1380,11 @@ export const ClusterInstanceType = {
1331
1380
  ML_TRN2_3XLARGE: "ml.trn2.3xlarge",
1332
1381
  ML_TRN2_48XLARGE: "ml.trn2.48xlarge",
1333
1382
  };
1383
+ export const ClusterKubernetesTaintEffect = {
1384
+ NO_EXECUTE: "NoExecute",
1385
+ NO_SCHEDULE: "NoSchedule",
1386
+ PREFER_NO_SCHEDULE: "PreferNoSchedule",
1387
+ };
1334
1388
  export const DeepHealthCheckType = {
1335
1389
  INSTANCE_CONNECTIVITY: "InstanceConnectivity",
1336
1390
  INSTANCE_STRESS: "InstanceStress",
@@ -2088,11 +2142,20 @@ export const OptimizationJobDeploymentInstanceType = {
2088
2142
  ML_INF2_XLARGE: "ml.inf2.xlarge",
2089
2143
  ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
2090
2144
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
2145
+ ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
2146
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
2091
2147
  ML_P5_48XLARGE: "ml.p5.48xlarge",
2092
2148
  ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
2093
2149
  ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
2094
2150
  ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
2095
2151
  };
2152
+ export const ModelSpeculativeDecodingTechnique = {
2153
+ EAGLE: "EAGLE",
2154
+ };
2155
+ export const ModelSpeculativeDecodingS3DataType = {
2156
+ ManifestFile: "ManifestFile",
2157
+ S3Prefix: "S3Prefix",
2158
+ };
2096
2159
  export const PartnerAppAuthType = {
2097
2160
  IAM: "IAM",
2098
2161
  };
@@ -2558,6 +2621,7 @@ export const TrainingPlanStatus = {
2558
2621
  SCHEDULED: "Scheduled",
2559
2622
  };
2560
2623
  export const SageMakerResourceName = {
2624
+ ENDPOINT: "endpoint",
2561
2625
  HYPERPOD_CLUSTER: "hyperpod-cluster",
2562
2626
  TRAINING_JOB: "training-job",
2563
2627
  };