diff --git a/clients/client-sagemaker/src/commands/CreateAutoMLJobCommand.ts b/clients/client-sagemaker/src/commands/CreateAutoMLJobCommand.ts index df75a1d7ea15..029c1606d07e 100644 --- a/clients/client-sagemaker/src/commands/CreateAutoMLJobCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateAutoMLJobCommand.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 { CreateAutoMLJobRequest, CreateAutoMLJobResponse } from "../models/models_0"; +import { CreateAutoMLJobRequest } from "../models/models_0"; +import { CreateAutoMLJobResponse } from "../models/models_1"; import { de_CreateAutoMLJobCommand, se_CreateAutoMLJobCommand } from "../protocols/Aws_json1_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; diff --git a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts index 9fa768cb7c18..f95cbbfa93c0 100644 --- a/clients/client-sagemaker/src/commands/CreateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateDomainCommand.ts @@ -263,6 +263,7 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad * "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * ], * }, + * AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * }, * DomainSettings: { // DomainSettings * SecurityGroupIds: [ // DomainSecurityGroupIds diff --git a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts index 7d3adac13232..5b39597565a6 100644 --- a/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/CreateUserProfileCommand.ts @@ -234,6 +234,7 @@ export interface CreateUserProfileCommandOutput extends CreateUserProfileRespons * "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * ], * }, + * AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * }, * }; * const command = new CreateUserProfileCommand(input); diff --git a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts index f2c227c298f5..a39ef0a12ba6 100644 --- a/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeDomainCommand.ts @@ -235,6 +235,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M * // "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * // ], * // }, + * // AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * // }, * // DomainSettings: { // DomainSettings * // SecurityGroupIds: [ // DomainSecurityGroupIds diff --git a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts index c91f34c6c350..abe44cf30309 100644 --- a/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/DescribeUserProfileCommand.ts @@ -234,6 +234,7 @@ export interface DescribeUserProfileCommandOutput extends DescribeUserProfileRes * // "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * // ], * // }, + * // AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * // }, * // }; * diff --git a/clients/client-sagemaker/src/commands/ListModelCardVersionsCommand.ts b/clients/client-sagemaker/src/commands/ListModelCardVersionsCommand.ts index 1ff3aa6e9ca8..63a55073d356 100644 --- a/clients/client-sagemaker/src/commands/ListModelCardVersionsCommand.ts +++ b/clients/client-sagemaker/src/commands/ListModelCardVersionsCommand.ts @@ -5,8 +5,7 @@ import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { commonParams } from "../endpoint/EndpointParameters"; -import { ListModelCardVersionsRequest } from "../models/models_3"; -import { ListModelCardVersionsResponse } from "../models/models_4"; +import { ListModelCardVersionsRequest, ListModelCardVersionsResponse } from "../models/models_4"; import { de_ListModelCardVersionsCommand, se_ListModelCardVersionsCommand } from "../protocols/Aws_json1_1"; import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient"; diff --git a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts index 900d4a637b78..c7c7df0682a0 100644 --- a/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateDomainCommand.ts @@ -219,6 +219,7 @@ export interface UpdateDomainCommandOutput extends UpdateDomainResponse, __Metad * "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * ], * }, + * AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * }, * DomainSettingsForUpdate: { // DomainSettingsForUpdate * RStudioServerProDomainSettingsForUpdate: { // RStudioServerProDomainSettingsForUpdate diff --git a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts index 0307904bb13f..90170fb6c3ba 100644 --- a/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts +++ b/clients/client-sagemaker/src/commands/UpdateUserProfileCommand.ts @@ -220,6 +220,7 @@ export interface UpdateUserProfileCommandOutput extends UpdateUserProfileRespons * "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas", * ], * }, + * AutoMountHomeEFS: "Enabled" || "Disabled" || "DefaultAsDomain", * }, * }; * const command = new UpdateUserProfileCommand(input); diff --git a/clients/client-sagemaker/src/models/models_0.ts b/clients/client-sagemaker/src/models/models_0.ts index 358e5df8daf8..7ff7872716e0 100644 --- a/clients/client-sagemaker/src/models/models_0.ts +++ b/clients/client-sagemaker/src/models/models_0.ts @@ -7408,6 +7408,21 @@ export const AutoMLSortOrder = { */ export type AutoMLSortOrder = (typeof AutoMLSortOrder)[keyof typeof AutoMLSortOrder]; +/** + * @public + * @enum + */ +export const AutoMountHomeEFS = { + DEFAULT_AS_DOMAIN: "DefaultAsDomain", + DISABLED: "Disabled", + ENABLED: "Enabled", +} as const; + +/** + * @public + */ +export type AutoMountHomeEFS = (typeof AutoMountHomeEFS)[keyof typeof AutoMountHomeEFS]; + /** *
The name and an example value of the hyperparameter that you want to use in Autotune. * If Automatic model tuning (AMT) determines that your hyperparameter is eligible for @@ -10336,7 +10351,8 @@ export interface ContainerDefinition { AdditionalModelDataSources?: AdditionalModelDataSource[]; /** - *
The environment variables to set in the Docker container.
+ *The environment variables to set in the Docker container. Don't include any + * sensitive data in your environment variables.
*The maximum length of each key and value in the Environment
map is
* 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If
* you pass multiple containers to a CreateModel
request, then the maximum
@@ -11276,14 +11292,3 @@ export interface CreateAutoMLJobRequest {
*/
ModelDeployConfig?: ModelDeployConfig;
}
-
-/**
- * @public
- */
-export interface CreateAutoMLJobResponse {
- /**
- *
The unique ARN assigned to the AutoML job when it is created.
- * @public - */ - AutoMLJobArn: string | undefined; -} diff --git a/clients/client-sagemaker/src/models/models_1.ts b/clients/client-sagemaker/src/models/models_1.ts index aeec23c0ee28..17854f2ca843 100644 --- a/clients/client-sagemaker/src/models/models_1.ts +++ b/clients/client-sagemaker/src/models/models_1.ts @@ -17,6 +17,7 @@ import { AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, + AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, @@ -74,6 +75,17 @@ import { VpcConfig, } from "./models_0"; +/** + * @public + */ +export interface CreateAutoMLJobResponse { + /** + *The unique ARN assigned to the AutoML job when it is created.
+ * @public + */ + AutoMLJobArn: string | undefined; +} + /** * @public */ @@ -2512,6 +2524,12 @@ export interface UserSettings { * @public */ StudioWebPortalSettings?: StudioWebPortalSettings; + + /** + *Indicates whether auto-mounting of an EFS volume is supported for the user profile. The DefaultAsDomain
value is only supported for user profiles. Do not use the DefaultAsDomain
value when setting this parameter for a domain.
Configuration for Redshift Dataset Definition input.
* @public @@ -1756,7 +1769,8 @@ export interface CreateTransformJobRequest { BatchStrategy?: BatchStrategy; /** - *The environment variables to set in the Docker container. We support up to 16 key and + *
The environment variables to set in the Docker container. Don't include any + * sensitive data in your environment variables. We support up to 16 key and * values entries in the map.
* @public */ @@ -9441,24 +9455,6 @@ export interface DescribeModelCardRequest { ModelCardVersion?: number; } -/** - * @public - * @enum - */ -export const ModelCardProcessingStatus = { - CONTENT_DELETED: "ContentDeleted", - DELETE_COMPLETED: "DeleteCompleted", - DELETE_FAILED: "DeleteFailed", - DELETE_INPROGRESS: "DeleteInProgress", - DELETE_PENDING: "DeletePending", - EXPORTJOBS_DELETED: "ExportJobsDeleted", -} as const; - -/** - * @public - */ -export type ModelCardProcessingStatus = (typeof ModelCardProcessingStatus)[keyof typeof ModelCardProcessingStatus]; - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_3.ts b/clients/client-sagemaker/src/models/models_3.ts index f0545628647f..5a14977573ac 100644 --- a/clients/client-sagemaker/src/models/models_3.ts +++ b/clients/client-sagemaker/src/models/models_3.ts @@ -149,7 +149,6 @@ import { LastUpdateStatus, MemberDefinition, ModelArtifacts, - ModelCardProcessingStatus, ModelClientConfig, ModelConfiguration, NotificationConfiguration, @@ -183,6 +182,24 @@ import { WorkerAccessConfiguration, } from "./models_2"; +/** + * @public + * @enum + */ +export const ModelCardProcessingStatus = { + CONTENT_DELETED: "ContentDeleted", + DELETE_COMPLETED: "DeleteCompleted", + DELETE_FAILED: "DeleteFailed", + DELETE_INPROGRESS: "DeleteInProgress", + DELETE_PENDING: "DeletePending", + EXPORTJOBS_DELETED: "ExportJobsDeleted", +} as const; + +/** + * @public + */ +export type ModelCardProcessingStatus = (typeof ModelCardProcessingStatus)[keyof typeof ModelCardProcessingStatus]; + /** * @public */ @@ -11530,61 +11547,6 @@ export const ModelCardVersionSortBy = { */ export type ModelCardVersionSortBy = (typeof ModelCardVersionSortBy)[keyof typeof ModelCardVersionSortBy]; -/** - * @public - */ -export interface ListModelCardVersionsRequest { - /** - *Only list model card versions that were created after the time specified.
- * @public - */ - CreationTimeAfter?: Date; - - /** - *Only list model card versions that were created before the time specified.
- * @public - */ - CreationTimeBefore?: Date; - - /** - *The maximum number of model card versions to list.
- * @public - */ - MaxResults?: number; - - /** - *List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
- * @public - */ - ModelCardName: string | undefined; - - /** - *Only list model card versions with the specified approval status.
- * @public - */ - ModelCardStatus?: ModelCardStatus; - - /** - *If the response to a previous ListModelCardVersions
request was truncated,
- * the response includes a NextToken
. To retrieve the next set of model card
- * versions, use the token in the next request.
Sort listed model card versions by version. Sorts by version by default.
- * @public - */ - SortBy?: ModelCardVersionSortBy; - - /** - *Sort model card versions by ascending or descending order.
- * @public - */ - SortOrder?: ModelCardSortOrder; -} - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_4.ts b/clients/client-sagemaker/src/models/models_4.ts index a1eea119042d..045cf54a5460 100644 --- a/clients/client-sagemaker/src/models/models_4.ts +++ b/clients/client-sagemaker/src/models/models_4.ts @@ -147,6 +147,8 @@ import { LambdaStepMetadata, LineageType, MetricData, + ModelCardSortOrder, + ModelCardVersionSortBy, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, @@ -181,6 +183,61 @@ import { Workteam, } from "./models_3"; +/** + * @public + */ +export interface ListModelCardVersionsRequest { + /** + *Only list model card versions that were created after the time specified.
+ * @public + */ + CreationTimeAfter?: Date; + + /** + *Only list model card versions that were created before the time specified.
+ * @public + */ + CreationTimeBefore?: Date; + + /** + *The maximum number of model card versions to list.
+ * @public + */ + MaxResults?: number; + + /** + *List model card versions for the model card with the specified name or Amazon Resource Name (ARN).
+ * @public + */ + ModelCardName: string | undefined; + + /** + *Only list model card versions with the specified approval status.
+ * @public + */ + ModelCardStatus?: ModelCardStatus; + + /** + *If the response to a previous ListModelCardVersions
request was truncated,
+ * the response includes a NextToken
. To retrieve the next set of model card
+ * versions, use the token in the next request.
Sort listed model card versions by version. Sorts by version by default.
+ * @public + */ + SortBy?: ModelCardVersionSortBy; + + /** + *Sort model card versions by ascending or descending order.
+ * @public + */ + SortOrder?: ModelCardSortOrder; +} + /** *A summary of a specific version of the model card.
* @public diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts index 076eb97f4cc3..cff354c422a6 100644 --- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts +++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts @@ -1041,7 +1041,6 @@ import { CreateArtifactRequest, CreateArtifactResponse, CreateAutoMLJobRequest, - CreateAutoMLJobResponse, CustomImage, DataSource, DirectDeploySettings, @@ -1127,6 +1126,7 @@ import { WorkspaceSettings, } from "../models/models_0"; import { + CreateAutoMLJobResponse, CreateAutoMLJobV2Request, CreateAutoMLJobV2Response, CreateClusterRequest, @@ -1846,7 +1846,6 @@ import { ListModelCardExportJobsResponse, ListModelCardsRequest, ListModelCardsResponse, - ListModelCardVersionsRequest, MetricData, MetricSpecification, ModelCardExportArtifacts, @@ -1887,6 +1886,7 @@ import { Workteam, } from "../models/models_3"; import { + ListModelCardVersionsRequest, ListModelCardVersionsResponse, ListModelExplainabilityJobDefinitionsRequest, ListModelExplainabilityJobDefinitionsResponse, @@ -29975,6 +29975,7 @@ const de_UserProfileList = (output: any, context: __SerdeContext): UserProfileDe */ const de_UserSettings = (output: any, context: __SerdeContext): UserSettings => { return take(output, { + AutoMountHomeEFS: __expectString, CanvasAppSettings: (_: any) => de_CanvasAppSettings(_, context), CodeEditorAppSettings: (_: any) => de_CodeEditorAppSettings(_, context), CustomFileSystemConfigs: (_: any) => de_CustomFileSystemConfigs(_, context), diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json index 25afe1e69459..c5a76ee1021e 100644 --- a/codegen/sdk-codegen/aws-models/sagemaker.json +++ b/codegen/sdk-codegen/aws-models/sagemaker.json @@ -600,7 +600,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:algorithm/[\\S]{1,2048}$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:algorithm/[\\S]{1,2048}$" } }, "com.amazonaws.sagemaker#AlgorithmImage": { @@ -4475,6 +4475,29 @@ } } }, + "com.amazonaws.sagemaker#AutoMountHomeEFS": { + "type": "enum", + "members": { + "ENABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Enabled" + } + }, + "DISABLED": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Disabled" + } + }, + "DEFAULT_AS_DOMAIN": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "DefaultAsDomain" + } + } + } + }, "com.amazonaws.sagemaker#AutoParameter": { "type": "structure", "members": { @@ -6760,7 +6783,7 @@ "traits": { "smithy.api#length": { "min": 1, - "max": 20 + "max": 100 } } }, @@ -7503,7 +7526,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:code-repository/[\\S]{1,2048}$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:code-repository/[\\S]{1,2048}$" } }, "com.amazonaws.sagemaker#CodeRepositoryContains": { @@ -8146,7 +8169,7 @@ "Environment": { "target": "com.amazonaws.sagemaker#EnvironmentMap", "traits": { - "smithy.api#documentation": "The environment variables to set in the Docker container.
\nThe maximum length of each key and value in the Environment
map is\n 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If\n you pass multiple containers to a CreateModel
request, then the maximum\n length of all of their maps, combined, is also 32 KB.
The environment variables to set in the Docker container. Don't include any\n sensitive data in your environment variables.
\nThe maximum length of each key and value in the Environment
map is\n 1024 bytes. The maximum length of all keys and values in the map, combined, is 32 KB. If\n you pass multiple containers to a CreateModel
request, then the maximum\n length of all of their maps, combined, is also 32 KB.
The environment variables to set in the Docker container. We support up to 16 key and\n values entries in the map.
" + "smithy.api#documentation": "The environment variables to set in the Docker container. Don't include any\n sensitive data in your environment variables. We support up to 16 key and\n values entries in the map.
" } }, "TransformInput": { @@ -32257,7 +32280,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$" + "smithy.api#pattern": "^arn:aws(-[\\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-zA-Z0-9]([-.]?[a-zA-Z0-9])*$" } }, "com.amazonaws.sagemaker#ImageBaseImage": { @@ -46117,7 +46140,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package/[\\S]{1,2048}$" } }, "com.amazonaws.sagemaker#ModelPackageArnList": { @@ -46290,7 +46313,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package-group/[\\S]{1,2048}$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:model-package-group/[\\S]{1,2048}$" } }, "com.amazonaws.sagemaker#ModelPackageGroupSortBy": { @@ -54199,7 +54222,7 @@ "min": 1, "max": 2048 }, - "smithy.api#pattern": "^arn:aws(-cn|-us-gov)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:project/[\\S]{1,2048}$" + "smithy.api#pattern": "^arn:aws(-cn|-us-gov|-iso-f)?:sagemaker:[a-z0-9\\-]{9,16}:[0-9]{12}:project/[\\S]{1,2048}$" } }, "com.amazonaws.sagemaker#ProjectEntityName": { @@ -62196,7 +62219,7 @@ "min": 0, "max": 256 }, - "smithy.api#pattern": "^arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/" + "smithy.api#pattern": "^(arn:aws[a-z\\-]*:sagemaker:[a-z0-9\\-]*:[0-9]{12}:studio-lifecycle-config/.*|None)$" } }, "com.amazonaws.sagemaker#StudioLifecycleConfigContent": { @@ -70101,6 +70124,12 @@ "traits": { "smithy.api#documentation": "Studio settings. If these settings are applied on a user level, they take priority over\n the settings applied on a domain level.
" } + }, + "AutoMountHomeEFS": { + "target": "com.amazonaws.sagemaker#AutoMountHomeEFS", + "traits": { + "smithy.api#documentation": "Indicates whether auto-mounting of an EFS volume is supported for the user profile. The DefaultAsDomain
value is only supported for user profiles. Do not use the DefaultAsDomain
value when setting this parameter for a domain.