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 TopicRule = TopicRule' {}
- newTopicRule :: TopicRule
- topicRule_createdAt :: Lens' TopicRule (Maybe UTCTime)
- topicRule_actions :: Lens' TopicRule (Maybe [Action])
- topicRule_awsIotSqlVersion :: Lens' TopicRule (Maybe Text)
- topicRule_errorAction :: Lens' TopicRule (Maybe Action)
- topicRule_ruleDisabled :: Lens' TopicRule (Maybe Bool)
- topicRule_ruleName :: Lens' TopicRule (Maybe Text)
- topicRule_sql :: Lens' TopicRule (Maybe Text)
- topicRule_description :: Lens' TopicRule (Maybe Text)
Documentation
Describes a rule.
See: newTopicRule
smart constructor.
TopicRule' | |
|
Instances
newTopicRule :: TopicRule Source #
Create a value of TopicRule
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:createdAt:TopicRule'
, topicRule_createdAt
- The date and time the rule was created.
$sel:actions:TopicRule'
, topicRule_actions
- The actions associated with the rule.
$sel:awsIotSqlVersion:TopicRule'
, topicRule_awsIotSqlVersion
- The version of the SQL rules engine to use when evaluating the rule.
$sel:errorAction:TopicRule'
, topicRule_errorAction
- The action to perform when an error occurs.
$sel:ruleDisabled:TopicRule'
, topicRule_ruleDisabled
- Specifies whether the rule is disabled.
$sel:ruleName:TopicRule'
, topicRule_ruleName
- The name of the rule.
$sel:sql:TopicRule'
, topicRule_sql
- The SQL statement used to query the topic. When using a SQL query with
multiple lines, be sure to escape the newline characters.
$sel:description:TopicRule'
, topicRule_description
- The description of the rule.
topicRule_createdAt :: Lens' TopicRule (Maybe UTCTime) Source #
The date and time the rule was created.
topicRule_awsIotSqlVersion :: Lens' TopicRule (Maybe Text) Source #
The version of the SQL rules engine to use when evaluating the rule.
topicRule_errorAction :: Lens' TopicRule (Maybe Action) Source #
The action to perform when an error occurs.
topicRule_ruleDisabled :: Lens' TopicRule (Maybe Bool) Source #
Specifies whether the rule is disabled.