You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::MetricToRetain
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::MetricToRetain
- Defined in:
- (unknown)
Overview
Note:
When passing MetricToRetain as input to an Aws::Client method, you can use a vanilla Hash:
{
metric: "BehaviorMetric", # required
metric_dimension: {
dimension_name: "DimensionName", # required
operator: "IN", # accepts IN, NOT_IN
},
}
The metric you want to retain. Dimensions are optional.
Instance Attribute Summary collapse
-
#metric ⇒ String
What is measured by the behavior.
-
#metric_dimension ⇒ Types::MetricDimension
The dimension of a metric.
Instance Attribute Details
#metric ⇒ String
What is measured by the behavior.
#metric_dimension ⇒ Types::MetricDimension
The dimension of a metric.