Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

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:


16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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:


16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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)

16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 16707

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