/AWS1/CL_PZZSOLUTION¶
By default, all new solutions use automatic training. With automatic training, you incur training costs while your solution is active. To avoid unnecessary costs, when you are finished you can update the solution to turn off automatic training. For information about training costs, see Amazon Personalize pricing.
An object that provides information about a solution. A solution includes the custom recipe, customized parameters, and trained models (Solution Versions) that Amazon Personalize uses to generate recommendations.
After you create a solution, you can’t change its configuration. If you need to make changes, you can clone the solution with the Amazon Personalize console or create a new one.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_name TYPE /AWS1/PZZNAME /AWS1/PZZNAME¶
The name of the solution.
iv_solutionarn TYPE /AWS1/PZZARN /AWS1/PZZARN¶
The ARN of the solution.
iv_performhpo TYPE /AWS1/PZZPERFORMHPO /AWS1/PZZPERFORMHPO¶
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false.
iv_performautoml TYPE /AWS1/PZZPERFORMAUTOML /AWS1/PZZPERFORMAUTOML¶
We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training.
iv_performautotraining TYPE /AWS1/PZZPERFORMAUTOTRAINING /AWS1/PZZPERFORMAUTOTRAINING¶
Specifies whether the solution automatically creates solution versions. The default is
Trueand the solution automatically creates new solution versions every 7 days.For more information about auto training, see Creating and configuring a solution.
iv_recipearn TYPE /AWS1/PZZARN /AWS1/PZZARN¶
The ARN of the recipe used to create the solution. This is required when
performAutoMLis false.
iv_datasetgrouparn TYPE /AWS1/PZZARN /AWS1/PZZARN¶
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
iv_eventtype TYPE /AWS1/PZZEVENTTYPE /AWS1/PZZEVENTTYPE¶
The event type (for example, 'click' or 'like') that is used for training the model. If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
io_solutionconfig TYPE REF TO /AWS1/CL_PZZSOLUTIONCONFIG /AWS1/CL_PZZSOLUTIONCONFIG¶
Describes the configuration properties for the solution.
io_automlresult TYPE REF TO /AWS1/CL_PZZAUTOMLRESULT /AWS1/CL_PZZAUTOMLRESULT¶
When
performAutoMLis true, specifies the best recipe found.
iv_status TYPE /AWS1/PZZSTATUS /AWS1/PZZSTATUS¶
The status of the solution.
A solution can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
iv_creationdatetime TYPE /AWS1/PZZDATE /AWS1/PZZDATE¶
The creation date and time (in Unix time) of the solution.
iv_lastupdateddatetime TYPE /AWS1/PZZDATE /AWS1/PZZDATE¶
The date and time (in Unix time) that the solution was last updated.
io_latestsolutionversion TYPE REF TO /AWS1/CL_PZZSOLUTIONVRSSUMMARY /AWS1/CL_PZZSOLUTIONVRSSUMMARY¶
Describes the latest version of the solution, including the status and the ARN.
io_latestsolutionupdate TYPE REF TO /AWS1/CL_PZZSOLUTIONUPDATESUMM /AWS1/CL_PZZSOLUTIONUPDATESUMM¶
Provides a summary of the latest updates to the solution.
Queryable Attributes¶
name¶
The name of the solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
solutionArn¶
The ARN of the solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOLUTIONARN() |
Getter for SOLUTIONARN, with configurable default |
ASK_SOLUTIONARN() |
Getter for SOLUTIONARN w/ exceptions if field has no value |
HAS_SOLUTIONARN() |
Determine if SOLUTIONARN has a value |
performHPO¶
Whether to perform hyperparameter optimization (HPO) on the chosen recipe. The default is
false.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERFORMHPO() |
Getter for PERFORMHPO |
performAutoML¶
We don't recommend enabling automated machine learning. Instead, match your use case to the available Amazon Personalize recipes. For more information, see Determining your use case.
When true, Amazon Personalize performs a search for the best USER_PERSONALIZATION recipe from the list specified in the solution configuration (
recipeArnmust not be specified). When false (the default), Amazon Personalize usesrecipeArnfor training.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERFORMAUTOML() |
Getter for PERFORMAUTOML |
performAutoTraining¶
Specifies whether the solution automatically creates solution versions. The default is
Trueand the solution automatically creates new solution versions every 7 days.For more information about auto training, see Creating and configuring a solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERFORMAUTOTRAINING() |
Getter for PERFORMAUTOTRAINING, with configurable default |
ASK_PERFORMAUTOTRAINING() |
Getter for PERFORMAUTOTRAINING w/ exceptions if field has no |
HAS_PERFORMAUTOTRAINING() |
Determine if PERFORMAUTOTRAINING has a value |
recipeArn¶
The ARN of the recipe used to create the solution. This is required when
performAutoMLis false.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RECIPEARN() |
Getter for RECIPEARN, with configurable default |
ASK_RECIPEARN() |
Getter for RECIPEARN w/ exceptions if field has no value |
HAS_RECIPEARN() |
Determine if RECIPEARN has a value |
datasetGroupArn¶
The Amazon Resource Name (ARN) of the dataset group that provides the training data.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DATASETGROUPARN() |
Getter for DATASETGROUPARN, with configurable default |
ASK_DATASETGROUPARN() |
Getter for DATASETGROUPARN w/ exceptions if field has no val |
HAS_DATASETGROUPARN() |
Determine if DATASETGROUPARN has a value |
eventType¶
The event type (for example, 'click' or 'like') that is used for training the model. If no
eventTypeis provided, Amazon Personalize uses all interactions for training with equal weight regardless of type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EVENTTYPE() |
Getter for EVENTTYPE, with configurable default |
ASK_EVENTTYPE() |
Getter for EVENTTYPE w/ exceptions if field has no value |
HAS_EVENTTYPE() |
Determine if EVENTTYPE has a value |
solutionConfig¶
Describes the configuration properties for the solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOLUTIONCONFIG() |
Getter for SOLUTIONCONFIG |
autoMLResult¶
When
performAutoMLis true, specifies the best recipe found.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTOMLRESULT() |
Getter for AUTOMLRESULT |
status¶
The status of the solution.
A solution can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATUS() |
Getter for STATUS, with configurable default |
ASK_STATUS() |
Getter for STATUS w/ exceptions if field has no value |
HAS_STATUS() |
Determine if STATUS has a value |
creationDateTime¶
The creation date and time (in Unix time) of the solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATIONDATETIME() |
Getter for CREATIONDATETIME, with configurable default |
ASK_CREATIONDATETIME() |
Getter for CREATIONDATETIME w/ exceptions if field has no va |
HAS_CREATIONDATETIME() |
Determine if CREATIONDATETIME has a value |
lastUpdatedDateTime¶
The date and time (in Unix time) that the solution was last updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTUPDATEDDATETIME() |
Getter for LASTUPDATEDDATETIME, with configurable default |
ASK_LASTUPDATEDDATETIME() |
Getter for LASTUPDATEDDATETIME w/ exceptions if field has no |
HAS_LASTUPDATEDDATETIME() |
Determine if LASTUPDATEDDATETIME has a value |
latestSolutionVersion¶
Describes the latest version of the solution, including the status and the ARN.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LATESTSOLUTIONVERSION() |
Getter for LATESTSOLUTIONVERSION |
latestSolutionUpdate¶
Provides a summary of the latest updates to the solution.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LATESTSOLUTIONUPDATE() |
Getter for LATESTSOLUTIONUPDATE |