Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TopicRulePayload = TopicRulePayload' {
- awsIotSqlVersion :: Maybe Text
- errorAction :: Maybe Action
- ruleDisabled :: Maybe Bool
- description :: Maybe Text
- sql :: Text
- actions :: [Action]
- newTopicRulePayload :: Text -> TopicRulePayload
- topicRulePayload_awsIotSqlVersion :: Lens' TopicRulePayload (Maybe Text)
- topicRulePayload_errorAction :: Lens' TopicRulePayload (Maybe Action)
- topicRulePayload_ruleDisabled :: Lens' TopicRulePayload (Maybe Bool)
- topicRulePayload_description :: Lens' TopicRulePayload (Maybe Text)
- topicRulePayload_sql :: Lens' TopicRulePayload Text
- topicRulePayload_actions :: Lens' TopicRulePayload [Action]
Documentation
data TopicRulePayload Source #
Describes a rule.
See: newTopicRulePayload
smart constructor.
TopicRulePayload' | |
|
Instances
Create a value of TopicRulePayload
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:awsIotSqlVersion:TopicRulePayload'
, topicRulePayload_awsIotSqlVersion
- The version of the SQL rules engine to use when evaluating the rule.
$sel:errorAction:TopicRulePayload'
, topicRulePayload_errorAction
- The action to take when an error occurs.
$sel:ruleDisabled:TopicRulePayload'
, topicRulePayload_ruleDisabled
- Specifies whether the rule is disabled.
$sel:description:TopicRulePayload'
, topicRulePayload_description
- The description of the rule.
$sel:sql:TopicRulePayload'
, topicRulePayload_sql
- The SQL statement used to query the topic. For more information, see
IoT SQL Reference
in the IoT Developer Guide.
$sel:actions:TopicRulePayload'
, topicRulePayload_actions
- The actions associated with the rule.
topicRulePayload_awsIotSqlVersion :: Lens' TopicRulePayload (Maybe Text) Source #
The version of the SQL rules engine to use when evaluating the rule.
topicRulePayload_errorAction :: Lens' TopicRulePayload (Maybe Action) Source #
The action to take when an error occurs.
topicRulePayload_ruleDisabled :: Lens' TopicRulePayload (Maybe Bool) Source #
Specifies whether the rule is disabled.
topicRulePayload_description :: Lens' TopicRulePayload (Maybe Text) Source #
The description of the rule.
topicRulePayload_sql :: Lens' TopicRulePayload Text Source #
The SQL statement used to query the topic. For more information, see IoT SQL Reference in the IoT Developer Guide.
topicRulePayload_actions :: Lens' TopicRulePayload [Action] Source #
The actions associated with the rule.