Class: Aws::LookoutMetrics::Types::Metric
- Inherits:
-
Struct
- Object
- Struct
- Aws::LookoutMetrics::Types::Metric
- Defined in:
- gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb
Overview
Note:
When making an API call, you may pass Metric data as a hash:
{
metric_name: "ColumnName", # required
aggregation_function: "AVG", # required, accepts AVG, SUM
namespace: "Namespace",
}
A calculation made by contrasting a measure and a dimension from your source data.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#aggregation_function ⇒ String
The function with which the metric is calculated.
-
#metric_name ⇒ String
The name of the metric.
-
#namespace ⇒ String
The namespace for the metric.
Instance Attribute Details
#aggregation_function ⇒ String
The function with which the metric is calculated.
2315 2316 2317 2318 2319 2320 2321 |
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 2315 class Metric < Struct.new( :metric_name, :aggregation_function, :namespace) SENSITIVE = [] include Aws::Structure end |