Module Values_2.TriggerUpdateSource

A structure used to provide information used to update a trigger. This object updates the previous trigger definition by overwriting it completely.

Sourcetype nonrec t = {
  1. name : Values_0.NameString.t option;
    (*

    Reserved for future use.

    *)
  2. description : Values_0.DescriptionString.t option;
    (*

    A description of this trigger.

    *)
  3. schedule : Values_0.GenericString.t option;
    (*

    A cron expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify: cron(15 12 * * ? *).

    *)
  4. actions : Values_0.ActionList.t option;
    (*

    The actions initiated by this trigger.

    *)
  5. predicate : Values_0.Predicate.t option;
    (*

    The predicate of this trigger, which defines when it will fire.

    *)
  6. eventBatchingCondition : Values_0.EventBatchingCondition.t option;
    (*

    Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.

    *)
}
Sourceval make : ?name:??? -> ?description:??? -> ?schedule:??? -> ?actions:??? -> ?predicate:??? -> ?eventBatchingCondition:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of int | `Map of ([> `String of string ] * [> `String of string ]) list | `String of string | `Structure of (string * [> `Integer of int ]) list ]) list ] list | `String of Values_0.NameString.t | `Structure of (string * [> `Enum of string | `Integer of int | `List of [> `Structure of (string * [> `Enum of string | `String of string ]) list ] 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