Skip to main content

action_recommendations

Creates, updates, deletes, gets or lists an action_recommendations resource.

Overview

Nameaction_recommendations
TypeResource
Idaws.personalize_runtime.action_recommendations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
action_listarrayA 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_idstringThe ID of the recommendation.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_action_recommendationsselectregionReturns 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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
;