Class: Aws::IoT::Types::MetricToRetain
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::MetricToRetain
- Defined in:
- gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
Overview
Note:
When making an API call, you may pass MetricToRetain data as a 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.
Constant Summary collapse
- SENSITIVE =
[]
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.
14002 14003 14004 14005 14006 14007 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14002 class MetricToRetain < Struct.new( :metric, :metric_dimension) SENSITIVE = [] include Aws::Structure end |
#metric_dimension ⇒ Types::MetricDimension
The dimension of a metric. This can't be used with custom metrics.
14002 14003 14004 14005 14006 14007 |
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 14002 class MetricToRetain < Struct.new( :metric, :metric_dimension) SENSITIVE = [] include Aws::Structure end |