diff --git a/clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts b/clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts index 00bba68a5340..789bda602357 100644 --- a/clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateAppImageConfigCommand.ts @@ -75,6 +75,24 @@ export interface CreateAppImageConfigCommandOutput extends CreateAppImageConfigR * }, * }, * }, + * CodeEditorAppImageConfig: { // CodeEditorAppImageConfig + * FileSystemConfig: { + * MountPath: "STRING_VALUE", + * DefaultUid: Number("int"), + * DefaultGid: Number("int"), + * }, + * ContainerConfig: { + * ContainerArguments: [ + * "STRING_VALUE", + * ], + * ContainerEntrypoint: [ + * "STRING_VALUE", + * ], + * ContainerEnvironmentVariables: { + * "": "STRING_VALUE", + * }, + * }, + * }, * }; * const command = new CreateAppImageConfigCommand(input); * const response = await client.send(command); diff --git a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts index 25f0043d420b..9147ec7db0a4 100644 --- a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts @@ -193,6 +193,13 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * 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.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", * }, + * CustomImages: [ + * { + * ImageName: "STRING_VALUE", // required + * ImageVersionNumber: Number("int"), + * AppImageConfigName: "STRING_VALUE", // required + * }, + * ], * LifecycleConfigArns: [ * "STRING_VALUE", * ], diff --git a/clients/client-sagemaker/src/commands/CreateStudioLifecycleConfigCommand.ts b/clients/client-sagemaker/src/commands/CreateStudioLifecycleConfigCommand.ts index e4579b7baf8a..4e6d2d7b60a5 100644 --- a/clients/client-sagemaker/src/commands/CreateStudioLifecycleConfigCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateStudioLifecycleConfigCommand.ts @@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { CreateStudioLifecycleConfigRequest, CreateStudioLifecycleConfigResponse } from "../models/models_1"; +import { CreateStudioLifecycleConfigRequest } from "../models/models_1"; +import { CreateStudioLifecycleConfigResponse } from "../models/models_2"; import { de_CreateStudioLifecycleConfigCommand, se_CreateStudioLifecycleConfigCommand } from "../protocols/Aws_json1_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; diff --git a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts index 8ce0cb2a2721..629b4ab9768b 100644 --- a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts @@ -164,6 +164,13 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons * 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.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", * }, + * CustomImages: [ + * { + * ImageName: "STRING_VALUE", // required + * ImageVersionNumber: Number("int"), + * AppImageConfigName: "STRING_VALUE", // required + * }, + * ], * LifecycleConfigArns: [ * "STRING_VALUE", * ], diff --git a/clients/client-sagemaker/src/commands/DescribeAppImageConfigCommand.ts b/clients/client-sagemaker/src/commands/DescribeAppImageConfigCommand.ts index eac9eed922b0..90758f4b76fe 100644 --- a/clients/client-sagemaker/src/commands/DescribeAppImageConfigCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeAppImageConfigCommand.ts @@ -75,6 +75,24 @@ export interface DescribeAppImageConfigCommandOutput extends DescribeAppImageCon * // }, * // }, * // }, + * // CodeEditorAppImageConfig: { // CodeEditorAppImageConfig + * // FileSystemConfig: { + * // MountPath: "STRING_VALUE", + * // DefaultUid: Number("int"), + * // DefaultGid: Number("int"), + * // }, + * // ContainerConfig: { + * // ContainerArguments: [ + * // "STRING_VALUE", + * // ], + * // ContainerEntrypoint: [ + * // "STRING_VALUE", + * // ], + * // ContainerEnvironmentVariables: { + * // "": "STRING_VALUE", + * // }, + * // }, + * // }, * // }; * * ``` diff --git a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts index 27a0f31f62e1..44bbbd0bc4d3 100644 --- a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts @@ -165,6 +165,13 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // 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.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", * // }, + * // CustomImages: [ + * // { + * // ImageName: "STRING_VALUE", // required + * // ImageVersionNumber: Number("int"), + * // AppImageConfigName: "STRING_VALUE", // required + * // }, + * // ], * // LifecycleConfigArns: [ * // "STRING_VALUE", * // ], diff --git a/clients/client-sagemaker/src/commands/DescribeSpaceCommand.ts b/clients/client-sagemaker/src/commands/DescribeSpaceCommand.ts index 1134ce051ad9..3afb2c92b152 100644 --- a/clients/client-sagemaker/src/commands/DescribeSpaceCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeSpaceCommand.ts @@ -5,7 +5,8 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { DescribeSpaceRequest, DescribeSpaceResponse } from "../models/models_2"; +import { DescribeSpaceRequest } from "../models/models_2"; +import { DescribeSpaceResponse } from "../models/models_3"; import { de_DescribeSpaceCommand, se_DescribeSpaceCommand } from "../protocols/Aws_json1_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; diff --git a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts index b6e83ed80996..c13003cccfbc 100644 --- a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts @@ -164,6 +164,13 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes * // 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.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", * // }, + * // CustomImages: [ + * // { + * // ImageName: "STRING_VALUE", // required + * // ImageVersionNumber: Number("int"), + * // AppImageConfigName: "STRING_VALUE", // required + * // }, + * // ], * // LifecycleConfigArns: [ * // "STRING_VALUE", * // ], diff --git a/clients/client-sagemaker/src/commands/ListAppImageConfigsCommand.ts b/clients/client-sagemaker/src/commands/ListAppImageConfigsCommand.ts index 9fbebbf9f12c..672a6b166580 100644 --- a/clients/client-sagemaker/src/commands/ListAppImageConfigsCommand.ts +++ b/clients/client-sagemaker/src/commands/ListAppImageConfigsCommand.ts @@ -88,6 +88,24 @@ export interface ListAppImageConfigsCommandOutput extends ListAppImageConfigsRes * // }, * // }, * // }, + * // CodeEditorAppImageConfig: { // CodeEditorAppImageConfig + * // FileSystemConfig: { + * // MountPath: "STRING_VALUE", + * // DefaultUid: Number("int"), + * // DefaultGid: Number("int"), + * // }, + * // ContainerConfig: { + * // ContainerArguments: [ + * // "STRING_VALUE", + * // ], + * // ContainerEntrypoint: [ + * // "STRING_VALUE", + * // ], + * // ContainerEnvironmentVariables: { + * // "": "STRING_VALUE", + * // }, + * // }, + * // }, * // }, * // ], * // }; diff --git a/clients/client-sagemaker/src/commands/UpdateAppImageConfigCommand.ts b/clients/client-sagemaker/src/commands/UpdateAppImageConfigCommand.ts index 2f4bd742a42d..e9efdbabcd0a 100644 --- a/clients/client-sagemaker/src/commands/UpdateAppImageConfigCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateAppImageConfigCommand.ts @@ -67,6 +67,24 @@ export interface UpdateAppImageConfigCommandOutput extends UpdateAppImageConfigR * }, * }, * }, + * CodeEditorAppImageConfig: { // CodeEditorAppImageConfig + * FileSystemConfig: { + * MountPath: "STRING_VALUE", + * DefaultUid: Number("int"), + * DefaultGid: Number("int"), + * }, + * ContainerConfig: { + * ContainerArguments: [ + * "STRING_VALUE", + * ], + * ContainerEntrypoint: [ + * "STRING_VALUE", + * ], + * ContainerEnvironmentVariables: { + * "": "STRING_VALUE", + * }, + * }, + * }, * }; * const command = new UpdateAppImageConfigCommand(input); * const response = await client.send(command); diff --git a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts index 81486080a59b..7cc57a643db5 100644 --- a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts @@ -149,6 +149,13 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad * 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.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", * }, + * CustomImages: [ + * { + * ImageName: "STRING_VALUE", // required + * ImageVersionNumber: Number("int"), + * AppImageConfigName: "STRING_VALUE", // required + * }, + * ], * LifecycleConfigArns: [ * "STRING_VALUE", * ], diff --git a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts index 5e5829058d71..3a363660acaa 100644 --- a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts @@ -150,6 +150,13 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons * 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.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", * }, + * CustomImages: [ + * { + * ImageName: "STRING_VALUE", // required + * ImageVersionNumber: Number("int"), + * AppImageConfigName: "STRING_VALUE", // required + * }, + * ], * LifecycleConfigArns: [ * "STRING_VALUE", * ], diff --git a/clients/client-sagemaker/src/models/models_0.ts b/clients/client-sagemaker/src/models/models_0.ts index 893385a04581..58557175da07 100644 --- a/clients/client-sagemaker/src/models/models_0.ts +++ b/clients/client-sagemaker/src/models/models_0.ts @@ -4379,6 +4379,25 @@ export interface FileSystemConfig { DefaultGid?: number; } +/** + *

The configuration for the file system and kernels in a SageMaker image running as a Code Editor app. + * The FileSystemConfig object is not supported.

+ * @public + */ +export interface CodeEditorAppImageConfig { + /** + *

The Amazon Elastic File System storage configuration for a SageMaker image.

+ * @public + */ + FileSystemConfig?: FileSystemConfig; + + /** + *

The configuration used to run the application image container.

+ * @public + */ + ContainerConfig?: ContainerConfig; +} + /** *

The configuration for the file system and kernels in a SageMaker image running as a JupyterLab app. The FileSystemConfig object is not supported.

* @public @@ -4474,6 +4493,13 @@ export interface AppImageConfigDetails { * @public */ JupyterLabAppImageConfig?: JupyterLabAppImageConfig; + + /** + *

The configuration for the file system and the runtime, + * such as the environment variables and entry point.

+ * @public + */ + CodeEditorAppImageConfig?: CodeEditorAppImageConfig; } /** @@ -9087,6 +9113,31 @@ export interface ClusterSummary { ClusterStatus: ClusterStatus | undefined; } +/** + *

A custom SageMaker image. For more information, see + * Bring your own SageMaker image.

+ * @public + */ +export interface CustomImage { + /** + *

The name of the CustomImage. Must be unique to your account.

+ * @public + */ + ImageName: string | undefined; + + /** + *

The version number of the CustomImage.

+ * @public + */ + ImageVersionNumber?: number; + + /** + *

The name of the AppImageConfig.

+ * @public + */ + AppImageConfigName: string | undefined; +} + /** *

The Code Editor application settings.

*

For more information about Code Editor, see Get started with Code @@ -9101,6 +9152,12 @@ export interface CodeEditorAppSettings { */ DefaultResourceSpec?: ResourceSpec; + /** + *

A list of custom SageMaker images that are configured to run as a Code Editor app.

+ * @public + */ + CustomImages?: CustomImage[]; + /** *

The Amazon Resource Name (ARN) of the Code Editor application * lifecycle configuration.

@@ -10582,6 +10639,14 @@ export interface CreateAppImageConfigRequest { * @public */ JupyterLabAppImageConfig?: JupyterLabAppImageConfig; + + /** + *

The CodeEditorAppImageConfig. You can only specify one image kernel + * in the AppImageConfig API. This kernel is shown to users before the image starts. + * After the image runs, all kernels are visible in Code Editor.

+ * @public + */ + CodeEditorAppImageConfig?: CodeEditorAppImageConfig; } /** @@ -11461,313 +11526,3 @@ export interface TargetPlatform { */ Accelerator?: TargetPlatformAccelerator; } - -/** - *

Contains information about the output location for the compiled model and the target - * device that the model runs on. TargetDevice and TargetPlatform - * are mutually exclusive, so you need to choose one between the two to specify your target - * device or platform. If you cannot find your device you want to use from the - * TargetDevice list, use TargetPlatform to describe the - * platform of your edge device and CompilerOptions if there are specific - * settings that are required or recommended to use for particular TargetPlatform.

- * @public - */ -export interface OutputConfig { - /** - *

Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For - * example, s3://bucket-name/key-name-prefix.

- * @public - */ - S3OutputLocation: string | undefined; - - /** - *

Identifies the target device or the machine learning instance that you want to run - * your model on after the compilation has completed. Alternatively, you can specify OS, - * architecture, and accelerator using TargetPlatform - * fields. It can be used instead of TargetPlatform.

- * - *

Currently ml_trn1 is available only in US East (N. Virginia) Region, - * and ml_inf2 is available only in US East (Ohio) Region.

- *
- * @public - */ - TargetDevice?: TargetDevice; - - /** - *

Contains information about a target platform that you want your model to run on, such - * as OS, architecture, and accelerators. It is an alternative of - * TargetDevice.

- *

The following examples show how to configure the TargetPlatform and - * CompilerOptions JSON strings for popular target platforms:

- *
    - *
  • - *

    Raspberry Pi 3 Model B+

    - *

    - * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM_EABIHF"\}, - *

    - *

    - * "CompilerOptions": \{'mattr': ['+neon']\} - *

    - *
  • - *
  • - *

    Jetson TX2

    - *

    - * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": - * "NVIDIA"\}, - *

    - *

    - * "CompilerOptions": \{'gpu-code': 'sm_62', 'trt-ver': '6.0.1', - * 'cuda-ver': '10.0'\} - *

    - *
  • - *
  • - *

    EC2 m5.2xlarge instance OS

    - *

    - * "TargetPlatform": \{"Os": "LINUX", "Arch": "X86_64", "Accelerator": - * "NVIDIA"\}, - *

    - *

    - * "CompilerOptions": \{'mcpu': 'skylake-avx512'\} - *

    - *
  • - *
  • - *

    RK3399

    - *

    - * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": - * "MALI"\} - *

    - *
  • - *
  • - *

    ARMv7 phone (CPU)

    - *

    - * "TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM_EABI"\}, - *

    - *

    - * "CompilerOptions": \{'ANDROID_PLATFORM': 25, 'mattr': - * ['+neon']\} - *

    - *
  • - *
  • - *

    ARMv8 phone (CPU)

    - *

    - * "TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM64"\}, - *

    - *

    - * "CompilerOptions": \{'ANDROID_PLATFORM': 29\} - *

    - *
  • - *
- * @public - */ - TargetPlatform?: TargetPlatform; - - /** - *

Specifies additional parameters for compiler options in JSON format. The compiler - * options are TargetPlatform specific. It is required for NVIDIA accelerators - * and highly recommended for CPU compilations. For any other cases, it is optional to - * specify CompilerOptions. - *

- *
    - *
  • - *

    - * DTYPE: Specifies the data type for the input. When compiling for - * ml_* (except for ml_inf) instances using PyTorch - * framework, provide the data type (dtype) of the model's input. - * "float32" is used if "DTYPE" is not specified. - * Options for data type are:

    - *
      - *
    • - *

      float32: Use either "float" or - * "float32".

      - *
    • - *
    • - *

      int64: Use either "int64" or "long".

      - *
    • - *
    - *

    For example, \{"dtype" : "float32"\}.

    - *
  • - *
  • - *

    - * CPU: Compilation for CPU supports the following compiler - * options.

    - *
      - *
    • - *

      - * mcpu: CPU micro-architecture. For example, \{'mcpu': - * 'skylake-avx512'\} - *

      - *
    • - *
    • - *

      - * mattr: CPU flags. For example, \{'mattr': ['+neon', - * '+vfpv4']\} - *

      - *
    • - *
    - *
  • - *
  • - *

    - * ARM: Details of ARM CPU compilations.

    - *
      - *
    • - *

      - * NEON: NEON is an implementation of the Advanced SIMD - * extension used in ARMv7 processors.

      - *

      For example, add \{'mattr': ['+neon']\} to the compiler - * options if compiling for ARM 32-bit platform with the NEON - * support.

      - *
    • - *
    - *
  • - *
  • - *

    - * NVIDIA: Compilation for NVIDIA GPU supports the following - * compiler options.

    - *
      - *
    • - *

      - * gpu_code: Specifies the targeted architecture.

      - *
    • - *
    • - *

      - * trt-ver: Specifies the TensorRT versions in x.y.z. - * format.

      - *
    • - *
    • - *

      - * cuda-ver: Specifies the CUDA version in x.y - * format.

      - *
    • - *
    - *

    For example, \{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': - * '10.1'\} - *

    - *
  • - *
  • - *

    - * ANDROID: Compilation for the Android OS supports the following - * compiler options:

    - *
      - *
    • - *

      - * ANDROID_PLATFORM: Specifies the Android API levels. - * Available levels range from 21 to 29. For example, - * \{'ANDROID_PLATFORM': 28\}.

      - *
    • - *
    • - *

      - * mattr: Add \{'mattr': ['+neon']\} to compiler - * options if compiling for ARM 32-bit platform with NEON support.

      - *
    • - *
    - *
  • - *
  • - *

    - * INFERENTIA: Compilation for target ml_inf1 uses compiler options - * passed in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 - * --num-neuroncores 2 -O2\"".

    - *

    For information about supported compiler options, see Neuron Compiler CLI Reference Guide.

    - *
  • - *
  • - *

    - * CoreML: Compilation for the CoreML OutputConfig - * TargetDevice supports the following compiler options:

    - *
      - *
    • - *

      - * class_labels: Specifies the classification labels file - * name inside input tar.gz file. For example, \{"class_labels": - * "imagenet_labels_1000.txt"\}. Labels inside the txt file - * should be separated by newlines.

      - *
    • - *
    - *
  • - *
  • - *

    - * EIA: Compilation for the Elastic Inference Accelerator supports - * the following compiler options:

    - *
      - *
    • - *

      - * precision_mode: Specifies the precision of compiled - * artifacts. Supported values are "FP16" and - * "FP32". Default is "FP32".

      - *
    • - *
    • - *

      - * signature_def_key: Specifies the signature to use for - * models in SavedModel format. Defaults is TensorFlow's default signature - * def key.

      - *
    • - *
    • - *

      - * output_names: Specifies a list of output tensor names for - * models in FrozenGraph format. Set at most one API field, either: - * signature_def_key or output_names.

      - *
    • - *
    - *

    For example: \{"precision_mode": "FP32", "output_names": - * ["output:0"]\} - *

    - *
  • - *
- * @public - */ - CompilerOptions?: string; - - /** - *

The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker - * uses to encrypt your output models with Amazon S3 server-side encryption after compilation - * job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your - * role's account. For more information, see KMS-Managed Encryption - * Keys in the Amazon Simple Storage Service Developer - * Guide. - *

- *

The KmsKeyId can be any of the following formats:

- *
    - *
  • - *

    Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab - *

    - *
  • - *
  • - *

    Key ARN: - * arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab - *

    - *
  • - *
  • - *

    Alias name: alias/ExampleAlias - *

    - *
  • - *
  • - *

    Alias name ARN: - * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias - *

    - *
  • - *
- * @public - */ - KmsKeyId?: string; -} - -/** - *

The VpcConfig configuration object that specifies the VPC that you want the - * compilation jobs to connect to. For more information on controlling access to your Amazon S3 - * buckets used for compilation job, see Give Amazon SageMaker Compilation Jobs Access to - * Resources in Your Amazon VPC.

- * @public - */ -export interface NeoVpcConfig { - /** - *

The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the - * security groups for the VPC that is specified in the Subnets field.

- * @public - */ - SecurityGroupIds: string[] | undefined; - - /** - *

The ID of the subnets in the VPC that you want to connect the compilation job to for - * accessing the model in Amazon S3.

- * @public - */ - Subnets: string[] | undefined; -} diff --git a/clients/client-sagemaker/src/models/models_1.ts b/clients/client-sagemaker/src/models/models_1.ts index e694dc10d333..62c125364062 100644 --- a/clients/client-sagemaker/src/models/models_1.ts +++ b/clients/client-sagemaker/src/models/models_1.ts @@ -37,6 +37,7 @@ import { ContextSource, ContinuousParameterRange, ConvergenceDetected, + CustomImage, FeatureStatus, HyperParameterScalingType, HyperParameterTuningJobObjective, @@ -47,8 +48,6 @@ import { MetricsSource, ModelApprovalStatus, ModelDataSource, - NeoVpcConfig, - OutputConfig, OutputDataConfig, ProcessingS3DataDistributionType, ProcessingS3InputMode, @@ -57,12 +56,324 @@ import { ResourceSpec, StoppingCondition, Tag, + TargetDevice, + TargetPlatform, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig, } from "./models_0"; +/** + *

Contains information about the output location for the compiled model and the target + * device that the model runs on. TargetDevice and TargetPlatform + * are mutually exclusive, so you need to choose one between the two to specify your target + * device or platform. If you cannot find your device you want to use from the + * TargetDevice list, use TargetPlatform to describe the + * platform of your edge device and CompilerOptions if there are specific + * settings that are required or recommended to use for particular TargetPlatform.

+ * @public + */ +export interface OutputConfig { + /** + *

Identifies the S3 bucket where you want Amazon SageMaker to store the model artifacts. For + * example, s3://bucket-name/key-name-prefix.

+ * @public + */ + S3OutputLocation: string | undefined; + + /** + *

Identifies the target device or the machine learning instance that you want to run + * your model on after the compilation has completed. Alternatively, you can specify OS, + * architecture, and accelerator using TargetPlatform + * fields. It can be used instead of TargetPlatform.

+ * + *

Currently ml_trn1 is available only in US East (N. Virginia) Region, + * and ml_inf2 is available only in US East (Ohio) Region.

+ *
+ * @public + */ + TargetDevice?: TargetDevice; + + /** + *

Contains information about a target platform that you want your model to run on, such + * as OS, architecture, and accelerators. It is an alternative of + * TargetDevice.

+ *

The following examples show how to configure the TargetPlatform and + * CompilerOptions JSON strings for popular target platforms:

+ *
    + *
  • + *

    Raspberry Pi 3 Model B+

    + *

    + * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM_EABIHF"\}, + *

    + *

    + * "CompilerOptions": \{'mattr': ['+neon']\} + *

    + *
  • + *
  • + *

    Jetson TX2

    + *

    + * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": + * "NVIDIA"\}, + *

    + *

    + * "CompilerOptions": \{'gpu-code': 'sm_62', 'trt-ver': '6.0.1', + * 'cuda-ver': '10.0'\} + *

    + *
  • + *
  • + *

    EC2 m5.2xlarge instance OS

    + *

    + * "TargetPlatform": \{"Os": "LINUX", "Arch": "X86_64", "Accelerator": + * "NVIDIA"\}, + *

    + *

    + * "CompilerOptions": \{'mcpu': 'skylake-avx512'\} + *

    + *
  • + *
  • + *

    RK3399

    + *

    + * "TargetPlatform": \{"Os": "LINUX", "Arch": "ARM64", "Accelerator": + * "MALI"\} + *

    + *
  • + *
  • + *

    ARMv7 phone (CPU)

    + *

    + * "TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM_EABI"\}, + *

    + *

    + * "CompilerOptions": \{'ANDROID_PLATFORM': 25, 'mattr': + * ['+neon']\} + *

    + *
  • + *
  • + *

    ARMv8 phone (CPU)

    + *

    + * "TargetPlatform": \{"Os": "ANDROID", "Arch": "ARM64"\}, + *

    + *

    + * "CompilerOptions": \{'ANDROID_PLATFORM': 29\} + *

    + *
  • + *
+ * @public + */ + TargetPlatform?: TargetPlatform; + + /** + *

Specifies additional parameters for compiler options in JSON format. The compiler + * options are TargetPlatform specific. It is required for NVIDIA accelerators + * and highly recommended for CPU compilations. For any other cases, it is optional to + * specify CompilerOptions. + *

+ *
    + *
  • + *

    + * DTYPE: Specifies the data type for the input. When compiling for + * ml_* (except for ml_inf) instances using PyTorch + * framework, provide the data type (dtype) of the model's input. + * "float32" is used if "DTYPE" is not specified. + * Options for data type are:

    + *
      + *
    • + *

      float32: Use either "float" or + * "float32".

      + *
    • + *
    • + *

      int64: Use either "int64" or "long".

      + *
    • + *
    + *

    For example, \{"dtype" : "float32"\}.

    + *
  • + *
  • + *

    + * CPU: Compilation for CPU supports the following compiler + * options.

    + *
      + *
    • + *

      + * mcpu: CPU micro-architecture. For example, \{'mcpu': + * 'skylake-avx512'\} + *

      + *
    • + *
    • + *

      + * mattr: CPU flags. For example, \{'mattr': ['+neon', + * '+vfpv4']\} + *

      + *
    • + *
    + *
  • + *
  • + *

    + * ARM: Details of ARM CPU compilations.

    + *
      + *
    • + *

      + * NEON: NEON is an implementation of the Advanced SIMD + * extension used in ARMv7 processors.

      + *

      For example, add \{'mattr': ['+neon']\} to the compiler + * options if compiling for ARM 32-bit platform with the NEON + * support.

      + *
    • + *
    + *
  • + *
  • + *

    + * NVIDIA: Compilation for NVIDIA GPU supports the following + * compiler options.

    + *
      + *
    • + *

      + * gpu_code: Specifies the targeted architecture.

      + *
    • + *
    • + *

      + * trt-ver: Specifies the TensorRT versions in x.y.z. + * format.

      + *
    • + *
    • + *

      + * cuda-ver: Specifies the CUDA version in x.y + * format.

      + *
    • + *
    + *

    For example, \{'gpu-code': 'sm_72', 'trt-ver': '6.0.1', 'cuda-ver': + * '10.1'\} + *

    + *
  • + *
  • + *

    + * ANDROID: Compilation for the Android OS supports the following + * compiler options:

    + *
      + *
    • + *

      + * ANDROID_PLATFORM: Specifies the Android API levels. + * Available levels range from 21 to 29. For example, + * \{'ANDROID_PLATFORM': 28\}.

      + *
    • + *
    • + *

      + * mattr: Add \{'mattr': ['+neon']\} to compiler + * options if compiling for ARM 32-bit platform with NEON support.

      + *
    • + *
    + *
  • + *
  • + *

    + * INFERENTIA: Compilation for target ml_inf1 uses compiler options + * passed in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 + * --num-neuroncores 2 -O2\"".

    + *

    For information about supported compiler options, see Neuron Compiler CLI Reference Guide.

    + *
  • + *
  • + *

    + * CoreML: Compilation for the CoreML OutputConfig + * TargetDevice supports the following compiler options:

    + *
      + *
    • + *

      + * class_labels: Specifies the classification labels file + * name inside input tar.gz file. For example, \{"class_labels": + * "imagenet_labels_1000.txt"\}. Labels inside the txt file + * should be separated by newlines.

      + *
    • + *
    + *
  • + *
  • + *

    + * EIA: Compilation for the Elastic Inference Accelerator supports + * the following compiler options:

    + *
      + *
    • + *

      + * precision_mode: Specifies the precision of compiled + * artifacts. Supported values are "FP16" and + * "FP32". Default is "FP32".

      + *
    • + *
    • + *

      + * signature_def_key: Specifies the signature to use for + * models in SavedModel format. Defaults is TensorFlow's default signature + * def key.

      + *
    • + *
    • + *

      + * output_names: Specifies a list of output tensor names for + * models in FrozenGraph format. Set at most one API field, either: + * signature_def_key or output_names.

      + *
    • + *
    + *

    For example: \{"precision_mode": "FP32", "output_names": + * ["output:0"]\} + *

    + *
  • + *
+ * @public + */ + CompilerOptions?: string; + + /** + *

The Amazon Web Services Key Management Service key (Amazon Web Services KMS) that Amazon SageMaker + * uses to encrypt your output models with Amazon S3 server-side encryption after compilation + * job. If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for your + * role's account. For more information, see KMS-Managed Encryption + * Keys in the Amazon Simple Storage Service Developer + * Guide. + *

+ *

The KmsKeyId can be any of the following formats:

+ *
    + *
  • + *

    Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab + *

    + *
  • + *
  • + *

    Key ARN: + * arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab + *

    + *
  • + *
  • + *

    Alias name: alias/ExampleAlias + *

    + *
  • + *
  • + *

    Alias name ARN: + * arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias + *

    + *
  • + *
+ * @public + */ + KmsKeyId?: string; +} + +/** + *

The VpcConfig configuration object that specifies the VPC that you want the + * compilation jobs to connect to. For more information on controlling access to your Amazon S3 + * buckets used for compilation job, see Give Amazon SageMaker Compilation Jobs Access to + * Resources in Your Amazon VPC.

+ * @public + */ +export interface NeoVpcConfig { + /** + *

The VPC security group IDs. IDs have the form of sg-xxxxxxxx. Specify the + * security groups for the VPC that is specified in the Subnets field.

+ * @public + */ + SecurityGroupIds: string[] | undefined; + + /** + *

The ID of the subnets in the VPC that you want to connect the compilation job to for + * accessing the model in Amazon S3.

+ * @public + */ + Subnets: string[] | undefined; +} + /** * @public */ @@ -870,31 +1181,6 @@ export interface JupyterServerAppSettings { CodeRepositories?: CodeRepository[]; } -/** - *

A custom SageMaker image. For more information, see - * Bring your own SageMaker image.

- * @public - */ -export interface CustomImage { - /** - *

The name of the CustomImage. Must be unique to your account.

- * @public - */ - ImageName: string | undefined; - - /** - *

The version number of the CustomImage.

- * @public - */ - ImageVersionNumber?: number; - - /** - *

The name of the AppImageConfig.

- * @public - */ - AppImageConfigName: string | undefined; -} - /** *

The KernelGateway app settings.

* @public @@ -11930,17 +12216,6 @@ export interface CreateStudioLifecycleConfigRequest { Tags?: Tag[]; } -/** - * @public - */ -export interface CreateStudioLifecycleConfigResponse { - /** - *

The ARN of your created Lifecycle Configuration.

- * @public - */ - StudioLifecycleConfigArn?: string; -} - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_2.ts b/clients/client-sagemaker/src/models/models_2.ts index 2679f48f9baf..89586a72d7f8 100644 --- a/clients/client-sagemaker/src/models/models_2.ts +++ b/clients/client-sagemaker/src/models/models_2.ts @@ -42,6 +42,7 @@ import { ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterStatus, + CodeEditorAppImageConfig, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, @@ -58,9 +59,7 @@ import { ModelApprovalStatus, ModelDeployConfig, ModelPackageStatus, - NeoVpcConfig, ObjectiveStatus, - OutputConfig, OutputDataConfig, ProblemType, ProductionVariantInstanceType, @@ -139,12 +138,13 @@ import { MonitoringScheduleConfig, MonitoringStoppingCondition, MonitoringType, + NeoVpcConfig, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OfflineStoreConfig, OnlineStoreConfig, - OwnershipSettings, + OutputConfig, ParallelismConfiguration, ProcessingInput, ProcessingInstanceType, @@ -166,13 +166,22 @@ import { ShadowModeConfig, SkipModelValidation, SourceAlgorithmSpecification, - SpaceSettings, - SpaceSharingSettings, ThroughputMode, UserSettings, VendorGuidance, } from "./models_1"; +/** + * @public + */ +export interface CreateStudioLifecycleConfigResponse { + /** + *

The ARN of your created Lifecycle Configuration.

+ * @public + */ + StudioLifecycleConfigArn?: string; +} + /** *

Configuration information for the Amazon SageMaker Debugger hook parameters, metric and tensor collections, and * storage paths. To learn more about @@ -3082,6 +3091,12 @@ export interface DescribeAppImageConfigResponse { * @public */ JupyterLabAppImageConfig?: JupyterLabAppImageConfig; + + /** + *

The configuration of the Code Editor app.

+ * @public + */ + CodeEditorAppImageConfig?: CodeEditorAppImageConfig; } /** @@ -10023,104 +10038,6 @@ export const SpaceStatus = { */ export type SpaceStatus = (typeof SpaceStatus)[keyof typeof SpaceStatus]; -/** - * @public - */ -export interface DescribeSpaceResponse { - /** - *

The ID of the associated domain.

- * @public - */ - DomainId?: string; - - /** - *

The space's Amazon Resource Name (ARN).

- * @public - */ - SpaceArn?: string; - - /** - *

The name of the space.

- * @public - */ - SpaceName?: string; - - /** - *

The ID of the space's profile in the Amazon EFS volume.

- * @public - */ - HomeEfsFileSystemUid?: string; - - /** - *

The status.

- * @public - */ - Status?: SpaceStatus; - - /** - *

The last modified time.

- * @public - */ - LastModifiedTime?: Date; - - /** - *

The creation time.

- * @public - */ - CreationTime?: Date; - - /** - *

The failure reason.

- * @public - */ - FailureReason?: string; - - /** - *

A collection of space settings.

- * @public - */ - SpaceSettings?: SpaceSettings; - - /** - *

The collection of ownership settings for a space.

- * @public - */ - OwnershipSettings?: OwnershipSettings; - - /** - *

The collection of space sharing settings for a space.

- * @public - */ - SpaceSharingSettings?: SpaceSharingSettings; - - /** - *

The name of the space that appears in the Amazon SageMaker Studio UI.

- * @public - */ - SpaceDisplayName?: string; - - /** - *

Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

- *

The following application types are supported:

- *
    - *
  • - *

    Studio Classic: &redirect=JupyterServer - *

    - *
  • - *
  • - *

    JupyterLab: &redirect=JupyterLab - *

    - *
  • - *
  • - *

    Code Editor, based on Code-OSS, Visual Studio Code - Open Source: &redirect=CodeEditor - *

    - *
  • - *
- * @public - */ - Url?: string; -} - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_3.ts b/clients/client-sagemaker/src/models/models_3.ts index 311f3ec984b5..55736758c518 100644 --- a/clients/client-sagemaker/src/models/models_3.ts +++ b/clients/client-sagemaker/src/models/models_3.ts @@ -69,9 +69,12 @@ import { MonitoringType, OfflineStoreConfig, OnlineStoreConfig, + OwnershipSettings, RecommendationJobType, ResourceLimits, RetryStrategy, + SpaceSettings, + SpaceSharingSettings, StudioLifecycleConfigAppType, UserSettings, } from "./models_1"; @@ -131,6 +134,7 @@ import { RuleEvaluationStatus, ScheduleStatus, SourceIpConfig, + SpaceStatus, TensorBoardOutputConfig, TrainingJobStatus, TrainingJobStatusCounters, @@ -139,6 +143,104 @@ import { TrialComponentStatus, } from "./models_2"; +/** + * @public + */ +export interface DescribeSpaceResponse { + /** + *

The ID of the associated domain.

+ * @public + */ + DomainId?: string; + + /** + *

The space's Amazon Resource Name (ARN).

+ * @public + */ + SpaceArn?: string; + + /** + *

The name of the space.

+ * @public + */ + SpaceName?: string; + + /** + *

The ID of the space's profile in the Amazon EFS volume.

+ * @public + */ + HomeEfsFileSystemUid?: string; + + /** + *

The status.

+ * @public + */ + Status?: SpaceStatus; + + /** + *

The last modified time.

+ * @public + */ + LastModifiedTime?: Date; + + /** + *

The creation time.

+ * @public + */ + CreationTime?: Date; + + /** + *

The failure reason.

+ * @public + */ + FailureReason?: string; + + /** + *

A collection of space settings.

+ * @public + */ + SpaceSettings?: SpaceSettings; + + /** + *

The collection of ownership settings for a space.

+ * @public + */ + OwnershipSettings?: OwnershipSettings; + + /** + *

The collection of space sharing settings for a space.

+ * @public + */ + SpaceSharingSettings?: SpaceSharingSettings; + + /** + *

The name of the space that appears in the Amazon SageMaker Studio UI.

+ * @public + */ + SpaceDisplayName?: string; + + /** + *

Returns the URL of the space. If the space is created with Amazon Web Services IAM Identity Center (Successor to Amazon Web Services Single Sign-On) authentication, users can navigate to the URL after appending the respective redirect parameter for the application type to be federated through Amazon Web Services IAM Identity Center.

+ *

The following application types are supported:

+ *
    + *
  • + *

    Studio Classic: &redirect=JupyterServer + *

    + *
  • + *
  • + *

    JupyterLab: &redirect=JupyterLab + *

    + *
  • + *
  • + *

    Code Editor, based on Code-OSS, Visual Studio Code - Open Source: &redirect=CodeEditor + *

    + *
  • + *
+ * @public + */ + Url?: string; +} + /** * @public */ @@ -11100,15 +11202,3 @@ export interface ListPipelineExecutionStepsRequest { */ SortOrder?: SortOrder; } - -/** - *

Metadata for Model steps.

- * @public - */ -export interface ModelStepMetadata { - /** - *

The Amazon Resource Name (ARN) of the created model.

- * @public - */ - Arn?: string; -} diff --git a/clients/client-sagemaker/src/models/models_4.ts b/clients/client-sagemaker/src/models/models_4.ts index 7edb9e75af24..2334db6cdc9c 100644 --- a/clients/client-sagemaker/src/models/models_4.ts +++ b/clients/client-sagemaker/src/models/models_4.ts @@ -20,6 +20,7 @@ import { CheckpointConfig, ClarifyCheckStepMetadata, ClusterInstanceGroupSpecification, + CodeEditorAppImageConfig, ConditionStepMetadata, ContainerDefinition, InferenceSpecification, @@ -149,7 +150,6 @@ import { LambdaStepMetadata, LineageType, MetricData, - ModelStepMetadata, MonitoringAlertSummary, ResourceType, SecondaryStatus, @@ -168,6 +168,18 @@ import { Workteam, } from "./models_3"; +/** + *

Metadata for Model steps.

+ * @public + */ +export interface ModelStepMetadata { + /** + *

The Amazon Resource Name (ARN) of the created model.

+ * @public + */ + Arn?: string; +} + /** *

Metadata for a processing job step.

* @public @@ -5785,6 +5797,12 @@ export interface UpdateAppImageConfigRequest { * @public */ JupyterLabAppImageConfig?: JupyterLabAppImageConfig; + + /** + *

The Code Editor app running on the image.

+ * @public + */ + CodeEditorAppImageConfig?: CodeEditorAppImageConfig; } /** diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index 2aea19e95c2e..04f598a583b5 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -943,6 +943,7 @@ import { ClusterNodeDetails, ClusterNodeSummary, ClusterSummary, + CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CodeRepositorySummary, @@ -980,6 +981,7 @@ import { CreateClusterResponse, CreateCodeRepositoryInput, CreateCodeRepositoryOutput, + CustomImage, DataSource, DirectDeploySettings, FileSystemConfig, @@ -1018,8 +1020,6 @@ import { MonitoringJsonDatasetFormat, MonitoringParquetDatasetFormat, MultiModelConfig, - NeoVpcConfig, - OutputConfig, OutputDataConfig, OutputParameter, ParameterRange, @@ -1141,10 +1141,8 @@ import { CreateSpaceRequest, CreateSpaceResponse, CreateStudioLifecycleConfigRequest, - CreateStudioLifecycleConfigResponse, CustomFileSystem, CustomFileSystemConfig, - CustomImage, CustomPosixUserConfig, DataCaptureConfig, DataCatalogConfig, @@ -1251,12 +1249,14 @@ import { MonitoringScheduleConfig, MonitoringStatisticsResource, MonitoringStoppingCondition, + NeoVpcConfig, NetworkConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, OfflineStoreConfig, OnlineStoreConfig, OnlineStoreSecurityConfig, + OutputConfig, OwnershipSettings, ParallelismConfiguration, ParameterRanges, @@ -1320,6 +1320,7 @@ import { UserSettings, } from "../models/models_1"; import { + CreateStudioLifecycleConfigResponse, CreateTrainingJobRequest, CreateTrainingJobResponse, CreateTransformJobRequest, @@ -1514,7 +1515,6 @@ import { DescribeProjectInput, DescribeProjectOutput, DescribeSpaceRequest, - DescribeSpaceResponse, EdgeDeploymentStatus, EdgeModel, EdgePresetDeploymentOutput, @@ -1580,6 +1580,7 @@ import { WorkforceVpcConfigRequest, } from "../models/models_2"; import { + DescribeSpaceResponse, DescribeStudioLifecycleConfigRequest, DescribeStudioLifecycleConfigResponse, DescribeSubscribedWorkteamRequest, @@ -1786,7 +1787,6 @@ import { ModelMetadataSummary, ModelPackageGroupSummary, ModelPackageSummary, - ModelStepMetadata, ModelSummary, MonitoringAlertActions, MonitoringAlertHistorySummary, @@ -1866,6 +1866,7 @@ import { ModelDashboardMonitoringSchedule, ModelPackage, ModelPackageGroup, + ModelStepMetadata, ModelVariantAction, NestedFilters, OnlineStoreConfigUpdate, @@ -12710,6 +12711,8 @@ const se_BatchTransformInput = (input: BatchTransformInput, context: __SerdeCont // se_ClusterLifeCycleConfig omitted. +// se_CodeEditorAppImageConfig omitted. + // se_CodeEditorAppSettings omitted. // se_CodeRepositories omitted. @@ -16098,6 +16101,7 @@ const de_AppImageConfigDetails = (output: any, context: __SerdeContext): AppImag return take(output, { AppImageConfigArn: __expectString, AppImageConfigName: __expectString, + CodeEditorAppImageConfig: (_: any) => de_CodeEditorAppImageConfig(_, context), CreationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), JupyterLabAppImageConfig: (_: any) => de_JupyterLabAppImageConfig(_, context), KernelGatewayImageConfig: (_: any) => de_KernelGatewayImageConfig(_, context), @@ -17353,11 +17357,22 @@ const de_ClusterSummary = (output: any, context: __SerdeContext): ClusterSummary }) as any; }; +/** + * deserializeAws_json1_1CodeEditorAppImageConfig + */ +const de_CodeEditorAppImageConfig = (output: any, context: __SerdeContext): CodeEditorAppImageConfig => { + return take(output, { + ContainerConfig: (_: any) => de_ContainerConfig(_, context), + FileSystemConfig: (_: any) => de_FileSystemConfig(_, context), + }) as any; +}; + /** * deserializeAws_json1_1CodeEditorAppSettings */ const de_CodeEditorAppSettings = (output: any, context: __SerdeContext): CodeEditorAppSettings => { return take(output, { + CustomImages: (_: any) => de_CustomImages(_, context), DefaultResourceSpec: (_: any) => de_ResourceSpec(_, context), LifecycleConfigArns: (_: any) => de_LifecycleConfigArns(_, context), }) as any; @@ -18856,6 +18871,7 @@ const de_DescribeAppImageConfigResponse = (output: any, context: __SerdeContext) return take(output, { AppImageConfigArn: __expectString, AppImageConfigName: __expectString, + CodeEditorAppImageConfig: (_: any) => de_CodeEditorAppImageConfig(_, context), CreationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), JupyterLabAppImageConfig: (_: any) => de_JupyterLabAppImageConfig(_, context), KernelGatewayImageConfig: (_: any) => de_KernelGatewayImageConfig(_, context), diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 0e1ccca53aec..dc274da96fc3 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -978,6 +978,12 @@ "traits": { "smithy.api#documentation": "

The configuration for the file system and the runtime, such as the environment variables and entry point.

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

The configuration for the file system and the runtime, \n such as the environment variables and entry point.

" + } } }, "traits": { @@ -7096,12 +7102,32 @@ } } }, + "com.amazonaws.sagemaker#CodeEditorAppImageConfig": { + "type": "structure", + "members": { + "FileSystemConfig": { + "target": "com.amazonaws.sagemaker#FileSystemConfig" + }, + "ContainerConfig": { + "target": "com.amazonaws.sagemaker#ContainerConfig" + } + }, + "traits": { + "smithy.api#documentation": "

The configuration for the file system and kernels in a SageMaker image running as a Code Editor app. \n The FileSystemConfig object is not supported.

" + } + }, "com.amazonaws.sagemaker#CodeEditorAppSettings": { "type": "structure", "members": { "DefaultResourceSpec": { "target": "com.amazonaws.sagemaker#ResourceSpec" }, + "CustomImages": { + "target": "com.amazonaws.sagemaker#CustomImages", + "traits": { + "smithy.api#documentation": "

A list of custom SageMaker images that are configured to run as a Code Editor app.

" + } + }, "LifecycleConfigArns": { "target": "com.amazonaws.sagemaker#LifecycleConfigArns", "traits": { @@ -8389,6 +8415,12 @@ "traits": { "smithy.api#documentation": "

The JupyterLabAppImageConfig. You can only specify one image kernel in the AppImageConfig API. This kernel is shown to users before the image starts. After the image runs, all kernels are visible in JupyterLab.

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

The CodeEditorAppImageConfig. You can only specify one image kernel \n in the AppImageConfig API. This kernel is shown to users before the image starts. \n After the image runs, all kernels are visible in Code Editor.

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

The configuration of the JupyterLab app.

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

The configuration of the Code Editor app.

" + } } }, "traits": { @@ -33879,7 +33917,7 @@ "min": 0, "max": 2048 }, - "smithy.api#pattern": ".*" + "smithy.api#pattern": "^[a-zA-Z0-9:/_-]*$" } }, "com.amazonaws.sagemaker#LabelAttributeName": { @@ -63584,6 +63622,12 @@ "traits": { "smithy.api#documentation": "

The JupyterLab app running on the image.

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

The Code Editor app running on the image.

" + } } }, "traits": {