| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.TopicRule
Description
Synopsis
- data TopicRule = TopicRule' {}
- newTopicRule :: TopicRule
- topicRule_actions :: Lens' TopicRule (Maybe [Action])
- topicRule_awsIotSqlVersion :: Lens' TopicRule (Maybe Text)
- topicRule_createdAt :: Lens' TopicRule (Maybe UTCTime)
- topicRule_description :: 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)
Documentation
Describes a rule.
See: newTopicRule smart constructor.
Constructors
| TopicRule' | |
Fields
| |
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: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:createdAt:TopicRule', topicRule_createdAt - The date and time the rule was created.
$sel:description:TopicRule', topicRule_description - The description of 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.
topicRule_awsIotSqlVersion :: Lens' TopicRule (Maybe Text) Source #
The version of the SQL rules engine to use when evaluating the rule.
topicRule_createdAt :: Lens' TopicRule (Maybe UTCTime) Source #
The date and time the rule was created.
topicRule_errorAction :: Lens' TopicRule (Maybe Action) Source #
The action to perform when an error occurs.