PutItems
Source:
src/AWS/Personalize/PutItems.ts
Runtime binding for personalize:PutItems, scoped to one Dataset —
Adds or updates items incrementally in the bound Items Dataset
— the streaming alternative to a bulk dataset import job for keeping
the catalog fresh.
Provide the implementation with
Effect.provide(AWS.Personalize.PutItemsHttp).
Incremental Imports
Section titled “Incremental Imports”// initconst putItems = yield* Personalize.PutItems(itemsDataset);
yield* putItems({ items: [{ itemId: "item-42", properties: JSON.stringify({ category: "books" }), }],});