Values.CreateAutomationRuleV2RequestSourceCreates a V2 automation rule.
type nonrec t = {ruleName : NonEmptyString.t;The name of the V2 automation rule.
*)ruleStatus : RuleStatusV2.t option;The status of the V2 automation rule.
*)description : NonEmptyString.t;A description of the V2 automation rule.
*)ruleOrder : RuleOrderValueV2.t;The value for the rule priority.
*)criteria : Criteria.t;The filtering type and configuration of the automation rule.
*)actions : AutomationRulesActionListV2.t;A list of actions to be performed when the rule criteria is met.
*)clientToken : ClientToken.t option;A unique identifier used to ensure idempotency.
*)}val make :
?ruleStatus:??? ->
?tags:??? ->
?clientToken:??? ->
ruleName:NonEmptyString.t ->
description:NonEmptyString.t ->
ruleOrder:RuleOrderValueV2.t ->
criteria:Criteria.t ->
actions:AutomationRulesActionListV2.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Float of RuleOrderValueV2.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `Structure of
(string
* [> `Integer of Integer.t
| `String of NonEmptyString.t ])
list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of NonEmptyString.t
| `Structure of
(string * [> `Structure of (string * Awso.Botodata.value) list ])
list ])
list ]