Class: Aws::Personalize::Types::MetricAttribute
- Inherits:
-
Struct
- Object
- Struct
- Aws::Personalize::Types::MetricAttribute
- Defined in:
- gems/aws-sdk-personalize/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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#event_type ⇒ String
The metric's event type.
-
#expression ⇒ String
The attribute's expression.
-
#metric_name ⇒ String
The metric's name.
Instance Attribute Details
#event_type ⇒ String
The metric's event type.
4618 4619 4620 4621 4622 4623 4624 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 4618 class MetricAttribute < Struct.new( :event_type, :metric_name, :expression) SENSITIVE = [] include Aws::Structure end |
#expression ⇒ String
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).
4618 4619 4620 4621 4622 4623 4624 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 4618 class MetricAttribute < Struct.new( :event_type, :metric_name, :expression) SENSITIVE = [] include Aws::Structure end |
#metric_name ⇒ String
The metric's name. The name helps you identify the metric in Amazon CloudWatch or Amazon S3.
4618 4619 4620 4621 4622 4623 4624 |
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 4618 class MetricAttribute < Struct.new( :event_type, :metric_name, :expression) SENSITIVE = [] include Aws::Structure end |