Skip to content

PutActions

Source: src/AWS/Personalize/PutActions.ts

Runtime binding for personalize:PutActions, scoped to one Dataset — Adds or updates actions incrementally in the bound Actions Dataset for the NEXT_BEST_ACTION recipe. Provide the implementation with Effect.provide(AWS.Personalize.PutActionsHttp).

// init
const putActions = yield* Personalize.PutActions(actionsDataset);
yield* putActions({ actions: [{ actionId: "action-1" }] });