action_recommendations
Creates, updates, deletes, gets or lists an action_recommendations resource.
Overview
| Name | action_recommendations |
| Type | Resource |
| Id | aws.personalize_runtime.action_recommendations |
Fields
The following fields are returned by SELECT queries:
- get_action_recommendations
| Name | Datatype | Description |
|---|---|---|
action_list | array | A list of action recommendations sorted in descending order by prediction score. There can be a maximum of 100 actions in the list. For information about action scores, see How action recommendation scoring works. |
recommendation_id | string | The ID of the recommendation. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_action_recommendations | select | region | Returns a list of recommended actions in sorted in descending order by prediction score. Use the GetActionRecommendations API if you have a custom campaign that deploys a solution version trained with a PERSONALIZED_ACTIONS recipe. For more information about PERSONALIZED_ACTIONS recipes, see PERSONALIZED_ACTIONS recipes. For more information about getting action recommendations, see Getting action recommendations. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_action_recommendations
Returns a list of recommended actions in sorted in descending order by prediction score. Use the GetActionRecommendations API if you have a custom campaign that deploys a solution version trained with a PERSONALIZED_ACTIONS recipe. For more information about PERSONALIZED_ACTIONS recipes, see PERSONALIZED_ACTIONS recipes. For more information about getting action recommendations, see Getting action recommendations.
SELECT
action_list,
recommendation_id
FROM aws.personalize_runtime.action_recommendations
WHERE region = '{{ region }}' -- required
;