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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/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:



15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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)


15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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)


15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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:



15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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)


15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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 in the IoT Developer Guide.

Returns:

  • (String)


15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15474

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