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:



15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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)


15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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)


15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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:



15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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)


15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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)


15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
# File 'lib/aws-sdk-iot/types.rb', line 15711

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