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)


11858
11859
11860
11861
11862
11863
11864
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11858

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

#metricString

What is measured by the behavior.

Returns:

  • (String)


11858
11859
11860
11861
11862
11863
11864
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11858

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.



11858
11859
11860
11861
11862
11863
11864
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11858

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