Module Values_0.TriggerSource

Information about a specific trigger.

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

    The name of the trigger.

    *)
  2. workflowName : NameString.t option;
    (*

    The name of the workflow associated with the trigger.

    *)
  3. id : IdString.t option;
    (*

    Reserved for future use.

    *)
  4. type_ : TriggerType.t option;
    (*

    The type of trigger that this is.

    *)
  5. state : TriggerState.t option;
    (*

    The current state of the trigger.

    *)
  6. description : DescriptionString.t option;
    (*

    A description of this trigger.

    *)
  7. schedule : 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 * * ? *).

    *)
  8. actions : ActionList.t option;
    (*

    The actions initiated by this trigger.

    *)
  9. predicate : Predicate.t option;
    (*

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

    *)
  10. eventBatchingCondition : 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:??? -> ?workflowName:??? -> ?id:??? -> ?type_:??? -> ?state:??? -> ?description:??? -> ?schedule:??? -> ?actions:??? -> ?predicate:??? -> ?eventBatchingCondition:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Integer of Timeout.t | `Map of ([> `String of GenericString.t ] * [> `String of GenericString.t ]) list | `String of NameString.t | `Structure of (string * [> `Integer of NotifyDelayAfter.t ]) list ]) list ] list | `String of NameString.t | `Structure of (string * [> `Enum of string | `Integer of BatchSize.t | `List of [> `Structure of (string * [> `Enum of string | `String of NameString.t ]) 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