Skip to content

Commit c3af996

Browse files
author
awstools
committed
feat(client-sagemaker): This release adds support for AutoScaling on SageMaker HyperPod.
1 parent 0688f23 commit c3af996

17 files changed

+1051
-737
lines changed

clients/client-sagemaker/src/commands/CreateClusterCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
171171
* },
172172
* NodeRecovery: "Automatic" || "None",
173173
* NodeProvisioningMode: "Continuous",
174+
* ClusterRole: "STRING_VALUE",
175+
* AutoScaling: { // ClusterAutoScalingConfig
176+
* Mode: "Enable" || "Disable", // required
177+
* AutoScalerType: "Karpenter",
178+
* },
174179
* };
175180
* const command = new CreateClusterCommand(input);
176181
* const response = await client.send(command);

clients/client-sagemaker/src/commands/CreateModelCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { CreateModelInput, CreateModelOutput } from "../models/models_1";
8+
import { CreateModelInput, CreateModelOutput } from "../models/models_2";
99
import { de_CreateModelCommand, se_CreateModelCommand } from "../protocols/Aws_json1_1";
1010
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1111

clients/client-sagemaker/src/commands/DescribeClusterCommand.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,13 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
182182
* // },
183183
* // NodeRecovery: "Automatic" || "None",
184184
* // NodeProvisioningMode: "Continuous",
185+
* // ClusterRole: "STRING_VALUE",
186+
* // AutoScaling: { // ClusterAutoScalingConfigOutput
187+
* // Mode: "Enable" || "Disable", // required
188+
* // AutoScalerType: "Karpenter",
189+
* // Status: "InService" || "Failed" || "Creating" || "Deleting", // required
190+
* // FailureMessage: "STRING_VALUE",
191+
* // },
185192
* // };
186193
*
187194
* ```

clients/client-sagemaker/src/commands/DescribeCodeRepositoryCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/models_2";
8+
import { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/models_3";
99
import { de_DescribeCodeRepositoryCommand, se_DescribeCodeRepositoryCommand } from "../protocols/Aws_json1_1";
1010
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1111

clients/client-sagemaker/src/commands/DescribeCompilationJobCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { DescribeCompilationJobRequest } from "../models/models_2";
9-
import { DescribeCompilationJobResponse } from "../models/models_3";
8+
import { DescribeCompilationJobRequest, DescribeCompilationJobResponse } from "../models/models_3";
109
import { de_DescribeCompilationJobCommand, se_DescribeCompilationJobCommand } from "../protocols/Aws_json1_1";
1110
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1211

clients/client-sagemaker/src/commands/GetSearchSuggestionsCommand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { GetSearchSuggestionsRequest, GetSearchSuggestionsResponse } from "../models/models_3";
8+
import { GetSearchSuggestionsRequest } from "../models/models_3";
9+
import { GetSearchSuggestionsResponse } from "../models/models_4";
910
import { de_GetSearchSuggestionsCommand, se_GetSearchSuggestionsCommand } from "../protocols/Aws_json1_1";
1011
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1112

clients/client-sagemaker/src/commands/ListUserProfilesCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { ListUserProfilesRequest, ListUserProfilesResponse } from "../models/models_4";
8+
import { ListUserProfilesRequest, ListUserProfilesResponse } from "../models/models_5";
99
import { de_ListUserProfilesCommand, se_ListUserProfilesCommand } from "../protocols/Aws_json1_1";
1010
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1111

clients/client-sagemaker/src/commands/ListWorkforcesCommand.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client";
55
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
66

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { ListWorkforcesRequest } from "../models/models_4";
9-
import { ListWorkforcesResponse } from "../models/models_5";
8+
import { ListWorkforcesRequest, ListWorkforcesResponse } from "../models/models_5";
109
import { de_ListWorkforcesCommand, se_ListWorkforcesCommand } from "../protocols/Aws_json1_1";
1110
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1211

clients/client-sagemaker/src/commands/UpdateClusterCommand.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,11 @@ export interface UpdateClusterCommandOutput extends UpdateClusterResponse, __Met
154154
* InstanceGroupsToDelete: [ // ClusterInstanceGroupsToDelete
155155
* "STRING_VALUE",
156156
* ],
157+
* ClusterRole: "STRING_VALUE",
158+
* AutoScaling: { // ClusterAutoScalingConfig
159+
* Mode: "Enable" || "Disable", // required
160+
* AutoScalerType: "Karpenter",
161+
* },
157162
* };
158163
* const command = new UpdateClusterCommand(input);
159164
* const response = await client.send(command);

0 commit comments

Comments
 (0)