Class: Aws::Personalize::Types::MetricAttribute

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

Overview

Contains information on a metric that a metric attribution reports on. For more information, see [Measuring impact of recommendations].

[1]: docs.aws.amazon.com/personalize/latest/dg/measuring-recommendation-impact.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#event_typeString

The metric’s event type.

Returns:

  • (String)


4618
4619
4620
4621
4622
4623
4624
# File 'lib/aws-sdk-personalize/types.rb', line 4618

class MetricAttribute < Struct.new(
  :event_type,
  :metric_name,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#expressionString

The attribute’s expression. Available functions are ‘SUM()` or `SAMPLECOUNT()`. For SUM() functions, provide the dataset type (either Interactions or Items) and column to sum as a parameter. For example SUM(Items.PRICE).

Returns:

  • (String)


4618
4619
4620
4621
4622
4623
4624
# File 'lib/aws-sdk-personalize/types.rb', line 4618

class MetricAttribute < Struct.new(
  :event_type,
  :metric_name,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The metric’s name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.

Returns:

  • (String)


4618
4619
4620
4621
4622
4623
4624
# File 'lib/aws-sdk-personalize/types.rb', line 4618

class MetricAttribute < Struct.new(
  :event_type,
  :metric_name,
  :expression)
  SENSITIVE = []
  include Aws::Structure
end