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:



16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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)


16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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)


16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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:



16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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)


16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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)


16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
# File 'lib/aws-sdk-iot/types.rb', line 16896

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