Skip to content

SolutionVersion

Source code in docs_src/capo_personalize/types/solution_version.py
class SolutionVersion(TypedDict, closed=True):
    name: NotRequired["capo_personalize.types.name.Name"]
    """<p>The name of the solution version.</p>"""
    solution_version_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The ARN of the solution version.</p>"""
    solution_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The ARN of the solution.</p>"""
    perform_hpo: "capo_personalize.types.perform_hpo.PerformHPO"
    """<p>Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is <code>false</code>.</p>"""
    perform_auto_ml: "capo_personalize.types.perform_auto_ml.PerformAutoML"
    """<p>When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses <code>recipeArn</code>.</p>"""
    perform_incremental_update: NotRequired[
        "capo_personalize.types.perform_incremental_update.PerformIncrementalUpdate"
    ]
    """<p>Whether the solution version should perform an incremental update. When set to true, the training will process only the data that has changed since the latest training, similar to when trainingMode is set to UPDATE. This can only be used with solution versions that use the User-Personalization recipe.</p>"""
    recipe_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The ARN of the recipe used in the solution.</p>"""
    event_type: NotRequired["capo_personalize.types.event_type.EventType"]
    """<p>The event type (for example, 'click' or 'like') that is used for training the model.</p>"""
    dataset_group_arn: NotRequired["capo_personalize.types.arn.Arn"]
    """<p>The Amazon Resource Name (ARN) of the dataset group providing the training data.</p>"""
    solution_config: NotRequired[
        "capo_personalize.types.solution_config.SolutionConfig"
    ]
    """<p>Describes the configuration properties for the solution.</p>"""
    training_hours: NotRequired["capo_personalize.types.training_hours.TrainingHours"]
    """<p>The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.</p>"""
    training_mode: NotRequired["capo_personalize.types.training_mode.TrainingMode"]
    """<p>The scope of training to be performed when creating the solution version. A <code>FULL</code> training considers all of the data in your dataset group. An <code>UPDATE</code> processes only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can use <code>UPDATE</code>. </p>"""
    tuned_hpo_params: NotRequired[
        "capo_personalize.types.tuned_hpo_params.TunedHPOParams"
    ]
    """<p>If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.</p>"""
    status: NotRequired["capo_personalize.types.status.Status"]
    """<p>The status of the solution version.</p> <p>A solution version can be in one of the following states:</p> <ul> <li> <p>CREATE PENDING</p> </li> <li> <p>CREATE IN_PROGRESS</p> </li> <li> <p>ACTIVE</p> </li> <li> <p>CREATE FAILED</p> </li> <li> <p>CREATE STOPPING</p> </li> <li> <p>CREATE STOPPED</p> </li> </ul>"""
    failure_reason: NotRequired["capo_personalize.types.failure_reason.FailureReason"]
    """<p>If training a solution version fails, the reason for the failure.</p>"""
    creation_date_time: NotRequired["capo_personalize.types.date.Date"]
    """<p>The date and time (in Unix time) that this version of the solution was created.</p>"""
    last_updated_date_time: NotRequired["capo_personalize.types.date.Date"]
    """<p>The date and time (in Unix time) that the solution was last updated.</p>"""
    training_type: NotRequired["capo_personalize.types.training_type.TrainingType"]
    """<p>Whether the solution version was created automatically or manually.</p>"""

creation_date_time instance-attribute

creation_date_time: NotRequired[Date]

The date and time (in Unix time) that this version of the solution was created.

dataset_group_arn instance-attribute

dataset_group_arn: NotRequired[Arn]

The Amazon Resource Name (ARN) of the dataset group providing the training data.

event_type instance-attribute

event_type: NotRequired[EventType]

The event type (for example, 'click' or 'like') that is used for training the model.

failure_reason instance-attribute

failure_reason: NotRequired[FailureReason]

If training a solution version fails, the reason for the failure.

last_updated_date_time instance-attribute

last_updated_date_time: NotRequired[Date]

The date and time (in Unix time) that the solution was last updated.

name instance-attribute

name: NotRequired[Name]

The name of the solution version.

perform_auto_ml instance-attribute

perform_auto_ml: PerformAutoML

When true, Amazon Personalize searches for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses recipeArn.

perform_hpo instance-attribute

perform_hpo: PerformHPO

Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is false.

perform_incremental_update instance-attribute

perform_incremental_update: NotRequired[PerformIncrementalUpdate]

Whether the solution version should perform an incremental update. When set to true, the training will process only the data that has changed since the latest training, similar to when trainingMode is set to UPDATE. This can only be used with solution versions that use the User-Personalization recipe.

recipe_arn instance-attribute

recipe_arn: NotRequired[Arn]

The ARN of the recipe used in the solution.

solution_arn instance-attribute

solution_arn: NotRequired[Arn]

The ARN of the solution.

solution_config instance-attribute

solution_config: NotRequired[SolutionConfig]

Describes the configuration properties for the solution.

solution_version_arn instance-attribute

solution_version_arn: NotRequired[Arn]

The ARN of the solution version.

status instance-attribute

status: NotRequired[Status]

The status of the solution version.

A solution version can be in one of the following states:

  • CREATE PENDING

  • CREATE IN_PROGRESS

  • ACTIVE

  • CREATE FAILED

  • CREATE STOPPING

  • CREATE STOPPED

training_hours instance-attribute

training_hours: NotRequired[TrainingHours]

The time used to train the model. You are billed for the time it takes to train a model. This field is visible only after Amazon Personalize successfully trains a model.

training_mode instance-attribute

training_mode: NotRequired[TrainingMode]

The scope of training to be performed when creating the solution version. A FULL training considers all of the data in your dataset group. An UPDATE processes only the data that has changed since the latest training. Only solution versions created with the User-Personalization recipe can use UPDATE.

training_type instance-attribute

training_type: NotRequired[TrainingType]

Whether the solution version was created automatically or manually.

tuned_hpo_params instance-attribute

tuned_hpo_params: NotRequired[TunedHPOParams]

If hyperparameter optimization was performed, contains the hyperparameter values of the best performing model.