Class: Aws::CloudWatchEvidently::Types::Event

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb

Overview

A structure that contains the information about one evaluation event or custom event sent to Evidently. This is a JSON payload. If this event specifies a pre-defined event type, the payload must follow the defined event schema.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dataString

The event data.

Returns:

  • (String)


801
802
803
804
805
806
807
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 801

class Event < Struct.new(
  :data,
  :timestamp,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTime

The timestamp of the event.

Returns:

  • (Time)


801
802
803
804
805
806
807
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 801

class Event < Struct.new(
  :data,
  :timestamp,
  :type)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

aws.evidently.evaluation specifies an evaluation event, which determines which feature variation that a user sees. aws.evidently.custom specifies a custom event, which generates metrics from user actions such as clicks and checkouts.

Returns:

  • (String)


801
802
803
804
805
806
807
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 801

class Event < Struct.new(
  :data,
  :timestamp,
  :type)
  SENSITIVE = []
  include Aws::Structure
end