Values_2.UpdateRuleRequestSourceUpdates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
type nonrec t = {ruleId : Values_0.RuleId.t;A unique identifier for the rule.
*)instanceId : Values_0.InstanceId.t;The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
*)name : Values_0.RuleName.t;The name of the rule. You can change the name only if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
*)function_ : Values_0.RuleFunction.t;The conditions of the rule.
*)actions : Values_0.RuleActions.t;A list of actions to be run when the rule is triggered.
*)publishStatus : Values_0.RulePublishStatus.t;The publish status of the rule.
*)}val make :
ruleId:Values_0.RuleId.t ->
instanceId:Values_0.InstanceId.t ->
name:Values_0.RuleName.t ->
function_:Values_0.RuleFunction.t ->
actions:Values_0.RuleActions.t ->
publishStatus:Values_0.RulePublishStatus.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Double of float
| `String of string
| `Structure of 'a list ])
list ])
list ]
list
| `Map of
([> `String of string ]
* [> `Structure of
(string
* [> `Enum of string | `String of string ])
list ])
list
| `String of string
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of string
| `Structure of
(string
* [> `Boolean of bool
| `Double of float
| `String of string
| `Structure of 'b list ])
list ]
list
| `Long of Awso.Import.Int64.t
| `Map of
([> `String of string ]
* [> `String of string ])
list
| `String of string ])
list ])
list ])
list ]
list
| `String of Values_0.RuleId.t ])
list ]