@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.
- package/README.md +16 -0
- package/dist-cjs/index.js +333 -125
- 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 +43 -0
- package/dist-es/schemas/schemas_0.js +259 -125
- 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/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/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +2 -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/ListTrainingPlansCommand.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/UpdateComputeQuotaCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +201 -207
- package/dist-types/models/models_1.d.ts +208 -261
- package/dist-types/models/models_2.d.ts +263 -353
- package/dist-types/models/models_3.d.ts +354 -257
- package/dist-types/models/models_4.d.ts +259 -7
- package/dist-types/schemas/schemas_0.d.ts +15 -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/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTrialComponentCommand.d.ts +2 -4
- 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/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 +49 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -50
- package/dist-types/ts3.4/models/models_1.d.ts +53 -83
- package/dist-types/ts3.4/models/models_2.d.ts +80 -88
- package/dist-types/ts3.4/models/models_3.d.ts +89 -68
- package/dist-types/ts3.4/models/models_4.d.ts +73 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -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",
|
|
@@ -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
|
};
|