PutActionInteractions
Source:
src/AWS/Personalize/PutActionInteractions.ts
Runtime binding for personalize:PutActionInteractions, scoped to one EventTracker —
Records action-interaction events (Taken, Not Taken, Viewed) for the
NEXT_BEST_ACTION recipe through the bound EventTracker. Events
stream into the dataset group’s Action interactions dataset.
Provide the implementation with
Effect.provide(AWS.Personalize.PutActionInteractionsHttp).
Streaming Events
Section titled “Streaming Events”// initconst putActionInteractions = yield* Personalize.PutActionInteractions(tracker);
yield* putActionInteractions({ actionInteractions: [{ actionId: "action-1", userId: "user-1", sessionId: "session-1", eventType: "Taken", timestamp: new Date(), }],});