Module Values.CreateAutomationRuleV2RequestSource

Creates a V2 automation rule.

Sourcetype nonrec t = {
  1. ruleName : NonEmptyString.t;
    (*

    The name of the V2 automation rule.

    *)
  2. ruleStatus : RuleStatusV2.t option;
    (*

    The status of the V2 automation rule.

    *)
  3. description : NonEmptyString.t;
    (*

    A description of the V2 automation rule.

    *)
  4. ruleOrder : RuleOrderValueV2.t;
    (*

    The value for the rule priority.

    *)
  5. criteria : Criteria.t;
    (*

    The filtering type and configuration of the automation rule.

    *)
  6. actions : AutomationRulesActionListV2.t;
    (*

    A list of actions to be performed when the rule criteria is met.

    *)
  7. tags : TagMap.t option;
    (*

    A list of key-value pairs associated with the V2 automation rule.

    *)
  8. clientToken : ClientToken.t option;
    (*

    A unique identifier used to ensure idempotency.

    *)
}
Sourceval context_ : string
Sourceval make : ?ruleStatus:??? -> ?tags:??? -> ?clientToken:??? -> ruleName:NonEmptyString.t -> description:NonEmptyString.t -> ruleOrder:RuleOrderValueV2.t -> criteria:Criteria.t -> actions:AutomationRulesActionListV2.t -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t