@aws-sdk/client-sagemaker 3.646.0 → 3.648.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/dist-cjs/index.js +17322 -17292
- package/dist-es/models/models_0.js +9 -13
- package/dist-es/models/models_1.js +15 -1
- package/dist-es/models/models_2.js +0 -23
- package/dist-es/models/models_3.js +23 -4
- package/dist-es/models/models_4.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +23 -1
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateArtifactCommand.d.ts +1 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +9 -0
- package/dist-types/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -1
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +9 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCardExportJobsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +57 -93
- package/dist-types/models/models_1.d.ts +110 -83
- package/dist-types/models/models_2.d.ts +93 -135
- package/dist-types/models/models_3.d.ts +135 -128
- package/dist-types/models/models_4.d.ts +135 -4
- package/dist-types/ts3.4/commands/CreateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateArtifactCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelCardExportJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +21 -24
- package/dist-types/ts3.4/models/models_1.d.ts +37 -17
- package/dist-types/ts3.4/models/models_2.d.ts +20 -49
- package/dist-types/ts3.4/models/models_3.d.ts +49 -34
- package/dist-types/ts3.4/models/models_4.d.ts +37 -2
- package/package.json +1 -1
|
@@ -1101,13 +1101,22 @@ export const ClusterInstanceType = {
|
|
|
1101
1101
|
ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
|
|
1102
1102
|
ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
|
|
1103
1103
|
};
|
|
1104
|
+
export const DeepHealthCheckType = {
|
|
1105
|
+
INSTANCE_CONNECTIVITY: "InstanceConnectivity",
|
|
1106
|
+
INSTANCE_STRESS: "InstanceStress",
|
|
1107
|
+
};
|
|
1104
1108
|
export const ClusterInstanceStatus = {
|
|
1109
|
+
DEEP_HEALTH_CHECK_IN_PROGRESS: "DeepHealthCheckInProgress",
|
|
1105
1110
|
FAILURE: "Failure",
|
|
1106
1111
|
PENDING: "Pending",
|
|
1107
1112
|
RUNNING: "Running",
|
|
1108
1113
|
SHUTTING_DOWN: "ShuttingDown",
|
|
1109
1114
|
SYSTEM_UPDATING: "SystemUpdating",
|
|
1110
1115
|
};
|
|
1116
|
+
export const ClusterNodeRecovery = {
|
|
1117
|
+
AUTOMATIC: "Automatic",
|
|
1118
|
+
NONE: "None",
|
|
1119
|
+
};
|
|
1111
1120
|
export const ClusterSortBy = {
|
|
1112
1121
|
CREATION_TIME: "CREATION_TIME",
|
|
1113
1122
|
NAME: "NAME",
|
|
@@ -1260,16 +1269,3 @@ export const HyperParameterTuningJobObjectiveType = {
|
|
|
1260
1269
|
MAXIMIZE: "Maximize",
|
|
1261
1270
|
MINIMIZE: "Minimize",
|
|
1262
1271
|
};
|
|
1263
|
-
export class ResourceInUse extends __BaseException {
|
|
1264
|
-
constructor(opts) {
|
|
1265
|
-
super({
|
|
1266
|
-
name: "ResourceInUse",
|
|
1267
|
-
$fault: "client",
|
|
1268
|
-
...opts,
|
|
1269
|
-
});
|
|
1270
|
-
this.name = "ResourceInUse";
|
|
1271
|
-
this.$fault = "client";
|
|
1272
|
-
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
1273
|
-
this.Message = opts.Message;
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
1
|
+
import { SENSITIVE_STRING, } from "@smithy/smithy-client";
|
|
2
|
+
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
3
|
+
export class ResourceInUse extends __BaseException {
|
|
4
|
+
constructor(opts) {
|
|
5
|
+
super({
|
|
6
|
+
name: "ResourceInUse",
|
|
7
|
+
$fault: "client",
|
|
8
|
+
...opts,
|
|
9
|
+
});
|
|
10
|
+
this.name = "ResourceInUse";
|
|
11
|
+
this.$fault = "client";
|
|
12
|
+
Object.setPrototypeOf(this, ResourceInUse.prototype);
|
|
13
|
+
this.Message = opts.Message;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
2
16
|
export const Framework = {
|
|
3
17
|
DARKNET: "DARKNET",
|
|
4
18
|
KERAS: "KERAS",
|
|
@@ -273,29 +273,6 @@ export const LabelingJobStatus = {
|
|
|
273
273
|
STOPPED: "Stopped",
|
|
274
274
|
STOPPING: "Stopping",
|
|
275
275
|
};
|
|
276
|
-
export const IsTrackingServerActive = {
|
|
277
|
-
ACTIVE: "Active",
|
|
278
|
-
INACTIVE: "Inactive",
|
|
279
|
-
};
|
|
280
|
-
export const TrackingServerStatus = {
|
|
281
|
-
CREATED: "Created",
|
|
282
|
-
CREATE_FAILED: "CreateFailed",
|
|
283
|
-
CREATING: "Creating",
|
|
284
|
-
DELETE_FAILED: "DeleteFailed",
|
|
285
|
-
DELETING: "Deleting",
|
|
286
|
-
MAINTENANCE_COMPLETE: "MaintenanceComplete",
|
|
287
|
-
MAINTENANCE_FAILED: "MaintenanceFailed",
|
|
288
|
-
MAINTENANCE_IN_PROGRESS: "MaintenanceInProgress",
|
|
289
|
-
STARTED: "Started",
|
|
290
|
-
STARTING: "Starting",
|
|
291
|
-
START_FAILED: "StartFailed",
|
|
292
|
-
STOPPED: "Stopped",
|
|
293
|
-
STOPPING: "Stopping",
|
|
294
|
-
STOP_FAILED: "StopFailed",
|
|
295
|
-
UPDATED: "Updated",
|
|
296
|
-
UPDATE_FAILED: "UpdateFailed",
|
|
297
|
-
UPDATING: "Updating",
|
|
298
|
-
};
|
|
299
276
|
export const OidcConfigFilterSensitiveLog = (obj) => ({
|
|
300
277
|
...obj,
|
|
301
278
|
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const IsTrackingServerActive = {
|
|
4
|
+
ACTIVE: "Active",
|
|
5
|
+
INACTIVE: "Inactive",
|
|
6
|
+
};
|
|
7
|
+
export const TrackingServerStatus = {
|
|
8
|
+
CREATED: "Created",
|
|
9
|
+
CREATE_FAILED: "CreateFailed",
|
|
10
|
+
CREATING: "Creating",
|
|
11
|
+
DELETE_FAILED: "DeleteFailed",
|
|
12
|
+
DELETING: "Deleting",
|
|
13
|
+
MAINTENANCE_COMPLETE: "MaintenanceComplete",
|
|
14
|
+
MAINTENANCE_FAILED: "MaintenanceFailed",
|
|
15
|
+
MAINTENANCE_IN_PROGRESS: "MaintenanceInProgress",
|
|
16
|
+
STARTED: "Started",
|
|
17
|
+
STARTING: "Starting",
|
|
18
|
+
START_FAILED: "StartFailed",
|
|
19
|
+
STOPPED: "Stopped",
|
|
20
|
+
STOPPING: "Stopping",
|
|
21
|
+
STOP_FAILED: "StopFailed",
|
|
22
|
+
UPDATED: "Updated",
|
|
23
|
+
UPDATE_FAILED: "UpdateFailed",
|
|
24
|
+
UPDATING: "Updating",
|
|
25
|
+
};
|
|
3
26
|
export const ModelCardProcessingStatus = {
|
|
4
27
|
CONTENT_DELETED: "ContentDeleted",
|
|
5
28
|
DELETE_COMPLETED: "DeleteCompleted",
|
|
@@ -380,10 +403,6 @@ export const ModelCardExportJobSortOrder = {
|
|
|
380
403
|
ASCENDING: "Ascending",
|
|
381
404
|
DESCENDING: "Descending",
|
|
382
405
|
};
|
|
383
|
-
export const ModelCardSortBy = {
|
|
384
|
-
CREATION_TIME: "CreationTime",
|
|
385
|
-
NAME: "Name",
|
|
386
|
-
};
|
|
387
406
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
388
407
|
...obj,
|
|
389
408
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
3
|
import { OidcConfigFilterSensitiveLog, } from "./models_2";
|
|
4
|
+
export const ModelCardSortBy = {
|
|
5
|
+
CREATION_TIME: "CreationTime",
|
|
6
|
+
NAME: "Name",
|
|
7
|
+
};
|
|
4
8
|
export const ModelCardSortOrder = {
|
|
5
9
|
ASCENDING: "Ascending",
|
|
6
10
|
DESCENDING: "Descending",
|
|
@@ -2,7 +2,8 @@ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, LazyJsonString as __LazyJsonString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
5
|
-
import { ConflictException,
|
|
5
|
+
import { ConflictException, ResourceLimitExceeded, ResourceNotFound, } from "../models/models_0";
|
|
6
|
+
import { ResourceInUse, } from "../models/models_1";
|
|
6
7
|
import { TrialComponentParameterValue, } from "../models/models_2";
|
|
7
8
|
import { SageMakerServiceException as __BaseException } from "../models/SageMakerServiceException";
|
|
8
9
|
export const se_AddAssociationCommand = async (input, context) => {
|
|
@@ -8613,6 +8614,7 @@ const de_ClusterInstanceGroupDetails = (output, context) => {
|
|
|
8613
8614
|
InstanceStorageConfigs: (_) => de_ClusterInstanceStorageConfigs(_, context),
|
|
8614
8615
|
InstanceType: __expectString,
|
|
8615
8616
|
LifeCycleConfig: (_) => de_ClusterLifeCycleConfig(_, context),
|
|
8617
|
+
OnStartDeepHealthChecks: (_) => de_OnStartDeepHealthChecks(_, context),
|
|
8616
8618
|
TargetCount: __expectInt32,
|
|
8617
8619
|
ThreadsPerCore: __expectInt32,
|
|
8618
8620
|
});
|
|
@@ -8691,6 +8693,16 @@ const de_ClusterNodeSummary = (output, context) => {
|
|
|
8691
8693
|
LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
8692
8694
|
});
|
|
8693
8695
|
};
|
|
8696
|
+
const de_ClusterOrchestrator = (output, context) => {
|
|
8697
|
+
return take(output, {
|
|
8698
|
+
Eks: (_) => de_ClusterOrchestratorEksConfig(_, context),
|
|
8699
|
+
});
|
|
8700
|
+
};
|
|
8701
|
+
const de_ClusterOrchestratorEksConfig = (output, context) => {
|
|
8702
|
+
return take(output, {
|
|
8703
|
+
ClusterArn: __expectString,
|
|
8704
|
+
});
|
|
8705
|
+
};
|
|
8694
8706
|
const de_ClusterSummaries = (output, context) => {
|
|
8695
8707
|
const retVal = (output || [])
|
|
8696
8708
|
.filter((e) => e != null)
|
|
@@ -9745,6 +9757,8 @@ const de_DescribeClusterResponse = (output, context) => {
|
|
|
9745
9757
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
9746
9758
|
FailureMessage: __expectString,
|
|
9747
9759
|
InstanceGroups: (_) => de_ClusterInstanceGroupDetailsList(_, context),
|
|
9760
|
+
NodeRecovery: __expectString,
|
|
9761
|
+
Orchestrator: (_) => de_ClusterOrchestrator(_, context),
|
|
9748
9762
|
VpcConfig: (_) => de_VpcConfig(_, context),
|
|
9749
9763
|
});
|
|
9750
9764
|
};
|
|
@@ -14000,6 +14014,14 @@ const de_OnlineStoreSecurityConfig = (output, context) => {
|
|
|
14000
14014
|
KmsKeyId: __expectString,
|
|
14001
14015
|
});
|
|
14002
14016
|
};
|
|
14017
|
+
const de_OnStartDeepHealthChecks = (output, context) => {
|
|
14018
|
+
const retVal = (output || [])
|
|
14019
|
+
.filter((e) => e != null)
|
|
14020
|
+
.map((entry) => {
|
|
14021
|
+
return __expectString(entry);
|
|
14022
|
+
});
|
|
14023
|
+
return retVal;
|
|
14024
|
+
};
|
|
14003
14025
|
const de_OptimizationConfig = (output, context) => {
|
|
14004
14026
|
if (output.ModelCompilationConfig != null) {
|
|
14005
14027
|
return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateAppImageConfigRequest, CreateAppImageConfigResponse } from "../models/
|
|
3
|
+
import { CreateAppImageConfigRequest, CreateAppImageConfigResponse } from "../models/models_1";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreateArtifactRequest } from "../models/
|
|
4
|
-
import { CreateArtifactResponse } from "../models/models_1";
|
|
3
|
+
import { CreateArtifactRequest, CreateArtifactResponse } from "../models/models_1";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -57,6 +57,9 @@ declare const CreateClusterCommand_base: {
|
|
|
57
57
|
* },
|
|
58
58
|
* },
|
|
59
59
|
* ],
|
|
60
|
+
* OnStartDeepHealthChecks: [ // OnStartDeepHealthChecks
|
|
61
|
+
* "InstanceStress" || "InstanceConnectivity",
|
|
62
|
+
* ],
|
|
60
63
|
* },
|
|
61
64
|
* ],
|
|
62
65
|
* VpcConfig: { // VpcConfig
|
|
@@ -73,6 +76,12 @@ declare const CreateClusterCommand_base: {
|
|
|
73
76
|
* Value: "STRING_VALUE", // required
|
|
74
77
|
* },
|
|
75
78
|
* ],
|
|
79
|
+
* Orchestrator: { // ClusterOrchestrator
|
|
80
|
+
* Eks: { // ClusterOrchestratorEksConfig
|
|
81
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* NodeRecovery: "Automatic" || "None",
|
|
76
85
|
* };
|
|
77
86
|
* const command = new CreateClusterCommand(input);
|
|
78
87
|
* const response = await client.send(command);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreatePresignedMlflowTrackingServerUrlRequest
|
|
3
|
+
import { CreatePresignedMlflowTrackingServerUrlRequest } from "../models/models_1";
|
|
4
|
+
import { CreatePresignedMlflowTrackingServerUrlResponse } from "../models/models_2";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CreatePresignedNotebookInstanceUrlInput, CreatePresignedNotebookInstanceUrlOutput } from "../models/
|
|
3
|
+
import { CreatePresignedNotebookInstanceUrlInput, CreatePresignedNotebookInstanceUrlOutput } from "../models/models_2";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -64,6 +64,9 @@ declare const DescribeClusterCommand_base: {
|
|
|
64
64
|
* // },
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
|
+
* // OnStartDeepHealthChecks: [ // OnStartDeepHealthChecks
|
|
68
|
+
* // "InstanceStress" || "InstanceConnectivity",
|
|
69
|
+
* // ],
|
|
67
70
|
* // },
|
|
68
71
|
* // ],
|
|
69
72
|
* // VpcConfig: { // VpcConfig
|
|
@@ -74,6 +77,12 @@ declare const DescribeClusterCommand_base: {
|
|
|
74
77
|
* // "STRING_VALUE",
|
|
75
78
|
* // ],
|
|
76
79
|
* // },
|
|
80
|
+
* // Orchestrator: { // ClusterOrchestrator
|
|
81
|
+
* // Eks: { // ClusterOrchestratorEksConfig
|
|
82
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // },
|
|
85
|
+
* // NodeRecovery: "Automatic" || "None",
|
|
77
86
|
* // };
|
|
78
87
|
*
|
|
79
88
|
* ```
|
|
@@ -46,7 +46,7 @@ declare const DescribeClusterNodeCommand_base: {
|
|
|
46
46
|
* // InstanceGroupName: "STRING_VALUE",
|
|
47
47
|
* // InstanceId: "STRING_VALUE",
|
|
48
48
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
49
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating", // required
|
|
49
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress", // required
|
|
50
50
|
* // Message: "STRING_VALUE",
|
|
51
51
|
* // },
|
|
52
52
|
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeMlflowTrackingServerRequest, DescribeMlflowTrackingServerResponse } from "../models/
|
|
3
|
+
import { DescribeMlflowTrackingServerRequest, DescribeMlflowTrackingServerResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -56,7 +56,7 @@ declare const ListClusterNodesCommand_base: {
|
|
|
56
56
|
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge", // required
|
|
57
57
|
* // LaunchTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
59
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating", // required
|
|
59
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress", // required
|
|
60
60
|
* // Message: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
62
62
|
* // },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListModelCardExportJobsRequest, ListModelCardExportJobsResponse } from "../models/
|
|
3
|
+
import { ListModelCardExportJobsRequest, ListModelCardExportJobsResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -54,8 +54,12 @@ declare const UpdateClusterCommand_base: {
|
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
56
56
|
* ],
|
|
57
|
+
* OnStartDeepHealthChecks: [ // OnStartDeepHealthChecks
|
|
58
|
+
* "InstanceStress" || "InstanceConnectivity",
|
|
59
|
+
* ],
|
|
57
60
|
* },
|
|
58
61
|
* ],
|
|
62
|
+
* NodeRecovery: "Automatic" || "None",
|
|
59
63
|
* };
|
|
60
64
|
* const command = new UpdateClusterCommand(input);
|
|
61
65
|
* const response = await client.send(command);
|
|
@@ -8557,6 +8557,18 @@ export interface ClusterLifeCycleConfig {
|
|
|
8557
8557
|
*/
|
|
8558
8558
|
OnCreate: string | undefined;
|
|
8559
8559
|
}
|
|
8560
|
+
/**
|
|
8561
|
+
* @public
|
|
8562
|
+
* @enum
|
|
8563
|
+
*/
|
|
8564
|
+
export declare const DeepHealthCheckType: {
|
|
8565
|
+
readonly INSTANCE_CONNECTIVITY: "InstanceConnectivity";
|
|
8566
|
+
readonly INSTANCE_STRESS: "InstanceStress";
|
|
8567
|
+
};
|
|
8568
|
+
/**
|
|
8569
|
+
* @public
|
|
8570
|
+
*/
|
|
8571
|
+
export type DeepHealthCheckType = (typeof DeepHealthCheckType)[keyof typeof DeepHealthCheckType];
|
|
8560
8572
|
/**
|
|
8561
8573
|
* <p>Details of an instance group in a SageMaker HyperPod cluster.</p>
|
|
8562
8574
|
* @public
|
|
@@ -8610,6 +8622,11 @@ export interface ClusterInstanceGroupDetails {
|
|
|
8610
8622
|
* @public
|
|
8611
8623
|
*/
|
|
8612
8624
|
InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
|
|
8625
|
+
/**
|
|
8626
|
+
* <p>A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.</p>
|
|
8627
|
+
* @public
|
|
8628
|
+
*/
|
|
8629
|
+
OnStartDeepHealthChecks?: DeepHealthCheckType[];
|
|
8613
8630
|
}
|
|
8614
8631
|
/**
|
|
8615
8632
|
* <p>The specifications of an instance group that you need to define.</p>
|
|
@@ -8659,6 +8676,11 @@ export interface ClusterInstanceGroupSpecification {
|
|
|
8659
8676
|
* @public
|
|
8660
8677
|
*/
|
|
8661
8678
|
InstanceStorageConfigs?: ClusterInstanceStorageConfig[];
|
|
8679
|
+
/**
|
|
8680
|
+
* <p>A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.</p>
|
|
8681
|
+
* @public
|
|
8682
|
+
*/
|
|
8683
|
+
OnStartDeepHealthChecks?: DeepHealthCheckType[];
|
|
8662
8684
|
}
|
|
8663
8685
|
/**
|
|
8664
8686
|
* <p>Specifies the placement details for the node in the SageMaker HyperPod cluster, including the
|
|
@@ -8683,6 +8705,7 @@ export interface ClusterInstancePlacement {
|
|
|
8683
8705
|
* @enum
|
|
8684
8706
|
*/
|
|
8685
8707
|
export declare const ClusterInstanceStatus: {
|
|
8708
|
+
readonly DEEP_HEALTH_CHECK_IN_PROGRESS: "DeepHealthCheckInProgress";
|
|
8686
8709
|
readonly FAILURE: "Failure";
|
|
8687
8710
|
readonly PENDING: "Pending";
|
|
8688
8711
|
readonly RUNNING: "Running";
|
|
@@ -8773,6 +8796,18 @@ export interface ClusterNodeDetails {
|
|
|
8773
8796
|
*/
|
|
8774
8797
|
Placement?: ClusterInstancePlacement;
|
|
8775
8798
|
}
|
|
8799
|
+
/**
|
|
8800
|
+
* @public
|
|
8801
|
+
* @enum
|
|
8802
|
+
*/
|
|
8803
|
+
export declare const ClusterNodeRecovery: {
|
|
8804
|
+
readonly AUTOMATIC: "Automatic";
|
|
8805
|
+
readonly NONE: "None";
|
|
8806
|
+
};
|
|
8807
|
+
/**
|
|
8808
|
+
* @public
|
|
8809
|
+
*/
|
|
8810
|
+
export type ClusterNodeRecovery = (typeof ClusterNodeRecovery)[keyof typeof ClusterNodeRecovery];
|
|
8776
8811
|
/**
|
|
8777
8812
|
* <p>Lists a summary of the properties of an instance (also called a
|
|
8778
8813
|
* <i>node</i> interchangeably) of a SageMaker HyperPod cluster.</p>
|
|
@@ -8805,6 +8840,28 @@ export interface ClusterNodeSummary {
|
|
|
8805
8840
|
*/
|
|
8806
8841
|
InstanceStatus: ClusterInstanceStatusDetails | undefined;
|
|
8807
8842
|
}
|
|
8843
|
+
/**
|
|
8844
|
+
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
8845
|
+
* @public
|
|
8846
|
+
*/
|
|
8847
|
+
export interface ClusterOrchestratorEksConfig {
|
|
8848
|
+
/**
|
|
8849
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
|
|
8850
|
+
* @public
|
|
8851
|
+
*/
|
|
8852
|
+
ClusterArn: string | undefined;
|
|
8853
|
+
}
|
|
8854
|
+
/**
|
|
8855
|
+
* <p>The type of orchestrator used for the SageMaker HyperPod cluster.</p>
|
|
8856
|
+
* @public
|
|
8857
|
+
*/
|
|
8858
|
+
export interface ClusterOrchestrator {
|
|
8859
|
+
/**
|
|
8860
|
+
* <p>The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
|
|
8861
|
+
* @public
|
|
8862
|
+
*/
|
|
8863
|
+
Eks: ClusterOrchestratorEksConfig | undefined;
|
|
8864
|
+
}
|
|
8808
8865
|
/**
|
|
8809
8866
|
* @public
|
|
8810
8867
|
* @enum
|
|
@@ -8908,7 +8965,6 @@ export interface CodeEditorAppSettings {
|
|
|
8908
8965
|
LifecycleConfigArns?: string[];
|
|
8909
8966
|
/**
|
|
8910
8967
|
* <p>Settings that are used to configure and manage the lifecycle of CodeEditor applications.</p>
|
|
8911
|
-
* <p></p>
|
|
8912
8968
|
* @public
|
|
8913
8969
|
*/
|
|
8914
8970
|
AppLifecycleManagement?: AppLifecycleManagement;
|
|
@@ -10184,95 +10240,3 @@ export interface CreateAppResponse {
|
|
|
10184
10240
|
*/
|
|
10185
10241
|
AppArn?: string;
|
|
10186
10242
|
}
|
|
10187
|
-
/**
|
|
10188
|
-
* <p>Resource being accessed is in use.</p>
|
|
10189
|
-
* @public
|
|
10190
|
-
*/
|
|
10191
|
-
export declare class ResourceInUse extends __BaseException {
|
|
10192
|
-
readonly name: "ResourceInUse";
|
|
10193
|
-
readonly $fault: "client";
|
|
10194
|
-
Message?: string;
|
|
10195
|
-
/**
|
|
10196
|
-
* @internal
|
|
10197
|
-
*/
|
|
10198
|
-
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
10199
|
-
}
|
|
10200
|
-
/**
|
|
10201
|
-
* @public
|
|
10202
|
-
*/
|
|
10203
|
-
export interface CreateAppImageConfigRequest {
|
|
10204
|
-
/**
|
|
10205
|
-
* <p>The name of the AppImageConfig. Must be unique to your account.</p>
|
|
10206
|
-
* @public
|
|
10207
|
-
*/
|
|
10208
|
-
AppImageConfigName: string | undefined;
|
|
10209
|
-
/**
|
|
10210
|
-
* <p>A list of tags to apply to the AppImageConfig.</p>
|
|
10211
|
-
* @public
|
|
10212
|
-
*/
|
|
10213
|
-
Tags?: Tag[];
|
|
10214
|
-
/**
|
|
10215
|
-
* <p>The KernelGatewayImageConfig. You can only specify one image kernel in the
|
|
10216
|
-
* AppImageConfig API. This kernel will be shown to users before the
|
|
10217
|
-
* image starts. Once the image runs, all kernels are visible in JupyterLab.</p>
|
|
10218
|
-
* @public
|
|
10219
|
-
*/
|
|
10220
|
-
KernelGatewayImageConfig?: KernelGatewayImageConfig;
|
|
10221
|
-
/**
|
|
10222
|
-
* <p>The <code>JupyterLabAppImageConfig</code>. You can only specify one image kernel in the <code>AppImageConfig</code> API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.</p>
|
|
10223
|
-
* @public
|
|
10224
|
-
*/
|
|
10225
|
-
JupyterLabAppImageConfig?: JupyterLabAppImageConfig;
|
|
10226
|
-
/**
|
|
10227
|
-
* <p>The <code>CodeEditorAppImageConfig</code>. You can only specify one image kernel
|
|
10228
|
-
* in the AppImageConfig API. This kernel is shown to users before the image starts.
|
|
10229
|
-
* After the image runs, all kernels are visible in Code Editor.</p>
|
|
10230
|
-
* @public
|
|
10231
|
-
*/
|
|
10232
|
-
CodeEditorAppImageConfig?: CodeEditorAppImageConfig;
|
|
10233
|
-
}
|
|
10234
|
-
/**
|
|
10235
|
-
* @public
|
|
10236
|
-
*/
|
|
10237
|
-
export interface CreateAppImageConfigResponse {
|
|
10238
|
-
/**
|
|
10239
|
-
* <p>The ARN of the AppImageConfig.</p>
|
|
10240
|
-
* @public
|
|
10241
|
-
*/
|
|
10242
|
-
AppImageConfigArn?: string;
|
|
10243
|
-
}
|
|
10244
|
-
/**
|
|
10245
|
-
* @public
|
|
10246
|
-
*/
|
|
10247
|
-
export interface CreateArtifactRequest {
|
|
10248
|
-
/**
|
|
10249
|
-
* <p>The name of the artifact. Must be unique to your account in an Amazon Web Services Region.</p>
|
|
10250
|
-
* @public
|
|
10251
|
-
*/
|
|
10252
|
-
ArtifactName?: string;
|
|
10253
|
-
/**
|
|
10254
|
-
* <p>The ID, ID type, and URI of the source.</p>
|
|
10255
|
-
* @public
|
|
10256
|
-
*/
|
|
10257
|
-
Source: ArtifactSource | undefined;
|
|
10258
|
-
/**
|
|
10259
|
-
* <p>The artifact type.</p>
|
|
10260
|
-
* @public
|
|
10261
|
-
*/
|
|
10262
|
-
ArtifactType: string | undefined;
|
|
10263
|
-
/**
|
|
10264
|
-
* <p>A list of properties to add to the artifact.</p>
|
|
10265
|
-
* @public
|
|
10266
|
-
*/
|
|
10267
|
-
Properties?: Record<string, string>;
|
|
10268
|
-
/**
|
|
10269
|
-
* <p>Metadata properties of the tracking entity, trial, or trial component.</p>
|
|
10270
|
-
* @public
|
|
10271
|
-
*/
|
|
10272
|
-
MetadataProperties?: MetadataProperties;
|
|
10273
|
-
/**
|
|
10274
|
-
* <p>A list of tags to apply to the artifact.</p>
|
|
10275
|
-
* @public
|
|
10276
|
-
*/
|
|
10277
|
-
Tags?: Tag[];
|
|
10278
|
-
}
|