@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.
- package/README.md +16 -0
- package/dist-cjs/index.js +558 -168
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/BatchRebootClusterNodesCommand.js +16 -0
- package/dist-es/commands/BatchReplaceClusterNodesCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +64 -0
- package/dist-es/schemas/schemas_0.js +460 -168
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/BatchRebootClusterNodesCommand.d.ts +102 -0
- package/dist-types/commands/BatchReplaceClusterNodesCommand.d.ts +102 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +17 -0
- package/dist-types/commands/CreateComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +15 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +2 -1
- package/dist-types/commands/CreateTrainingPlanCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +30 -0
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +23 -0
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +15 -1
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +2 -2
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -0
- package/dist-types/commands/ListComputeQuotasCommand.d.ts +4 -0
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListTrainingPlansCommand.d.ts +3 -2
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -2
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterCommand.d.ts +17 -0
- package/dist-types/commands/UpdateComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +128 -0
- package/dist-types/models/models_0.d.ts +368 -369
- package/dist-types/models/models_1.d.ts +3321 -3361
- package/dist-types/models/models_2.d.ts +3816 -4111
- package/dist-types/models/models_3.d.ts +4107 -3920
- package/dist-types/models/models_4.d.ts +607 -7
- package/dist-types/schemas/schemas_0.d.ts +28 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchRebootClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/BatchReplaceClusterNodesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrainingJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateTrainingPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrainingPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingPlansCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUltraServersByReservedCapacityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +80 -0
- package/dist-types/ts3.4/models/models_0.d.ts +93 -90
- package/dist-types/ts3.4/models/models_1.d.ts +121 -146
- package/dist-types/ts3.4/models/models_2.d.ts +139 -193
- package/dist-types/ts3.4/models/models_3.d.ts +195 -150
- package/dist-types/ts3.4/models/models_4.d.ts +161 -13
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +28 -0
- package/package.json +1 -1
package/dist-es/SageMaker.js
CHANGED
|
@@ -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";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -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
|
};
|