Module Values.EventSource

An event that occurred during the execution of a durable function.

Sourcetype nonrec t = {
  1. eventType : EventType.t option;
    (*

    The type of event that occurred.

    *)
  2. subType : OperationSubType.t option;
    (*

    The subtype of the event, providing additional categorization.

    *)
  3. eventId : EventId.t option;
    (*

    The unique identifier for this event. Event IDs increment sequentially.

    *)
  4. id : OperationId.t option;
    (*

    The unique identifier for this operation.

    *)
  5. name : OperationName.t option;
    (*

    The customer-provided name for this operation.

    *)
  6. eventTimestamp : ExecutionTimestamp.t option;
    (*

    The date and time when this event occurred, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

    *)
  7. parentId : OperationId.t option;
    (*

    The unique identifier of the parent operation, if this operation is running within a child context.

    *)
  8. executionStartedDetails : ExecutionStartedDetails.t option;
    (*

    Details about an execution that started.

    *)
  9. executionSucceededDetails : ExecutionSucceededDetails.t option;
    (*

    Details about an execution that succeeded.

    *)
  10. executionFailedDetails : ExecutionFailedDetails.t option;
    (*

    Details about an execution that failed.

    *)
  11. executionTimedOutDetails : ExecutionTimedOutDetails.t option;
    (*

    Details about an execution that timed out.

    *)
  12. executionStoppedDetails : ExecutionStoppedDetails.t option;
    (*

    Details about an execution that was stopped.

    *)
  13. contextStartedDetails : ContextStartedDetails.t option;
    (*

    Details about a context that started.

    *)
  14. contextSucceededDetails : ContextSucceededDetails.t option;
    (*

    Details about a context that succeeded.

    *)
  15. contextFailedDetails : ContextFailedDetails.t option;
    (*

    Details about a context that failed.

    *)
  16. waitStartedDetails : WaitStartedDetails.t option;
    (*

    Details about a wait operation that started.

    *)
  17. waitSucceededDetails : WaitSucceededDetails.t option;
    (*

    Details about a wait operation that succeeded.

    *)
  18. waitCancelledDetails : WaitCancelledDetails.t option;
    (*

    Details about a wait operation that was cancelled.

    *)
  19. stepStartedDetails : StepStartedDetails.t option;
    (*

    Details about a step that started.

    *)
  20. stepSucceededDetails : StepSucceededDetails.t option;
    (*

    Details about a step that succeeded.

    *)
  21. stepFailedDetails : StepFailedDetails.t option;
    (*

    Details about a step that failed.

    *)
  22. chainedInvokeStartedDetails : ChainedInvokeStartedDetails.t option;
  23. chainedInvokeSucceededDetails : ChainedInvokeSucceededDetails.t option;
    (*

    Details about a chained invocation that succeeded.

    *)
  24. chainedInvokeFailedDetails : ChainedInvokeFailedDetails.t option;
  25. chainedInvokeTimedOutDetails : ChainedInvokeTimedOutDetails.t option;
    (*

    Details about a chained invocation that timed out.

    *)
  26. chainedInvokeStoppedDetails : ChainedInvokeStoppedDetails.t option;
    (*

    Details about a chained invocation that was stopped.

    *)
  27. callbackStartedDetails : CallbackStartedDetails.t option;
  28. callbackSucceededDetails : CallbackSucceededDetails.t option;
  29. callbackFailedDetails : CallbackFailedDetails.t option;
  30. callbackTimedOutDetails : CallbackTimedOutDetails.t option;
  31. invocationCompletedDetails : InvocationCompletedDetails.t option;
    (*

    Details about a function invocation that completed.

    *)
}
Sourceval make : ?eventType:EventType.t -> ?subType:OperationSubType.t -> ?eventId:EventId.t -> ?id:OperationId.t -> ?name:OperationName.t -> ?eventTimestamp:ExecutionTimestamp.t -> ?parentId:OperationId.t -> ?executionStartedDetails:ExecutionStartedDetails.t -> ?executionSucceededDetails:ExecutionSucceededDetails.t -> ?executionFailedDetails:ExecutionFailedDetails.t -> ?executionTimedOutDetails:ExecutionTimedOutDetails.t -> ?executionStoppedDetails:ExecutionStoppedDetails.t -> ?contextStartedDetails:ContextStartedDetails.t -> ?contextSucceededDetails:ContextSucceededDetails.t -> ?contextFailedDetails:ContextFailedDetails.t -> ?waitStartedDetails:WaitStartedDetails.t -> ?waitSucceededDetails:WaitSucceededDetails.t -> ?waitCancelledDetails:WaitCancelledDetails.t -> ?stepStartedDetails:StepStartedDetails.t -> ?stepSucceededDetails:StepSucceededDetails.t -> ?stepFailedDetails:StepFailedDetails.t -> ?chainedInvokeStartedDetails:ChainedInvokeStartedDetails.t -> ?chainedInvokeSucceededDetails:ChainedInvokeSucceededDetails.t -> ?chainedInvokeFailedDetails:ChainedInvokeFailedDetails.t -> ?chainedInvokeTimedOutDetails:ChainedInvokeTimedOutDetails.t -> ?chainedInvokeStoppedDetails:ChainedInvokeStoppedDetails.t -> ?callbackStartedDetails:CallbackStartedDetails.t -> ?callbackSucceededDetails:CallbackSucceededDetails.t -> ?callbackFailedDetails:CallbackFailedDetails.t -> ?callbackTimedOutDetails:CallbackTimedOutDetails.t -> ?invocationCompletedDetails:InvocationCompletedDetails.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of EventId.t | `String of OperationSubType.t | `Structure of (string * [> `Integer of DurationSeconds.t | `String of NamespacedFunctionName.t | `Structure of (string * [> `Boolean of Truncated.t | `Integer of AttemptCount.t | `String of InputPayload.t | `Structure of (string * [> `List of [> `String of StackTraceEntry.t ] list | `String of ErrorMessage.t ]) list ]) list | `Timestamp of ExecutionTimestamp.t ]) list | `Timestamp of ExecutionTimestamp.t ]) 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