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)


840
841
842
843
844
845
846
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 840

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

#timestampTime

The timestamp of the event.

Returns:

  • (Time)


840
841
842
843
844
845
846
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 840

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)


840
841
842
843
844
845
846
# File 'gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/types.rb', line 840

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