{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.SWF.Types.HistoryEvent
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SWF.Types.HistoryEvent where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.SWF.Types.ActivityTaskCancelRequestedEventAttributes
import Amazonka.SWF.Types.ActivityTaskCanceledEventAttributes
import Amazonka.SWF.Types.ActivityTaskCompletedEventAttributes
import Amazonka.SWF.Types.ActivityTaskFailedEventAttributes
import Amazonka.SWF.Types.ActivityTaskScheduledEventAttributes
import Amazonka.SWF.Types.ActivityTaskStartedEventAttributes
import Amazonka.SWF.Types.ActivityTaskTimedOutEventAttributes
import Amazonka.SWF.Types.CancelTimerFailedEventAttributes
import Amazonka.SWF.Types.CancelWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionCanceledEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionCompletedEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionStartedEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionTerminatedEventAttributes
import Amazonka.SWF.Types.ChildWorkflowExecutionTimedOutEventAttributes
import Amazonka.SWF.Types.CompleteWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.ContinueAsNewWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.DecisionTaskCompletedEventAttributes
import Amazonka.SWF.Types.DecisionTaskScheduledEventAttributes
import Amazonka.SWF.Types.DecisionTaskStartedEventAttributes
import Amazonka.SWF.Types.DecisionTaskTimedOutEventAttributes
import Amazonka.SWF.Types.EventType
import Amazonka.SWF.Types.ExternalWorkflowExecutionCancelRequestedEventAttributes
import Amazonka.SWF.Types.ExternalWorkflowExecutionSignaledEventAttributes
import Amazonka.SWF.Types.FailWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.LambdaFunctionCompletedEventAttributes
import Amazonka.SWF.Types.LambdaFunctionFailedEventAttributes
import Amazonka.SWF.Types.LambdaFunctionScheduledEventAttributes
import Amazonka.SWF.Types.LambdaFunctionStartedEventAttributes
import Amazonka.SWF.Types.LambdaFunctionTimedOutEventAttributes
import Amazonka.SWF.Types.MarkerRecordedEventAttributes
import Amazonka.SWF.Types.RecordMarkerFailedEventAttributes
import Amazonka.SWF.Types.RequestCancelActivityTaskFailedEventAttributes
import Amazonka.SWF.Types.RequestCancelExternalWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
import Amazonka.SWF.Types.ScheduleActivityTaskFailedEventAttributes
import Amazonka.SWF.Types.ScheduleLambdaFunctionFailedEventAttributes
import Amazonka.SWF.Types.SignalExternalWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.SignalExternalWorkflowExecutionInitiatedEventAttributes
import Amazonka.SWF.Types.StartChildWorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.StartChildWorkflowExecutionInitiatedEventAttributes
import Amazonka.SWF.Types.StartLambdaFunctionFailedEventAttributes
import Amazonka.SWF.Types.StartTimerFailedEventAttributes
import Amazonka.SWF.Types.TimerCanceledEventAttributes
import Amazonka.SWF.Types.TimerFiredEventAttributes
import Amazonka.SWF.Types.TimerStartedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionCancelRequestedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionCanceledEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionCompletedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionContinuedAsNewEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionFailedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionSignaledEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionStartedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionTerminatedEventAttributes
import Amazonka.SWF.Types.WorkflowExecutionTimedOutEventAttributes

-- | Event 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.
--
-- /See:/ 'newHistoryEvent' smart constructor.
data HistoryEvent = HistoryEvent'
  { -- | 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.
    HistoryEvent -> Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes :: Prelude.Maybe ActivityTaskCancelRequestedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes :: Prelude.Maybe ActivityTaskCanceledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes :: Prelude.Maybe ActivityTaskCompletedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes :: Prelude.Maybe ActivityTaskFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes :: Prelude.Maybe ActivityTaskScheduledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes :: Prelude.Maybe ActivityTaskStartedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes :: Prelude.Maybe ActivityTaskTimedOutEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes :: Prelude.Maybe CancelTimerFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes :: Prelude.Maybe CancelWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes :: Prelude.Maybe ChildWorkflowExecutionCanceledEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes :: Prelude.Maybe ChildWorkflowExecutionCompletedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes :: Prelude.Maybe ChildWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes :: Prelude.Maybe ChildWorkflowExecutionStartedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes :: Prelude.Maybe ChildWorkflowExecutionTerminatedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes :: Prelude.Maybe ChildWorkflowExecutionTimedOutEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes :: Prelude.Maybe CompleteWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes :: Prelude.Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes :: Prelude.Maybe DecisionTaskCompletedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes :: Prelude.Maybe DecisionTaskScheduledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes :: Prelude.Maybe DecisionTaskStartedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes :: Prelude.Maybe DecisionTaskTimedOutEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes :: Prelude.Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes :: Prelude.Maybe ExternalWorkflowExecutionSignaledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes :: Prelude.Maybe FailWorkflowExecutionFailedEventAttributes,
    -- | Provides the details of the @LambdaFunctionCompleted@ event. It isn\'t
    -- set for other event types.
    HistoryEvent -> Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes :: Prelude.Maybe LambdaFunctionCompletedEventAttributes,
    -- | Provides the details of the @LambdaFunctionFailed@ event. It isn\'t set
    -- for other event types.
    HistoryEvent -> Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes :: Prelude.Maybe LambdaFunctionFailedEventAttributes,
    -- | Provides the details of the @LambdaFunctionScheduled@ event. It isn\'t
    -- set for other event types.
    HistoryEvent -> Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes :: Prelude.Maybe LambdaFunctionScheduledEventAttributes,
    -- | Provides the details of the @LambdaFunctionStarted@ event. It isn\'t set
    -- for other event types.
    HistoryEvent -> Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes :: Prelude.Maybe LambdaFunctionStartedEventAttributes,
    -- | Provides the details of the @LambdaFunctionTimedOut@ event. It isn\'t
    -- set for other event types.
    HistoryEvent -> Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes :: Prelude.Maybe LambdaFunctionTimedOutEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes :: Prelude.Maybe MarkerRecordedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes :: Prelude.Maybe RecordMarkerFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes :: Prelude.Maybe RequestCancelActivityTaskFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes :: Prelude.Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Prelude.Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes :: Prelude.Maybe ScheduleActivityTaskFailedEventAttributes,
    -- | Provides the details of the @ScheduleLambdaFunctionFailed@ event. It
    -- isn\'t set for other event types.
    HistoryEvent -> Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes :: Prelude.Maybe ScheduleLambdaFunctionFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes :: Prelude.Maybe SignalExternalWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes :: Prelude.Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes :: Prelude.Maybe StartChildWorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes :: Prelude.Maybe StartChildWorkflowExecutionInitiatedEventAttributes,
    -- | Provides the details of the @StartLambdaFunctionFailed@ event. It isn\'t
    -- set for other event types.
    HistoryEvent -> Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes :: Prelude.Maybe StartLambdaFunctionFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes :: Prelude.Maybe StartTimerFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes :: Prelude.Maybe TimerCanceledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe TimerFiredEventAttributes
timerFiredEventAttributes :: Prelude.Maybe TimerFiredEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe TimerStartedEventAttributes
timerStartedEventAttributes :: Prelude.Maybe TimerStartedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes :: Prelude.Maybe WorkflowExecutionCancelRequestedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes :: Prelude.Maybe WorkflowExecutionCanceledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes :: Prelude.Maybe WorkflowExecutionCompletedEventAttributes,
    -- | 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.
    HistoryEvent
-> Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes :: Prelude.Maybe WorkflowExecutionContinuedAsNewEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes :: Prelude.Maybe WorkflowExecutionFailedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes :: Prelude.Maybe WorkflowExecutionSignaledEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes :: Prelude.Maybe WorkflowExecutionStartedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes :: Prelude.Maybe WorkflowExecutionTerminatedEventAttributes,
    -- | 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.
    HistoryEvent -> Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes :: Prelude.Maybe WorkflowExecutionTimedOutEventAttributes,
    -- | The date and time when the event occurred.
    HistoryEvent -> POSIX
eventTimestamp :: Data.POSIX,
    -- | The type of the history event.
    HistoryEvent -> EventType
eventType :: EventType,
    -- | The system generated ID of the event. This ID uniquely identifies the
    -- event with in the workflow execution history.
    HistoryEvent -> Integer
eventId :: Prelude.Integer
  }
  deriving (HistoryEvent -> HistoryEvent -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: HistoryEvent -> HistoryEvent -> Bool
$c/= :: HistoryEvent -> HistoryEvent -> Bool
== :: HistoryEvent -> HistoryEvent -> Bool
$c== :: HistoryEvent -> HistoryEvent -> Bool
Prelude.Eq, ReadPrec [HistoryEvent]
ReadPrec HistoryEvent
Int -> ReadS HistoryEvent
ReadS [HistoryEvent]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [HistoryEvent]
$creadListPrec :: ReadPrec [HistoryEvent]
readPrec :: ReadPrec HistoryEvent
$creadPrec :: ReadPrec HistoryEvent
readList :: ReadS [HistoryEvent]
$creadList :: ReadS [HistoryEvent]
readsPrec :: Int -> ReadS HistoryEvent
$creadsPrec :: Int -> ReadS HistoryEvent
Prelude.Read, Int -> HistoryEvent -> ShowS
[HistoryEvent] -> ShowS
HistoryEvent -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [HistoryEvent] -> ShowS
$cshowList :: [HistoryEvent] -> ShowS
show :: HistoryEvent -> String
$cshow :: HistoryEvent -> String
showsPrec :: Int -> HistoryEvent -> ShowS
$cshowsPrec :: Int -> HistoryEvent -> ShowS
Prelude.Show, forall x. Rep HistoryEvent x -> HistoryEvent
forall x. HistoryEvent -> Rep HistoryEvent x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep HistoryEvent x -> HistoryEvent
$cfrom :: forall x. HistoryEvent -> Rep HistoryEvent x
Prelude.Generic)

-- |
-- Create a value of 'HistoryEvent' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'activityTaskCancelRequestedEventAttributes', 'historyEvent_activityTaskCancelRequestedEventAttributes' - 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.
--
-- 'activityTaskCanceledEventAttributes', 'historyEvent_activityTaskCanceledEventAttributes' - 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.
--
-- 'activityTaskCompletedEventAttributes', 'historyEvent_activityTaskCompletedEventAttributes' - 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', 'historyEvent_activityTaskFailedEventAttributes' - 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.
--
-- 'activityTaskScheduledEventAttributes', 'historyEvent_activityTaskScheduledEventAttributes' - 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', 'historyEvent_activityTaskStartedEventAttributes' - 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.
--
-- 'activityTaskTimedOutEventAttributes', 'historyEvent_activityTaskTimedOutEventAttributes' - 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.
--
-- 'cancelTimerFailedEventAttributes', 'historyEvent_cancelTimerFailedEventAttributes' - 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.
--
-- 'cancelWorkflowExecutionFailedEventAttributes', 'historyEvent_cancelWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'childWorkflowExecutionCanceledEventAttributes', 'historyEvent_childWorkflowExecutionCanceledEventAttributes' - 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.
--
-- 'childWorkflowExecutionCompletedEventAttributes', 'historyEvent_childWorkflowExecutionCompletedEventAttributes' - 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', 'historyEvent_childWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'childWorkflowExecutionStartedEventAttributes', 'historyEvent_childWorkflowExecutionStartedEventAttributes' - 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.
--
-- 'childWorkflowExecutionTerminatedEventAttributes', 'historyEvent_childWorkflowExecutionTerminatedEventAttributes' - 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.
--
-- 'childWorkflowExecutionTimedOutEventAttributes', 'historyEvent_childWorkflowExecutionTimedOutEventAttributes' - 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.
--
-- 'completeWorkflowExecutionFailedEventAttributes', 'historyEvent_completeWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'continueAsNewWorkflowExecutionFailedEventAttributes', 'historyEvent_continueAsNewWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'decisionTaskCompletedEventAttributes', 'historyEvent_decisionTaskCompletedEventAttributes' - 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.
--
-- 'decisionTaskScheduledEventAttributes', 'historyEvent_decisionTaskScheduledEventAttributes' - 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', 'historyEvent_decisionTaskStartedEventAttributes' - 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.
--
-- 'decisionTaskTimedOutEventAttributes', 'historyEvent_decisionTaskTimedOutEventAttributes' - 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.
--
-- 'externalWorkflowExecutionCancelRequestedEventAttributes', 'historyEvent_externalWorkflowExecutionCancelRequestedEventAttributes' - 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.
--
-- 'externalWorkflowExecutionSignaledEventAttributes', 'historyEvent_externalWorkflowExecutionSignaledEventAttributes' - 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.
--
-- 'failWorkflowExecutionFailedEventAttributes', 'historyEvent_failWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'lambdaFunctionCompletedEventAttributes', 'historyEvent_lambdaFunctionCompletedEventAttributes' - Provides the details of the @LambdaFunctionCompleted@ event. It isn\'t
-- set for other event types.
--
-- 'lambdaFunctionFailedEventAttributes', 'historyEvent_lambdaFunctionFailedEventAttributes' - Provides the details of the @LambdaFunctionFailed@ event. It isn\'t set
-- for other event types.
--
-- 'lambdaFunctionScheduledEventAttributes', 'historyEvent_lambdaFunctionScheduledEventAttributes' - Provides the details of the @LambdaFunctionScheduled@ event. It isn\'t
-- set for other event types.
--
-- 'lambdaFunctionStartedEventAttributes', 'historyEvent_lambdaFunctionStartedEventAttributes' - Provides the details of the @LambdaFunctionStarted@ event. It isn\'t set
-- for other event types.
--
-- 'lambdaFunctionTimedOutEventAttributes', 'historyEvent_lambdaFunctionTimedOutEventAttributes' - Provides the details of the @LambdaFunctionTimedOut@ event. It isn\'t
-- set for other event types.
--
-- 'markerRecordedEventAttributes', 'historyEvent_markerRecordedEventAttributes' - 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', 'historyEvent_recordMarkerFailedEventAttributes' - 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.
--
-- 'requestCancelActivityTaskFailedEventAttributes', 'historyEvent_requestCancelActivityTaskFailedEventAttributes' - 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.
--
-- 'requestCancelExternalWorkflowExecutionFailedEventAttributes', 'historyEvent_requestCancelExternalWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'requestCancelExternalWorkflowExecutionInitiatedEventAttributes', 'historyEvent_requestCancelExternalWorkflowExecutionInitiatedEventAttributes' - 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.
--
-- 'scheduleActivityTaskFailedEventAttributes', 'historyEvent_scheduleActivityTaskFailedEventAttributes' - 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.
--
-- 'scheduleLambdaFunctionFailedEventAttributes', 'historyEvent_scheduleLambdaFunctionFailedEventAttributes' - Provides the details of the @ScheduleLambdaFunctionFailed@ event. It
-- isn\'t set for other event types.
--
-- 'signalExternalWorkflowExecutionFailedEventAttributes', 'historyEvent_signalExternalWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'signalExternalWorkflowExecutionInitiatedEventAttributes', 'historyEvent_signalExternalWorkflowExecutionInitiatedEventAttributes' - 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.
--
-- 'startChildWorkflowExecutionFailedEventAttributes', 'historyEvent_startChildWorkflowExecutionFailedEventAttributes' - 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.
--
-- 'startChildWorkflowExecutionInitiatedEventAttributes', 'historyEvent_startChildWorkflowExecutionInitiatedEventAttributes' - 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.
--
-- 'startLambdaFunctionFailedEventAttributes', 'historyEvent_startLambdaFunctionFailedEventAttributes' - Provides the details of the @StartLambdaFunctionFailed@ event. It isn\'t
-- set for other event types.
--
-- 'startTimerFailedEventAttributes', 'historyEvent_startTimerFailedEventAttributes' - 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.
--
-- 'timerCanceledEventAttributes', 'historyEvent_timerCanceledEventAttributes' - 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.
--
-- 'timerFiredEventAttributes', 'historyEvent_timerFiredEventAttributes' - 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.
--
-- 'timerStartedEventAttributes', 'historyEvent_timerStartedEventAttributes' - 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.
--
-- 'workflowExecutionCancelRequestedEventAttributes', 'historyEvent_workflowExecutionCancelRequestedEventAttributes' - 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.
--
-- 'workflowExecutionCanceledEventAttributes', 'historyEvent_workflowExecutionCanceledEventAttributes' - 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.
--
-- 'workflowExecutionCompletedEventAttributes', 'historyEvent_workflowExecutionCompletedEventAttributes' - 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.
--
-- 'workflowExecutionContinuedAsNewEventAttributes', 'historyEvent_workflowExecutionContinuedAsNewEventAttributes' - 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.
--
-- 'workflowExecutionFailedEventAttributes', 'historyEvent_workflowExecutionFailedEventAttributes' - 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.
--
-- 'workflowExecutionSignaledEventAttributes', 'historyEvent_workflowExecutionSignaledEventAttributes' - 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.
--
-- 'workflowExecutionStartedEventAttributes', 'historyEvent_workflowExecutionStartedEventAttributes' - 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.
--
-- 'workflowExecutionTerminatedEventAttributes', 'historyEvent_workflowExecutionTerminatedEventAttributes' - 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.
--
-- 'workflowExecutionTimedOutEventAttributes', 'historyEvent_workflowExecutionTimedOutEventAttributes' - 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.
--
-- 'eventTimestamp', 'historyEvent_eventTimestamp' - The date and time when the event occurred.
--
-- 'eventType', 'historyEvent_eventType' - The type of the history event.
--
-- 'eventId', 'historyEvent_eventId' - The system generated ID of the event. This ID uniquely identifies the
-- event with in the workflow execution history.
newHistoryEvent ::
  -- | 'eventTimestamp'
  Prelude.UTCTime ->
  -- | 'eventType'
  EventType ->
  -- | 'eventId'
  Prelude.Integer ->
  HistoryEvent
newHistoryEvent :: UTCTime -> EventType -> Integer -> HistoryEvent
newHistoryEvent
  UTCTime
pEventTimestamp_
  EventType
pEventType_
  Integer
pEventId_ =
    HistoryEvent'
      { $sel:activityTaskCancelRequestedEventAttributes:HistoryEvent' :: Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskCanceledEventAttributes:HistoryEvent' :: Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskCompletedEventAttributes:HistoryEvent' :: Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskFailedEventAttributes:HistoryEvent' :: Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskScheduledEventAttributes:HistoryEvent' :: Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskStartedEventAttributes:HistoryEvent' :: Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:activityTaskTimedOutEventAttributes:HistoryEvent' :: Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:cancelTimerFailedEventAttributes:HistoryEvent' :: Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:decisionTaskCompletedEventAttributes:HistoryEvent' :: Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:decisionTaskScheduledEventAttributes:HistoryEvent' :: Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:decisionTaskStartedEventAttributes:HistoryEvent' :: Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:decisionTaskTimedOutEventAttributes:HistoryEvent' :: Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent' :: Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:lambdaFunctionCompletedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:lambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:lambdaFunctionScheduledEventAttributes:HistoryEvent' :: Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:lambdaFunctionStartedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent' :: Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:markerRecordedEventAttributes:HistoryEvent' :: Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:recordMarkerFailedEventAttributes:HistoryEvent' :: Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent' :: Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent' :: Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:startLambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:startTimerFailedEventAttributes:HistoryEvent' :: Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:timerCanceledEventAttributes:HistoryEvent' :: Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:timerFiredEventAttributes:HistoryEvent' :: Maybe TimerFiredEventAttributes
timerFiredEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:timerStartedEventAttributes:HistoryEvent' :: Maybe TimerStartedEventAttributes
timerStartedEventAttributes = forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionCanceledEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionCompletedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionSignaledEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionStartedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionTerminatedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:workflowExecutionTimedOutEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes =
          forall a. Maybe a
Prelude.Nothing,
        $sel:eventTimestamp:HistoryEvent' :: POSIX
eventTimestamp = forall (a :: Format). Iso' (Time a) UTCTime
Data._Time forall t b. AReview t b -> b -> t
Lens.# UTCTime
pEventTimestamp_,
        $sel:eventType:HistoryEvent' :: EventType
eventType = EventType
pEventType_,
        $sel:eventId:HistoryEvent' :: Integer
eventId = Integer
pEventId_
      }

-- | 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.
historyEvent_activityTaskCancelRequestedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskCancelRequestedEventAttributes)
historyEvent_activityTaskCancelRequestedEventAttributes :: Lens'
  HistoryEvent (Maybe ActivityTaskCancelRequestedEventAttributes)
historyEvent_activityTaskCancelRequestedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes :: Maybe ActivityTaskCancelRequestedEventAttributes
$sel:activityTaskCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes} -> Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskCancelRequestedEventAttributes
a -> HistoryEvent
s {$sel:activityTaskCancelRequestedEventAttributes:HistoryEvent' :: Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes = Maybe ActivityTaskCancelRequestedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskCanceledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskCanceledEventAttributes)
historyEvent_activityTaskCanceledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCanceledEventAttributes)
historyEvent_activityTaskCanceledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes :: Maybe ActivityTaskCanceledEventAttributes
$sel:activityTaskCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes} -> Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskCanceledEventAttributes
a -> HistoryEvent
s {$sel:activityTaskCanceledEventAttributes:HistoryEvent' :: Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes = Maybe ActivityTaskCanceledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskCompletedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskCompletedEventAttributes)
historyEvent_activityTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskCompletedEventAttributes)
historyEvent_activityTaskCompletedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes :: Maybe ActivityTaskCompletedEventAttributes
$sel:activityTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes} -> Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskCompletedEventAttributes
a -> HistoryEvent
s {$sel:activityTaskCompletedEventAttributes:HistoryEvent' :: Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes = Maybe ActivityTaskCompletedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskFailedEventAttributes)
historyEvent_activityTaskFailedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskFailedEventAttributes)
historyEvent_activityTaskFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes :: Maybe ActivityTaskFailedEventAttributes
$sel:activityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes} -> Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskFailedEventAttributes
a -> HistoryEvent
s {$sel:activityTaskFailedEventAttributes:HistoryEvent' :: Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes = Maybe ActivityTaskFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskScheduledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskScheduledEventAttributes)
historyEvent_activityTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskScheduledEventAttributes)
historyEvent_activityTaskScheduledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes :: Maybe ActivityTaskScheduledEventAttributes
$sel:activityTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes} -> Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskScheduledEventAttributes
a -> HistoryEvent
s {$sel:activityTaskScheduledEventAttributes:HistoryEvent' :: Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes = Maybe ActivityTaskScheduledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskStartedEventAttributes)
historyEvent_activityTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskStartedEventAttributes)
historyEvent_activityTaskStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes :: Maybe ActivityTaskStartedEventAttributes
$sel:activityTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes} -> Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskStartedEventAttributes
a -> HistoryEvent
s {$sel:activityTaskStartedEventAttributes:HistoryEvent' :: Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes = Maybe ActivityTaskStartedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_activityTaskTimedOutEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ActivityTaskTimedOutEventAttributes)
historyEvent_activityTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe ActivityTaskTimedOutEventAttributes)
historyEvent_activityTaskTimedOutEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes :: Maybe ActivityTaskTimedOutEventAttributes
$sel:activityTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes} -> Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ActivityTaskTimedOutEventAttributes
a -> HistoryEvent
s {$sel:activityTaskTimedOutEventAttributes:HistoryEvent' :: Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes = Maybe ActivityTaskTimedOutEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_cancelTimerFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe CancelTimerFailedEventAttributes)
historyEvent_cancelTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe CancelTimerFailedEventAttributes)
historyEvent_cancelTimerFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes :: Maybe CancelTimerFailedEventAttributes
$sel:cancelTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes} -> Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe CancelTimerFailedEventAttributes
a -> HistoryEvent
s {$sel:cancelTimerFailedEventAttributes:HistoryEvent' :: Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes = Maybe CancelTimerFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_cancelWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe CancelWorkflowExecutionFailedEventAttributes)
historyEvent_cancelWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent (Maybe CancelWorkflowExecutionFailedEventAttributes)
historyEvent_cancelWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes :: Maybe CancelWorkflowExecutionFailedEventAttributes
$sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes} -> Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe CancelWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes = Maybe CancelWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionCanceledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionCanceledEventAttributes)
historyEvent_childWorkflowExecutionCanceledEventAttributes :: Lens'
  HistoryEvent (Maybe ChildWorkflowExecutionCanceledEventAttributes)
historyEvent_childWorkflowExecutionCanceledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes :: Maybe ChildWorkflowExecutionCanceledEventAttributes
$sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes} -> Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionCanceledEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes = Maybe ChildWorkflowExecutionCanceledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionCompletedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionCompletedEventAttributes)
historyEvent_childWorkflowExecutionCompletedEventAttributes :: Lens'
  HistoryEvent (Maybe ChildWorkflowExecutionCompletedEventAttributes)
historyEvent_childWorkflowExecutionCompletedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes :: Maybe ChildWorkflowExecutionCompletedEventAttributes
$sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes} -> Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionCompletedEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes = Maybe ChildWorkflowExecutionCompletedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionFailedEventAttributes)
historyEvent_childWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent (Maybe ChildWorkflowExecutionFailedEventAttributes)
historyEvent_childWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes :: Maybe ChildWorkflowExecutionFailedEventAttributes
$sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes} -> Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes = Maybe ChildWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionStartedEventAttributes)
historyEvent_childWorkflowExecutionStartedEventAttributes :: Lens'
  HistoryEvent (Maybe ChildWorkflowExecutionStartedEventAttributes)
historyEvent_childWorkflowExecutionStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes :: Maybe ChildWorkflowExecutionStartedEventAttributes
$sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes} -> Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionStartedEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes = Maybe ChildWorkflowExecutionStartedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionTerminatedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionTerminatedEventAttributes)
historyEvent_childWorkflowExecutionTerminatedEventAttributes :: Lens'
  HistoryEvent
  (Maybe ChildWorkflowExecutionTerminatedEventAttributes)
historyEvent_childWorkflowExecutionTerminatedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes :: Maybe ChildWorkflowExecutionTerminatedEventAttributes
$sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes} -> Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionTerminatedEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes = Maybe ChildWorkflowExecutionTerminatedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_childWorkflowExecutionTimedOutEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ChildWorkflowExecutionTimedOutEventAttributes)
historyEvent_childWorkflowExecutionTimedOutEventAttributes :: Lens'
  HistoryEvent (Maybe ChildWorkflowExecutionTimedOutEventAttributes)
historyEvent_childWorkflowExecutionTimedOutEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes :: Maybe ChildWorkflowExecutionTimedOutEventAttributes
$sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes} -> Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ChildWorkflowExecutionTimedOutEventAttributes
a -> HistoryEvent
s {$sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent' :: Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes = Maybe ChildWorkflowExecutionTimedOutEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_completeWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe CompleteWorkflowExecutionFailedEventAttributes)
historyEvent_completeWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent (Maybe CompleteWorkflowExecutionFailedEventAttributes)
historyEvent_completeWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes :: Maybe CompleteWorkflowExecutionFailedEventAttributes
$sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes} -> Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe CompleteWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes = Maybe CompleteWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_continueAsNewWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes)
historyEvent_continueAsNewWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent
  (Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes)
historyEvent_continueAsNewWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes :: Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
$sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes} -> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes = Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_decisionTaskCompletedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe DecisionTaskCompletedEventAttributes)
historyEvent_decisionTaskCompletedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskCompletedEventAttributes)
historyEvent_decisionTaskCompletedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes :: Maybe DecisionTaskCompletedEventAttributes
$sel:decisionTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes} -> Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe DecisionTaskCompletedEventAttributes
a -> HistoryEvent
s {$sel:decisionTaskCompletedEventAttributes:HistoryEvent' :: Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes = Maybe DecisionTaskCompletedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_decisionTaskScheduledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe DecisionTaskScheduledEventAttributes)
historyEvent_decisionTaskScheduledEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskScheduledEventAttributes)
historyEvent_decisionTaskScheduledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes :: Maybe DecisionTaskScheduledEventAttributes
$sel:decisionTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes} -> Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe DecisionTaskScheduledEventAttributes
a -> HistoryEvent
s {$sel:decisionTaskScheduledEventAttributes:HistoryEvent' :: Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes = Maybe DecisionTaskScheduledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_decisionTaskStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe DecisionTaskStartedEventAttributes)
historyEvent_decisionTaskStartedEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskStartedEventAttributes)
historyEvent_decisionTaskStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes :: Maybe DecisionTaskStartedEventAttributes
$sel:decisionTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes} -> Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe DecisionTaskStartedEventAttributes
a -> HistoryEvent
s {$sel:decisionTaskStartedEventAttributes:HistoryEvent' :: Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes = Maybe DecisionTaskStartedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_decisionTaskTimedOutEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe DecisionTaskTimedOutEventAttributes)
historyEvent_decisionTaskTimedOutEventAttributes :: Lens' HistoryEvent (Maybe DecisionTaskTimedOutEventAttributes)
historyEvent_decisionTaskTimedOutEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes :: Maybe DecisionTaskTimedOutEventAttributes
$sel:decisionTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes} -> Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe DecisionTaskTimedOutEventAttributes
a -> HistoryEvent
s {$sel:decisionTaskTimedOutEventAttributes:HistoryEvent' :: Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes = Maybe DecisionTaskTimedOutEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_externalWorkflowExecutionCancelRequestedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes)
historyEvent_externalWorkflowExecutionCancelRequestedEventAttributes :: Lens'
  HistoryEvent
  (Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes)
historyEvent_externalWorkflowExecutionCancelRequestedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes :: Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
$sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes} -> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
a -> HistoryEvent
s {$sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes = Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_externalWorkflowExecutionSignaledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ExternalWorkflowExecutionSignaledEventAttributes)
historyEvent_externalWorkflowExecutionSignaledEventAttributes :: Lens'
  HistoryEvent
  (Maybe ExternalWorkflowExecutionSignaledEventAttributes)
historyEvent_externalWorkflowExecutionSignaledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes :: Maybe ExternalWorkflowExecutionSignaledEventAttributes
$sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes} -> Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ExternalWorkflowExecutionSignaledEventAttributes
a -> HistoryEvent
s {$sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent' :: Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes = Maybe ExternalWorkflowExecutionSignaledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_failWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe FailWorkflowExecutionFailedEventAttributes)
historyEvent_failWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent (Maybe FailWorkflowExecutionFailedEventAttributes)
historyEvent_failWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes :: Maybe FailWorkflowExecutionFailedEventAttributes
$sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes} -> Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe FailWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes = Maybe FailWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @LambdaFunctionCompleted@ event. It isn\'t
-- set for other event types.
historyEvent_lambdaFunctionCompletedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe LambdaFunctionCompletedEventAttributes)
historyEvent_lambdaFunctionCompletedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionCompletedEventAttributes)
historyEvent_lambdaFunctionCompletedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes :: Maybe LambdaFunctionCompletedEventAttributes
$sel:lambdaFunctionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes} -> Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe LambdaFunctionCompletedEventAttributes
a -> HistoryEvent
s {$sel:lambdaFunctionCompletedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes = Maybe LambdaFunctionCompletedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @LambdaFunctionFailed@ event. It isn\'t set
-- for other event types.
historyEvent_lambdaFunctionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe LambdaFunctionFailedEventAttributes)
historyEvent_lambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventAttributes)
historyEvent_lambdaFunctionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes :: Maybe LambdaFunctionFailedEventAttributes
$sel:lambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes} -> Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe LambdaFunctionFailedEventAttributes
a -> HistoryEvent
s {$sel:lambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes = Maybe LambdaFunctionFailedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @LambdaFunctionScheduled@ event. It isn\'t
-- set for other event types.
historyEvent_lambdaFunctionScheduledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe LambdaFunctionScheduledEventAttributes)
historyEvent_lambdaFunctionScheduledEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventAttributes)
historyEvent_lambdaFunctionScheduledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes :: Maybe LambdaFunctionScheduledEventAttributes
$sel:lambdaFunctionScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes} -> Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe LambdaFunctionScheduledEventAttributes
a -> HistoryEvent
s {$sel:lambdaFunctionScheduledEventAttributes:HistoryEvent' :: Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes = Maybe LambdaFunctionScheduledEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @LambdaFunctionStarted@ event. It isn\'t set
-- for other event types.
historyEvent_lambdaFunctionStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe LambdaFunctionStartedEventAttributes)
historyEvent_lambdaFunctionStartedEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionStartedEventAttributes)
historyEvent_lambdaFunctionStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes :: Maybe LambdaFunctionStartedEventAttributes
$sel:lambdaFunctionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes} -> Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe LambdaFunctionStartedEventAttributes
a -> HistoryEvent
s {$sel:lambdaFunctionStartedEventAttributes:HistoryEvent' :: Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes = Maybe LambdaFunctionStartedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @LambdaFunctionTimedOut@ event. It isn\'t
-- set for other event types.
historyEvent_lambdaFunctionTimedOutEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe LambdaFunctionTimedOutEventAttributes)
historyEvent_lambdaFunctionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventAttributes)
historyEvent_lambdaFunctionTimedOutEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes :: Maybe LambdaFunctionTimedOutEventAttributes
$sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes} -> Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe LambdaFunctionTimedOutEventAttributes
a -> HistoryEvent
s {$sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent' :: Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes = Maybe LambdaFunctionTimedOutEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_markerRecordedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe MarkerRecordedEventAttributes)
historyEvent_markerRecordedEventAttributes :: Lens' HistoryEvent (Maybe MarkerRecordedEventAttributes)
historyEvent_markerRecordedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes :: Maybe MarkerRecordedEventAttributes
$sel:markerRecordedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes} -> Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe MarkerRecordedEventAttributes
a -> HistoryEvent
s {$sel:markerRecordedEventAttributes:HistoryEvent' :: Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes = Maybe MarkerRecordedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_recordMarkerFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe RecordMarkerFailedEventAttributes)
historyEvent_recordMarkerFailedEventAttributes :: Lens' HistoryEvent (Maybe RecordMarkerFailedEventAttributes)
historyEvent_recordMarkerFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes :: Maybe RecordMarkerFailedEventAttributes
$sel:recordMarkerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes} -> Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe RecordMarkerFailedEventAttributes
a -> HistoryEvent
s {$sel:recordMarkerFailedEventAttributes:HistoryEvent' :: Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes = Maybe RecordMarkerFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_requestCancelActivityTaskFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe RequestCancelActivityTaskFailedEventAttributes)
historyEvent_requestCancelActivityTaskFailedEventAttributes :: Lens'
  HistoryEvent (Maybe RequestCancelActivityTaskFailedEventAttributes)
historyEvent_requestCancelActivityTaskFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes :: Maybe RequestCancelActivityTaskFailedEventAttributes
$sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes} -> Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe RequestCancelActivityTaskFailedEventAttributes
a -> HistoryEvent
s {$sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent' :: Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes = Maybe RequestCancelActivityTaskFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_requestCancelExternalWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes)
historyEvent_requestCancelExternalWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent
  (Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes)
historyEvent_requestCancelExternalWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes :: Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
$sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes} -> Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes = Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)
historyEvent_requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Lens'
  HistoryEvent
  (Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes)
historyEvent_requestCancelExternalWorkflowExecutionInitiatedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
$sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes} -> Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
a -> HistoryEvent
s {$sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes = Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_scheduleActivityTaskFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ScheduleActivityTaskFailedEventAttributes)
historyEvent_scheduleActivityTaskFailedEventAttributes :: Lens'
  HistoryEvent (Maybe ScheduleActivityTaskFailedEventAttributes)
historyEvent_scheduleActivityTaskFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes :: Maybe ScheduleActivityTaskFailedEventAttributes
$sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes} -> Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ScheduleActivityTaskFailedEventAttributes
a -> HistoryEvent
s {$sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent' :: Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes = Maybe ScheduleActivityTaskFailedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @ScheduleLambdaFunctionFailed@ event. It
-- isn\'t set for other event types.
historyEvent_scheduleLambdaFunctionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe ScheduleLambdaFunctionFailedEventAttributes)
historyEvent_scheduleLambdaFunctionFailedEventAttributes :: Lens'
  HistoryEvent (Maybe ScheduleLambdaFunctionFailedEventAttributes)
historyEvent_scheduleLambdaFunctionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes :: Maybe ScheduleLambdaFunctionFailedEventAttributes
$sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes} -> Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe ScheduleLambdaFunctionFailedEventAttributes
a -> HistoryEvent
s {$sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes = Maybe ScheduleLambdaFunctionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_signalExternalWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe SignalExternalWorkflowExecutionFailedEventAttributes)
historyEvent_signalExternalWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent
  (Maybe SignalExternalWorkflowExecutionFailedEventAttributes)
historyEvent_signalExternalWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes :: Maybe SignalExternalWorkflowExecutionFailedEventAttributes
$sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes} -> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe SignalExternalWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes = Maybe SignalExternalWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_signalExternalWorkflowExecutionInitiatedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes)
historyEvent_signalExternalWorkflowExecutionInitiatedEventAttributes :: Lens'
  HistoryEvent
  (Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes)
historyEvent_signalExternalWorkflowExecutionInitiatedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes :: Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
$sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes} -> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
a -> HistoryEvent
s {$sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes = Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_startChildWorkflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe StartChildWorkflowExecutionFailedEventAttributes)
historyEvent_startChildWorkflowExecutionFailedEventAttributes :: Lens'
  HistoryEvent
  (Maybe StartChildWorkflowExecutionFailedEventAttributes)
historyEvent_startChildWorkflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes :: Maybe StartChildWorkflowExecutionFailedEventAttributes
$sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes} -> Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe StartChildWorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes = Maybe StartChildWorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_startChildWorkflowExecutionInitiatedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe StartChildWorkflowExecutionInitiatedEventAttributes)
historyEvent_startChildWorkflowExecutionInitiatedEventAttributes :: Lens'
  HistoryEvent
  (Maybe StartChildWorkflowExecutionInitiatedEventAttributes)
historyEvent_startChildWorkflowExecutionInitiatedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes :: Maybe StartChildWorkflowExecutionInitiatedEventAttributes
$sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes} -> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe StartChildWorkflowExecutionInitiatedEventAttributes
a -> HistoryEvent
s {$sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes = Maybe StartChildWorkflowExecutionInitiatedEventAttributes
a} :: HistoryEvent)

-- | Provides the details of the @StartLambdaFunctionFailed@ event. It isn\'t
-- set for other event types.
historyEvent_startLambdaFunctionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe StartLambdaFunctionFailedEventAttributes)
historyEvent_startLambdaFunctionFailedEventAttributes :: Lens' HistoryEvent (Maybe StartLambdaFunctionFailedEventAttributes)
historyEvent_startLambdaFunctionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes :: Maybe StartLambdaFunctionFailedEventAttributes
$sel:startLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes} -> Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe StartLambdaFunctionFailedEventAttributes
a -> HistoryEvent
s {$sel:startLambdaFunctionFailedEventAttributes:HistoryEvent' :: Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes = Maybe StartLambdaFunctionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_startTimerFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe StartTimerFailedEventAttributes)
historyEvent_startTimerFailedEventAttributes :: Lens' HistoryEvent (Maybe StartTimerFailedEventAttributes)
historyEvent_startTimerFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes :: Maybe StartTimerFailedEventAttributes
$sel:startTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes} -> Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe StartTimerFailedEventAttributes
a -> HistoryEvent
s {$sel:startTimerFailedEventAttributes:HistoryEvent' :: Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes = Maybe StartTimerFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_timerCanceledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe TimerCanceledEventAttributes)
historyEvent_timerCanceledEventAttributes :: Lens' HistoryEvent (Maybe TimerCanceledEventAttributes)
historyEvent_timerCanceledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes :: Maybe TimerCanceledEventAttributes
$sel:timerCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes} -> Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe TimerCanceledEventAttributes
a -> HistoryEvent
s {$sel:timerCanceledEventAttributes:HistoryEvent' :: Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes = Maybe TimerCanceledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_timerFiredEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe TimerFiredEventAttributes)
historyEvent_timerFiredEventAttributes :: Lens' HistoryEvent (Maybe TimerFiredEventAttributes)
historyEvent_timerFiredEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe TimerFiredEventAttributes
timerFiredEventAttributes :: Maybe TimerFiredEventAttributes
$sel:timerFiredEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerFiredEventAttributes
timerFiredEventAttributes} -> Maybe TimerFiredEventAttributes
timerFiredEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe TimerFiredEventAttributes
a -> HistoryEvent
s {$sel:timerFiredEventAttributes:HistoryEvent' :: Maybe TimerFiredEventAttributes
timerFiredEventAttributes = Maybe TimerFiredEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_timerStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe TimerStartedEventAttributes)
historyEvent_timerStartedEventAttributes :: Lens' HistoryEvent (Maybe TimerStartedEventAttributes)
historyEvent_timerStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe TimerStartedEventAttributes
timerStartedEventAttributes :: Maybe TimerStartedEventAttributes
$sel:timerStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerStartedEventAttributes
timerStartedEventAttributes} -> Maybe TimerStartedEventAttributes
timerStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe TimerStartedEventAttributes
a -> HistoryEvent
s {$sel:timerStartedEventAttributes:HistoryEvent' :: Maybe TimerStartedEventAttributes
timerStartedEventAttributes = Maybe TimerStartedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionCancelRequestedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCancelRequestedEventAttributes)
historyEvent_workflowExecutionCancelRequestedEventAttributes :: Lens'
  HistoryEvent
  (Maybe WorkflowExecutionCancelRequestedEventAttributes)
historyEvent_workflowExecutionCancelRequestedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes :: Maybe WorkflowExecutionCancelRequestedEventAttributes
$sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes} -> Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionCancelRequestedEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes = Maybe WorkflowExecutionCancelRequestedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionCanceledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCanceledEventAttributes)
historyEvent_workflowExecutionCanceledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionCanceledEventAttributes)
historyEvent_workflowExecutionCanceledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes :: Maybe WorkflowExecutionCanceledEventAttributes
$sel:workflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes} -> Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionCanceledEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionCanceledEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes = Maybe WorkflowExecutionCanceledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionCompletedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionCompletedEventAttributes)
historyEvent_workflowExecutionCompletedEventAttributes :: Lens'
  HistoryEvent (Maybe WorkflowExecutionCompletedEventAttributes)
historyEvent_workflowExecutionCompletedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes :: Maybe WorkflowExecutionCompletedEventAttributes
$sel:workflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes} -> Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionCompletedEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionCompletedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes = Maybe WorkflowExecutionCompletedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionContinuedAsNewEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionContinuedAsNewEventAttributes)
historyEvent_workflowExecutionContinuedAsNewEventAttributes :: Lens'
  HistoryEvent (Maybe WorkflowExecutionContinuedAsNewEventAttributes)
historyEvent_workflowExecutionContinuedAsNewEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes :: Maybe WorkflowExecutionContinuedAsNewEventAttributes
$sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes} -> Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionContinuedAsNewEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes = Maybe WorkflowExecutionContinuedAsNewEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionFailedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionFailedEventAttributes)
historyEvent_workflowExecutionFailedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionFailedEventAttributes)
historyEvent_workflowExecutionFailedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes :: Maybe WorkflowExecutionFailedEventAttributes
$sel:workflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes} -> Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionFailedEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionFailedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes = Maybe WorkflowExecutionFailedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionSignaledEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionSignaledEventAttributes)
historyEvent_workflowExecutionSignaledEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionSignaledEventAttributes)
historyEvent_workflowExecutionSignaledEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes :: Maybe WorkflowExecutionSignaledEventAttributes
$sel:workflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes} -> Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionSignaledEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionSignaledEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes = Maybe WorkflowExecutionSignaledEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionStartedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionStartedEventAttributes)
historyEvent_workflowExecutionStartedEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionStartedEventAttributes)
historyEvent_workflowExecutionStartedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes :: Maybe WorkflowExecutionStartedEventAttributes
$sel:workflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes} -> Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionStartedEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionStartedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes = Maybe WorkflowExecutionStartedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionTerminatedEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionTerminatedEventAttributes)
historyEvent_workflowExecutionTerminatedEventAttributes :: Lens'
  HistoryEvent (Maybe WorkflowExecutionTerminatedEventAttributes)
historyEvent_workflowExecutionTerminatedEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes :: Maybe WorkflowExecutionTerminatedEventAttributes
$sel:workflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes} -> Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionTerminatedEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionTerminatedEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes = Maybe WorkflowExecutionTerminatedEventAttributes
a} :: HistoryEvent)

-- | 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.
historyEvent_workflowExecutionTimedOutEventAttributes :: Lens.Lens' HistoryEvent (Prelude.Maybe WorkflowExecutionTimedOutEventAttributes)
historyEvent_workflowExecutionTimedOutEventAttributes :: Lens' HistoryEvent (Maybe WorkflowExecutionTimedOutEventAttributes)
historyEvent_workflowExecutionTimedOutEventAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes :: Maybe WorkflowExecutionTimedOutEventAttributes
$sel:workflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes} -> Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes) (\s :: HistoryEvent
s@HistoryEvent' {} Maybe WorkflowExecutionTimedOutEventAttributes
a -> HistoryEvent
s {$sel:workflowExecutionTimedOutEventAttributes:HistoryEvent' :: Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes = Maybe WorkflowExecutionTimedOutEventAttributes
a} :: HistoryEvent)

-- | The date and time when the event occurred.
historyEvent_eventTimestamp :: Lens.Lens' HistoryEvent Prelude.UTCTime
historyEvent_eventTimestamp :: Lens' HistoryEvent UTCTime
historyEvent_eventTimestamp = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {POSIX
eventTimestamp :: POSIX
$sel:eventTimestamp:HistoryEvent' :: HistoryEvent -> POSIX
eventTimestamp} -> POSIX
eventTimestamp) (\s :: HistoryEvent
s@HistoryEvent' {} POSIX
a -> HistoryEvent
s {$sel:eventTimestamp:HistoryEvent' :: POSIX
eventTimestamp = POSIX
a} :: HistoryEvent) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The type of the history event.
historyEvent_eventType :: Lens.Lens' HistoryEvent EventType
historyEvent_eventType :: Lens' HistoryEvent EventType
historyEvent_eventType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {EventType
eventType :: EventType
$sel:eventType:HistoryEvent' :: HistoryEvent -> EventType
eventType} -> EventType
eventType) (\s :: HistoryEvent
s@HistoryEvent' {} EventType
a -> HistoryEvent
s {$sel:eventType:HistoryEvent' :: EventType
eventType = EventType
a} :: HistoryEvent)

-- | The system generated ID of the event. This ID uniquely identifies the
-- event with in the workflow execution history.
historyEvent_eventId :: Lens.Lens' HistoryEvent Prelude.Integer
historyEvent_eventId :: Lens' HistoryEvent Integer
historyEvent_eventId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\HistoryEvent' {Integer
eventId :: Integer
$sel:eventId:HistoryEvent' :: HistoryEvent -> Integer
eventId} -> Integer
eventId) (\s :: HistoryEvent
s@HistoryEvent' {} Integer
a -> HistoryEvent
s {$sel:eventId:HistoryEvent' :: Integer
eventId = Integer
a} :: HistoryEvent)

instance Data.FromJSON HistoryEvent where
  parseJSON :: Value -> Parser HistoryEvent
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"HistoryEvent"
      ( \Object
x ->
          Maybe ActivityTaskCancelRequestedEventAttributes
-> Maybe ActivityTaskCanceledEventAttributes
-> Maybe ActivityTaskCompletedEventAttributes
-> Maybe ActivityTaskFailedEventAttributes
-> Maybe ActivityTaskScheduledEventAttributes
-> Maybe ActivityTaskStartedEventAttributes
-> Maybe ActivityTaskTimedOutEventAttributes
-> Maybe CancelTimerFailedEventAttributes
-> Maybe CancelWorkflowExecutionFailedEventAttributes
-> Maybe ChildWorkflowExecutionCanceledEventAttributes
-> Maybe ChildWorkflowExecutionCompletedEventAttributes
-> Maybe ChildWorkflowExecutionFailedEventAttributes
-> Maybe ChildWorkflowExecutionStartedEventAttributes
-> Maybe ChildWorkflowExecutionTerminatedEventAttributes
-> Maybe ChildWorkflowExecutionTimedOutEventAttributes
-> Maybe CompleteWorkflowExecutionFailedEventAttributes
-> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
-> Maybe DecisionTaskCompletedEventAttributes
-> Maybe DecisionTaskScheduledEventAttributes
-> Maybe DecisionTaskStartedEventAttributes
-> Maybe DecisionTaskTimedOutEventAttributes
-> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
-> Maybe ExternalWorkflowExecutionSignaledEventAttributes
-> Maybe FailWorkflowExecutionFailedEventAttributes
-> Maybe LambdaFunctionCompletedEventAttributes
-> Maybe LambdaFunctionFailedEventAttributes
-> Maybe LambdaFunctionScheduledEventAttributes
-> Maybe LambdaFunctionStartedEventAttributes
-> Maybe LambdaFunctionTimedOutEventAttributes
-> Maybe MarkerRecordedEventAttributes
-> Maybe RecordMarkerFailedEventAttributes
-> Maybe RequestCancelActivityTaskFailedEventAttributes
-> Maybe
     RequestCancelExternalWorkflowExecutionFailedEventAttributes
-> Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
-> Maybe ScheduleActivityTaskFailedEventAttributes
-> Maybe ScheduleLambdaFunctionFailedEventAttributes
-> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
-> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
-> Maybe StartChildWorkflowExecutionFailedEventAttributes
-> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
-> Maybe StartLambdaFunctionFailedEventAttributes
-> Maybe StartTimerFailedEventAttributes
-> Maybe TimerCanceledEventAttributes
-> Maybe TimerFiredEventAttributes
-> Maybe TimerStartedEventAttributes
-> Maybe WorkflowExecutionCancelRequestedEventAttributes
-> Maybe WorkflowExecutionCanceledEventAttributes
-> Maybe WorkflowExecutionCompletedEventAttributes
-> Maybe WorkflowExecutionContinuedAsNewEventAttributes
-> Maybe WorkflowExecutionFailedEventAttributes
-> Maybe WorkflowExecutionSignaledEventAttributes
-> Maybe WorkflowExecutionStartedEventAttributes
-> Maybe WorkflowExecutionTerminatedEventAttributes
-> Maybe WorkflowExecutionTimedOutEventAttributes
-> POSIX
-> EventType
-> Integer
-> HistoryEvent
HistoryEvent'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskCancelRequestedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskCanceledEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskCompletedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskScheduledEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskStartedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"activityTaskTimedOutEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"cancelTimerFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"cancelWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionCanceledEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionCompletedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionStartedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionTerminatedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"childWorkflowExecutionTimedOutEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"completeWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"continueAsNewWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"decisionTaskCompletedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"decisionTaskScheduledEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"decisionTaskStartedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"decisionTaskTimedOutEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"externalWorkflowExecutionCancelRequestedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"externalWorkflowExecutionSignaledEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"failWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lambdaFunctionCompletedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lambdaFunctionFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lambdaFunctionScheduledEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lambdaFunctionStartedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"lambdaFunctionTimedOutEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"markerRecordedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"recordMarkerFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"requestCancelActivityTaskFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"requestCancelExternalWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"requestCancelExternalWorkflowExecutionInitiatedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"scheduleActivityTaskFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"scheduleLambdaFunctionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"signalExternalWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"signalExternalWorkflowExecutionInitiatedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"startChildWorkflowExecutionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"startChildWorkflowExecutionInitiatedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"startLambdaFunctionFailedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"startTimerFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"timerCanceledEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"timerFiredEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"timerStartedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionCancelRequestedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionCanceledEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionCompletedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionContinuedAsNewEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionFailedEventAttributes")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionSignaledEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionStartedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionTerminatedEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
                            forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"workflowExecutionTimedOutEventAttributes"
                        )
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"eventTimestamp")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"eventType")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser a
Data..: Key
"eventId")
      )

instance Prelude.Hashable HistoryEvent where
  hashWithSalt :: Int -> HistoryEvent -> Int
hashWithSalt Int
_salt HistoryEvent' {Integer
Maybe ActivityTaskCancelRequestedEventAttributes
Maybe ActivityTaskCanceledEventAttributes
Maybe ActivityTaskCompletedEventAttributes
Maybe ActivityTaskFailedEventAttributes
Maybe ActivityTaskStartedEventAttributes
Maybe ActivityTaskTimedOutEventAttributes
Maybe CancelTimerFailedEventAttributes
Maybe CancelWorkflowExecutionFailedEventAttributes
Maybe CompleteWorkflowExecutionFailedEventAttributes
Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
Maybe DecisionTaskCompletedEventAttributes
Maybe DecisionTaskStartedEventAttributes
Maybe DecisionTaskTimedOutEventAttributes
Maybe FailWorkflowExecutionFailedEventAttributes
Maybe LambdaFunctionCompletedEventAttributes
Maybe LambdaFunctionFailedEventAttributes
Maybe LambdaFunctionScheduledEventAttributes
Maybe LambdaFunctionStartedEventAttributes
Maybe LambdaFunctionTimedOutEventAttributes
Maybe MarkerRecordedEventAttributes
Maybe RecordMarkerFailedEventAttributes
Maybe RequestCancelActivityTaskFailedEventAttributes
Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
Maybe ScheduleActivityTaskFailedEventAttributes
Maybe ScheduleLambdaFunctionFailedEventAttributes
Maybe SignalExternalWorkflowExecutionFailedEventAttributes
Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
Maybe StartLambdaFunctionFailedEventAttributes
Maybe StartTimerFailedEventAttributes
Maybe DecisionTaskScheduledEventAttributes
Maybe ActivityTaskScheduledEventAttributes
Maybe TimerCanceledEventAttributes
Maybe TimerFiredEventAttributes
Maybe TimerStartedEventAttributes
Maybe ExternalWorkflowExecutionSignaledEventAttributes
Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
Maybe WorkflowExecutionCancelRequestedEventAttributes
Maybe WorkflowExecutionCanceledEventAttributes
Maybe WorkflowExecutionCompletedEventAttributes
Maybe WorkflowExecutionFailedEventAttributes
Maybe WorkflowExecutionSignaledEventAttributes
Maybe WorkflowExecutionTerminatedEventAttributes
Maybe WorkflowExecutionTimedOutEventAttributes
Maybe WorkflowExecutionStartedEventAttributes
Maybe WorkflowExecutionContinuedAsNewEventAttributes
Maybe StartChildWorkflowExecutionInitiatedEventAttributes
Maybe StartChildWorkflowExecutionFailedEventAttributes
Maybe ChildWorkflowExecutionTimedOutEventAttributes
Maybe ChildWorkflowExecutionTerminatedEventAttributes
Maybe ChildWorkflowExecutionStartedEventAttributes
Maybe ChildWorkflowExecutionFailedEventAttributes
Maybe ChildWorkflowExecutionCompletedEventAttributes
Maybe ChildWorkflowExecutionCanceledEventAttributes
POSIX
EventType
eventId :: Integer
eventType :: EventType
eventTimestamp :: POSIX
workflowExecutionTimedOutEventAttributes :: Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTerminatedEventAttributes :: Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionStartedEventAttributes :: Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionSignaledEventAttributes :: Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionFailedEventAttributes :: Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionContinuedAsNewEventAttributes :: Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionCompletedEventAttributes :: Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCanceledEventAttributes :: Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCancelRequestedEventAttributes :: Maybe WorkflowExecutionCancelRequestedEventAttributes
timerStartedEventAttributes :: Maybe TimerStartedEventAttributes
timerFiredEventAttributes :: Maybe TimerFiredEventAttributes
timerCanceledEventAttributes :: Maybe TimerCanceledEventAttributes
startTimerFailedEventAttributes :: Maybe StartTimerFailedEventAttributes
startLambdaFunctionFailedEventAttributes :: Maybe StartLambdaFunctionFailedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes :: Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionFailedEventAttributes :: Maybe StartChildWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes :: Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes :: Maybe SignalExternalWorkflowExecutionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes :: Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleActivityTaskFailedEventAttributes :: Maybe ScheduleActivityTaskFailedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes :: Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes :: Maybe RequestCancelActivityTaskFailedEventAttributes
recordMarkerFailedEventAttributes :: Maybe RecordMarkerFailedEventAttributes
markerRecordedEventAttributes :: Maybe MarkerRecordedEventAttributes
lambdaFunctionTimedOutEventAttributes :: Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionStartedEventAttributes :: Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionScheduledEventAttributes :: Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionFailedEventAttributes :: Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionCompletedEventAttributes :: Maybe LambdaFunctionCompletedEventAttributes
failWorkflowExecutionFailedEventAttributes :: Maybe FailWorkflowExecutionFailedEventAttributes
externalWorkflowExecutionSignaledEventAttributes :: Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes :: Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
decisionTaskTimedOutEventAttributes :: Maybe DecisionTaskTimedOutEventAttributes
decisionTaskStartedEventAttributes :: Maybe DecisionTaskStartedEventAttributes
decisionTaskScheduledEventAttributes :: Maybe DecisionTaskScheduledEventAttributes
decisionTaskCompletedEventAttributes :: Maybe DecisionTaskCompletedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes :: Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes :: Maybe CompleteWorkflowExecutionFailedEventAttributes
childWorkflowExecutionTimedOutEventAttributes :: Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTerminatedEventAttributes :: Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionStartedEventAttributes :: Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionFailedEventAttributes :: Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionCompletedEventAttributes :: Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCanceledEventAttributes :: Maybe ChildWorkflowExecutionCanceledEventAttributes
cancelWorkflowExecutionFailedEventAttributes :: Maybe CancelWorkflowExecutionFailedEventAttributes
cancelTimerFailedEventAttributes :: Maybe CancelTimerFailedEventAttributes
activityTaskTimedOutEventAttributes :: Maybe ActivityTaskTimedOutEventAttributes
activityTaskStartedEventAttributes :: Maybe ActivityTaskStartedEventAttributes
activityTaskScheduledEventAttributes :: Maybe ActivityTaskScheduledEventAttributes
activityTaskFailedEventAttributes :: Maybe ActivityTaskFailedEventAttributes
activityTaskCompletedEventAttributes :: Maybe ActivityTaskCompletedEventAttributes
activityTaskCanceledEventAttributes :: Maybe ActivityTaskCanceledEventAttributes
activityTaskCancelRequestedEventAttributes :: Maybe ActivityTaskCancelRequestedEventAttributes
$sel:eventId:HistoryEvent' :: HistoryEvent -> Integer
$sel:eventType:HistoryEvent' :: HistoryEvent -> EventType
$sel:eventTimestamp:HistoryEvent' :: HistoryEvent -> POSIX
$sel:workflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTimedOutEventAttributes
$sel:workflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTerminatedEventAttributes
$sel:workflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionStartedEventAttributes
$sel:workflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionSignaledEventAttributes
$sel:workflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionFailedEventAttributes
$sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionContinuedAsNewEventAttributes
$sel:workflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCompletedEventAttributes
$sel:workflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCanceledEventAttributes
$sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionCancelRequestedEventAttributes
$sel:timerStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerStartedEventAttributes
$sel:timerFiredEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerFiredEventAttributes
$sel:timerCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerCanceledEventAttributes
$sel:startTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartTimerFailedEventAttributes
$sel:startLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartLambdaFunctionFailedEventAttributes
$sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
$sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionFailedEventAttributes
$sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
$sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
$sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleLambdaFunctionFailedEventAttributes
$sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleActivityTaskFailedEventAttributes
$sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
$sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionFailedEventAttributes
$sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe RequestCancelActivityTaskFailedEventAttributes
$sel:recordMarkerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe RecordMarkerFailedEventAttributes
$sel:markerRecordedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe MarkerRecordedEventAttributes
$sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionTimedOutEventAttributes
$sel:lambdaFunctionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionStartedEventAttributes
$sel:lambdaFunctionScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionScheduledEventAttributes
$sel:lambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionFailedEventAttributes
$sel:lambdaFunctionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionCompletedEventAttributes
$sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe FailWorkflowExecutionFailedEventAttributes
$sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionSignaledEventAttributes
$sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
$sel:decisionTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskTimedOutEventAttributes
$sel:decisionTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskStartedEventAttributes
$sel:decisionTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskScheduledEventAttributes
$sel:decisionTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskCompletedEventAttributes
$sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
$sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe CompleteWorkflowExecutionFailedEventAttributes
$sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionTimedOutEventAttributes
$sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionTerminatedEventAttributes
$sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionStartedEventAttributes
$sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionFailedEventAttributes
$sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionCompletedEventAttributes
$sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionCanceledEventAttributes
$sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelWorkflowExecutionFailedEventAttributes
$sel:cancelTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelTimerFailedEventAttributes
$sel:activityTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskTimedOutEventAttributes
$sel:activityTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskStartedEventAttributes
$sel:activityTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskScheduledEventAttributes
$sel:activityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskFailedEventAttributes
$sel:activityTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCompletedEventAttributes
$sel:activityTaskCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCanceledEventAttributes
$sel:activityTaskCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCancelRequestedEventAttributes
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TimerFiredEventAttributes
timerFiredEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe TimerStartedEventAttributes
timerStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` POSIX
eventTimestamp
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` EventType
eventType
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Integer
eventId

instance Prelude.NFData HistoryEvent where
  rnf :: HistoryEvent -> ()
rnf HistoryEvent' {Integer
Maybe ActivityTaskCancelRequestedEventAttributes
Maybe ActivityTaskCanceledEventAttributes
Maybe ActivityTaskCompletedEventAttributes
Maybe ActivityTaskFailedEventAttributes
Maybe ActivityTaskStartedEventAttributes
Maybe ActivityTaskTimedOutEventAttributes
Maybe CancelTimerFailedEventAttributes
Maybe CancelWorkflowExecutionFailedEventAttributes
Maybe CompleteWorkflowExecutionFailedEventAttributes
Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
Maybe DecisionTaskCompletedEventAttributes
Maybe DecisionTaskStartedEventAttributes
Maybe DecisionTaskTimedOutEventAttributes
Maybe FailWorkflowExecutionFailedEventAttributes
Maybe LambdaFunctionCompletedEventAttributes
Maybe LambdaFunctionFailedEventAttributes
Maybe LambdaFunctionScheduledEventAttributes
Maybe LambdaFunctionStartedEventAttributes
Maybe LambdaFunctionTimedOutEventAttributes
Maybe MarkerRecordedEventAttributes
Maybe RecordMarkerFailedEventAttributes
Maybe RequestCancelActivityTaskFailedEventAttributes
Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
Maybe ScheduleActivityTaskFailedEventAttributes
Maybe ScheduleLambdaFunctionFailedEventAttributes
Maybe SignalExternalWorkflowExecutionFailedEventAttributes
Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
Maybe StartLambdaFunctionFailedEventAttributes
Maybe StartTimerFailedEventAttributes
Maybe DecisionTaskScheduledEventAttributes
Maybe ActivityTaskScheduledEventAttributes
Maybe TimerCanceledEventAttributes
Maybe TimerFiredEventAttributes
Maybe TimerStartedEventAttributes
Maybe ExternalWorkflowExecutionSignaledEventAttributes
Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
Maybe WorkflowExecutionCancelRequestedEventAttributes
Maybe WorkflowExecutionCanceledEventAttributes
Maybe WorkflowExecutionCompletedEventAttributes
Maybe WorkflowExecutionFailedEventAttributes
Maybe WorkflowExecutionSignaledEventAttributes
Maybe WorkflowExecutionTerminatedEventAttributes
Maybe WorkflowExecutionTimedOutEventAttributes
Maybe WorkflowExecutionStartedEventAttributes
Maybe WorkflowExecutionContinuedAsNewEventAttributes
Maybe StartChildWorkflowExecutionInitiatedEventAttributes
Maybe StartChildWorkflowExecutionFailedEventAttributes
Maybe ChildWorkflowExecutionTimedOutEventAttributes
Maybe ChildWorkflowExecutionTerminatedEventAttributes
Maybe ChildWorkflowExecutionStartedEventAttributes
Maybe ChildWorkflowExecutionFailedEventAttributes
Maybe ChildWorkflowExecutionCompletedEventAttributes
Maybe ChildWorkflowExecutionCanceledEventAttributes
POSIX
EventType
eventId :: Integer
eventType :: EventType
eventTimestamp :: POSIX
workflowExecutionTimedOutEventAttributes :: Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTerminatedEventAttributes :: Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionStartedEventAttributes :: Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionSignaledEventAttributes :: Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionFailedEventAttributes :: Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionContinuedAsNewEventAttributes :: Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionCompletedEventAttributes :: Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCanceledEventAttributes :: Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCancelRequestedEventAttributes :: Maybe WorkflowExecutionCancelRequestedEventAttributes
timerStartedEventAttributes :: Maybe TimerStartedEventAttributes
timerFiredEventAttributes :: Maybe TimerFiredEventAttributes
timerCanceledEventAttributes :: Maybe TimerCanceledEventAttributes
startTimerFailedEventAttributes :: Maybe StartTimerFailedEventAttributes
startLambdaFunctionFailedEventAttributes :: Maybe StartLambdaFunctionFailedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes :: Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionFailedEventAttributes :: Maybe StartChildWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes :: Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes :: Maybe SignalExternalWorkflowExecutionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes :: Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleActivityTaskFailedEventAttributes :: Maybe ScheduleActivityTaskFailedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes :: Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes :: Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes :: Maybe RequestCancelActivityTaskFailedEventAttributes
recordMarkerFailedEventAttributes :: Maybe RecordMarkerFailedEventAttributes
markerRecordedEventAttributes :: Maybe MarkerRecordedEventAttributes
lambdaFunctionTimedOutEventAttributes :: Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionStartedEventAttributes :: Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionScheduledEventAttributes :: Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionFailedEventAttributes :: Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionCompletedEventAttributes :: Maybe LambdaFunctionCompletedEventAttributes
failWorkflowExecutionFailedEventAttributes :: Maybe FailWorkflowExecutionFailedEventAttributes
externalWorkflowExecutionSignaledEventAttributes :: Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes :: Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
decisionTaskTimedOutEventAttributes :: Maybe DecisionTaskTimedOutEventAttributes
decisionTaskStartedEventAttributes :: Maybe DecisionTaskStartedEventAttributes
decisionTaskScheduledEventAttributes :: Maybe DecisionTaskScheduledEventAttributes
decisionTaskCompletedEventAttributes :: Maybe DecisionTaskCompletedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes :: Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes :: Maybe CompleteWorkflowExecutionFailedEventAttributes
childWorkflowExecutionTimedOutEventAttributes :: Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTerminatedEventAttributes :: Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionStartedEventAttributes :: Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionFailedEventAttributes :: Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionCompletedEventAttributes :: Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCanceledEventAttributes :: Maybe ChildWorkflowExecutionCanceledEventAttributes
cancelWorkflowExecutionFailedEventAttributes :: Maybe CancelWorkflowExecutionFailedEventAttributes
cancelTimerFailedEventAttributes :: Maybe CancelTimerFailedEventAttributes
activityTaskTimedOutEventAttributes :: Maybe ActivityTaskTimedOutEventAttributes
activityTaskStartedEventAttributes :: Maybe ActivityTaskStartedEventAttributes
activityTaskScheduledEventAttributes :: Maybe ActivityTaskScheduledEventAttributes
activityTaskFailedEventAttributes :: Maybe ActivityTaskFailedEventAttributes
activityTaskCompletedEventAttributes :: Maybe ActivityTaskCompletedEventAttributes
activityTaskCanceledEventAttributes :: Maybe ActivityTaskCanceledEventAttributes
activityTaskCancelRequestedEventAttributes :: Maybe ActivityTaskCancelRequestedEventAttributes
$sel:eventId:HistoryEvent' :: HistoryEvent -> Integer
$sel:eventType:HistoryEvent' :: HistoryEvent -> EventType
$sel:eventTimestamp:HistoryEvent' :: HistoryEvent -> POSIX
$sel:workflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTimedOutEventAttributes
$sel:workflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionTerminatedEventAttributes
$sel:workflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionStartedEventAttributes
$sel:workflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionSignaledEventAttributes
$sel:workflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionFailedEventAttributes
$sel:workflowExecutionContinuedAsNewEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionContinuedAsNewEventAttributes
$sel:workflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCompletedEventAttributes
$sel:workflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe WorkflowExecutionCanceledEventAttributes
$sel:workflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe WorkflowExecutionCancelRequestedEventAttributes
$sel:timerStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerStartedEventAttributes
$sel:timerFiredEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerFiredEventAttributes
$sel:timerCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe TimerCanceledEventAttributes
$sel:startTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartTimerFailedEventAttributes
$sel:startLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe StartLambdaFunctionFailedEventAttributes
$sel:startChildWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionInitiatedEventAttributes
$sel:startChildWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe StartChildWorkflowExecutionFailedEventAttributes
$sel:signalExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
$sel:signalExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe SignalExternalWorkflowExecutionFailedEventAttributes
$sel:scheduleLambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleLambdaFunctionFailedEventAttributes
$sel:scheduleActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ScheduleActivityTaskFailedEventAttributes
$sel:requestCancelExternalWorkflowExecutionInitiatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
$sel:requestCancelExternalWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe
     RequestCancelExternalWorkflowExecutionFailedEventAttributes
$sel:requestCancelActivityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe RequestCancelActivityTaskFailedEventAttributes
$sel:recordMarkerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe RecordMarkerFailedEventAttributes
$sel:markerRecordedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe MarkerRecordedEventAttributes
$sel:lambdaFunctionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionTimedOutEventAttributes
$sel:lambdaFunctionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionStartedEventAttributes
$sel:lambdaFunctionScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionScheduledEventAttributes
$sel:lambdaFunctionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionFailedEventAttributes
$sel:lambdaFunctionCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe LambdaFunctionCompletedEventAttributes
$sel:failWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe FailWorkflowExecutionFailedEventAttributes
$sel:externalWorkflowExecutionSignaledEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionSignaledEventAttributes
$sel:externalWorkflowExecutionCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
$sel:decisionTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskTimedOutEventAttributes
$sel:decisionTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskStartedEventAttributes
$sel:decisionTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskScheduledEventAttributes
$sel:decisionTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe DecisionTaskCompletedEventAttributes
$sel:continueAsNewWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
$sel:completeWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe CompleteWorkflowExecutionFailedEventAttributes
$sel:childWorkflowExecutionTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionTimedOutEventAttributes
$sel:childWorkflowExecutionTerminatedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionTerminatedEventAttributes
$sel:childWorkflowExecutionStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionStartedEventAttributes
$sel:childWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionFailedEventAttributes
$sel:childWorkflowExecutionCompletedEventAttributes:HistoryEvent' :: HistoryEvent
-> Maybe ChildWorkflowExecutionCompletedEventAttributes
$sel:childWorkflowExecutionCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ChildWorkflowExecutionCanceledEventAttributes
$sel:cancelWorkflowExecutionFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelWorkflowExecutionFailedEventAttributes
$sel:cancelTimerFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe CancelTimerFailedEventAttributes
$sel:activityTaskTimedOutEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskTimedOutEventAttributes
$sel:activityTaskStartedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskStartedEventAttributes
$sel:activityTaskScheduledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskScheduledEventAttributes
$sel:activityTaskFailedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskFailedEventAttributes
$sel:activityTaskCompletedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCompletedEventAttributes
$sel:activityTaskCanceledEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCanceledEventAttributes
$sel:activityTaskCancelRequestedEventAttributes:HistoryEvent' :: HistoryEvent -> Maybe ActivityTaskCancelRequestedEventAttributes
..} =
    forall a. NFData a => a -> ()
Prelude.rnf
      Maybe ActivityTaskCancelRequestedEventAttributes
activityTaskCancelRequestedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskCanceledEventAttributes
activityTaskCanceledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskCompletedEventAttributes
activityTaskCompletedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskFailedEventAttributes
activityTaskFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskScheduledEventAttributes
activityTaskScheduledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskStartedEventAttributes
activityTaskStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ActivityTaskTimedOutEventAttributes
activityTaskTimedOutEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe CancelTimerFailedEventAttributes
cancelTimerFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe CancelWorkflowExecutionFailedEventAttributes
cancelWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionCanceledEventAttributes
childWorkflowExecutionCanceledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionCompletedEventAttributes
childWorkflowExecutionCompletedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionFailedEventAttributes
childWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionStartedEventAttributes
childWorkflowExecutionStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionTerminatedEventAttributes
childWorkflowExecutionTerminatedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ChildWorkflowExecutionTimedOutEventAttributes
childWorkflowExecutionTimedOutEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe CompleteWorkflowExecutionFailedEventAttributes
completeWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ContinueAsNewWorkflowExecutionFailedEventAttributes
continueAsNewWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe DecisionTaskCompletedEventAttributes
decisionTaskCompletedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe DecisionTaskScheduledEventAttributes
decisionTaskScheduledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe DecisionTaskStartedEventAttributes
decisionTaskStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe DecisionTaskTimedOutEventAttributes
decisionTaskTimedOutEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ExternalWorkflowExecutionCancelRequestedEventAttributes
externalWorkflowExecutionCancelRequestedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ExternalWorkflowExecutionSignaledEventAttributes
externalWorkflowExecutionSignaledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe FailWorkflowExecutionFailedEventAttributes
failWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe LambdaFunctionCompletedEventAttributes
lambdaFunctionCompletedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe LambdaFunctionFailedEventAttributes
lambdaFunctionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe LambdaFunctionScheduledEventAttributes
lambdaFunctionScheduledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe LambdaFunctionStartedEventAttributes
lambdaFunctionStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe LambdaFunctionTimedOutEventAttributes
lambdaFunctionTimedOutEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe MarkerRecordedEventAttributes
markerRecordedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe RecordMarkerFailedEventAttributes
recordMarkerFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe RequestCancelActivityTaskFailedEventAttributes
requestCancelActivityTaskFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe RequestCancelExternalWorkflowExecutionFailedEventAttributes
requestCancelExternalWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe
  RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
requestCancelExternalWorkflowExecutionInitiatedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ScheduleActivityTaskFailedEventAttributes
scheduleActivityTaskFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe ScheduleLambdaFunctionFailedEventAttributes
scheduleLambdaFunctionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe SignalExternalWorkflowExecutionFailedEventAttributes
signalExternalWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe SignalExternalWorkflowExecutionInitiatedEventAttributes
signalExternalWorkflowExecutionInitiatedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe StartChildWorkflowExecutionFailedEventAttributes
startChildWorkflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe StartChildWorkflowExecutionInitiatedEventAttributes
startChildWorkflowExecutionInitiatedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe StartLambdaFunctionFailedEventAttributes
startLambdaFunctionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe StartTimerFailedEventAttributes
startTimerFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe TimerCanceledEventAttributes
timerCanceledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe TimerFiredEventAttributes
timerFiredEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe TimerStartedEventAttributes
timerStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionCancelRequestedEventAttributes
workflowExecutionCancelRequestedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionCanceledEventAttributes
workflowExecutionCanceledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionCompletedEventAttributes
workflowExecutionCompletedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionContinuedAsNewEventAttributes
workflowExecutionContinuedAsNewEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionFailedEventAttributes
workflowExecutionFailedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionSignaledEventAttributes
workflowExecutionSignaledEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionStartedEventAttributes
workflowExecutionStartedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionTerminatedEventAttributes
workflowExecutionTerminatedEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Maybe WorkflowExecutionTimedOutEventAttributes
workflowExecutionTimedOutEventAttributes
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        POSIX
eventTimestamp
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        EventType
eventType
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf
        Integer
eventId