You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::PersonalizeEvents::Types::Item

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Item as input to an Aws::Client method, you can use a vanilla Hash:

{
  item_id: "StringType", # required
  properties: "ItemProperties",
}

Represents item metadata added to an Items dataset using the PutItems API.

Instance Attribute Summary collapse

Instance Attribute Details

#item_idString

The ID associated with the item.

Returns:

  • (String)

    The ID associated with the item.

#propertiesString

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 Items schema. In the above example, the numberOfRatings would match the \'NUMBER_OF_RATINGS\' field defined in the Items schema.

Returns:

  • (String)

    A string map of item-specific metadata.