You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(client-personalize): This releases auto training capability while creating a solution and automatically syncing latest solution versions when creating/updating a campaign
* <p>Creates a campaign that deploys a solution version. When a client calls the
30
+
* <important>
31
+
* <p> You incur campaign costs while it is active. To avoid unnecessary costs, make sure to delete the campaign when you are finished. For information about campaign
32
+
* costs, see <a href="https://aws.amazon.com/personalize/pricing/">Amazon Personalize pricing</a>.</p>
33
+
* </important>
34
+
* <p>Creates a campaign that deploys a solution version. When a client calls the
* <p>Creates the configuration for training a model. A trained model is known as
31
-
* a solution version. After the configuration is created, you train the model (create a solution version)
32
-
* by calling the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolutionVersion.html">CreateSolutionVersion</a> operation. Every time you call
33
-
* <code>CreateSolutionVersion</code>, a new version of the solution is created.</p>
34
-
* <p>After creating a solution version, you check its accuracy by calling
35
-
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_GetSolutionMetrics.html">GetSolutionMetrics</a>. When you are satisfied with the version, you
30
+
* <important>
31
+
* <p>After you create a solution, you can’t change its configuration. By default, all new solutions use automatic training. With automatic training, you incur training costs while
32
+
* your solution is active. You can't stop automatic training for a solution. To avoid unnecessary costs, make sure to delete the solution when you are finished. For information about training
33
+
* costs, see <a href="https://aws.amazon.com/personalize/pricing/">Amazon Personalize pricing</a>.</p>
34
+
* </important>
35
+
* <p>Creates the configuration for training a model (creating a solution version). This configuration
36
+
* includes the recipe to use for model training and optional training configuration, such as columns to use
37
+
* in training and feature transformation parameters. For more information about configuring a solution, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/customizing-solution-config.html">Creating and configuring a solution</a>.
38
+
* </p>
39
+
* <p>
40
+
* By default, new solutions use automatic training to create solution versions every 7 days. You can change the training frequency.
41
+
* Automatic solution version creation starts one hour after the solution is ACTIVE. If you manually create a solution version within
42
+
* the hour, the solution skips the first automatic training. For more information,
43
+
* see <a href="https://docs.aws.amazon.com/personalize/latest/dg/solution-config-auto-training.html">Configuring automatic training</a>.</p>
44
+
* <p>
45
+
* To turn off automatic training, set <code>performAutoTraining</code> to false. If you turn off automatic training, you must manually create a solution version
46
+
* by calling the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateSolutionVersion.html">CreateSolutionVersion</a> operation.</p>
47
+
* <p>After training starts, you can
48
+
* get the solution version's Amazon Resource Name (ARN) with the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_ListSolutionVersions.html">ListSolutionVersions</a> API operation.
49
+
* To get its status, use the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolutionVersion.html">DescribeSolutionVersion</a>.
50
+
* </p>
51
+
* <p>After training completes you can evaluate model accuracy by calling
52
+
* <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_GetSolutionMetrics.html">GetSolutionMetrics</a>. When you are satisfied with the solution version, you
36
53
* deploy it using <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_CreateCampaign.html">CreateCampaign</a>. The campaign provides recommendations
* <p>To get the status of the solution, call <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html">DescribeSolution</a>. Wait
60
-
* until the status shows as ACTIVE before calling <code>CreateSolutionVersion</code>.</p>
72
+
* <p>To get the status of the solution, call <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeSolution.html">DescribeSolution</a>. If you use
73
+
* manual training, the status must be ACTIVE before you call <code>CreateSolutionVersion</code>.</p>
* <p>Remove <a href="https://docs.aws.amazon.com/personalize/latest/dg/tagging-resources.html">tags</a> that are attached to a resource.</p>
30
+
* <p>Removes the specified tags that are attached to a resource. For more information, see <a href="https://docs.aws.amazon.com/personalize/latest/dg/tags-remove.html">Removing tags from Amazon Personalize resources</a>.</p>
31
31
* @example
32
32
* Use a bare-bones client and the command you need to make an API call.
* Updates a campaign to deploy a retrained solution version with an existing campaign, change your campaign's <code>minProvisionedTPS</code>,
32
-
* or modify your campaign's configuration, such as the exploration configuration.
33
-
* </p>
32
+
* or modify your campaign's configuration. For example, you can set <code>enableMetadataWithRecommendations</code> to true for an existing campaign.</p>
33
+
* <p>
34
+
* To update a campaign to start automatically using the latest solution version, specify the following:</p>
35
+
* <ul>
36
+
* <li>
37
+
* <p>For the <code>SolutionVersionArn</code> parameter, specify the Amazon Resource Name (ARN) of your solution in
38
+
* <code>SolutionArn/$LATEST</code> format. </p>
39
+
* </li>
40
+
* <li>
41
+
* <p> In the <code>campaignConfig</code>, set <code>syncWithLatestSolutionVersion</code> to <code>true</code>.
42
+
* </p>
43
+
* </li>
44
+
* </ul>
34
45
* <p>To update a campaign, the campaign status must be ACTIVE or CREATE FAILED.
35
46
* Check the campaign status using the <a href="https://docs.aws.amazon.com/personalize/latest/dg/API_DescribeCampaign.html">DescribeCampaign</a> operation.</p>
0 commit comments