Skip to content

Commit e462fbe

Browse files
author
awstools
committed
feat(client-sagemaker): Adding TagPropagation attribute to Sagemaker API
1 parent e1ff422 commit e462fbe

14 files changed

+371
-298
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
328328
* HomeEfsFileSystemKmsKeyId: "STRING_VALUE",
329329
* KmsKeyId: "STRING_VALUE",
330330
* AppSecurityGroupManagement: "Service" || "Customer",
331+
* TagPropagation: "ENABLED" || "DISABLED",
331332
* DefaultSpaceSettings: { // DefaultSpaceSettings
332333
* ExecutionRole: "STRING_VALUE",
333334
* SecurityGroups: [

clients/client-sagemaker/src/commands/CreatePresignedDomainUrlCommand.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 { CreatePresignedDomainUrlRequest } from "../models/models_1";
9-
import { CreatePresignedDomainUrlResponse } from "../models/models_2";
8+
import { CreatePresignedDomainUrlRequest, CreatePresignedDomainUrlResponse } from "../models/models_2";
109
import { de_CreatePresignedDomainUrlCommand, se_CreatePresignedDomainUrlCommand } from "../protocols/Aws_json1_1";
1110
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1211

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
295295
* // VpcId: "STRING_VALUE",
296296
* // KmsKeyId: "STRING_VALUE",
297297
* // AppSecurityGroupManagement: "Service" || "Customer",
298+
* // TagPropagation: "ENABLED" || "DISABLED",
298299
* // DefaultSpaceSettings: { // DefaultSpaceSettings
299300
* // ExecutionRole: "STRING_VALUE",
300301
* // SecurityGroups: [

clients/client-sagemaker/src/commands/DescribeLabelingJobCommand.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 { DescribeLabelingJobRequest, DescribeLabelingJobResponse } from "../models/models_2";
8+
import { DescribeLabelingJobRequest } from "../models/models_2";
9+
import { DescribeLabelingJobResponse } from "../models/models_3";
910
import { de_DescribeLabelingJobCommand, se_DescribeLabelingJobCommand } from "../protocols/Aws_json1_1";
1011
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1112

clients/client-sagemaker/src/commands/ListModelBiasJobDefinitionsCommand.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 { ListModelBiasJobDefinitionsRequest, ListModelBiasJobDefinitionsResponse } from "../models/models_3";
8+
import { ListModelBiasJobDefinitionsRequest } from "../models/models_3";
9+
import { ListModelBiasJobDefinitionsResponse } from "../models/models_4";
910
import { de_ListModelBiasJobDefinitionsCommand, se_ListModelBiasJobDefinitionsCommand } from "../protocols/Aws_json1_1";
1011
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1112

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad
347347
* "STRING_VALUE",
348348
* ],
349349
* AppNetworkAccessType: "PublicInternetOnly" || "VpcOnly",
350+
* TagPropagation: "ENABLED" || "DISABLED",
350351
* };
351352
* const command = new UpdateDomainCommand(input);
352353
* const response = await client.send(command);

clients/client-sagemaker/src/commands/UpdateWorkteamCommand.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 { UpdateWorkteamRequest, UpdateWorkteamResponse } from "../models/models_4";
8+
import { UpdateWorkteamRequest } from "../models/models_4";
9+
import { UpdateWorkteamResponse } from "../models/models_5";
910
import { de_UpdateWorkteamCommand, se_UpdateWorkteamCommand } from "../protocols/Aws_json1_1";
1011
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1112

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

Lines changed: 20 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -2967,6 +2967,20 @@ export interface DomainSettings {
29672967
AmazonQSettings?: AmazonQSettings;
29682968
}
29692969

2970+
/**
2971+
* @public
2972+
* @enum
2973+
*/
2974+
export const TagPropagation = {
2975+
DISABLED: "DISABLED",
2976+
ENABLED: "ENABLED",
2977+
} as const;
2978+
2979+
/**
2980+
* @public
2981+
*/
2982+
export type TagPropagation = (typeof TagPropagation)[keyof typeof TagPropagation];
2983+
29702984
/**
29712985
* @public
29722986
*/
@@ -3066,6 +3080,12 @@ export interface CreateDomainRequest {
30663080
*/
30673081
AppSecurityGroupManagement?: AppSecurityGroupManagement;
30683082

3083+
/**
3084+
* <p>Indicates whether custom tag propagation is supported for the domain. Defaults to <code>DISABLED</code>.</p>
3085+
* @public
3086+
*/
3087+
TagPropagation?: TagPropagation;
3088+
30693089
/**
30703090
* <p>The default settings used to create a space.</p>
30713091
* @public
@@ -12916,81 +12936,6 @@ export interface CreatePipelineResponse {
1291612936
PipelineArn?: string;
1291712937
}
1291812938

12919-
/**
12920-
* @public
12921-
*/
12922-
export interface CreatePresignedDomainUrlRequest {
12923-
/**
12924-
* <p>The domain ID.</p>
12925-
* @public
12926-
*/
12927-
DomainId: string | undefined;
12928-
12929-
/**
12930-
* <p>The name of the UserProfile to sign-in as.</p>
12931-
* @public
12932-
*/
12933-
UserProfileName: string | undefined;
12934-
12935-
/**
12936-
* <p>The session expiration duration in seconds. This value defaults to 43200.</p>
12937-
* @public
12938-
*/
12939-
SessionExpirationDurationInSeconds?: number;
12940-
12941-
/**
12942-
* <p>The number of seconds until the pre-signed URL expires. This value defaults to 300.</p>
12943-
* @public
12944-
*/
12945-
ExpiresInSeconds?: number;
12946-
12947-
/**
12948-
* <p>The name of the space.</p>
12949-
* @public
12950-
*/
12951-
SpaceName?: string;
12952-
12953-
/**
12954-
* <p>The landing page that the user is directed to when accessing the presigned URL. Using this
12955-
* value, users can access Studio or Studio Classic, even if it is not the default experience for
12956-
* the domain. The supported values are:</p>
12957-
* <ul>
12958-
* <li>
12959-
* <p>
12960-
* <code>studio::relative/path</code>: Directs users to the relative path in
12961-
* Studio.</p>
12962-
* </li>
12963-
* <li>
12964-
* <p>
12965-
* <code>app:JupyterServer:relative/path</code>: Directs users to the relative path in
12966-
* the Studio Classic application.</p>
12967-
* </li>
12968-
* <li>
12969-
* <p>
12970-
* <code>app:JupyterLab:relative/path</code>: Directs users to the relative path in the
12971-
* JupyterLab application.</p>
12972-
* </li>
12973-
* <li>
12974-
* <p>
12975-
* <code>app:RStudioServerPro:relative/path</code>: Directs users to the relative path in
12976-
* the RStudio application.</p>
12977-
* </li>
12978-
* <li>
12979-
* <p>
12980-
* <code>app:CodeEditor:relative/path</code>: Directs users to the relative path in the
12981-
* Code Editor, based on Code-OSS, Visual Studio Code - Open Source application.</p>
12982-
* </li>
12983-
* <li>
12984-
* <p>
12985-
* <code>app:Canvas:relative/path</code>: Directs users to the relative path in the
12986-
* Canvas application.</p>
12987-
* </li>
12988-
* </ul>
12989-
* @public
12990-
*/
12991-
LandingUri?: string;
12992-
}
12993-
1299412939
/**
1299512940
* @internal
1299612941
*/

0 commit comments

Comments
 (0)