Class: Aws::IoT::Types::TopicRulePayload

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Describes a rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<Types::Action>

The actions associated with the rule.

Returns:



16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end

#aws_iot_sql_versionString

The version of the SQL rules engine to use when evaluating the rule.

Returns:

  • (String)


16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description of the rule.

Returns:

  • (String)


16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end

#error_actionTypes::Action

The action to take when an error occurs.

Returns:



16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end

#rule_disabledBoolean

Specifies whether the rule is disabled.

Returns:

  • (Boolean)


16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end

#sqlString

The SQL statement used to query the topic. For more information, see

IoT SQL Reference][1

in the *IoT Developer Guide*.

[1]: docs.aws.amazon.com/iot/latest/developerguide/iot-sql-reference.html

Returns:

  • (String)


16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
# File 'lib/aws-sdk-iot/types.rb', line 16154

class TopicRulePayload < Struct.new(
  :sql,
  :description,
  :actions,
  :rule_disabled,
  :aws_iot_sql_version,
  :error_action)
  SENSITIVE = []
  include Aws::Structure
end