Class: Aws::PersonalizeEvents::Types::Action

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-personalizeevents/types.rb

Overview

Represents action metadata added to an Action dataset using the ‘PutActions` API. For more information see [Importing actions individually].

[1]: docs.aws.amazon.com/personalize/latest/dg/importing-actions.html

Constant Summary collapse

SENSITIVE =
[:properties]

Instance Attribute Summary collapse

Instance Attribute Details

#action_idString

The ID associated with the action.

Returns:

  • (String)


39
40
41
42
43
44
# File 'lib/aws-sdk-personalizeevents/types.rb', line 39

class Action < Struct.new(
  :action_id,
  :properties)
  SENSITIVE = [:properties]
  include Aws::Structure
end

#propertiesString

A string map of action-specific metadata. Each element in the map consists of a key-value pair. For example, ‘“100”`.

The keys use camel case names that match the fields in the schema for the Actions dataset. In the previous example, the ‘value` matches the ’VALUE’ field defined in the Actions schema. For categorical string data, to include multiple categories for a single action, separate each category with a pipe separator (‘|`). For example, `“Deluxe|Premium”`.

Returns:

  • (String)


39
40
41
42
43
44
# File 'lib/aws-sdk-personalizeevents/types.rb', line 39

class Action < Struct.new(
  :action_id,
  :properties)
  SENSITIVE = [:properties]
  include Aws::Structure
end