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.
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.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#aws_iot_sql_version ⇒ String
The version of the SQL rules engine to use when evaluating the rule.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#created_at ⇒ Time
The date and time the rule was created.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#description ⇒ String
The description of the rule.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#error_action ⇒ Types::Action
The action to perform when an error occurs.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#rule_disabled ⇒ Boolean
Specifies whether the rule is disabled.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |
#rule_name ⇒ String
The name of the rule.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) 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.
10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 |
# File 'lib/aws-sdk-iot/types.rb', line 10313 class TopicRule < Struct.new( :rule_name, :sql, :description, :created_at, :actions, :rule_disabled, :aws_iot_sql_version, :error_action) include Aws::Structure end |