Class: Aws::PersonalizeEvents::Types::Item
- Inherits:
-
Struct
- Object
- Struct
- Aws::PersonalizeEvents::Types::Item
- Defined in:
- gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/types.rb
Overview
Represents item metadata added to an Items dataset using the
PutItems
API. For more information see Importing items
individually.
Constant Summary collapse
- SENSITIVE =
[:properties]
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.
306 307 308 309 310 311 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/types.rb', line 306 class Item < Struct.new( :item_id, :properties) SENSITIVE = [:properties] include Aws::Structure end |
#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 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"
.
306 307 308 309 310 311 |
# File 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/types.rb', line 306 class Item < Struct.new( :item_id, :properties) SENSITIVE = [:properties] include Aws::Structure end |