personalized_rankings
Creates, updates, deletes, gets or lists a personalized_rankings resource.
Overview
| Name | personalized_rankings |
| Type | Resource |
| Id | aws.personalize_runtime.personalized_rankings |
Fields
The following fields are returned by SELECT queries:
- get_personalized_ranking
| Name | Datatype | Description |
|---|---|---|
personalized_ranking | array | A list of items in order of most likely interest to the user. The maximum is 500. |
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_personalized_ranking | select | region | Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user. The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING. |
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_personalized_ranking
Re-ranks a list of recommended items for the given user. The first item in the list is deemed the most likely item to be of interest to the user. The solution backing the campaign must have been created using a recipe of type PERSONALIZED_RANKING.
SELECT
personalized_ranking,
recommendation_id
FROM aws.personalize_runtime.personalized_rankings
WHERE region = '{{ region }}' -- required
;