TopicRulePayload

data class TopicRulePayload(val actions: List<TopicRuleAction>, val awsIotSqlVersion: String? = null, val description: String? = null, val errorAction: TopicRuleAction? = null, val ruleDisabled: Boolean? = null, val sql: String)

Constructors

Link copied to clipboard
constructor(actions: List<TopicRuleAction>, awsIotSqlVersion: String? = null, description: String? = null, errorAction: TopicRuleAction? = null, ruleDisabled: Boolean? = null, sql: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The actions associated with the rule.

Link copied to clipboard

The version of the SQL rules engine to use when evaluating the rule. The default value is 2015-10-08.

Link copied to clipboard
val description: String? = null

The description of the rule.

Link copied to clipboard

The action to take when an error occurs.

Link copied to clipboard
val ruleDisabled: Boolean? = null

Specifies whether the rule is disabled.

Link copied to clipboard
val sql: String

The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide .