Class: Aws::IoT::Types::TopicRule
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::TopicRule
 
 
- Includes:
 - Structure
 
- Defined in:
 - lib/aws-sdk-iot/types.rb
 
Overview
Describes a rule.
Constant Summary collapse
- SENSITIVE =
 []
Instance Attribute Summary collapse
- 
  
    
      #actions  ⇒ Array<Types::Action> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The actions associated with the rule.
 - 
  
    
      #aws_iot_sql_version  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The version of the SQL rules engine to use when evaluating the rule.
 - 
  
    
      #created_at  ⇒ Time 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The date and time the rule was created.
 - 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The description of the rule.
 - 
  
    
      #error_action  ⇒ Types::Action 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The action to perform when an error occurs.
 - 
  
    
      #rule_disabled  ⇒ Boolean 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies whether the rule is disabled.
 - 
  
    
      #rule_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the rule.
 - 
  
    
      #sql  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The SQL statement used to query the topic.
 
Instance Attribute Details
#actions ⇒ Array<Types::Action>
The actions associated with the rule.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#aws_iot_sql_version ⇒ String
The version of the SQL rules engine to use when evaluating the rule.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#created_at ⇒ Time
The date and time the rule was created.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#description ⇒ String
The description of the rule.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#error_action ⇒ Types::Action
The action to perform when an error occurs.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#rule_disabled ⇒ Boolean
Specifies whether the rule is disabled.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#rule_name ⇒ String
The name of the rule.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  | 
  
#sql ⇒ String
The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.
      15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249  | 
    
      # File 'lib/aws-sdk-iot/types.rb', line 15238 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) SENSITIVE = [] include Aws::Structure end  |