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 |
Synopsis
- data Rule = Rule' {}
- newRule :: Text -> Text -> Text -> RuleTriggerEventSource -> Text -> RulePublishStatus -> UTCTime -> UTCTime -> Text -> Rule
- rule_tags :: Lens' Rule (Maybe (HashMap Text Text))
- rule_name :: Lens' Rule Text
- rule_ruleId :: Lens' Rule Text
- rule_ruleArn :: Lens' Rule Text
- rule_triggerEventSource :: Lens' Rule RuleTriggerEventSource
- rule_function :: Lens' Rule Text
- rule_actions :: Lens' Rule [RuleAction]
- rule_publishStatus :: Lens' Rule RulePublishStatus
- rule_createdTime :: Lens' Rule UTCTime
- rule_lastUpdatedTime :: Lens' Rule UTCTime
- rule_lastUpdatedBy :: Lens' Rule Text
Documentation
Information about a rule.
See: newRule
smart constructor.
Rule' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> RuleTriggerEventSource | |
-> Text | |
-> RulePublishStatus | |
-> UTCTime | |
-> UTCTime | |
-> Text | |
-> Rule |
Create a value of Rule
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:tags:Rule'
, rule_tags
- The tags used to organize, track, or control access for this resource.
For example, { "tags": {"key1":"value1", "key2":"value2"} }.
$sel:name:Rule'
, rule_name
- The name of the rule.
$sel:ruleId:Rule'
, rule_ruleId
- A unique identifier for the rule.
$sel:ruleArn:Rule'
, rule_ruleArn
- The Amazon Resource Name (ARN) of the rule.
$sel:triggerEventSource:Rule'
, rule_triggerEventSource
- The event source to trigger the rule.
$sel:function:Rule'
, rule_function
- The conditions of the rule.
$sel:actions:Rule'
, rule_actions
- A list of actions to be run when the rule is triggered.
$sel:publishStatus:Rule'
, rule_publishStatus
- The publish status of the rule.
$sel:createdTime:Rule'
, rule_createdTime
- The timestamp for when the rule was created.
$sel:lastUpdatedTime:Rule'
, rule_lastUpdatedTime
- The timestamp for the when the rule was last updated.
$sel:lastUpdatedBy:Rule'
, rule_lastUpdatedBy
- The Amazon Resource Name (ARN) of the user who last updated the rule.
rule_tags :: Lens' Rule (Maybe (HashMap Text Text)) Source #
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
rule_triggerEventSource :: Lens' Rule RuleTriggerEventSource Source #
The event source to trigger the rule.
rule_actions :: Lens' Rule [RuleAction] Source #
A list of actions to be run when the rule is triggered.
rule_publishStatus :: Lens' Rule RulePublishStatus Source #
The publish status of the rule.