import { _ActivityFailedEventDetails, _UnmarshalledActivityFailedEventDetails } from "./_ActivityFailedEventDetails"; import { _ActivityScheduleFailedEventDetails, _UnmarshalledActivityScheduleFailedEventDetails } from "./_ActivityScheduleFailedEventDetails"; import { _ActivityScheduledEventDetails, _UnmarshalledActivityScheduledEventDetails } from "./_ActivityScheduledEventDetails"; import { _ActivityStartedEventDetails, _UnmarshalledActivityStartedEventDetails } from "./_ActivityStartedEventDetails"; import { _ActivitySucceededEventDetails, _UnmarshalledActivitySucceededEventDetails } from "./_ActivitySucceededEventDetails"; import { _ActivityTimedOutEventDetails, _UnmarshalledActivityTimedOutEventDetails } from "./_ActivityTimedOutEventDetails"; import { _TaskFailedEventDetails, _UnmarshalledTaskFailedEventDetails } from "./_TaskFailedEventDetails"; import { _TaskScheduledEventDetails, _UnmarshalledTaskScheduledEventDetails } from "./_TaskScheduledEventDetails"; import { _TaskStartFailedEventDetails, _UnmarshalledTaskStartFailedEventDetails } from "./_TaskStartFailedEventDetails"; import { _TaskStartedEventDetails, _UnmarshalledTaskStartedEventDetails } from "./_TaskStartedEventDetails"; import { _TaskSubmitFailedEventDetails, _UnmarshalledTaskSubmitFailedEventDetails } from "./_TaskSubmitFailedEventDetails"; import { _TaskSubmittedEventDetails, _UnmarshalledTaskSubmittedEventDetails } from "./_TaskSubmittedEventDetails"; import { _TaskSucceededEventDetails, _UnmarshalledTaskSucceededEventDetails } from "./_TaskSucceededEventDetails"; import { _TaskTimedOutEventDetails, _UnmarshalledTaskTimedOutEventDetails } from "./_TaskTimedOutEventDetails"; import { _ExecutionFailedEventDetails, _UnmarshalledExecutionFailedEventDetails } from "./_ExecutionFailedEventDetails"; import { _ExecutionStartedEventDetails, _UnmarshalledExecutionStartedEventDetails } from "./_ExecutionStartedEventDetails"; import { _ExecutionSucceededEventDetails, _UnmarshalledExecutionSucceededEventDetails } from "./_ExecutionSucceededEventDetails"; import { _ExecutionAbortedEventDetails, _UnmarshalledExecutionAbortedEventDetails } from "./_ExecutionAbortedEventDetails"; import { _ExecutionTimedOutEventDetails, _UnmarshalledExecutionTimedOutEventDetails } from "./_ExecutionTimedOutEventDetails"; import { _LambdaFunctionFailedEventDetails, _UnmarshalledLambdaFunctionFailedEventDetails } from "./_LambdaFunctionFailedEventDetails"; import { _LambdaFunctionScheduleFailedEventDetails, _UnmarshalledLambdaFunctionScheduleFailedEventDetails } from "./_LambdaFunctionScheduleFailedEventDetails"; import { _LambdaFunctionScheduledEventDetails, _UnmarshalledLambdaFunctionScheduledEventDetails } from "./_LambdaFunctionScheduledEventDetails"; import { _LambdaFunctionStartFailedEventDetails, _UnmarshalledLambdaFunctionStartFailedEventDetails } from "./_LambdaFunctionStartFailedEventDetails"; import { _LambdaFunctionSucceededEventDetails, _UnmarshalledLambdaFunctionSucceededEventDetails } from "./_LambdaFunctionSucceededEventDetails"; import { _LambdaFunctionTimedOutEventDetails, _UnmarshalledLambdaFunctionTimedOutEventDetails } from "./_LambdaFunctionTimedOutEventDetails"; import { _StateEnteredEventDetails, _UnmarshalledStateEnteredEventDetails } from "./_StateEnteredEventDetails"; import { _StateExitedEventDetails, _UnmarshalledStateExitedEventDetails } from "./_StateExitedEventDetails"; /** *
Contains details about the events of an execution.
*/ export interface _HistoryEvent { /** *The date and time the event occurred.
*/ timestamp: Date | string | number; /** *The type of the event.
*/ type: "ActivityFailed" | "ActivityScheduleFailed" | "ActivityScheduled" | "ActivityStarted" | "ActivitySucceeded" | "ActivityTimedOut" | "ChoiceStateEntered" | "ChoiceStateExited" | "TaskFailed" | "TaskScheduled" | "TaskStartFailed" | "TaskStarted" | "TaskSubmitFailed" | "TaskSubmitted" | "TaskSucceeded" | "TaskTimedOut" | "ExecutionFailed" | "ExecutionStarted" | "ExecutionSucceeded" | "ExecutionAborted" | "ExecutionTimedOut" | "FailStateEntered" | "LambdaFunctionFailed" | "LambdaFunctionScheduleFailed" | "LambdaFunctionScheduled" | "LambdaFunctionStartFailed" | "LambdaFunctionStarted" | "LambdaFunctionSucceeded" | "LambdaFunctionTimedOut" | "SucceedStateEntered" | "SucceedStateExited" | "TaskStateAborted" | "TaskStateEntered" | "TaskStateExited" | "PassStateEntered" | "PassStateExited" | "ParallelStateAborted" | "ParallelStateEntered" | "ParallelStateExited" | "ParallelStateFailed" | "ParallelStateStarted" | "ParallelStateSucceeded" | "WaitStateAborted" | "WaitStateEntered" | "WaitStateExited" | string; /** *The id of the event. Events are numbered sequentially, starting at one.
*/ id: number; /** *The id of the previous event.
*/ previousEventId?: number; /** *Contains details about an activity that failed during an execution.
*/ activityFailedEventDetails?: _ActivityFailedEventDetails; /** *Contains details about an activity schedule event that failed during an execution.
*/ activityScheduleFailedEventDetails?: _ActivityScheduleFailedEventDetails; /** *Contains details about an activity scheduled during an execution.
*/ activityScheduledEventDetails?: _ActivityScheduledEventDetails; /** *Contains details about the start of an activity during an execution.
*/ activityStartedEventDetails?: _ActivityStartedEventDetails; /** *Contains details about an activity that successfully terminated during an execution.
*/ activitySucceededEventDetails?: _ActivitySucceededEventDetails; /** *Contains details about an activity timeout that occurred during an execution.
*/ activityTimedOutEventDetails?: _ActivityTimedOutEventDetails; /** *Contains details about the failure of a task.
*/ taskFailedEventDetails?: _TaskFailedEventDetails; /** *Contains details about a task that was scheduled.
*/ taskScheduledEventDetails?: _TaskScheduledEventDetails; /** *Contains details about a task that failed to start.
*/ taskStartFailedEventDetails?: _TaskStartFailedEventDetails; /** *Contains details about a task that was started.
*/ taskStartedEventDetails?: _TaskStartedEventDetails; /** *Contains details about a task that where the submit failed.
*/ taskSubmitFailedEventDetails?: _TaskSubmitFailedEventDetails; /** *Contains details about a submitted task.
*/ taskSubmittedEventDetails?: _TaskSubmittedEventDetails; /** *Contains details about a task that succeeded.
*/ taskSucceededEventDetails?: _TaskSucceededEventDetails; /** *Contains details about a task that timed out.
*/ taskTimedOutEventDetails?: _TaskTimedOutEventDetails; /** *Contains details about an execution failure event.
*/ executionFailedEventDetails?: _ExecutionFailedEventDetails; /** *Contains details about the start of the execution.
*/ executionStartedEventDetails?: _ExecutionStartedEventDetails; /** *Contains details about the successful termination of the execution.
*/ executionSucceededEventDetails?: _ExecutionSucceededEventDetails; /** *Contains details about an abort of an execution.
*/ executionAbortedEventDetails?: _ExecutionAbortedEventDetails; /** *Contains details about the execution timeout that occurred during the execution.
*/ executionTimedOutEventDetails?: _ExecutionTimedOutEventDetails; /** *Contains details about a lambda function that failed during an execution.
*/ lambdaFunctionFailedEventDetails?: _LambdaFunctionFailedEventDetails; /** *Contains details about a failed lambda function schedule event that occurred during an execution.
*/ lambdaFunctionScheduleFailedEventDetails?: _LambdaFunctionScheduleFailedEventDetails; /** *Contains details about a lambda function scheduled during an execution.
*/ lambdaFunctionScheduledEventDetails?: _LambdaFunctionScheduledEventDetails; /** *Contains details about a lambda function that failed to start during an execution.
*/ lambdaFunctionStartFailedEventDetails?: _LambdaFunctionStartFailedEventDetails; /** *Contains details about a lambda function that terminated successfully during an execution.
*/ lambdaFunctionSucceededEventDetails?: _LambdaFunctionSucceededEventDetails; /** *Contains details about a lambda function timeout that occurred during an execution.
*/ lambdaFunctionTimedOutEventDetails?: _LambdaFunctionTimedOutEventDetails; /** *Contains details about a state entered during an execution.
*/ stateEnteredEventDetails?: _StateEnteredEventDetails; /** *Contains details about an exit from a state during an execution.
*/ stateExitedEventDetails?: _StateExitedEventDetails; } export interface _UnmarshalledHistoryEvent extends _HistoryEvent { /** *The date and time the event occurred.
*/ timestamp: Date; /** *Contains details about an activity that failed during an execution.
*/ activityFailedEventDetails?: _UnmarshalledActivityFailedEventDetails; /** *Contains details about an activity schedule event that failed during an execution.
*/ activityScheduleFailedEventDetails?: _UnmarshalledActivityScheduleFailedEventDetails; /** *Contains details about an activity scheduled during an execution.
*/ activityScheduledEventDetails?: _UnmarshalledActivityScheduledEventDetails; /** *Contains details about the start of an activity during an execution.
*/ activityStartedEventDetails?: _UnmarshalledActivityStartedEventDetails; /** *Contains details about an activity that successfully terminated during an execution.
*/ activitySucceededEventDetails?: _UnmarshalledActivitySucceededEventDetails; /** *Contains details about an activity timeout that occurred during an execution.
*/ activityTimedOutEventDetails?: _UnmarshalledActivityTimedOutEventDetails; /** *Contains details about the failure of a task.
*/ taskFailedEventDetails?: _UnmarshalledTaskFailedEventDetails; /** *Contains details about a task that was scheduled.
*/ taskScheduledEventDetails?: _UnmarshalledTaskScheduledEventDetails; /** *Contains details about a task that failed to start.
*/ taskStartFailedEventDetails?: _UnmarshalledTaskStartFailedEventDetails; /** *Contains details about a task that was started.
*/ taskStartedEventDetails?: _UnmarshalledTaskStartedEventDetails; /** *Contains details about a task that where the submit failed.
*/ taskSubmitFailedEventDetails?: _UnmarshalledTaskSubmitFailedEventDetails; /** *Contains details about a submitted task.
*/ taskSubmittedEventDetails?: _UnmarshalledTaskSubmittedEventDetails; /** *Contains details about a task that succeeded.
*/ taskSucceededEventDetails?: _UnmarshalledTaskSucceededEventDetails; /** *Contains details about a task that timed out.
*/ taskTimedOutEventDetails?: _UnmarshalledTaskTimedOutEventDetails; /** *Contains details about an execution failure event.
*/ executionFailedEventDetails?: _UnmarshalledExecutionFailedEventDetails; /** *Contains details about the start of the execution.
*/ executionStartedEventDetails?: _UnmarshalledExecutionStartedEventDetails; /** *Contains details about the successful termination of the execution.
*/ executionSucceededEventDetails?: _UnmarshalledExecutionSucceededEventDetails; /** *Contains details about an abort of an execution.
*/ executionAbortedEventDetails?: _UnmarshalledExecutionAbortedEventDetails; /** *Contains details about the execution timeout that occurred during the execution.
*/ executionTimedOutEventDetails?: _UnmarshalledExecutionTimedOutEventDetails; /** *Contains details about a lambda function that failed during an execution.
*/ lambdaFunctionFailedEventDetails?: _UnmarshalledLambdaFunctionFailedEventDetails; /** *Contains details about a failed lambda function schedule event that occurred during an execution.
*/ lambdaFunctionScheduleFailedEventDetails?: _UnmarshalledLambdaFunctionScheduleFailedEventDetails; /** *Contains details about a lambda function scheduled during an execution.
*/ lambdaFunctionScheduledEventDetails?: _UnmarshalledLambdaFunctionScheduledEventDetails; /** *Contains details about a lambda function that failed to start during an execution.
*/ lambdaFunctionStartFailedEventDetails?: _UnmarshalledLambdaFunctionStartFailedEventDetails; /** *Contains details about a lambda function that terminated successfully during an execution.
*/ lambdaFunctionSucceededEventDetails?: _UnmarshalledLambdaFunctionSucceededEventDetails; /** *Contains details about a lambda function timeout that occurred during an execution.
*/ lambdaFunctionTimedOutEventDetails?: _UnmarshalledLambdaFunctionTimedOutEventDetails; /** *Contains details about a state entered during an execution.
*/ stateEnteredEventDetails?: _UnmarshalledStateEnteredEventDetails; /** *Contains details about an exit from a state during an execution.
*/ stateExitedEventDetails?: _UnmarshalledStateExitedEventDetails; }