Skip to content

GetActionRecommendationsResponse

Source code in docs_src/capo_personalize_runtime/types/get_action_recommendations_response.py
class GetActionRecommendationsResponse(TypedDict, closed=True):
    action_list: NotRequired["capo_personalize_runtime.types.action_list.ActionList"]
    """<p>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 <a href="https://docs.aws.amazon.com/personalize/latest/dg/how-action-recommendation-scoring-works.html">How action recommendation scoring works</a>.</p>"""
    recommendation_id: NotRequired[
        "capo_personalize_runtime.types.recommendation_id.RecommendationID"
    ]
    """<p>The ID of the recommendation.</p>"""

action_list instance-attribute

action_list: NotRequired[ActionList]

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 instance-attribute

recommendation_id: NotRequired[RecommendationID]

The ID of the recommendation.