Table Of Contents


User Guide


[ aws . personalize-runtime ]



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.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.


--campaign-arn <value>
--input-list <value>
--user-id <value>
[--context <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]


--campaign-arn (string)

The Amazon Resource Name (ARN) of the campaign to use for generating the personalized ranking.

--input-list (list)

A list of items (itemId's) to rank. If an item was not included in the training dataset, the item is appended to the end of the reranked list. The maximum is 500.


"string" "string" ...

--user-id (string)

The user for which you want the campaign to provide a personalized ranking.

--context (map)

The contextual metadata to use when getting recommendations. Contextual metadata includes any interaction information that might be relevant when getting a user's recommendations, such as the user's current location or device type. For more information, see Contextual Metadata.

Shorthand Syntax:


JSON Syntax:

{"string": "string"



See 'aws help' for descriptions of global parameters.


personalizedRanking -> (list)

A list of items in order of most likely interest to the user. The maximum is 500.


An object that identifies an item.

The and APIs return a list of PredictedItem s.

itemId -> (string)

The recommended item ID.