Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Item

import type { Item } from "https://aws-api.deno.dev/v0.4/services/personalizeevents.ts?docs=full";

Represents item metadata added to an Items dataset using the PutItems API. For more information see Importing Items Incrementally.

interface Item {
itemId: string;
properties?: jsonP.JSONValue | null;
}

§Properties

§
itemId: string
[src]

The ID associated with the item.

§
properties?: jsonP.JSONValue | null
[src]

A string map of item-specific metadata. Each element in the map consists of a key-value pair. For example, {"numberOfRatings": "12"}.

The keys use camel case names that match the fields in the schema for the Items dataset. In the previous example, the numberOfRatings matches the 'NUMBER_OF_RATINGS' field defined in the Items schema. For categorical string data, to include multiple categories for a single item, separate each category with a pipe separator (|). For example, \"Horror|Action\".