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
show all
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

Instance Attribute Details

#metricString

What is measured by the behavior.

Returns:

  • (String)

    What is measured by the behavior.

#metric_dimensionTypes::MetricDimension

The dimension of a metric.

Returns: