amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.RuleAction

Description

 
Synopsis

Documentation

data RuleAction Source #

Information about the action to be performed when a rule is triggered.

See: newRuleAction smart constructor.

Constructors

RuleAction' 

Fields

Instances

Instances details
FromJSON RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

ToJSON RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

Generic RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

Associated Types

type Rep RuleAction :: Type -> Type #

Read RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

Show RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

NFData RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

Methods

rnf :: RuleAction -> () #

Eq RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

Hashable RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

type Rep RuleAction Source # 
Instance details

Defined in Amazonka.Connect.Types.RuleAction

newRuleAction Source #

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_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.