v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1459348326.0 KB

Creates a trained model from an associated configured model algorithm using data from any member of the collaboration.

post/memberships/{membershipIdentifier}/trained-models

Path parameters

membershipIdentifierstring required

The membership ID of the member that is creating the trained model.

Request body

namestring required

The name of the trained model.

configuredModelAlgorithmAssociationArnstring required

The associated configured model algorithm used to train this model.

hyperparametersobject

Algorithm-specific parameters that influence the quality of the model. You set hyperparameters before you start the learning process.

environmentobject

The environment variables to set in the Docker container.

trainingInputMode'File' | 'FastFile' | 'Pipe'
<p>The input mode for accessing the training data. This parameter determines how the training data is made available to the training algorithm. Valid values are:</p> <ul> <li> <p> <code>File</code> - The training data is downloaded to the training instance and made available as files.</p> </li> <li> <p> <code>FastFile</code> - The training data is streamed directly from Amazon S3 to the training algorithm, providing faster access for large datasets.</p> </li> <li> <p> <code>Pipe</code> - The training data is streamed to the training algorithm using named pipes, which can improve performance for certain algorithms.</p> </li> </ul>
descriptionstring

The description of the trained model.

kmsKeyArnstring

The Amazon Resource Name (ARN) of the KMS key. This key is used to encrypt and decrypt customer-owned data in the trained ML model and the associated data.

tagsobject
<p>The optional metadata that you apply to the resource to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define.</p> <p>The following basic restrictions apply to tags:</p> <ul> <li> <p>Maximum number of tags per resource - 50.</p> </li> <li> <p>For each resource, each tag key must be unique, and each tag key can have only one value.</p> </li> <li> <p>Maximum key length - 128 Unicode characters in UTF-8.</p> </li> <li> <p>Maximum value length - 256 Unicode characters in UTF-8.</p> </li> <li> <p>If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.</p> </li> <li> <p>Tag keys and values are case sensitive.</p> </li> <li> <p>Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix for keys as it is reserved for AWS use. You cannot edit or delete tag keys with this prefix. Values can have this prefix. If a tag value has aws as its prefix but the key does not, then Clean Rooms ML considers it to be a user tag and will count against the limit of 50 tags. Tags with only the key prefix of aws do not count against your tags per resource limit.</p> </li> </ul>
mlModelTrainingPayerAccountIdstring

The account ID of the member that is responsible for paying for model training costs.

Response

Success

trainedModelArnstring required

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

versionIdentifierstring
<p>The unique version identifier assigned to the newly created trained model. This identifier can be used to reference this specific version of the trained model in subsequent operations such as inference jobs or incremental training.</p> <p>The initial version identifier for the base version of the trained model is "NULL".</p>