Skip to content

Commit 99fbf1f

Browse files
author
awstools
committed
feat(client-sagemaker): Added support for minor version upgrades and AWS Identity Center integration for SageMaker Hadron Partner Apps, enabling automated version management and IdC group-based access control.
1 parent 555b55d commit 99fbf1f

15 files changed

+622
-269
lines changed

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,21 @@ export interface CreatePartnerAppCommandOutput extends CreatePartnerAppResponse,
5252
* Arguments: { // PartnerAppArguments
5353
* "<keys>": "STRING_VALUE",
5454
* },
55+
* AssignedGroupPatterns: [ // AssignedGroupPatternsList
56+
* "STRING_VALUE",
57+
* ],
58+
* RoleGroupAssignments: [ // RoleGroupAssignmentsList
59+
* { // RoleGroupAssignment
60+
* RoleName: "STRING_VALUE", // required
61+
* GroupPatterns: [ // GroupPatternsList // required
62+
* "STRING_VALUE",
63+
* ],
64+
* },
65+
* ],
5566
* },
5667
* AuthType: "IAM", // required
5768
* EnableIamSessionBasedIdentity: true || false,
69+
* EnableAutoMinorVersionUpgrade: true || false,
5870
* ClientToken: "STRING_VALUE",
5971
* Tags: [ // TagList
6072
* { // Tag

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

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

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { DescribeAutoMLJobV2Request, DescribeAutoMLJobV2Response } from "../models/models_2";
7+
import { DescribeAutoMLJobV2Request } from "../models/models_2";
8+
import { DescribeAutoMLJobV2Response } from "../models/models_3";
89
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
910
import { DescribeAutoMLJobV2 } from "../schemas/schemas_0";
1011

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

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

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { DescribeClusterRequest } from "../models/models_2";
8-
import { DescribeClusterResponse } from "../models/models_3";
7+
import { DescribeClusterRequest, DescribeClusterResponse } from "../models/models_3";
98
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
109
import { DescribeCluster } from "../schemas/schemas_0";
1110

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export interface DescribePartnerAppCommandOutput extends DescribePartnerAppRespo
3838
* const client = new SageMakerClient(config);
3939
* const input = { // DescribePartnerAppRequest
4040
* Arn: "STRING_VALUE", // required
41+
* IncludeAvailableUpgrade: true || false,
4142
* };
4243
* const command = new DescribePartnerAppCommand(input);
4344
* const response = await client.send(command);
@@ -63,13 +64,32 @@ export interface DescribePartnerAppCommandOutput extends DescribePartnerAppRespo
6364
* // Arguments: { // PartnerAppArguments
6465
* // "<keys>": "STRING_VALUE",
6566
* // },
67+
* // AssignedGroupPatterns: [ // AssignedGroupPatternsList
68+
* // "STRING_VALUE",
69+
* // ],
70+
* // RoleGroupAssignments: [ // RoleGroupAssignmentsList
71+
* // { // RoleGroupAssignment
72+
* // RoleName: "STRING_VALUE", // required
73+
* // GroupPatterns: [ // GroupPatternsList // required
74+
* // "STRING_VALUE",
75+
* // ],
76+
* // },
77+
* // ],
6678
* // },
6779
* // AuthType: "IAM",
6880
* // EnableIamSessionBasedIdentity: true || false,
6981
* // Error: { // ErrorInfo
7082
* // Code: "STRING_VALUE",
7183
* // Reason: "STRING_VALUE",
7284
* // },
85+
* // EnableAutoMinorVersionUpgrade: true || false,
86+
* // CurrentVersionEolDate: new Date("TIMESTAMP"),
87+
* // AvailableUpgrade: { // AvailableUpgrade
88+
* // Version: "STRING_VALUE",
89+
* // ReleaseNotes: [ // ReleaseNotesList
90+
* // "STRING_VALUE",
91+
* // ],
92+
* // },
7393
* // };
7494
*
7595
* ```

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ import { Command as $Command } from "@smithy/smithy-client";
44
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import {
8-
GetSagemakerServicecatalogPortfolioStatusInput,
9-
GetSagemakerServicecatalogPortfolioStatusOutput,
10-
} from "../models/models_3";
7+
import { GetSagemakerServicecatalogPortfolioStatusInput } from "../models/models_3";
8+
import { GetSagemakerServicecatalogPortfolioStatusOutput } from "../models/models_4";
119
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1210
import { GetSagemakerServicecatalogPortfolioStatus } from "../schemas/schemas_0";
1311

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

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

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { ListTrialComponentsRequest, ListTrialComponentsResponse } from "../models/models_4";
7+
import { ListTrialComponentsRequest } from "../models/models_4";
8+
import { ListTrialComponentsResponse } from "../models/models_5";
89
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
910
import { ListTrialComponents } from "../schemas/schemas_0";
1011

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,21 @@ export interface UpdatePartnerAppCommandOutput extends UpdatePartnerAppResponse,
4949
* Arguments: { // PartnerAppArguments
5050
* "<keys>": "STRING_VALUE",
5151
* },
52+
* AssignedGroupPatterns: [ // AssignedGroupPatternsList
53+
* "STRING_VALUE",
54+
* ],
55+
* RoleGroupAssignments: [ // RoleGroupAssignmentsList
56+
* { // RoleGroupAssignment
57+
* RoleName: "STRING_VALUE", // required
58+
* GroupPatterns: [ // GroupPatternsList // required
59+
* "STRING_VALUE",
60+
* ],
61+
* },
62+
* ],
5263
* },
5364
* EnableIamSessionBasedIdentity: true || false,
65+
* EnableAutoMinorVersionUpgrade: true || false,
66+
* AppVersion: "STRING_VALUE",
5467
* ClientToken: "STRING_VALUE",
5568
* Tags: [ // TagList
5669
* { // Tag

clients/client-sagemaker/src/models/models_0.ts

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4909,6 +4909,24 @@ export interface Autotune {
49094909
Mode: AutotuneMode | undefined;
49104910
}
49114911

4912+
/**
4913+
* <p>Contains information about an available upgrade for a SageMaker Partner AI App, including the version number and release notes.</p>
4914+
* @public
4915+
*/
4916+
export interface AvailableUpgrade {
4917+
/**
4918+
* <p>The semantic version number of the available upgrade for the SageMaker Partner AI App.</p>
4919+
* @public
4920+
*/
4921+
Version?: string | undefined;
4922+
4923+
/**
4924+
* <p>A list of release notes describing the changes and improvements included in the available upgrade version.</p>
4925+
* @public
4926+
*/
4927+
ReleaseNotes?: string[] | undefined;
4928+
}
4929+
49124930
/**
49134931
* @public
49144932
* @enum
@@ -7932,15 +7950,3 @@ export interface ClusterNodeSummary {
79327950
*/
79337951
UltraServerInfo?: UltraServerInfo | undefined;
79347952
}
7935-
7936-
/**
7937-
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
7938-
* @public
7939-
*/
7940-
export interface ClusterOrchestratorEksConfig {
7941-
/**
7942-
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
7943-
* @public
7944-
*/
7945-
ClusterArn: string | undefined;
7946-
}

clients/client-sagemaker/src/models/models_1.ts

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ import {
5858
ClusterInstanceType,
5959
ClusterNodeProvisioningMode,
6060
ClusterNodeRecovery,
61-
ClusterOrchestratorEksConfig,
6261
CodeEditorAppImageConfig,
6362
DeepHealthCheckType,
6463
FeatureStatus,
@@ -85,6 +84,18 @@ import {
8584

8685
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
8786

87+
/**
88+
* <p>The configuration settings for the Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.</p>
89+
* @public
90+
*/
91+
export interface ClusterOrchestratorEksConfig {
92+
/**
93+
* <p>The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.</p>
94+
* @public
95+
*/
96+
ClusterArn: string | undefined;
97+
}
98+
8899
/**
89100
* <p>The type of orchestrator used for the SageMaker HyperPod cluster.</p>
90101
* @public
@@ -8038,21 +8049,3 @@ export interface LabelingJobOutputConfig {
80388049
*/
80398050
SnsTopicArn?: string | undefined;
80408051
}
8041-
8042-
/**
8043-
* <p>A set of conditions for stopping a labeling job. If any of the conditions are met, the job is automatically stopped. You can use these conditions to control the cost of data labeling.</p> <note> <p>Labeling jobs fail after 30 days with an appropriate client error message.</p> </note>
8044-
* @public
8045-
*/
8046-
export interface LabelingJobStoppingConditions {
8047-
/**
8048-
* <p>The maximum number of objects that can be labeled by human workers.</p>
8049-
* @public
8050-
*/
8051-
MaxHumanLabeledObjectCount?: number | undefined;
8052-
8053-
/**
8054-
* <p>The maximum number of input data objects that should be labeled.</p>
8055-
* @public
8056-
*/
8057-
MaxPercentageOfInputDatasetLabeled?: number | undefined;
8058-
}

0 commit comments

Comments
 (0)