Class: Aws::IoT::Types::MetricToRetain
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::MetricToRetain
 
 
- 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
- 
  
    
      #export_metric  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The value indicates exporting metrics related to the ‘MetricToRetain ` when it’s true.
 - 
  
    
      #metric  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
What is measured by the behavior.
 - 
  
    
      #metric_dimension  ⇒ Types::MetricDimension 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The dimension of a metric.
 
Instance Attribute Details
#export_metric ⇒ Boolean
The value indicates exporting metrics related to the ‘MetricToRetain ` when it’s true.
      11858 11859 11860 11861 11862 11863 11864  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 11858 class MetricToRetain < Struct.new( :metric, :metric_dimension, :export_metric) SENSITIVE = [] include Aws::Structure end  | 
  
#metric ⇒ String
What is measured by the behavior.
      11858 11859 11860 11861 11862 11863 11864  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 11858 class MetricToRetain < Struct.new( :metric, :metric_dimension, :export_metric) SENSITIVE = [] include Aws::Structure end  | 
  
#metric_dimension ⇒ Types::MetricDimension
The dimension of a metric. This can’t be used with custom metrics.
      11858 11859 11860 11861 11862 11863 11864  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 11858 class MetricToRetain < Struct.new( :metric, :metric_dimension, :export_metric) SENSITIVE = [] include Aws::Structure end  |