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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

The metric you want to retain. Dimensions are optional.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#export_metricBoolean

The value indicates exporting metrics related to the MetricToRetain when it's true.

Returns:

  • (Boolean)


12213
12214
12215
12216
12217
12218
12219
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 12213

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

#metricString

What is measured by the behavior.

Returns:

  • (String)


12213
12214
12215
12216
12217
12218
12219
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 12213

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

#metric_dimensionTypes::MetricDimension

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



12213
12214
12215
12216
12217
12218
12219
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 12213

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