Module Values.OperationUpdateSource

An update to be applied to an operation during checkpointing.

Sourcetype nonrec t = {
  1. id : OperationId.t;
    (*

    The unique identifier for this operation.

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

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

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

    The customer-provided name for this operation.

    *)
  4. type_ : OperationType.t;
    (*

    The type of operation to update.

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

    The subtype of the operation, providing additional categorization.

    *)
  6. action : OperationAction.t;
    (*

    The action to take on the operation.

    *)
  7. payload : OperationPayload.t option;
    (*

    The payload for successful operations.

    *)
  8. error : ErrorObject.t option;
    (*

    The error information for failed operations.

    *)
  9. contextOptions : ContextOptions.t option;
    (*

    Options for context operations.

    *)
  10. stepOptions : StepOptions.t option;
    (*

    Options for step operations.

    *)
  11. waitOptions : WaitOptions.t option;
    (*

    Options for wait operations.

    *)
  12. callbackOptions : CallbackOptions.t option;
  13. chainedInvokeOptions : ChainedInvokeOptions.t option;
}
Sourceval context_ : string
Sourceval make : ?parentId:??? -> ?name:??? -> ?subType:??? -> ?payload:??? -> ?error:??? -> ?contextOptions:??? -> ?stepOptions:??? -> ?waitOptions:??? -> ?callbackOptions:??? -> ?chainedInvokeOptions:??? -> id:OperationId.t -> type_:OperationType.t -> action:OperationAction.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of OperationId.t | `Structure of (string * [> `Boolean of ReplayChildren.t | `Integer of StepOptionsNextAttemptDelaySecondsInteger.t | `List of [> `String of StackTraceEntry.t ] list | `String of ErrorMessage.t ]) 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