Values_0.CreateRuleRequestSourceCreates a rule for the specified Amazon Connect instance. Use the Rules Function language to code conditions for the rule.
type nonrec t = {instanceId : 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 : RuleName.t;A unique name for the rule.
*)triggerEventSource : RuleTriggerEventSource.t;The event source to trigger the rule.
*)function_ : RuleFunction.t;The conditions of the rule.
*)actions : RuleActions.t;A list of actions to be run when the rule is triggered.
*)publishStatus : RulePublishStatus.t;The publish status of the rule.
*)clientToken : ClientToken.t option;A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
*)}val make :
?clientToken:??? ->
instanceId:InstanceId.t ->
name:RuleName.t ->
triggerEventSource:RuleTriggerEventSource.t ->
function_:RuleFunction.t ->
actions:RuleActions.t ->
publishStatus: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 FieldValueId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of Double.t
| `String of FieldStringValue.t
| `Structure of 'a list ])
list ])
list ]
list
| `Map of
([> `String of ReferenceKey.t ]
* [> `Structure of
(string
* [> `Enum of string
| `String of ReferenceValue.t ])
list ])
list
| `String of TaskNameExpression.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `String of UserId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Double of Double.t
| `String of FieldStringValue.t
| `Structure of 'b list ])
list ]
list
| `Long of TargetSlaMinutes.t
| `Map of
([> `String of String_.t ]
* [> `String of String_.t ])
list
| `String of SlaName.t ])
list ])
list ])
list ]
list
| `String of InstanceId.t
| `Structure of
(string
* [> `Enum of string | `String of IntegrationAssociationId.t ])
list ])
list ]