| 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.Connect.Types.RuleAction
Description
Synopsis
- data RuleAction = RuleAction' {}
- newRuleAction :: ActionType -> RuleAction
- ruleAction_assignContactCategoryAction :: Lens' RuleAction (Maybe AssignContactCategoryActionDefinition)
- ruleAction_eventBridgeAction :: Lens' RuleAction (Maybe EventBridgeActionDefinition)
- ruleAction_sendNotificationAction :: Lens' RuleAction (Maybe SendNotificationActionDefinition)
- ruleAction_taskAction :: Lens' RuleAction (Maybe TaskActionDefinition)
- ruleAction_actionType :: Lens' RuleAction ActionType
Documentation
data RuleAction Source #
Information about the action to be performed when a rule is triggered.
See: newRuleAction smart constructor.
Constructors
| RuleAction' | |
Fields
| |
Instances
Arguments
| :: ActionType | |
| -> RuleAction |
Create a value of RuleAction 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:assignContactCategoryAction:RuleAction', ruleAction_assignContactCategoryAction - Information about the contact category action.
$sel:eventBridgeAction:RuleAction', ruleAction_eventBridgeAction - Information about the EventBridge action.
$sel:sendNotificationAction:RuleAction', ruleAction_sendNotificationAction - Information about the send notification action.
$sel:taskAction:RuleAction', ruleAction_taskAction - Information about the task action. This field is required if
TriggerEventSource is one of the following values:
OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
$sel:actionType:RuleAction', ruleAction_actionType - The type of action that creates a rule.
ruleAction_assignContactCategoryAction :: Lens' RuleAction (Maybe AssignContactCategoryActionDefinition) Source #
Information about the contact category action.
ruleAction_eventBridgeAction :: Lens' RuleAction (Maybe EventBridgeActionDefinition) Source #
Information about the EventBridge action.
ruleAction_sendNotificationAction :: Lens' RuleAction (Maybe SendNotificationActionDefinition) Source #
Information about the send notification action.
ruleAction_taskAction :: Lens' RuleAction (Maybe TaskActionDefinition) Source #
Information about the task action. This field is required if
TriggerEventSource is one of the following values:
OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
ruleAction_actionType :: Lens' RuleAction ActionType Source #
The type of action that creates a rule.