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

The value indicates exporting metrics related to the ‘MetricToRetain ` when it’s true.

Returns:

  • (Boolean)


12039
12040
12041
12042
12043
12044
12045
# File 'lib/aws-sdk-iot/types.rb', line 12039

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

#metricString

What is measured by the behavior.

Returns:

  • (String)


12039
12040
12041
12042
12043
12044
12045
# File 'lib/aws-sdk-iot/types.rb', line 12039

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.



12039
12040
12041
12042
12043
12044
12045
# File 'lib/aws-sdk-iot/types.rb', line 12039

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