Values.HistoryEventSourceEvent within a workflow execution. A history event can be one of these types: ActivityTaskCancelRequested – A RequestCancelActivityTask decision was received by the system. ActivityTaskCanceled – The activity task was successfully canceled. ActivityTaskCompleted – An activity worker successfully completed an activity task by calling RespondActivityTaskCompleted. ActivityTaskFailed – An activity worker failed an activity task by calling RespondActivityTaskFailed. ActivityTaskScheduled – An activity task was scheduled for execution. ActivityTaskStarted – The scheduled activity task was dispatched to a worker. ActivityTaskTimedOut – The activity task timed out. CancelTimerFailed – Failed to process CancelTimer decision. This happens when the decision isn't configured properly, for example no timer exists with the specified timer Id. CancelWorkflowExecutionFailed – A request to cancel a workflow execution failed. ChildWorkflowExecutionCanceled – A child workflow execution, started by this workflow execution, was canceled and closed. ChildWorkflowExecutionCompleted – A child workflow execution, started by this workflow execution, completed successfully and was closed. ChildWorkflowExecutionFailed – A child workflow execution, started by this workflow execution, failed to complete successfully and was closed. ChildWorkflowExecutionStarted – A child workflow execution was successfully started. ChildWorkflowExecutionTerminated – A child workflow execution, started by this workflow execution, was terminated. ChildWorkflowExecutionTimedOut – A child workflow execution, started by this workflow execution, timed out and was closed. CompleteWorkflowExecutionFailed – The workflow execution failed to complete. ContinueAsNewWorkflowExecutionFailed – The workflow execution failed to complete after being continued as a new workflow execution. DecisionTaskCompleted – The decider successfully completed a decision task by calling RespondDecisionTaskCompleted. DecisionTaskScheduled – A decision task was scheduled for the workflow execution. DecisionTaskStarted – The decision task was dispatched to a decider. DecisionTaskTimedOut – The decision task timed out. ExternalWorkflowExecutionCancelRequested – Request to cancel an external workflow execution was successfully delivered to the target execution. ExternalWorkflowExecutionSignaled – A signal, requested by this workflow execution, was successfully delivered to the target external workflow execution. FailWorkflowExecutionFailed – A request to mark a workflow execution as failed, itself failed. MarkerRecorded – A marker was recorded in the workflow history as the result of a RecordMarker decision. RecordMarkerFailed – A RecordMarker decision was returned as failed. RequestCancelActivityTaskFailed – Failed to process RequestCancelActivityTask decision. This happens when the decision isn't configured properly. RequestCancelExternalWorkflowExecutionFailed – Request to cancel an external workflow execution failed. RequestCancelExternalWorkflowExecutionInitiated – A request was made to request the cancellation of an external workflow execution. ScheduleActivityTaskFailed – Failed to process ScheduleActivityTask decision. This happens when the decision isn't configured properly, for example the activity type specified isn't registered. SignalExternalWorkflowExecutionFailed – The request to signal an external workflow execution failed. SignalExternalWorkflowExecutionInitiated – A request to signal an external workflow was made. StartActivityTaskFailed – A scheduled activity task failed to start. StartChildWorkflowExecutionFailed – Failed to process StartChildWorkflowExecution decision. This happens when the decision isn't configured properly, for example the workflow type specified isn't registered. StartChildWorkflowExecutionInitiated – A request was made to start a child workflow execution. StartTimerFailed – Failed to process StartTimer decision. This happens when the decision isn't configured properly, for example a timer already exists with the specified timer Id. TimerCanceled – A timer, previously started for this workflow execution, was successfully canceled. TimerFired – A timer, previously started for this workflow execution, fired. TimerStarted – A timer was started for the workflow execution due to a StartTimer decision. WorkflowExecutionCancelRequested – A request to cancel this workflow execution was made. WorkflowExecutionCanceled – The workflow execution was successfully canceled and closed. WorkflowExecutionCompleted – The workflow execution was closed due to successful completion. WorkflowExecutionContinuedAsNew – The workflow execution was closed and a new execution of the same type was created with the same workflowId. WorkflowExecutionFailed – The workflow execution closed due to a failure. WorkflowExecutionSignaled – An external signal was received for the workflow execution. WorkflowExecutionStarted – The workflow execution was started. WorkflowExecutionTerminated – The workflow execution was terminated. WorkflowExecutionTimedOut – The workflow execution was closed because a time out was exceeded.
type nonrec t = {eventTimestamp : Timestamp.t option;The date and time when the event occurred.
*)eventType : EventType.t option;The type of the history event.
*)eventId : EventId.t option;The system generated ID of the event. This ID uniquely identifies the event with in the workflow execution history.
*)workflowExecutionStartedEventAttributes : WorkflowExecutionStartedEventAttributes.t
option;If the event is of type WorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionCompletedEventAttributes : WorkflowExecutionCompletedEventAttributes.t
option;If the event is of type WorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)completeWorkflowExecutionFailedEventAttributes : CompleteWorkflowExecutionFailedEventAttributes.t
option;If the event is of type CompleteWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionFailedEventAttributes : WorkflowExecutionFailedEventAttributes.t
option;If the event is of type WorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)failWorkflowExecutionFailedEventAttributes : FailWorkflowExecutionFailedEventAttributes.t
option;If the event is of type FailWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionTimedOutEventAttributes : WorkflowExecutionTimedOutEventAttributes.t
option;If the event is of type WorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionCanceledEventAttributes : WorkflowExecutionCanceledEventAttributes.t
option;If the event is of type WorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)cancelWorkflowExecutionFailedEventAttributes : CancelWorkflowExecutionFailedEventAttributes.t
option;If the event is of type CancelWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionContinuedAsNewEventAttributes : WorkflowExecutionContinuedAsNewEventAttributes.t
option;If the event is of type WorkflowExecutionContinuedAsNew then this member is set and provides detailed information about the event. It isn't set for other event types.
*)continueAsNewWorkflowExecutionFailedEventAttributes : ContinueAsNewWorkflowExecutionFailedEventAttributes.t
option;If the event is of type ContinueAsNewWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionTerminatedEventAttributes : WorkflowExecutionTerminatedEventAttributes.t
option;If the event is of type WorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionCancelRequestedEventAttributes : WorkflowExecutionCancelRequestedEventAttributes.t
option;If the event is of type WorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
*)decisionTaskScheduledEventAttributes : DecisionTaskScheduledEventAttributes.t
option;If the event is of type DecisionTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)decisionTaskStartedEventAttributes : DecisionTaskStartedEventAttributes.t
option;If the event is of type DecisionTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)decisionTaskCompletedEventAttributes : DecisionTaskCompletedEventAttributes.t
option;If the event is of type DecisionTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)decisionTaskTimedOutEventAttributes : DecisionTaskTimedOutEventAttributes.t
option;If the event is of type DecisionTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskScheduledEventAttributes : ActivityTaskScheduledEventAttributes.t
option;If the event is of type ActivityTaskScheduled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskStartedEventAttributes : ActivityTaskStartedEventAttributes.t
option;If the event is of type ActivityTaskStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskCompletedEventAttributes : ActivityTaskCompletedEventAttributes.t
option;If the event is of type ActivityTaskCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskFailedEventAttributes : ActivityTaskFailedEventAttributes.t option;If the event is of type ActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskTimedOutEventAttributes : ActivityTaskTimedOutEventAttributes.t
option;If the event is of type ActivityTaskTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskCanceledEventAttributes : ActivityTaskCanceledEventAttributes.t
option;If the event is of type ActivityTaskCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)activityTaskCancelRequestedEventAttributes : ActivityTaskCancelRequestedEventAttributes.t
option;If the event is of type ActivityTaskcancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
*)workflowExecutionSignaledEventAttributes : WorkflowExecutionSignaledEventAttributes.t
option;If the event is of type WorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)markerRecordedEventAttributes : MarkerRecordedEventAttributes.t option;If the event is of type MarkerRecorded then this member is set and provides detailed information about the event. It isn't set for other event types.
*)recordMarkerFailedEventAttributes : RecordMarkerFailedEventAttributes.t option;If the event is of type DecisionTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)timerStartedEventAttributes : TimerStartedEventAttributes.t option;If the event is of type TimerStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)timerFiredEventAttributes : TimerFiredEventAttributes.t option;If the event is of type TimerFired then this member is set and provides detailed information about the event. It isn't set for other event types.
*)timerCanceledEventAttributes : TimerCanceledEventAttributes.t option;If the event is of type TimerCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)startChildWorkflowExecutionInitiatedEventAttributes : StartChildWorkflowExecutionInitiatedEventAttributes.t
option;If the event is of type StartChildWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionStartedEventAttributes : ChildWorkflowExecutionStartedEventAttributes.t
option;If the event is of type ChildWorkflowExecutionStarted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionCompletedEventAttributes : ChildWorkflowExecutionCompletedEventAttributes.t
option;If the event is of type ChildWorkflowExecutionCompleted then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionFailedEventAttributes : ChildWorkflowExecutionFailedEventAttributes.t
option;If the event is of type ChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionTimedOutEventAttributes : ChildWorkflowExecutionTimedOutEventAttributes.t
option;If the event is of type ChildWorkflowExecutionTimedOut then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionCanceledEventAttributes : ChildWorkflowExecutionCanceledEventAttributes.t
option;If the event is of type ChildWorkflowExecutionCanceled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)childWorkflowExecutionTerminatedEventAttributes : ChildWorkflowExecutionTerminatedEventAttributes.t
option;If the event is of type ChildWorkflowExecutionTerminated then this member is set and provides detailed information about the event. It isn't set for other event types.
*)signalExternalWorkflowExecutionInitiatedEventAttributes : SignalExternalWorkflowExecutionInitiatedEventAttributes.t
option;If the event is of type SignalExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
*)externalWorkflowExecutionSignaledEventAttributes : ExternalWorkflowExecutionSignaledEventAttributes.t
option;If the event is of type ExternalWorkflowExecutionSignaled then this member is set and provides detailed information about the event. It isn't set for other event types.
*)signalExternalWorkflowExecutionFailedEventAttributes : SignalExternalWorkflowExecutionFailedEventAttributes.t
option;If the event is of type SignalExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)externalWorkflowExecutionCancelRequestedEventAttributes : ExternalWorkflowExecutionCancelRequestedEventAttributes.t
option;If the event is of type ExternalWorkflowExecutionCancelRequested then this member is set and provides detailed information about the event. It isn't set for other event types.
*)requestCancelExternalWorkflowExecutionInitiatedEventAttributes : RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.t
option;If the event is of type RequestCancelExternalWorkflowExecutionInitiated then this member is set and provides detailed information about the event. It isn't set for other event types.
*)requestCancelExternalWorkflowExecutionFailedEventAttributes : RequestCancelExternalWorkflowExecutionFailedEventAttributes.t
option;If the event is of type RequestCancelExternalWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)scheduleActivityTaskFailedEventAttributes : ScheduleActivityTaskFailedEventAttributes.t
option;If the event is of type ScheduleActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)requestCancelActivityTaskFailedEventAttributes : RequestCancelActivityTaskFailedEventAttributes.t
option;If the event is of type RequestCancelActivityTaskFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)startTimerFailedEventAttributes : StartTimerFailedEventAttributes.t option;If the event is of type StartTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)cancelTimerFailedEventAttributes : CancelTimerFailedEventAttributes.t option;If the event is of type CancelTimerFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)startChildWorkflowExecutionFailedEventAttributes : StartChildWorkflowExecutionFailedEventAttributes.t
option;If the event is of type StartChildWorkflowExecutionFailed then this member is set and provides detailed information about the event. It isn't set for other event types.
*)lambdaFunctionScheduledEventAttributes : LambdaFunctionScheduledEventAttributes.t
option;Provides the details of the LambdaFunctionScheduled event. It isn't set for other event types.
*)lambdaFunctionStartedEventAttributes : LambdaFunctionStartedEventAttributes.t
option;Provides the details of the LambdaFunctionStarted event. It isn't set for other event types.
*)lambdaFunctionCompletedEventAttributes : LambdaFunctionCompletedEventAttributes.t
option;Provides the details of the LambdaFunctionCompleted event. It isn't set for other event types.
*)lambdaFunctionFailedEventAttributes : LambdaFunctionFailedEventAttributes.t
option;Provides the details of the LambdaFunctionFailed event. It isn't set for other event types.
*)lambdaFunctionTimedOutEventAttributes : LambdaFunctionTimedOutEventAttributes.t
option;Provides the details of the LambdaFunctionTimedOut event. It isn't set for other event types.
*)scheduleLambdaFunctionFailedEventAttributes : ScheduleLambdaFunctionFailedEventAttributes.t
option;Provides the details of the ScheduleLambdaFunctionFailed event. It isn't set for other event types.
*)startLambdaFunctionFailedEventAttributes : StartLambdaFunctionFailedEventAttributes.t
option;Provides the details of the StartLambdaFunctionFailed event. It isn't set for other event types.
*)}val make :
?eventTimestamp:Timestamp.t ->
?eventType:EventType.t ->
?eventId:EventId.t ->
?workflowExecutionStartedEventAttributes:
WorkflowExecutionStartedEventAttributes.t ->
?workflowExecutionCompletedEventAttributes:
WorkflowExecutionCompletedEventAttributes.t ->
?completeWorkflowExecutionFailedEventAttributes:
CompleteWorkflowExecutionFailedEventAttributes.t ->
?workflowExecutionFailedEventAttributes:
WorkflowExecutionFailedEventAttributes.t ->
?failWorkflowExecutionFailedEventAttributes:
FailWorkflowExecutionFailedEventAttributes.t ->
?workflowExecutionTimedOutEventAttributes:
WorkflowExecutionTimedOutEventAttributes.t ->
?workflowExecutionCanceledEventAttributes:
WorkflowExecutionCanceledEventAttributes.t ->
?cancelWorkflowExecutionFailedEventAttributes:
CancelWorkflowExecutionFailedEventAttributes.t ->
?workflowExecutionContinuedAsNewEventAttributes:
WorkflowExecutionContinuedAsNewEventAttributes.t ->
?continueAsNewWorkflowExecutionFailedEventAttributes:
ContinueAsNewWorkflowExecutionFailedEventAttributes.t ->
?workflowExecutionTerminatedEventAttributes:
WorkflowExecutionTerminatedEventAttributes.t ->
?workflowExecutionCancelRequestedEventAttributes:
WorkflowExecutionCancelRequestedEventAttributes.t ->
?decisionTaskScheduledEventAttributes:DecisionTaskScheduledEventAttributes.t ->
?decisionTaskStartedEventAttributes:DecisionTaskStartedEventAttributes.t ->
?decisionTaskCompletedEventAttributes:DecisionTaskCompletedEventAttributes.t ->
?decisionTaskTimedOutEventAttributes:DecisionTaskTimedOutEventAttributes.t ->
?activityTaskScheduledEventAttributes:ActivityTaskScheduledEventAttributes.t ->
?activityTaskStartedEventAttributes:ActivityTaskStartedEventAttributes.t ->
?activityTaskCompletedEventAttributes:ActivityTaskCompletedEventAttributes.t ->
?activityTaskFailedEventAttributes:ActivityTaskFailedEventAttributes.t ->
?activityTaskTimedOutEventAttributes:ActivityTaskTimedOutEventAttributes.t ->
?activityTaskCanceledEventAttributes:ActivityTaskCanceledEventAttributes.t ->
?activityTaskCancelRequestedEventAttributes:
ActivityTaskCancelRequestedEventAttributes.t ->
?workflowExecutionSignaledEventAttributes:
WorkflowExecutionSignaledEventAttributes.t ->
?markerRecordedEventAttributes:MarkerRecordedEventAttributes.t ->
?recordMarkerFailedEventAttributes:RecordMarkerFailedEventAttributes.t ->
?timerStartedEventAttributes:TimerStartedEventAttributes.t ->
?timerFiredEventAttributes:TimerFiredEventAttributes.t ->
?timerCanceledEventAttributes:TimerCanceledEventAttributes.t ->
?startChildWorkflowExecutionInitiatedEventAttributes:
StartChildWorkflowExecutionInitiatedEventAttributes.t ->
?childWorkflowExecutionStartedEventAttributes:
ChildWorkflowExecutionStartedEventAttributes.t ->
?childWorkflowExecutionCompletedEventAttributes:
ChildWorkflowExecutionCompletedEventAttributes.t ->
?childWorkflowExecutionFailedEventAttributes:
ChildWorkflowExecutionFailedEventAttributes.t ->
?childWorkflowExecutionTimedOutEventAttributes:
ChildWorkflowExecutionTimedOutEventAttributes.t ->
?childWorkflowExecutionCanceledEventAttributes:
ChildWorkflowExecutionCanceledEventAttributes.t ->
?childWorkflowExecutionTerminatedEventAttributes:
ChildWorkflowExecutionTerminatedEventAttributes.t ->
?signalExternalWorkflowExecutionInitiatedEventAttributes:
SignalExternalWorkflowExecutionInitiatedEventAttributes.t ->
?externalWorkflowExecutionSignaledEventAttributes:
ExternalWorkflowExecutionSignaledEventAttributes.t ->
?signalExternalWorkflowExecutionFailedEventAttributes:
SignalExternalWorkflowExecutionFailedEventAttributes.t ->
?externalWorkflowExecutionCancelRequestedEventAttributes:
ExternalWorkflowExecutionCancelRequestedEventAttributes.t ->
?requestCancelExternalWorkflowExecutionInitiatedEventAttributes:
RequestCancelExternalWorkflowExecutionInitiatedEventAttributes.t ->
?requestCancelExternalWorkflowExecutionFailedEventAttributes:
RequestCancelExternalWorkflowExecutionFailedEventAttributes.t ->
?scheduleActivityTaskFailedEventAttributes:
ScheduleActivityTaskFailedEventAttributes.t ->
?requestCancelActivityTaskFailedEventAttributes:
RequestCancelActivityTaskFailedEventAttributes.t ->
?startTimerFailedEventAttributes:StartTimerFailedEventAttributes.t ->
?cancelTimerFailedEventAttributes:CancelTimerFailedEventAttributes.t ->
?startChildWorkflowExecutionFailedEventAttributes:
StartChildWorkflowExecutionFailedEventAttributes.t ->
?lambdaFunctionScheduledEventAttributes:
LambdaFunctionScheduledEventAttributes.t ->
?lambdaFunctionStartedEventAttributes:LambdaFunctionStartedEventAttributes.t ->
?lambdaFunctionCompletedEventAttributes:
LambdaFunctionCompletedEventAttributes.t ->
?lambdaFunctionFailedEventAttributes:LambdaFunctionFailedEventAttributes.t ->
?lambdaFunctionTimedOutEventAttributes:
LambdaFunctionTimedOutEventAttributes.t ->
?scheduleLambdaFunctionFailedEventAttributes:
ScheduleLambdaFunctionFailedEventAttributes.t ->
?startLambdaFunctionFailedEventAttributes:
StartLambdaFunctionFailedEventAttributes.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Long of EventId.t
| `Structure of
(string
* [> `Enum of string
| `List of [> `String of Tag.t ] list
| `Long of EventId.t
| `String of Data.t
| `Structure of (string * [> `String of Name.t ]) list ])
list
| `Timestamp of Timestamp.t ])
list ]