@aws-sdk/client-sagemaker 3.1149.0 → 3.1150.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 +35 -0
- package/dist-cjs/index.js +218 -14
- package/dist-es/SageMaker.js +12 -0
- package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
- package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
- package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
- package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
- package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +153 -13
- package/dist-types/SageMaker.d.ts +43 -0
- package/dist-types/SageMakerClient.d.ts +7 -2
- package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
- package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
- package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
- package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -1
- package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
- package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
- package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +22 -37
- package/dist-types/models/models_1.d.ts +37 -22
- package/dist-types/models/models_2.d.ts +152 -285
- package/dist-types/models/models_3.d.ts +430 -401
- package/dist-types/models/models_4.d.ts +463 -343
- package/dist-types/models/models_5.d.ts +335 -4
- package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +22 -0
- package/dist-types/ts3.4/SageMaker.d.ts +93 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -9
- package/dist-types/ts3.4/models/models_1.d.ts +10 -5
- package/dist-types/ts3.4/models/models_2.d.ts +37 -78
- package/dist-types/ts3.4/models/models_3.d.ts +101 -95
- package/dist-types/ts3.4/models/models_4.d.ts +123 -89
- package/dist-types/ts3.4/models/models_5.d.ts +96 -1
- package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +3 -3
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeTrainingSessionRequest, DescribeTrainingSessionResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeTrainingSessionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeTrainingSessionCommandInput extends DescribeTrainingSessionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeTrainingSessionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeTrainingSessionCommandOutput extends DescribeTrainingSessionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeTrainingSessionCommand_base: {
|
|
22
|
+
new (input: DescribeTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<DescribeTrainingSessionCommandInput, DescribeTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<DescribeTrainingSessionCommandInput, DescribeTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves detailed information about a training session, including its current status, model configuration, Low-Rank Adaptation (LoRA) parameters, and timestamps.</p> <p>The following operations are related to <code>DescribeTrainingSession</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>ListTrainingSessions</code> </p> </li> <li> <p> <code>StopTrainingSession</code> </p> </li> <li> <p> <code>DeleteTrainingSession</code> </p> </li> </ul>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, DescribeTrainingSessionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, DescribeTrainingSessionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // DescribeTrainingSessionRequest
|
|
37
|
+
* TrainingSessionName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeTrainingSessionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeTrainingSessionResponse
|
|
42
|
+
* // TrainingSessionDetail: { // TrainingSessionDetail
|
|
43
|
+
* // TrainingSessionArn: "STRING_VALUE", // required
|
|
44
|
+
* // TrainingSessionName: "STRING_VALUE", // required
|
|
45
|
+
* // TrainingSessionStatus: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed", // required
|
|
46
|
+
* // ModelPackageGroupArn: "STRING_VALUE",
|
|
47
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
49
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // ErrorDetails: "STRING_VALUE",
|
|
51
|
+
* // LastReceivedSequenceNumber: Number("int"),
|
|
52
|
+
* // BillableTokenUsage: { // BillableTokenUsage
|
|
53
|
+
* // PrefillTokenCount: Number("long"),
|
|
54
|
+
* // SampleTokenCount: Number("long"),
|
|
55
|
+
* // TrainingTokenCount: Number("long"),
|
|
56
|
+
* // },
|
|
57
|
+
* // VpcConfig: { // VpcConfig
|
|
58
|
+
* // SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // Subnets: [ // Subnets // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // RoleArn: "STRING_VALUE",
|
|
66
|
+
* // LoraConfig: { // LoraConfig
|
|
67
|
+
* // Rank: Number("int"), // required
|
|
68
|
+
* // Alpha: Number("int"), // required
|
|
69
|
+
* // },
|
|
70
|
+
* // ModelConfig: { // TrainingSessionModelConfig
|
|
71
|
+
* // BaseModelArn: "STRING_VALUE", // required
|
|
72
|
+
* // AcceptEula: true || false,
|
|
73
|
+
* // },
|
|
74
|
+
* // OutputConfig: { // TrainingSessionOutputConfig
|
|
75
|
+
* // S3Location: { // TrainingSessionS3Location
|
|
76
|
+
* // Path: "STRING_VALUE", // required
|
|
77
|
+
* // KmsKeyArn: "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // Tags: [ // TagList
|
|
81
|
+
* // { // Tag
|
|
82
|
+
* // Key: "STRING_VALUE", // required
|
|
83
|
+
* // Value: "STRING_VALUE", // required
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
86
|
+
* // },
|
|
87
|
+
* // };
|
|
88
|
+
*
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param DescribeTrainingSessionCommandInput - {@link DescribeTrainingSessionCommandInput}
|
|
92
|
+
* @returns {@link DescribeTrainingSessionCommandOutput}
|
|
93
|
+
* @see {@link DescribeTrainingSessionCommandInput} for command's `input` shape.
|
|
94
|
+
* @see {@link DescribeTrainingSessionCommandOutput} for command's `response` shape.
|
|
95
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
98
|
+
* <p>Resource being access is not found.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link SageMakerServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class DescribeTrainingSessionCommand extends DescribeTrainingSessionCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: DescribeTrainingSessionRequest;
|
|
111
|
+
output: DescribeTrainingSessionResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: DescribeTrainingSessionCommandInput;
|
|
115
|
+
output: DescribeTrainingSessionCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListEdgeDeploymentPlansRequest
|
|
2
|
+
import type { ListEdgeDeploymentPlansRequest } from "../models/models_3";
|
|
3
|
+
import type { ListEdgeDeploymentPlansResponse } from "../models/models_4";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListEdgePackagingJobsRequest, ListEdgePackagingJobsResponse } from "../models/
|
|
2
|
+
import type { ListEdgePackagingJobsRequest, ListEdgePackagingJobsResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListEndpointConfigsInput, ListEndpointConfigsOutput } from "../models/
|
|
2
|
+
import type { ListEndpointConfigsInput, ListEndpointConfigsOutput } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListExperimentsRequest, ListExperimentsResponse } from "../models/
|
|
2
|
+
import type { ListExperimentsRequest, ListExperimentsResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFeatureGroupsRequest, ListFeatureGroupsResponse } from "../models/
|
|
2
|
+
import type { ListFeatureGroupsRequest, ListFeatureGroupsResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListFlowDefinitionsRequest } from "../models/
|
|
3
|
-
import type { ListFlowDefinitionsResponse } from "../models/models_4";
|
|
2
|
+
import type { ListFlowDefinitionsRequest, ListFlowDefinitionsResponse } from "../models/models_4";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListTrainingSessionsRequest, ListTrainingSessionsResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListTrainingSessionsCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListTrainingSessionsCommandInput extends ListTrainingSessionsRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListTrainingSessionsCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListTrainingSessionsCommandOutput extends ListTrainingSessionsResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListTrainingSessionsCommand_base: {
|
|
22
|
+
new (input: ListTrainingSessionsCommandInput): import("@smithy/core/client").CommandImpl<ListTrainingSessionsCommandInput, ListTrainingSessionsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListTrainingSessionsCommandInput]): import("@smithy/core/client").CommandImpl<ListTrainingSessionsCommandInput, ListTrainingSessionsCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists training sessions in your account. You can filter results by creation time, name, and status. The operation paginates results. To retrieve additional results, use the <code>NextToken</code> parameter.</p> <p>The following operations are related to <code>ListTrainingSessions</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>DescribeTrainingSession</code> </p> </li> </ul>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, ListTrainingSessionsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, ListTrainingSessionsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // ListTrainingSessionsRequest
|
|
37
|
+
* NextToken: "STRING_VALUE",
|
|
38
|
+
* MaxResults: Number("int"),
|
|
39
|
+
* CreationTimeAfter: new Date("TIMESTAMP"),
|
|
40
|
+
* CreationTimeBefore: new Date("TIMESTAMP"),
|
|
41
|
+
* NameContains: "STRING_VALUE",
|
|
42
|
+
* StatusEquals: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListTrainingSessionsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListTrainingSessionsResponse
|
|
47
|
+
* // NextToken: "STRING_VALUE",
|
|
48
|
+
* // TrainingSessionSummaries: [ // TrainingSessionSummaries
|
|
49
|
+
* // { // TrainingSessionSummary
|
|
50
|
+
* // TrainingSessionArn: "STRING_VALUE", // required
|
|
51
|
+
* // TrainingSessionStatus: "Created" || "Blocked" || "Running" || "Failed" || "Scheduled" || "Stopping" || "Stopped" || "Expired" || "Deleting" || "DeletionFailed", // required
|
|
52
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param ListTrainingSessionsCommandInput - {@link ListTrainingSessionsCommandInput}
|
|
61
|
+
* @returns {@link ListTrainingSessionsCommandOutput}
|
|
62
|
+
* @see {@link ListTrainingSessionsCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link ListTrainingSessionsCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link SageMakerServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class ListTrainingSessionsCommand extends ListTrainingSessionsCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: ListTrainingSessionsRequest;
|
|
77
|
+
output: ListTrainingSessionsResponse;
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: ListTrainingSessionsCommandInput;
|
|
81
|
+
output: ListTrainingSessionsCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StopTrainingSessionRequest, StopTrainingSessionResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StopTrainingSessionCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StopTrainingSessionCommandInput extends StopTrainingSessionRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StopTrainingSessionCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StopTrainingSessionCommandOutput extends StopTrainingSessionResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StopTrainingSessionCommand_base: {
|
|
22
|
+
new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StopTrainingSessionCommandInput): import("@smithy/core/client").CommandImpl<StopTrainingSessionCommandInput, StopTrainingSessionCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Stops a running training session and sets the session status to <code>Stopping</code>. After the session stops, the status changes to <code>Stopped</code>. To delete a stopped session, use the <code>DeleteTrainingSession</code> operation.</p> <p>The following operations are related to <code>StopTrainingSession</code>:</p> <ul> <li> <p> <code>CreateTrainingSession</code> </p> </li> <li> <p> <code>DescribeTrainingSession</code> </p> </li> <li> <p> <code>DeleteTrainingSession</code> </p> </li> </ul>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, StopTrainingSessionCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, StopTrainingSessionCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // StopTrainingSessionRequest
|
|
37
|
+
* TrainingSessionName: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new StopTrainingSessionCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param StopTrainingSessionCommandInput - {@link StopTrainingSessionCommandInput}
|
|
46
|
+
* @returns {@link StopTrainingSessionCommandOutput}
|
|
47
|
+
* @see {@link StopTrainingSessionCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link StopTrainingSessionCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
52
|
+
* <p>Resource being access is not found.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link SageMakerServiceException}
|
|
55
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class StopTrainingSessionCommand extends StopTrainingSessionCommand_base {
|
|
61
|
+
/** @internal type navigation helper, not in runtime. */
|
|
62
|
+
protected static __types: {
|
|
63
|
+
api: {
|
|
64
|
+
input: StopTrainingSessionRequest;
|
|
65
|
+
output: {};
|
|
66
|
+
};
|
|
67
|
+
sdk: {
|
|
68
|
+
input: StopTrainingSessionCommandInput;
|
|
69
|
+
output: StopTrainingSessionCommandOutput;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateEndpointInput
|
|
2
|
+
import type { UpdateEndpointInput } from "../models/models_4";
|
|
3
|
+
import type { UpdateEndpointOutput } from "../models/models_5";
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateEndpointWeightsAndCapacitiesInput, UpdateEndpointWeightsAndCapacitiesOutput } from "../models/
|
|
2
|
+
import type { UpdateEndpointWeightsAndCapacitiesInput, UpdateEndpointWeightsAndCapacitiesOutput } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateExperimentRequest, UpdateExperimentResponse } from "../models/
|
|
2
|
+
import type { UpdateExperimentRequest, UpdateExperimentResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateFeatureGroupRequest, UpdateFeatureGroupResponse } from "../models/
|
|
2
|
+
import type { UpdateFeatureGroupRequest, UpdateFeatureGroupResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateHubContentRequest, UpdateHubContentResponse } from "../models/
|
|
2
|
+
import type { UpdateHubContentRequest, UpdateHubContentResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { UpdateHubContentReferenceRequest, UpdateHubContentReferenceResponse } from "../models/
|
|
2
|
+
import type { UpdateHubContentReferenceRequest, UpdateHubContentReferenceResponse } from "../models/models_5";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -74,6 +74,7 @@ export * from "./CreateSpaceCommand";
|
|
|
74
74
|
export * from "./CreateStudioLifecycleConfigCommand";
|
|
75
75
|
export * from "./CreateTrainingJobCommand";
|
|
76
76
|
export * from "./CreateTrainingPlanCommand";
|
|
77
|
+
export * from "./CreateTrainingSessionCommand";
|
|
77
78
|
export * from "./CreateTransformJobCommand";
|
|
78
79
|
export * from "./CreateTrialCommand";
|
|
79
80
|
export * from "./CreateTrialComponentCommand";
|
|
@@ -137,6 +138,7 @@ export * from "./DeleteSpaceCommand";
|
|
|
137
138
|
export * from "./DeleteStudioLifecycleConfigCommand";
|
|
138
139
|
export * from "./DeleteTagsCommand";
|
|
139
140
|
export * from "./DeleteTrainingJobCommand";
|
|
141
|
+
export * from "./DeleteTrainingSessionCommand";
|
|
140
142
|
export * from "./DeleteTrialCommand";
|
|
141
143
|
export * from "./DeleteTrialComponentCommand";
|
|
142
144
|
export * from "./DeleteUserProfileCommand";
|
|
@@ -213,6 +215,7 @@ export * from "./DescribeSubscribedWorkteamCommand";
|
|
|
213
215
|
export * from "./DescribeTrainingJobCommand";
|
|
214
216
|
export * from "./DescribeTrainingPlanCommand";
|
|
215
217
|
export * from "./DescribeTrainingPlanExtensionHistoryCommand";
|
|
218
|
+
export * from "./DescribeTrainingSessionCommand";
|
|
216
219
|
export * from "./DescribeTransformJobCommand";
|
|
217
220
|
export * from "./DescribeTrialCommand";
|
|
218
221
|
export * from "./DescribeTrialComponentCommand";
|
|
@@ -314,6 +317,7 @@ export * from "./ListTagsCommand";
|
|
|
314
317
|
export * from "./ListTrainingJobsCommand";
|
|
315
318
|
export * from "./ListTrainingJobsForHyperParameterTuningJobCommand";
|
|
316
319
|
export * from "./ListTrainingPlansCommand";
|
|
320
|
+
export * from "./ListTrainingSessionsCommand";
|
|
317
321
|
export * from "./ListTransformJobsCommand";
|
|
318
322
|
export * from "./ListTrialComponentsCommand";
|
|
319
323
|
export * from "./ListTrialsCommand";
|
|
@@ -356,6 +360,7 @@ export * from "./StopOptimizationJobCommand";
|
|
|
356
360
|
export * from "./StopPipelineExecutionCommand";
|
|
357
361
|
export * from "./StopProcessingJobCommand";
|
|
358
362
|
export * from "./StopTrainingJobCommand";
|
|
363
|
+
export * from "./StopTrainingSessionCommand";
|
|
359
364
|
export * from "./StopTransformJobCommand";
|
|
360
365
|
export * from "./UpdateActionCommand";
|
|
361
366
|
export * from "./UpdateAppImageConfigCommand";
|
|
@@ -5457,6 +5457,26 @@ export declare const SageMakerResourceName: {
|
|
|
5457
5457
|
* @public
|
|
5458
5458
|
*/
|
|
5459
5459
|
export type SageMakerResourceName = (typeof SageMakerResourceName)[keyof typeof SageMakerResourceName];
|
|
5460
|
+
/**
|
|
5461
|
+
* @public
|
|
5462
|
+
* @enum
|
|
5463
|
+
*/
|
|
5464
|
+
export declare const TrainingSessionStatus: {
|
|
5465
|
+
readonly BLOCKED: "Blocked";
|
|
5466
|
+
readonly CREATED: "Created";
|
|
5467
|
+
readonly DELETING: "Deleting";
|
|
5468
|
+
readonly DELETION_FAILED: "DeletionFailed";
|
|
5469
|
+
readonly EXPIRED: "Expired";
|
|
5470
|
+
readonly FAILED: "Failed";
|
|
5471
|
+
readonly RUNNING: "Running";
|
|
5472
|
+
readonly SCHEDULED: "Scheduled";
|
|
5473
|
+
readonly STOPPED: "Stopped";
|
|
5474
|
+
readonly STOPPING: "Stopping";
|
|
5475
|
+
};
|
|
5476
|
+
/**
|
|
5477
|
+
* @public
|
|
5478
|
+
*/
|
|
5479
|
+
export type TrainingSessionStatus = (typeof TrainingSessionStatus)[keyof typeof TrainingSessionStatus];
|
|
5460
5480
|
/**
|
|
5461
5481
|
* @public
|
|
5462
5482
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType,
|
|
1
|
+
import type { ActionStatus, ActiveClusterOperationName, AdditionalS3DataSourceDataType, AggregationTransformationValue, AIBenchmarkJobStatus, AICapacityReservationPreference, AIRecommendationInferenceFramework, AIRecommendationInstanceType, AIRecommendationJobStatus, AIRecommendationMetric, AIRecommendationOptimizationType, AlgorithmStatus, AppInstanceType, AppStatus, AppType, ArtifactSourceIdType, AssemblyType, AssociationEdgeType, AsyncNotificationTopicTypes, AthenaResultCompressionType, AthenaResultFormat, AutoMLAlgorithm, AutoMLChannelType, AutoMLJobObjectiveType, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLMetricEnum, AutoMLMetricExtendedEnum, AutoMLMode, AutoMLProcessingUnit, AutoMLS3DataType, AutotuneMode, BatchAddClusterNodesErrorCode, BatchDeleteClusterNodesErrorCode, BatchRebootClusterNodesErrorCode, BatchReplaceClusterNodesErrorCode, BatchStrategy, CandidateStatus, CandidateStepType, CapacityReservationType, CapacitySizeType, CaptureMode, ClarifyFeatureType, ClarifyTextGranularity, ClarifyTextLanguage, ClusterAutoScalerType, ClusterAutoScalingMode, ClusterAutoScalingStatus, ClusterCapacityType, ClusterEventLevel, ClusterEventResourceType, ClusterFSxLustreDeletionPolicy, ClusterImageVersionStatus, ClusterInstanceStatus, ClusterInstanceType, ClusterInterfaceType, ClusterKubernetesTaintEffect, ClusterPatchingStrategy, ClusterSlurmConfigStrategy, ClusterSlurmNodeType, CompressionType, DatabaseConfigurationRollbackStatus, DataSourceName, DeepHealthCheckType, DetailedAlgorithmStatus, FeatureStatus, FileSystemAccessMode, FileSystemType, FillingType, InstanceGroupStatus, LifecycleManagement, MetricSetSource, MIGProfileType, ModelApprovalStatus, ModelCompressionType, ModelPackageRegistrationType, ModelPackageStatus, NodeUnavailabilityType, ObjectiveStatus, OutputCompressionType, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, RecordWrapper, S3DataDistribution, S3DataType, S3ModelDataType, SchedulerResourceStatus, SlurmHealthComponent, SlurmHealthReason, SlurmHealthStatus, SoftwareUpdateStatus, SplitType, TrafficRoutingConfigType, TrainingInputMode, TrainingInstanceType, TrainingRepositoryAccessMode, TransformInstanceType, VolumeAttachmentStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Configuration for allocating accelerator partitions.</p>
|
|
4
4
|
* @public
|
|
@@ -4524,6 +4524,27 @@ export interface Bias {
|
|
|
4524
4524
|
*/
|
|
4525
4525
|
PostTrainingReport?: MetricsSource | undefined;
|
|
4526
4526
|
}
|
|
4527
|
+
/**
|
|
4528
|
+
* <p>The billable token usage for a training session, broken down by operation type.</p>
|
|
4529
|
+
* @public
|
|
4530
|
+
*/
|
|
4531
|
+
export interface BillableTokenUsage {
|
|
4532
|
+
/**
|
|
4533
|
+
* <p>The number of prefill tokens consumed.</p>
|
|
4534
|
+
* @public
|
|
4535
|
+
*/
|
|
4536
|
+
PrefillTokenCount?: number | undefined;
|
|
4537
|
+
/**
|
|
4538
|
+
* <p>The number of sample tokens consumed.</p>
|
|
4539
|
+
* @public
|
|
4540
|
+
*/
|
|
4541
|
+
SampleTokenCount?: number | undefined;
|
|
4542
|
+
/**
|
|
4543
|
+
* <p>The number of training tokens consumed.</p>
|
|
4544
|
+
* @public
|
|
4545
|
+
*/
|
|
4546
|
+
TrainingTokenCount?: number | undefined;
|
|
4547
|
+
}
|
|
4527
4548
|
/**
|
|
4528
4549
|
* <p>Specifies the type and size of the endpoint capacity to activate for a blue/green deployment, a rolling deployment, or a rollback strategy. You can specify your batches as either instance count or the overall percentage or your fleet.</p> <p>For a rollback strategy, if you don't specify the fields in this object, or if you set the <code>Value</code> to 100%, then SageMaker uses a blue/green rollback strategy and rolls all traffic back to the blue fleet.</p>
|
|
4529
4550
|
* @public
|
|
@@ -7091,39 +7112,3 @@ export interface ClusterSchedulerConfigSummary {
|
|
|
7091
7112
|
*/
|
|
7092
7113
|
ClusterArn?: string | undefined;
|
|
7093
7114
|
}
|
|
7094
|
-
/**
|
|
7095
|
-
* <p>Lists a summary of the properties of a SageMaker HyperPod cluster.</p>
|
|
7096
|
-
* @public
|
|
7097
|
-
*/
|
|
7098
|
-
export interface ClusterSummary {
|
|
7099
|
-
/**
|
|
7100
|
-
* <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
|
|
7101
|
-
* @public
|
|
7102
|
-
*/
|
|
7103
|
-
ClusterArn: string | undefined;
|
|
7104
|
-
/**
|
|
7105
|
-
* <p>The name of the SageMaker HyperPod cluster.</p>
|
|
7106
|
-
* @public
|
|
7107
|
-
*/
|
|
7108
|
-
ClusterName: string | undefined;
|
|
7109
|
-
/**
|
|
7110
|
-
* <p>The time when the SageMaker HyperPod cluster is created.</p>
|
|
7111
|
-
* @public
|
|
7112
|
-
*/
|
|
7113
|
-
CreationTime: Date | undefined;
|
|
7114
|
-
/**
|
|
7115
|
-
* <p>The status of the SageMaker HyperPod cluster.</p>
|
|
7116
|
-
* @public
|
|
7117
|
-
*/
|
|
7118
|
-
ClusterStatus: ClusterStatus | undefined;
|
|
7119
|
-
/**
|
|
7120
|
-
* <p>A list of Amazon Resource Names (ARNs) of the training plans associated with this cluster.</p> <p>For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
|
|
7121
|
-
* @public
|
|
7122
|
-
*/
|
|
7123
|
-
TrainingPlanArns?: string[] | undefined;
|
|
7124
|
-
/**
|
|
7125
|
-
* <p>The aggregate status of the image version across the cluster's instance groups.</p>
|
|
7126
|
-
* @public
|
|
7127
|
-
*/
|
|
7128
|
-
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
7129
|
-
}
|
|
@@ -1,6 +1,42 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
|
-
import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterNodeProvisioningMode, ClusterNodeRecovery, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
|
|
2
|
+
import type { AccountDefaultStatus, ActionStatus, ActivationState, AppInstanceType, AppNetworkAccessType, AppSecurityGroupManagement, AppType, AuthMode, AutoMountHomeEFS, AvailabilityZoneBalanceEnforcementMode, AwsManagedHumanLoopRequestSource, CapacityReservationPreference, ClusterConfigMode, ClusterImageVersionStatus, ClusterNodeProvisioningMode, ClusterNodeRecovery, ClusterStatus, CollectionType, CompilationJobStatus, CompleteOnConvergence, ConditionOutcome, ContainerMode, ContentClassifier, DeviceSubsetType, EdgePresetDeploymentType, ExecutionRoleIdentityConfig, ExecutionRoleSessionNameMode, FailureHandlingPolicy, FairShare, FeatureStatus, FeatureType, FlatInvocations, Framework, HomeEfsFileSystemCreation, HubContentType, HyperParameterScalingType, HyperParameterTuningAllocationStrategy, HyperParameterTuningJobObjectiveType, HyperParameterTuningJobStrategyType, HyperParameterTuningJobWarmStartType, IdleResourceSharing, InferenceComponentPlacementStrategy, InferenceExecutionMode, InferenceExperimentType, IPAddressType, JobCategory, JobType, ManagedInstanceScalingScaleInStrategy, ManagedInstanceScalingStatus, ManagedStorageType, MetricPublishFrequencyInSeconds, MlTools, ModelApprovalStatus, ModelCacheSetting, ModelCardStatus, ModelInfrastructureType, ModelPackageRegistrationType, ModelRegistrationMode, MonitoringProblemType, NotebookOutputOption, ParameterType, PreemptTeamTasks, ProblemType, ProcessingInstanceType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProcessingS3UploadMode, Processor, ProductionVariantAcceleratorType, ProductionVariantInferenceAmiVersion, ProductionVariantInstanceType, RecommendationJobSupportedEndpointType, RecommendationJobType, RepositoryAccessMode, ResourceSharingStrategy, RoutingStrategy, RStudioServerProAccessStatus, RStudioServerProUserGroup, SageMakerImageName, SchedulerResourceStatus, SkipModelValidation, StorageType, StudioWebPortal, TableFormat, TagPropagation, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, ThroughputMode, TrackingServerSize, TrafficType, TrainingInputMode, TrainingInstanceType, TrainingJobEarlyStoppingType, TtlDurationUnit, VendorGuidance } from "./enums";
|
|
3
3
|
import type { ActionSource, AdditionalInferenceSpecificationDefinition, AdditionalModelDataSource, AdditionalS3DataSource, AIAdapterSource, AIBenchmarkNetworkConfig, AIBenchmarkOutputConfig, AIBenchmarkTarget, AIDatasetConfig, AIModelSource, AIRecommendationComputeSpec, AIRecommendationInferenceSpecification, AIRecommendationOutputConfig, AIRecommendationPerformanceTarget, AIWorkloadConfigs, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppLifecycleManagement, ArtifactSource, AsyncInferenceConfig, AuthorizedUrl, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoParameter, AutoRollbackConfig, Autotune, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterAutoScalingConfig, ClusterInstanceGroupSpecification, ClusterOrchestrator, ClusterRestrictedInstanceGroupsConfig, ClusterRestrictedInstanceGroupSpecification, CodeEditorAppImageConfig, ComputeQuotaResourceConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelDataSource, OutputDataConfig, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TransformJobDefinition, VpcConfig } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>Lists a summary of the properties of a SageMaker HyperPod cluster.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface ClusterSummary {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
ClusterArn: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The name of the SageMaker HyperPod cluster.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
ClusterName: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* <p>The time when the SageMaker HyperPod cluster is created.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
CreationTime: Date | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The status of the SageMaker HyperPod cluster.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
ClusterStatus: ClusterStatus | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>A list of Amazon Resource Names (ARNs) of the training plans associated with this cluster.</p> <p>For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
TrainingPlanArns?: string[] | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The aggregate status of the image version across the cluster's instance groups.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
ImageVersionStatus?: ClusterImageVersionStatus | undefined;
|
|
39
|
+
}
|
|
4
40
|
/**
|
|
5
41
|
* <p>Defines the configuration for managed tier checkpointing in a HyperPod cluster. Managed tier checkpointing uses multiple storage tiers, including cluster CPU memory, to provide faster checkpoint operations and improved fault tolerance for large-scale model training. The system automatically saves checkpoints at high frequency to memory and periodically persists them to durable storage, like Amazon S3.</p>
|
|
6
42
|
* @public
|
|
@@ -7192,24 +7228,3 @@ export interface MonitoringInput {
|
|
|
7192
7228
|
*/
|
|
7193
7229
|
BatchTransformInput?: BatchTransformInput | undefined;
|
|
7194
7230
|
}
|
|
7195
|
-
/**
|
|
7196
|
-
* <p>Networking options for a job, such as network traffic encryption between containers, whether to allow inbound and outbound network calls to and from containers, and the VPC subnets and security groups to use for VPC-enabled jobs.</p>
|
|
7197
|
-
* @public
|
|
7198
|
-
*/
|
|
7199
|
-
export interface NetworkConfig {
|
|
7200
|
-
/**
|
|
7201
|
-
* <p>Whether to encrypt all communications between distributed processing jobs. Choose <code>True</code> to encrypt communications. Encryption provides greater security for distributed processing jobs, but the processing might take longer.</p>
|
|
7202
|
-
* @public
|
|
7203
|
-
*/
|
|
7204
|
-
EnableInterContainerTrafficEncryption?: boolean | undefined;
|
|
7205
|
-
/**
|
|
7206
|
-
* <p>Whether to allow inbound and outbound network calls to and from the containers used for the processing job.</p>
|
|
7207
|
-
* @public
|
|
7208
|
-
*/
|
|
7209
|
-
EnableNetworkIsolation?: boolean | undefined;
|
|
7210
|
-
/**
|
|
7211
|
-
* <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
|
|
7212
|
-
* @public
|
|
7213
|
-
*/
|
|
7214
|
-
VpcConfig?: VpcConfig | undefined;
|
|
7215
|
-
}
|