Class: Aws::IoT::Types::TopicRule

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:



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

class TopicRule < Struct.new(
  :rule_name,
  :sql,
  :description,
  :created_at,
  :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)


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

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

#created_atTime

The date and time the rule was created.

Returns:

  • (Time)


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

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

#descriptionString

The description of the rule.

Returns:

  • (String)


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

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

#error_actionTypes::Action

The action to perform when an error occurs.

Returns:



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

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

#rule_disabledBoolean

Specifies whether the rule is disabled.

Returns:

  • (Boolean)


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

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

#rule_nameString

The name of the rule.

Returns:

  • (String)


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

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

#sqlString

The SQL statement used to query the topic. When using a SQL query with multiple lines, be sure to escape the newline characters.

Returns:

  • (String)


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

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