Skip to content

Commit cfb79df

Browse files
author
AWS
committed
Amazon Personalize Update: AWS Personalize: Adds ability to create a solution version using FULL or UPDATE training mode
1 parent 08fec0a commit cfb79df

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Personalize",
4+
"description": "AWS Personalize: Adds ability to create a solution version using FULL or UPDATE training mode"
5+
}

services/personalize/src/main/resources/codegen-resources/service-2.json

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,10 @@
10741074
"solutionArn":{
10751075
"shape":"Arn",
10761076
"documentation":"<p>The Amazon Resource Name (ARN) of the solution containing the training configuration information.</p>"
1077+
},
1078+
"trainingMode":{
1079+
"shape":"TrainingMode",
1080+
"documentation":"<p>The scope of training to be performed when creating the solution version. The <code>FULL</code> option trains the solution version based on the entirety of the input solution's training data, while the <code>UPDATE</code> option processes only the data that has changed in comparison to the input solution. Choose <code>UPDATE</code> when you want to incrementally update your solution version instead of creating an entirely new one.</p> <important> <p>The <code>UPDATE</code> option can only be used when you already have an active solution version created from the input solution using the <code>FULL</code> option and the input solution was trained with the <a>native-recipe-hrnn-coldstart</a> recipe.</p> </important>"
10771081
}
10781082
}
10791083
},
@@ -1934,11 +1938,11 @@
19341938
"members":{
19351939
"maxNumberOfTrainingJobs":{
19361940
"shape":"HPOResource",
1937-
"documentation":"<p>The maximum number of training jobs.</p>"
1941+
"documentation":"<p>The maximum number of training jobs when you create a solution version. The maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>"
19381942
},
19391943
"maxParallelTrainingJobs":{
19401944
"shape":"HPOResource",
1941-
"documentation":"<p>The maximum number of parallel training jobs.</p>"
1945+
"documentation":"<p>The maximum number of parallel training jobs when you create a solution version. The maximum value for <code>maxParallelTrainingJobs</code> is <code>10</code>.</p>"
19421946
}
19431947
},
19441948
"documentation":"<p>Describes the resource configuration for hyperparameter optimization (HPO).</p>"
@@ -2577,7 +2581,7 @@
25772581
},
25782582
"performAutoML":{
25792583
"shape":"PerformAutoML",
2580-
"documentation":"<p>When true, Amazon Personalize performs a search for the most optimal recipe according to the solution configuration. When false (the default), Amazon Personalize uses <code>recipeArn</code>.</p>"
2584+
"documentation":"<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>"
25812585
},
25822586
"recipeArn":{
25832587
"shape":"Arn",
@@ -2597,15 +2601,19 @@
25972601
},
25982602
"trainingHours":{
25992603
"shape":"TrainingHours",
2600-
"documentation":"<p>The time used to train the model. </p>"
2604+
"documentation":"<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>"
2605+
},
2606+
"trainingMode":{
2607+
"shape":"TrainingMode",
2608+
"documentation":"<p>The scope of training used to create the solution version. The <code>FULL</code> option trains the solution version based on the entirety of the input solution's training data, while the <code>UPDATE</code> option processes only the training data that has changed since the creation of the last solution version. Choose <code>UPDATE</code> when you want to start recommending items added to the dataset without retraining the model.</p> <important> <p>The <code>UPDATE</code> option can only be used after you've created a solution version with the <code>FULL</code> option and the training solution uses the <a>native-recipe-hrnn-coldstart</a>.</p> </important>"
26012609
},
26022610
"status":{
26032611
"shape":"Status",
2604-
"documentation":"<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 &gt; CREATE IN_PROGRESS &gt; ACTIVE -or- CREATE FAILED</p> </li> </ul>"
2612+
"documentation":"<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> </ul>"
26052613
},
26062614
"failureReason":{
26072615
"shape":"FailureReason",
2608-
"documentation":"<p>If training a solution version fails, the reason behind the failure.</p>"
2616+
"documentation":"<p>If training a solution version fails, the reason for the failure.</p>"
26092617
},
26102618
"creationDateTime":{
26112619
"shape":"Date",
@@ -2670,6 +2678,13 @@
26702678
"type":"string",
26712679
"max":256
26722680
},
2681+
"TrainingMode":{
2682+
"type":"string",
2683+
"enum":[
2684+
"FULL",
2685+
"UPDATE"
2686+
]
2687+
},
26732688
"TransactionsPerSecond":{
26742689
"type":"integer",
26752690
"min":1

0 commit comments

Comments
 (0)