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
- Struct
- Aws::PersonalizeEvents::Types::Item
- 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
-
#item_id ⇒ String
The ID associated with the item.
-
#properties ⇒ String
A string map of item-specific metadata.
Instance Attribute Details
#item_id ⇒ String
The ID associated with the item.
#properties ⇒ String
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.