From 1aa35725a55c5eeabdebbbbd0006885a6953b8f3 Mon Sep 17 00:00:00 2001
From: awstools Specifies an option from a collection of preconfigured Amazon Machine Image (AMI)
+ * images. Each image is configured by Amazon Web Services with a set of software and driver
+ * versions. Amazon Web Services optimizes these configurations for different machine
+ * learning workloads. By selecting an AMI version, you can ensure that your inference environment is
+ * compatible with specific software requirements, such as CUDA driver versions, Linux
+ * kernel versions, or Amazon Web Services Neuron driver versions.ModelCard
. The
* ModelPackageModelCard
schema does not include model_package_details
,
* and model_overview
is composed of the model_creator
and
- * model_artifact
properties. For more information about
+ * model_artifact
properties. For more information about the model package model
+ * card schema, see Model
+ * package model card schema. For more information about
* the model card associated with the model package, see View
* the Details of a Model Version.
The content of the model card.
+ *The content of the model card. The content must follow the schema described + * in Model + * Package Model Card Schema.
* @public */ ModelCardContent?: string; @@ -10273,7 +10303,9 @@ export interface CreateModelPackageInput { * simplified compared to the schema ofModelCard
. The
* ModelPackageModelCard
schema does not include model_package_details
,
* and model_overview
is composed of the model_creator
and
- * model_artifact
properties. For more information about
+ * model_artifact
properties. For more information about the model package model
+ * card schema, see Model
+ * package model card schema. For more information about
* the model card associated with the model package, see View
* the Details of a Model Version.
* @public
@@ -12300,55 +12332,6 @@ export interface SpaceSharingSettings {
SharingType: SharingType | undefined;
}
-/**
- * @public
- */
-export interface CreateSpaceRequest {
- /**
- * The ID of the associated domain.
- * @public - */ - DomainId: string | undefined; - - /** - *The name of the space.
- * @public - */ - SpaceName: string | undefined; - - /** - *Tags to associated with the space. Each tag consists of a key and an optional value.
- * Tag keys must be unique for each resource. Tags are searchable using the
- * Search
API.
A collection of space settings.
- * @public - */ - SpaceSettings?: SpaceSettings; - - /** - *A collection of ownership settings.
- * @public - */ - OwnershipSettings?: OwnershipSettings; - - /** - *A collection of space sharing settings.
- * @public - */ - SpaceSharingSettings?: SpaceSharingSettings; - - /** - *The name of the space that appears in the SageMaker Studio UI.
- * @public - */ - SpaceDisplayName?: string; -} - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_2.ts b/clients/client-sagemaker/src/models/models_2.ts index 9f6dadb595a1..f82f8094d487 100644 --- a/clients/client-sagemaker/src/models/models_2.ts +++ b/clients/client-sagemaker/src/models/models_2.ts @@ -146,6 +146,7 @@ import { OfflineStoreConfig, OnlineStoreConfig, OutputConfig, + OwnershipSettings, ParallelismConfiguration, ProcessingInstanceType, Processor, @@ -162,11 +163,62 @@ import { ShadowModeConfig, SkipModelValidation, SourceAlgorithmSpecification, + SpaceSettings, + SpaceSharingSettings, ThroughputMode, UserSettings, VendorGuidance, } from "./models_1"; +/** + * @public + */ +export interface CreateSpaceRequest { + /** + *The ID of the associated domain.
+ * @public + */ + DomainId: string | undefined; + + /** + *The name of the space.
+ * @public + */ + SpaceName: string | undefined; + + /** + *Tags to associated with the space. Each tag consists of a key and an optional value.
+ * Tag keys must be unique for each resource. Tags are searchable using the
+ * Search
API.
A collection of space settings.
+ * @public + */ + SpaceSettings?: SpaceSettings; + + /** + *A collection of ownership settings.
+ * @public + */ + OwnershipSettings?: OwnershipSettings; + + /** + *A collection of space sharing settings.
+ * @public + */ + SpaceSharingSettings?: SpaceSharingSettings; + + /** + *The name of the space that appears in the SageMaker Studio UI.
+ * @public + */ + SpaceDisplayName?: string; +} + /** * @public */ @@ -439,17 +491,15 @@ export interface RemoteDebugConfig { /** *Contains information about attribute-based access control (ABAC) for a training job. - * The session chaining configuration uses Amazon Security Token Service (STS) for your - * training job to request temporary, limited-privilege credentials to tenants. For more - * information, see Attribute-based access control (ABAC) for multi-tenancy - * training.
+ * The session chaining configuration uses Amazon Security Token Service (STS) for your training job to + * request temporary, limited-privilege credentials to tenants. For more information, see + * Attribute-based access control (ABAC) for multi-tenancy training. * @public */ export interface SessionChainingConfig { /** - *Set to True
to allow SageMaker to extract session tags from a
- * training job creation role and reuse these tags when assuming the training
- * job execution role.
Set to True
to allow SageMaker to extract session tags from a training job
+ * creation role and reuse these tags when assuming the training job execution role.
Model artifacts are outputs that result from training a model. They typically consist
* of trained parameters, a model definition that describes how to compute inferences, and
* other metadata. A SageMaker container stores your trained model artifacts in the
- * /opt/ml/model
directory. After training has completed, by default, these artifacts
- * are uploaded to your Amazon S3 bucket as compressed files.
/opt/ml/model
directory. After training has completed, by default,
+ * these artifacts are uploaded to your Amazon S3 bucket as compressed files.
* @public
*/
export interface ModelArtifacts {
@@ -8926,7 +8976,9 @@ export interface DescribeModelPackageOutput {
* simplified compared to the schema of ModelCard
. The
* ModelPackageModelCard
schema does not include model_package_details
,
* and model_overview
is composed of the model_creator
and
- * model_artifact
properties. For more information about
+ * model_artifact
properties. For more information about the model package model
+ * card schema, see Model
+ * package model card schema. For more information about
* the model card associated with the model package, see View
* the Details of a Model Version.
* @public
@@ -9848,18 +9900,6 @@ export interface DescribePipelineExecutionResponse {
SelectiveExecutionConfig?: SelectiveExecutionConfig;
}
-/**
- * @public
- */
-export interface DescribeProcessingJobRequest {
- /**
- * The name of the processing job. The name must be unique within an Amazon Web Services Region in the - * Amazon Web Services account.
- * @public - */ - ProcessingJobName: string | undefined; -} - /** * @internal */ diff --git a/clients/client-sagemaker/src/models/models_3.ts b/clients/client-sagemaker/src/models/models_3.ts index cb0e50ee0862..e4d7e020c0e2 100644 --- a/clients/client-sagemaker/src/models/models_3.ts +++ b/clients/client-sagemaker/src/models/models_3.ts @@ -147,6 +147,18 @@ import { WorkerAccessConfiguration, } from "./models_2"; +/** + * @public + */ +export interface DescribeProcessingJobRequest { + /** + *The name of the processing job. The name must be unique within an Amazon Web Services Region in the + * Amazon Web Services account.
+ * @public + */ + ProcessingJobName: string | undefined; +} + /** * @public * @enum @@ -11178,17 +11190,3 @@ export const NotebookInstanceSortKey = { * @public */ export type NotebookInstanceSortKey = (typeof NotebookInstanceSortKey)[keyof typeof NotebookInstanceSortKey]; - -/** - * @public - * @enum - */ -export const NotebookInstanceSortOrder = { - ASCENDING: "Ascending", - DESCENDING: "Descending", -} as const; - -/** - * @public - */ -export type NotebookInstanceSortOrder = (typeof NotebookInstanceSortOrder)[keyof typeof NotebookInstanceSortOrder]; diff --git a/clients/client-sagemaker/src/models/models_4.ts b/clients/client-sagemaker/src/models/models_4.ts index aadaa3f84f09..fd95318adc2a 100644 --- a/clients/client-sagemaker/src/models/models_4.ts +++ b/clients/client-sagemaker/src/models/models_4.ts @@ -153,7 +153,6 @@ import { MetricData, MonitoringAlertSummary, NotebookInstanceSortKey, - NotebookInstanceSortOrder, ProcessingJobStatus, ProjectStatus, ResourceType, @@ -175,6 +174,20 @@ import { Workteam, } from "./models_3"; +/** + * @public + * @enum + */ +export const NotebookInstanceSortOrder = { + ASCENDING: "Ascending", + DESCENDING: "Descending", +} as const; + +/** + * @public + */ +export type NotebookInstanceSortOrder = (typeof NotebookInstanceSortOrder)[keyof typeof NotebookInstanceSortOrder]; + /** * @public */ @@ -3793,7 +3806,9 @@ export interface ModelPackage { * simplified compared to the schema ofModelCard
. The
* ModelPackageModelCard
schema does not include model_package_details
,
* and model_overview
is composed of the model_creator
and
- * model_artifact
properties. For more information about
+ * model_artifact
properties. For more information about the model package model
+ * card schema, see Model
+ * package model card schema. For more information about
* the model card associated with the model package, see View
* the Details of a Model Version.
* @public
@@ -7268,7 +7283,9 @@ export interface UpdateModelPackageInput {
* simplified compared to the schema of ModelCard
. The
* ModelPackageModelCard
schema does not include model_package_details
,
* and model_overview
is composed of the model_creator
and
- * model_artifact
properties. For more information about
+ * model_artifact
properties. For more information about the model package model
+ * card schema, see Model
+ * package model card schema. For more information about
* the model card associated with the model package, see View
* the Details of a Model Version.
* @public
diff --git a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts
index 9fc55718a07c..e97521c9ffef 100644
--- a/clients/client-sagemaker/src/protocols/Aws_json1_1.ts
+++ b/clients/client-sagemaker/src/protocols/Aws_json1_1.ts
@@ -1138,7 +1138,6 @@ import {
CreateProcessingJobResponse,
CreateProjectInput,
CreateProjectOutput,
- CreateSpaceRequest,
CustomFileSystem,
CustomFileSystemConfig,
CustomPosixUserConfig,
@@ -1321,6 +1320,7 @@ import {
UserSettings,
} from "../models/models_1";
import {
+ CreateSpaceRequest,
CreateSpaceResponse,
CreateStudioLifecycleConfigRequest,
CreateStudioLifecycleConfigResponse,
@@ -1513,7 +1513,6 @@ import {
DescribePipelineExecutionResponse,
DescribePipelineRequest,
DescribePipelineResponse,
- DescribeProcessingJobRequest,
EdgeDeploymentStatus,
EdgeModel,
EdgePresetDeploymentOutput,
@@ -1582,6 +1581,7 @@ import {
WorkforceVpcConfigRequest,
} from "../models/models_2";
import {
+ DescribeProcessingJobRequest,
DescribeProcessingJobResponse,
DescribeProjectInput,
DescribeProjectOutput,
@@ -15161,6 +15161,7 @@ const se_ProductionVariant = (input: ProductionVariant, context: __SerdeContext)
ContainerStartupHealthCheckTimeoutInSeconds: [],
CoreDumpConfig: _json,
EnableSSMAccess: [],
+ InferenceAmiVersion: [],
InitialInstanceCount: [],
InitialVariantWeight: __serializeFloat,
InstanceType: [],
@@ -25937,6 +25938,7 @@ const de_ProductionVariant = (output: any, context: __SerdeContext): ProductionV
ContainerStartupHealthCheckTimeoutInSeconds: __expectInt32,
CoreDumpConfig: (_: any) => de_ProductionVariantCoreDumpConfig(_, context),
EnableSSMAccess: __expectBoolean,
+ InferenceAmiVersion: __expectString,
InitialInstanceCount: __expectInt32,
InitialVariantWeight: __limitedParseFloat32,
InstanceType: __expectString,
diff --git a/codegen/sdk-codegen/aws-models/sagemaker.json b/codegen/sdk-codegen/aws-models/sagemaker.json
index c18108b5f7f4..f318a623dfb9 100644
--- a/codegen/sdk-codegen/aws-models/sagemaker.json
+++ b/codegen/sdk-codegen/aws-models/sagemaker.json
@@ -11740,7 +11740,7 @@
"ModelCard": {
"target": "com.amazonaws.sagemaker#ModelPackageModelCard",
"traits": {
- "smithy.api#documentation": "The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about the model package model\n card schema, see Model\n package model card schema. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about the model package model\n card schema, see Model\n package model card schema. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
Provides information about the location that is configured for storing model\n artifacts.
\nModel artifacts are outputs that result from training a model. They typically consist\n of trained parameters, a model definition that describes how to compute inferences, and\n other metadata. A SageMaker container stores your trained model artifacts in the\n /opt/ml/model
directory. After training has completed, by default, these artifacts\n are uploaded to your Amazon S3 bucket as compressed files.
Provides information about the location that is configured for storing model\n artifacts.
\nModel artifacts are outputs that result from training a model. They typically consist\n of trained parameters, a model definition that describes how to compute inferences, and\n other metadata. A SageMaker container stores your trained model artifacts in the\n /opt/ml/model
directory. After training has completed, by default,\n these artifacts are uploaded to your Amazon S3 bucket as compressed files.
The content of the model card.
" + "smithy.api#documentation": "The content of the model card. The content must follow the schema described\n in Model\n Package Model Card Schema.
" } }, "ModelCardStatus": { @@ -44848,7 +44848,7 @@ } }, "traits": { - "smithy.api#documentation": "The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about the model package model\n card schema, see Model\n package model card schema. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
Settings that control how the endpoint routes incoming traffic to the instances that the\n endpoint hosts.
" } + }, + "InferenceAmiVersion": { + "target": "com.amazonaws.sagemaker#ProductionVariantInferenceAmiVersion", + "traits": { + "smithy.api#documentation": "Specifies an option from a collection of preconfigured Amazon Machine Image (AMI)\n images. Each image is configured by Amazon Web Services with a set of software and driver\n versions. Amazon Web Services optimizes these configurations for different machine\n learning workloads.
\nBy selecting an AMI version, you can ensure that your inference environment is\n compatible with specific software requirements, such as CUDA driver versions, Linux\n kernel versions, or Amazon Web Services Neuron driver versions.
" + } } }, "traits": { @@ -50275,6 +50281,17 @@ "smithy.api#documentation": "Specifies configuration for a core dump from the model container when the process\n crashes.
" } }, + "com.amazonaws.sagemaker#ProductionVariantInferenceAmiVersion": { + "type": "enum", + "members": { + "AL2_GPU_2": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "al2-ami-sagemaker-inference-gpu-2" + } + } + } + }, "com.amazonaws.sagemaker#ProductionVariantInstanceType": { "type": "enum", "members": { @@ -57727,12 +57744,12 @@ "EnableSessionTagChaining": { "target": "com.amazonaws.sagemaker#EnableSessionTagChaining", "traits": { - "smithy.api#documentation": "Set to True
to allow SageMaker to extract session tags from a \n training job creation role and reuse these tags when assuming the training \n job execution role.
Set to True
to allow SageMaker to extract session tags from a training job\n creation role and reuse these tags when assuming the training job execution role.
Contains information about attribute-based access control (ABAC) for a training job.\n The session chaining configuration uses Amazon Security Token Service (STS) for your\n training job to request temporary, limited-privilege credentials to tenants. For more\n information, see Attribute-based access control (ABAC) for multi-tenancy\n training.
" + "smithy.api#documentation": "Contains information about attribute-based access control (ABAC) for a training job.\n The session chaining configuration uses Amazon Security Token Service (STS) for your training job to\n request temporary, limited-privilege credentials to tenants. For more information, see\n Attribute-based access control (ABAC) for multi-tenancy training.
" } }, "com.amazonaws.sagemaker#SessionExpirationDurationInSeconds": { @@ -65821,7 +65838,7 @@ "ModelCard": { "target": "com.amazonaws.sagemaker#ModelPackageModelCard", "traits": { - "smithy.api#documentation": "The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.
The model card associated with the model package. Since ModelPackageModelCard
is\n tied to a model package, it is a specific usage of a model card and its schema is\n simplified compared to the schema of ModelCard
. The \n ModelPackageModelCard
schema does not include model_package_details
,\n and model_overview
is composed of the model_creator
and\n model_artifact
properties. For more information about the model package model\n card schema, see Model\n package model card schema. For more information about\n the model card associated with the model package, see View\n the Details of a Model Version.