Skip to main content

personalized_rankings

Creates, updates, deletes, gets or lists a personalized_rankings resource.

Overview

Namepersonalized_rankings
TypeResource
Idaws.personalize_runtime.personalized_rankings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
personalized_rankingarrayA list of items in order of most likely interest to the user. The maximum is 500.
recommendation_idstringThe ID of the recommendation.

Methods

The following methods are available for this resource:

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

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

SELECT examples

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
;