Module Values.ItemSource

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

Sourcetype nonrec t = {
  1. itemId : StringType.t;
    (*

    The ID associated with the item.

    *)
  2. properties : ItemProperties.t option;
    (*

    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\".

    *)
}
Sourceval context_ : string
Sourceval make : ?properties:??? -> itemId:StringType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of StringType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t