From 5951f8e6ae98786129009f81f837e89371b6661e Mon Sep 17 00:00:00 2001 From: awstools Date: Wed, 2 Oct 2024 18:23:52 +0000 Subject: [PATCH] feat(client-sagemaker): releasing builtinlcc to public --- .../src/commands/CreateDomainCommand.ts | 3 +++ .../src/commands/CreateUserProfileCommand.ts | 2 ++ .../src/commands/DescribeAppCommand.ts | 1 + .../src/commands/DescribeDomainCommand.ts | 3 +++ .../src/commands/DescribeUserProfileCommand.ts | 2 ++ .../src/commands/UpdateDomainCommand.ts | 3 +++ .../src/commands/UpdateUserProfileCommand.ts | 2 ++ .../client-sagemaker/src/models/models_0.ts | 7 +++++++ .../client-sagemaker/src/models/models_1.ts | 7 +++++++ .../client-sagemaker/src/models/models_2.ts | 6 ++++++ .../src/protocols/Aws_json1_1.ts | 3 +++ codegen/sdk-codegen/aws-models/sagemaker.json | 18 ++++++++++++++++++ 12 files changed, 57 insertions(+) diff --git a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts index df06cd224e77..b2847ee7248d 100644 --- a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts @@ -216,6 +216,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * MaxIdleTimeoutInMinutes: Number("int"), * }, * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * JupyterLabAppSettings: { // JupyterLabAppSettings * DefaultResourceSpec: "", @@ -250,6 +251,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { // DefaultSpaceStorageSettings * DefaultEbsStorageSettings: { // DefaultEbsStorageSettings @@ -381,6 +383,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { * DefaultEbsStorageSettings: { diff --git a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts index 015096a27d65..f7b9734ddb83 100644 --- a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts @@ -187,6 +187,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons * MaxIdleTimeoutInMinutes: Number("int"), * }, * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * JupyterLabAppSettings: { // JupyterLabAppSettings * DefaultResourceSpec: "", @@ -221,6 +222,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { // DefaultSpaceStorageSettings * DefaultEbsStorageSettings: { // DefaultEbsStorageSettings diff --git a/clients/client-sagemaker/src/commands/DescribeAppCommand.ts b/clients/client-sagemaker/src/commands/DescribeAppCommand.ts index a177a934803e..11b27b755e48 100644 --- a/clients/client-sagemaker/src/commands/DescribeAppCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeAppCommand.ts @@ -63,6 +63,7 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat * // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "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.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "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.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge" || "ml.p5.48xlarge" || "ml.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.c7i.large" || "ml.c7i.xlarge" || "ml.c7i.2xlarge" || "ml.c7i.4xlarge" || "ml.c7i.8xlarge" || "ml.c7i.12xlarge" || "ml.c7i.16xlarge" || "ml.c7i.24xlarge" || "ml.c7i.48xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.m6id.large" || "ml.m6id.xlarge" || "ml.m6id.2xlarge" || "ml.m6id.4xlarge" || "ml.m6id.8xlarge" || "ml.m6id.12xlarge" || "ml.m6id.16xlarge" || "ml.m6id.24xlarge" || "ml.m6id.32xlarge" || "ml.c6id.large" || "ml.c6id.xlarge" || "ml.c6id.2xlarge" || "ml.c6id.4xlarge" || "ml.c6id.8xlarge" || "ml.c6id.12xlarge" || "ml.c6id.16xlarge" || "ml.c6id.24xlarge" || "ml.c6id.32xlarge" || "ml.r6id.large" || "ml.r6id.xlarge" || "ml.r6id.2xlarge" || "ml.r6id.4xlarge" || "ml.r6id.8xlarge" || "ml.r6id.12xlarge" || "ml.r6id.16xlarge" || "ml.r6id.24xlarge" || "ml.r6id.32xlarge", * // LifecycleConfigArn: "STRING_VALUE", * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }; * * ``` diff --git a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts index 0e287faa6475..7e424504575a 100644 --- a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts @@ -188,6 +188,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // MaxIdleTimeoutInMinutes: Number("int"), * // }, * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }, * // JupyterLabAppSettings: { // JupyterLabAppSettings * // DefaultResourceSpec: "", @@ -222,6 +223,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // "STRING_VALUE", * // ], * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }, * // SpaceStorageSettings: { // DefaultSpaceStorageSettings * // DefaultEbsStorageSettings: { // DefaultEbsStorageSettings @@ -348,6 +350,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // "STRING_VALUE", * // ], * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }, * // SpaceStorageSettings: { * // DefaultEbsStorageSettings: { diff --git a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts index d2d5e660b0c4..cd1f30d8ff5b 100644 --- a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts @@ -187,6 +187,7 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes * // MaxIdleTimeoutInMinutes: Number("int"), * // }, * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }, * // JupyterLabAppSettings: { // JupyterLabAppSettings * // DefaultResourceSpec: "", @@ -221,6 +222,7 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes * // "STRING_VALUE", * // ], * // }, + * // BuiltInLifecycleConfigArn: "STRING_VALUE", * // }, * // SpaceStorageSettings: { // DefaultSpaceStorageSettings * // DefaultEbsStorageSettings: { // DefaultEbsStorageSettings diff --git a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts index 549ea9173cc4..51329cf66472 100644 --- a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts @@ -172,6 +172,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad * MaxIdleTimeoutInMinutes: Number("int"), * }, * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * JupyterLabAppSettings: { // JupyterLabAppSettings * DefaultResourceSpec: "", @@ -206,6 +207,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { // DefaultSpaceStorageSettings * DefaultEbsStorageSettings: { // DefaultEbsStorageSettings @@ -323,6 +325,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { * DefaultEbsStorageSettings: { diff --git a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts index a788f867bd34..a6e129702efd 100644 --- a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts @@ -173,6 +173,7 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons * MaxIdleTimeoutInMinutes: Number("int"), * }, * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * JupyterLabAppSettings: { // JupyterLabAppSettings * DefaultResourceSpec: "", @@ -207,6 +208,7 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons * "STRING_VALUE", * ], * }, + * BuiltInLifecycleConfigArn: "STRING_VALUE", * }, * SpaceStorageSettings: { // DefaultSpaceStorageSettings * DefaultEbsStorageSettings: { // DefaultEbsStorageSettings diff --git a/clients/client-sagemaker/src/models/models_0.ts b/clients/client-sagemaker/src/models/models_0.ts index 830fb6f57b04..a03e67d1ccae 100644 --- a/clients/client-sagemaker/src/models/models_0.ts +++ b/clients/client-sagemaker/src/models/models_0.ts @@ -9767,6 +9767,13 @@ export interface CodeEditorAppSettings { * @public */ AppLifecycleManagement?: AppLifecycleManagement; + + /** + *

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default + * lifecycle configuration.

+ * @public + */ + BuiltInLifecycleConfigArn?: string; } /** diff --git a/clients/client-sagemaker/src/models/models_1.ts b/clients/client-sagemaker/src/models/models_1.ts index ce526327d183..d6e60c38b0dc 100644 --- a/clients/client-sagemaker/src/models/models_1.ts +++ b/clients/client-sagemaker/src/models/models_1.ts @@ -2314,6 +2314,13 @@ export interface JupyterLabAppSettings { * @public */ EmrSettings?: EmrSettings; + + /** + *

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default + * lifecycle configuration.

+ * @public + */ + BuiltInLifecycleConfigArn?: string; } /** diff --git a/clients/client-sagemaker/src/models/models_2.ts b/clients/client-sagemaker/src/models/models_2.ts index 6235b6cd58d6..570c297ab0f4 100644 --- a/clients/client-sagemaker/src/models/models_2.ts +++ b/clients/client-sagemaker/src/models/models_2.ts @@ -4392,6 +4392,12 @@ export interface DescribeAppResponse { * @public */ ResourceSpec?: ResourceSpec; + + /** + *

The lifecycle configuration that runs before the default lifecycle configuration

+ * @public + */ + BuiltInLifecycleConfigArn?: string; } /** diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index ec873ef21759..290592c3176d 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -18286,6 +18286,7 @@ const de_CodeEditorAppImageConfig = (output: any, context: __SerdeContext): Code const de_CodeEditorAppSettings = (output: any, context: __SerdeContext): CodeEditorAppSettings => { return take(output, { AppLifecycleManagement: (_: any) => de_AppLifecycleManagement(_, context), + BuiltInLifecycleConfigArn: __expectString, CustomImages: (_: any) => de_CustomImages(_, context), DefaultResourceSpec: (_: any) => de_ResourceSpec(_, context), LifecycleConfigArns: (_: any) => de_LifecycleConfigArns(_, context), @@ -19864,6 +19865,7 @@ const de_DescribeAppResponse = (output: any, context: __SerdeContext): DescribeA AppArn: __expectString, AppName: __expectString, AppType: __expectString, + BuiltInLifecycleConfigArn: __expectString, CreationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), DomainId: __expectString, FailureReason: __expectString, @@ -23704,6 +23706,7 @@ const de_JupyterLabAppImageConfig = (output: any, context: __SerdeContext): Jupy const de_JupyterLabAppSettings = (output: any, context: __SerdeContext): JupyterLabAppSettings => { return take(output, { AppLifecycleManagement: (_: any) => de_AppLifecycleManagement(_, context), + BuiltInLifecycleConfigArn: __expectString, CodeRepositories: (_: any) => de_CodeRepositories(_, context), CustomImages: (_: any) => de_CustomImages(_, context), DefaultResourceSpec: (_: any) => de_ResourceSpec(_, context), diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 94ae0b611dc1..d11f2fffddeb 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -7620,6 +7620,12 @@ "traits": { "smithy.api#documentation": "

Settings that are used to configure and manage the lifecycle of CodeEditor\n applications.

" } + }, + "BuiltInLifecycleConfigArn": { + "target": "com.amazonaws.sagemaker#StudioLifecycleConfigArn", + "traits": { + "smithy.api#documentation": "

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default \n lifecycle configuration.

" + } } }, "traits": { @@ -17851,6 +17857,12 @@ "traits": { "smithy.api#documentation": "

The instance type and the Amazon Resource Name (ARN) of the SageMaker image\n created on the instance.

" } + }, + "BuiltInLifecycleConfigArn": { + "target": "com.amazonaws.sagemaker#StudioLifecycleConfigArn", + "traits": { + "smithy.api#documentation": "

The lifecycle configuration that runs before the default lifecycle configuration

" + } } }, "traits": { @@ -35539,6 +35551,12 @@ "traits": { "smithy.api#documentation": "

The configuration parameters that specify the IAM roles assumed by the execution role of \n SageMaker (assumable roles) and the cluster instances or job execution environments \n (execution roles or runtime roles) to manage and access resources required for running Amazon EMR\n clusters or Amazon EMR Serverless applications.

" } + }, + "BuiltInLifecycleConfigArn": { + "target": "com.amazonaws.sagemaker#StudioLifecycleConfigArn", + "traits": { + "smithy.api#documentation": "

The lifecycle configuration that runs before the default lifecycle configuration. It can override changes made in the default \n lifecycle configuration.

" + } } }, "traits": {