Class: Aws::AppMonetization::Types::MetricDefinition
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppMonetization::Types::MetricDefinition
- Defined in:
- gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb
Overview
The definition of how raw events are aggregated into a metric: which events to include (filters), how to combine them (function and functionField), how to group them, and over what period.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#filters ⇒ Array<Types::MetricFilter>
The predicates selecting which events contribute to the metric.
-
#function ⇒ String
The aggregation function applied to matching events (SUM, COUNT, or MAX).
-
#function_field ⇒ String
The event property key the aggregation function operates on.
-
#group_by ⇒ Array<String>
The event fields to group aggregated results by.
-
#period ⇒ String
The reset or rollup period for the aggregation.
Instance Attribute Details
#filters ⇒ Array<Types::MetricFilter>
The predicates selecting which events contribute to the metric. Combined with logical AND.
3788 3789 3790 3791 3792 3793 3794 3795 3796 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3788 class MetricDefinition < Struct.new( :filters, :function, :function_field, :group_by, :period) SENSITIVE = [] include Aws::Structure end |
#function ⇒ String
The aggregation function applied to matching events (SUM, COUNT, or MAX).
3788 3789 3790 3791 3792 3793 3794 3795 3796 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3788 class MetricDefinition < Struct.new( :filters, :function, :function_field, :group_by, :period) SENSITIVE = [] include Aws::Structure end |
#function_field ⇒ String
The event property key the aggregation function operates on. Required for SUM and MAX; ignored for COUNT.
3788 3789 3790 3791 3792 3793 3794 3795 3796 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3788 class MetricDefinition < Struct.new( :filters, :function, :function_field, :group_by, :period) SENSITIVE = [] include Aws::Structure end |
#group_by ⇒ Array<String>
The event fields to group aggregated results by.
3788 3789 3790 3791 3792 3793 3794 3795 3796 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3788 class MetricDefinition < Struct.new( :filters, :function, :function_field, :group_by, :period) SENSITIVE = [] include Aws::Structure end |
#period ⇒ String
The reset or rollup period for the aggregation.
3788 3789 3790 3791 3792 3793 3794 3795 3796 |
# File 'gems/aws-sdk-appmonetization/lib/aws-sdk-appmonetization/types.rb', line 3788 class MetricDefinition < Struct.new( :filters, :function, :function_field, :group_by, :period) SENSITIVE = [] include Aws::Structure end |