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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-personalizeevents/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.

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 'gems/aws-sdk-personalizeevents/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, {"value": "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 'gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/types.rb', line 39

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