Class: Aws::IoT::Types::MetricToRetain

Inherits:
Struct
  • Object
show all
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

Instance Attribute Details

#metricString

What is measured by the behavior.

Returns:

  • (String)


13509
13510
13511
13512
13513
13514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13509

class MetricToRetain < Struct.new(
  :metric,
  :metric_dimension)
  SENSITIVE = []
  include Aws::Structure
end

#metric_dimensionTypes::MetricDimension

The dimension of a metric. This can't be used with custom metrics.



13509
13510
13511
13512
13513
13514
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 13509

class MetricToRetain < Struct.new(
  :metric,
  :metric_dimension)
  SENSITIVE = []
  include Aws::Structure
end