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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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

Value added in both Behavior and AdditionalMetricsToRetainV2 to indicate if Device Defender Detect should export the corresponding metrics.

Returns:

  • (Boolean)


11562
11563
11564
11565
11566
11567
11568
# File 'lib/aws-sdk-iot/types.rb', line 11562

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

#metricString

What is measured by the behavior.

Returns:

  • (String)


11562
11563
11564
11565
11566
11567
11568
# File 'lib/aws-sdk-iot/types.rb', line 11562

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.



11562
11563
11564
11565
11566
11567
11568
# File 'lib/aws-sdk-iot/types.rb', line 11562

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