Class: Aws::PersonalizeEvents::Types::User
- Inherits:
-
Struct
- Object
- Struct
- Aws::PersonalizeEvents::Types::User
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-personalizeevents/types.rb
Overview
Represents user metadata added to a Users dataset using the ‘PutUsers` API. For more information see [Importing users individually].
[1]: docs.aws.amazon.com/personalize/latest/dg/importing-users.html
Constant Summary collapse
- SENSITIVE =
[:properties]
Instance Attribute Summary collapse
-
#properties ⇒ String
A string map of user-specific metadata.
-
#user_id ⇒ String
The ID associated with the user.
Instance Attribute Details
#properties ⇒ String
A string map of user-specific metadata. Each element in the map consists of a key-value pair. For example, ‘“45”`.
The keys use camel case names that match the fields in the schema for the Users dataset. In the previous example, the ‘numberOfVideosWatched` matches the ’NUMBER_OF_VIDEOS_WATCHED’ field defined in the Users schema. For categorical string data, to include multiple categories for a single user, separate each category with a pipe separator (‘|`). For example, `“Member|Frequent shopper”`.
504 505 506 507 508 509 |
# File 'lib/aws-sdk-personalizeevents/types.rb', line 504 class User < Struct.new( :user_id, :properties) SENSITIVE = [:properties] include Aws::Structure end |