GetRecommendations
Source:
src/AWS/Personalize/GetRecommendations.ts
Runtime binding for personalize:GetRecommendations — Returns a list of recommended items for a user from a campaign or
domain recommender — the core Personalize serving call. Campaign and
recommender ARNs are chosen at runtime, so the binding takes no
arguments and grants personalize:GetRecommendations on *.
Provide the implementation with
Effect.provide(AWS.Personalize.GetRecommendationsHttp).
Serving Recommendations
Section titled “Serving Recommendations”// initconst getRecommendations = yield* Personalize.GetRecommendations();
const { itemList } = yield* getRecommendations({ campaignArn, userId: "user-1", numResults: 10,});