{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}

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

-- |
-- Module      : Amazonka.SWF.Types.EventType
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.SWF.Types.EventType
  ( EventType
      ( ..,
        EventType_ActivityTaskCancelRequested,
        EventType_ActivityTaskCanceled,
        EventType_ActivityTaskCompleted,
        EventType_ActivityTaskFailed,
        EventType_ActivityTaskScheduled,
        EventType_ActivityTaskStarted,
        EventType_ActivityTaskTimedOut,
        EventType_CancelTimerFailed,
        EventType_CancelWorkflowExecutionFailed,
        EventType_ChildWorkflowExecutionCanceled,
        EventType_ChildWorkflowExecutionCompleted,
        EventType_ChildWorkflowExecutionFailed,
        EventType_ChildWorkflowExecutionStarted,
        EventType_ChildWorkflowExecutionTerminated,
        EventType_ChildWorkflowExecutionTimedOut,
        EventType_CompleteWorkflowExecutionFailed,
        EventType_ContinueAsNewWorkflowExecutionFailed,
        EventType_DecisionTaskCompleted,
        EventType_DecisionTaskScheduled,
        EventType_DecisionTaskStarted,
        EventType_DecisionTaskTimedOut,
        EventType_ExternalWorkflowExecutionCancelRequested,
        EventType_ExternalWorkflowExecutionSignaled,
        EventType_FailWorkflowExecutionFailed,
        EventType_LambdaFunctionCompleted,
        EventType_LambdaFunctionFailed,
        EventType_LambdaFunctionScheduled,
        EventType_LambdaFunctionStarted,
        EventType_LambdaFunctionTimedOut,
        EventType_MarkerRecorded,
        EventType_RecordMarkerFailed,
        EventType_RequestCancelActivityTaskFailed,
        EventType_RequestCancelExternalWorkflowExecutionFailed,
        EventType_RequestCancelExternalWorkflowExecutionInitiated,
        EventType_ScheduleActivityTaskFailed,
        EventType_ScheduleLambdaFunctionFailed,
        EventType_SignalExternalWorkflowExecutionFailed,
        EventType_SignalExternalWorkflowExecutionInitiated,
        EventType_StartChildWorkflowExecutionFailed,
        EventType_StartChildWorkflowExecutionInitiated,
        EventType_StartLambdaFunctionFailed,
        EventType_StartTimerFailed,
        EventType_TimerCanceled,
        EventType_TimerFired,
        EventType_TimerStarted,
        EventType_WorkflowExecutionCancelRequested,
        EventType_WorkflowExecutionCanceled,
        EventType_WorkflowExecutionCompleted,
        EventType_WorkflowExecutionContinuedAsNew,
        EventType_WorkflowExecutionFailed,
        EventType_WorkflowExecutionSignaled,
        EventType_WorkflowExecutionStarted,
        EventType_WorkflowExecutionTerminated,
        EventType_WorkflowExecutionTimedOut
      ),
  )
where

import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude

newtype EventType = EventType'
  { EventType -> Text
fromEventType ::
      Core.Text
  }
  deriving stock
    ( Int -> EventType -> ShowS
[EventType] -> ShowS
EventType -> String
(Int -> EventType -> ShowS)
-> (EventType -> String)
-> ([EventType] -> ShowS)
-> Show EventType
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [EventType] -> ShowS
$cshowList :: [EventType] -> ShowS
show :: EventType -> String
$cshow :: EventType -> String
showsPrec :: Int -> EventType -> ShowS
$cshowsPrec :: Int -> EventType -> ShowS
Prelude.Show,
      ReadPrec [EventType]
ReadPrec EventType
Int -> ReadS EventType
ReadS [EventType]
(Int -> ReadS EventType)
-> ReadS [EventType]
-> ReadPrec EventType
-> ReadPrec [EventType]
-> Read EventType
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [EventType]
$creadListPrec :: ReadPrec [EventType]
readPrec :: ReadPrec EventType
$creadPrec :: ReadPrec EventType
readList :: ReadS [EventType]
$creadList :: ReadS [EventType]
readsPrec :: Int -> ReadS EventType
$creadsPrec :: Int -> ReadS EventType
Prelude.Read,
      EventType -> EventType -> Bool
(EventType -> EventType -> Bool)
-> (EventType -> EventType -> Bool) -> Eq EventType
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: EventType -> EventType -> Bool
$c/= :: EventType -> EventType -> Bool
== :: EventType -> EventType -> Bool
$c== :: EventType -> EventType -> Bool
Prelude.Eq,
      Eq EventType
Eq EventType
-> (EventType -> EventType -> Ordering)
-> (EventType -> EventType -> Bool)
-> (EventType -> EventType -> Bool)
-> (EventType -> EventType -> Bool)
-> (EventType -> EventType -> Bool)
-> (EventType -> EventType -> EventType)
-> (EventType -> EventType -> EventType)
-> Ord EventType
EventType -> EventType -> Bool
EventType -> EventType -> Ordering
EventType -> EventType -> EventType
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: EventType -> EventType -> EventType
$cmin :: EventType -> EventType -> EventType
max :: EventType -> EventType -> EventType
$cmax :: EventType -> EventType -> EventType
>= :: EventType -> EventType -> Bool
$c>= :: EventType -> EventType -> Bool
> :: EventType -> EventType -> Bool
$c> :: EventType -> EventType -> Bool
<= :: EventType -> EventType -> Bool
$c<= :: EventType -> EventType -> Bool
< :: EventType -> EventType -> Bool
$c< :: EventType -> EventType -> Bool
compare :: EventType -> EventType -> Ordering
$ccompare :: EventType -> EventType -> Ordering
$cp1Ord :: Eq EventType
Prelude.Ord,
      (forall x. EventType -> Rep EventType x)
-> (forall x. Rep EventType x -> EventType) -> Generic EventType
forall x. Rep EventType x -> EventType
forall x. EventType -> Rep EventType x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep EventType x -> EventType
$cfrom :: forall x. EventType -> Rep EventType x
Prelude.Generic
    )
  deriving newtype
    ( Int -> EventType -> Int
EventType -> Int
(Int -> EventType -> Int)
-> (EventType -> Int) -> Hashable EventType
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: EventType -> Int
$chash :: EventType -> Int
hashWithSalt :: Int -> EventType -> Int
$chashWithSalt :: Int -> EventType -> Int
Prelude.Hashable,
      EventType -> ()
(EventType -> ()) -> NFData EventType
forall a. (a -> ()) -> NFData a
rnf :: EventType -> ()
$crnf :: EventType -> ()
Prelude.NFData,
      Text -> Either String EventType
(Text -> Either String EventType) -> FromText EventType
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String EventType
$cfromText :: Text -> Either String EventType
Core.FromText,
      EventType -> Text
(EventType -> Text) -> ToText EventType
forall a. (a -> Text) -> ToText a
toText :: EventType -> Text
$ctoText :: EventType -> Text
Core.ToText,
      EventType -> ByteString
(EventType -> ByteString) -> ToByteString EventType
forall a. (a -> ByteString) -> ToByteString a
toBS :: EventType -> ByteString
$ctoBS :: EventType -> ByteString
Core.ToByteString,
      EventType -> ByteStringBuilder
(EventType -> ByteStringBuilder) -> ToLog EventType
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: EventType -> ByteStringBuilder
$cbuild :: EventType -> ByteStringBuilder
Core.ToLog,
      HeaderName -> EventType -> [Header]
(HeaderName -> EventType -> [Header]) -> ToHeader EventType
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> EventType -> [Header]
$ctoHeader :: HeaderName -> EventType -> [Header]
Core.ToHeader,
      EventType -> QueryString
(EventType -> QueryString) -> ToQuery EventType
forall a. (a -> QueryString) -> ToQuery a
toQuery :: EventType -> QueryString
$ctoQuery :: EventType -> QueryString
Core.ToQuery,
      Value -> Parser [EventType]
Value -> Parser EventType
(Value -> Parser EventType)
-> (Value -> Parser [EventType]) -> FromJSON EventType
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [EventType]
$cparseJSONList :: Value -> Parser [EventType]
parseJSON :: Value -> Parser EventType
$cparseJSON :: Value -> Parser EventType
Core.FromJSON,
      FromJSONKeyFunction [EventType]
FromJSONKeyFunction EventType
FromJSONKeyFunction EventType
-> FromJSONKeyFunction [EventType] -> FromJSONKey EventType
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [EventType]
$cfromJSONKeyList :: FromJSONKeyFunction [EventType]
fromJSONKey :: FromJSONKeyFunction EventType
$cfromJSONKey :: FromJSONKeyFunction EventType
Core.FromJSONKey,
      [EventType] -> Encoding
[EventType] -> Value
EventType -> Encoding
EventType -> Value
(EventType -> Value)
-> (EventType -> Encoding)
-> ([EventType] -> Value)
-> ([EventType] -> Encoding)
-> ToJSON EventType
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [EventType] -> Encoding
$ctoEncodingList :: [EventType] -> Encoding
toJSONList :: [EventType] -> Value
$ctoJSONList :: [EventType] -> Value
toEncoding :: EventType -> Encoding
$ctoEncoding :: EventType -> Encoding
toJSON :: EventType -> Value
$ctoJSON :: EventType -> Value
Core.ToJSON,
      ToJSONKeyFunction [EventType]
ToJSONKeyFunction EventType
ToJSONKeyFunction EventType
-> ToJSONKeyFunction [EventType] -> ToJSONKey EventType
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [EventType]
$ctoJSONKeyList :: ToJSONKeyFunction [EventType]
toJSONKey :: ToJSONKeyFunction EventType
$ctoJSONKey :: ToJSONKeyFunction EventType
Core.ToJSONKey,
      [Node] -> Either String EventType
([Node] -> Either String EventType) -> FromXML EventType
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String EventType
$cparseXML :: [Node] -> Either String EventType
Core.FromXML,
      EventType -> XML
(EventType -> XML) -> ToXML EventType
forall a. (a -> XML) -> ToXML a
toXML :: EventType -> XML
$ctoXML :: EventType -> XML
Core.ToXML
    )

pattern EventType_ActivityTaskCancelRequested :: EventType
pattern $bEventType_ActivityTaskCancelRequested :: EventType
$mEventType_ActivityTaskCancelRequested :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskCancelRequested = EventType' "ActivityTaskCancelRequested"

pattern EventType_ActivityTaskCanceled :: EventType
pattern $bEventType_ActivityTaskCanceled :: EventType
$mEventType_ActivityTaskCanceled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskCanceled = EventType' "ActivityTaskCanceled"

pattern EventType_ActivityTaskCompleted :: EventType
pattern $bEventType_ActivityTaskCompleted :: EventType
$mEventType_ActivityTaskCompleted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskCompleted = EventType' "ActivityTaskCompleted"

pattern EventType_ActivityTaskFailed :: EventType
pattern $bEventType_ActivityTaskFailed :: EventType
$mEventType_ActivityTaskFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskFailed = EventType' "ActivityTaskFailed"

pattern EventType_ActivityTaskScheduled :: EventType
pattern $bEventType_ActivityTaskScheduled :: EventType
$mEventType_ActivityTaskScheduled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskScheduled = EventType' "ActivityTaskScheduled"

pattern EventType_ActivityTaskStarted :: EventType
pattern $bEventType_ActivityTaskStarted :: EventType
$mEventType_ActivityTaskStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskStarted = EventType' "ActivityTaskStarted"

pattern EventType_ActivityTaskTimedOut :: EventType
pattern $bEventType_ActivityTaskTimedOut :: EventType
$mEventType_ActivityTaskTimedOut :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ActivityTaskTimedOut = EventType' "ActivityTaskTimedOut"

pattern EventType_CancelTimerFailed :: EventType
pattern $bEventType_CancelTimerFailed :: EventType
$mEventType_CancelTimerFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_CancelTimerFailed = EventType' "CancelTimerFailed"

pattern EventType_CancelWorkflowExecutionFailed :: EventType
pattern $bEventType_CancelWorkflowExecutionFailed :: EventType
$mEventType_CancelWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_CancelWorkflowExecutionFailed = EventType' "CancelWorkflowExecutionFailed"

pattern EventType_ChildWorkflowExecutionCanceled :: EventType
pattern $bEventType_ChildWorkflowExecutionCanceled :: EventType
$mEventType_ChildWorkflowExecutionCanceled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionCanceled = EventType' "ChildWorkflowExecutionCanceled"

pattern EventType_ChildWorkflowExecutionCompleted :: EventType
pattern $bEventType_ChildWorkflowExecutionCompleted :: EventType
$mEventType_ChildWorkflowExecutionCompleted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionCompleted = EventType' "ChildWorkflowExecutionCompleted"

pattern EventType_ChildWorkflowExecutionFailed :: EventType
pattern $bEventType_ChildWorkflowExecutionFailed :: EventType
$mEventType_ChildWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionFailed = EventType' "ChildWorkflowExecutionFailed"

pattern EventType_ChildWorkflowExecutionStarted :: EventType
pattern $bEventType_ChildWorkflowExecutionStarted :: EventType
$mEventType_ChildWorkflowExecutionStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionStarted = EventType' "ChildWorkflowExecutionStarted"

pattern EventType_ChildWorkflowExecutionTerminated :: EventType
pattern $bEventType_ChildWorkflowExecutionTerminated :: EventType
$mEventType_ChildWorkflowExecutionTerminated :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionTerminated = EventType' "ChildWorkflowExecutionTerminated"

pattern EventType_ChildWorkflowExecutionTimedOut :: EventType
pattern $bEventType_ChildWorkflowExecutionTimedOut :: EventType
$mEventType_ChildWorkflowExecutionTimedOut :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ChildWorkflowExecutionTimedOut = EventType' "ChildWorkflowExecutionTimedOut"

pattern EventType_CompleteWorkflowExecutionFailed :: EventType
pattern $bEventType_CompleteWorkflowExecutionFailed :: EventType
$mEventType_CompleteWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_CompleteWorkflowExecutionFailed = EventType' "CompleteWorkflowExecutionFailed"

pattern EventType_ContinueAsNewWorkflowExecutionFailed :: EventType
pattern $bEventType_ContinueAsNewWorkflowExecutionFailed :: EventType
$mEventType_ContinueAsNewWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ContinueAsNewWorkflowExecutionFailed = EventType' "ContinueAsNewWorkflowExecutionFailed"

pattern EventType_DecisionTaskCompleted :: EventType
pattern $bEventType_DecisionTaskCompleted :: EventType
$mEventType_DecisionTaskCompleted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_DecisionTaskCompleted = EventType' "DecisionTaskCompleted"

pattern EventType_DecisionTaskScheduled :: EventType
pattern $bEventType_DecisionTaskScheduled :: EventType
$mEventType_DecisionTaskScheduled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_DecisionTaskScheduled = EventType' "DecisionTaskScheduled"

pattern EventType_DecisionTaskStarted :: EventType
pattern $bEventType_DecisionTaskStarted :: EventType
$mEventType_DecisionTaskStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_DecisionTaskStarted = EventType' "DecisionTaskStarted"

pattern EventType_DecisionTaskTimedOut :: EventType
pattern $bEventType_DecisionTaskTimedOut :: EventType
$mEventType_DecisionTaskTimedOut :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_DecisionTaskTimedOut = EventType' "DecisionTaskTimedOut"

pattern EventType_ExternalWorkflowExecutionCancelRequested :: EventType
pattern $bEventType_ExternalWorkflowExecutionCancelRequested :: EventType
$mEventType_ExternalWorkflowExecutionCancelRequested :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ExternalWorkflowExecutionCancelRequested = EventType' "ExternalWorkflowExecutionCancelRequested"

pattern EventType_ExternalWorkflowExecutionSignaled :: EventType
pattern $bEventType_ExternalWorkflowExecutionSignaled :: EventType
$mEventType_ExternalWorkflowExecutionSignaled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ExternalWorkflowExecutionSignaled = EventType' "ExternalWorkflowExecutionSignaled"

pattern EventType_FailWorkflowExecutionFailed :: EventType
pattern $bEventType_FailWorkflowExecutionFailed :: EventType
$mEventType_FailWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_FailWorkflowExecutionFailed = EventType' "FailWorkflowExecutionFailed"

pattern EventType_LambdaFunctionCompleted :: EventType
pattern $bEventType_LambdaFunctionCompleted :: EventType
$mEventType_LambdaFunctionCompleted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_LambdaFunctionCompleted = EventType' "LambdaFunctionCompleted"

pattern EventType_LambdaFunctionFailed :: EventType
pattern $bEventType_LambdaFunctionFailed :: EventType
$mEventType_LambdaFunctionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_LambdaFunctionFailed = EventType' "LambdaFunctionFailed"

pattern EventType_LambdaFunctionScheduled :: EventType
pattern $bEventType_LambdaFunctionScheduled :: EventType
$mEventType_LambdaFunctionScheduled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_LambdaFunctionScheduled = EventType' "LambdaFunctionScheduled"

pattern EventType_LambdaFunctionStarted :: EventType
pattern $bEventType_LambdaFunctionStarted :: EventType
$mEventType_LambdaFunctionStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_LambdaFunctionStarted = EventType' "LambdaFunctionStarted"

pattern EventType_LambdaFunctionTimedOut :: EventType
pattern $bEventType_LambdaFunctionTimedOut :: EventType
$mEventType_LambdaFunctionTimedOut :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_LambdaFunctionTimedOut = EventType' "LambdaFunctionTimedOut"

pattern EventType_MarkerRecorded :: EventType
pattern $bEventType_MarkerRecorded :: EventType
$mEventType_MarkerRecorded :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_MarkerRecorded = EventType' "MarkerRecorded"

pattern EventType_RecordMarkerFailed :: EventType
pattern $bEventType_RecordMarkerFailed :: EventType
$mEventType_RecordMarkerFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_RecordMarkerFailed = EventType' "RecordMarkerFailed"

pattern EventType_RequestCancelActivityTaskFailed :: EventType
pattern $bEventType_RequestCancelActivityTaskFailed :: EventType
$mEventType_RequestCancelActivityTaskFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_RequestCancelActivityTaskFailed = EventType' "RequestCancelActivityTaskFailed"

pattern EventType_RequestCancelExternalWorkflowExecutionFailed :: EventType
pattern $bEventType_RequestCancelExternalWorkflowExecutionFailed :: EventType
$mEventType_RequestCancelExternalWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_RequestCancelExternalWorkflowExecutionFailed = EventType' "RequestCancelExternalWorkflowExecutionFailed"

pattern EventType_RequestCancelExternalWorkflowExecutionInitiated :: EventType
pattern $bEventType_RequestCancelExternalWorkflowExecutionInitiated :: EventType
$mEventType_RequestCancelExternalWorkflowExecutionInitiated :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_RequestCancelExternalWorkflowExecutionInitiated = EventType' "RequestCancelExternalWorkflowExecutionInitiated"

pattern EventType_ScheduleActivityTaskFailed :: EventType
pattern $bEventType_ScheduleActivityTaskFailed :: EventType
$mEventType_ScheduleActivityTaskFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ScheduleActivityTaskFailed = EventType' "ScheduleActivityTaskFailed"

pattern EventType_ScheduleLambdaFunctionFailed :: EventType
pattern $bEventType_ScheduleLambdaFunctionFailed :: EventType
$mEventType_ScheduleLambdaFunctionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_ScheduleLambdaFunctionFailed = EventType' "ScheduleLambdaFunctionFailed"

pattern EventType_SignalExternalWorkflowExecutionFailed :: EventType
pattern $bEventType_SignalExternalWorkflowExecutionFailed :: EventType
$mEventType_SignalExternalWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_SignalExternalWorkflowExecutionFailed = EventType' "SignalExternalWorkflowExecutionFailed"

pattern EventType_SignalExternalWorkflowExecutionInitiated :: EventType
pattern $bEventType_SignalExternalWorkflowExecutionInitiated :: EventType
$mEventType_SignalExternalWorkflowExecutionInitiated :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_SignalExternalWorkflowExecutionInitiated = EventType' "SignalExternalWorkflowExecutionInitiated"

pattern EventType_StartChildWorkflowExecutionFailed :: EventType
pattern $bEventType_StartChildWorkflowExecutionFailed :: EventType
$mEventType_StartChildWorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_StartChildWorkflowExecutionFailed = EventType' "StartChildWorkflowExecutionFailed"

pattern EventType_StartChildWorkflowExecutionInitiated :: EventType
pattern $bEventType_StartChildWorkflowExecutionInitiated :: EventType
$mEventType_StartChildWorkflowExecutionInitiated :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_StartChildWorkflowExecutionInitiated = EventType' "StartChildWorkflowExecutionInitiated"

pattern EventType_StartLambdaFunctionFailed :: EventType
pattern $bEventType_StartLambdaFunctionFailed :: EventType
$mEventType_StartLambdaFunctionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_StartLambdaFunctionFailed = EventType' "StartLambdaFunctionFailed"

pattern EventType_StartTimerFailed :: EventType
pattern $bEventType_StartTimerFailed :: EventType
$mEventType_StartTimerFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_StartTimerFailed = EventType' "StartTimerFailed"

pattern EventType_TimerCanceled :: EventType
pattern $bEventType_TimerCanceled :: EventType
$mEventType_TimerCanceled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_TimerCanceled = EventType' "TimerCanceled"

pattern EventType_TimerFired :: EventType
pattern $bEventType_TimerFired :: EventType
$mEventType_TimerFired :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_TimerFired = EventType' "TimerFired"

pattern EventType_TimerStarted :: EventType
pattern $bEventType_TimerStarted :: EventType
$mEventType_TimerStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_TimerStarted = EventType' "TimerStarted"

pattern EventType_WorkflowExecutionCancelRequested :: EventType
pattern $bEventType_WorkflowExecutionCancelRequested :: EventType
$mEventType_WorkflowExecutionCancelRequested :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionCancelRequested = EventType' "WorkflowExecutionCancelRequested"

pattern EventType_WorkflowExecutionCanceled :: EventType
pattern $bEventType_WorkflowExecutionCanceled :: EventType
$mEventType_WorkflowExecutionCanceled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionCanceled = EventType' "WorkflowExecutionCanceled"

pattern EventType_WorkflowExecutionCompleted :: EventType
pattern $bEventType_WorkflowExecutionCompleted :: EventType
$mEventType_WorkflowExecutionCompleted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionCompleted = EventType' "WorkflowExecutionCompleted"

pattern EventType_WorkflowExecutionContinuedAsNew :: EventType
pattern $bEventType_WorkflowExecutionContinuedAsNew :: EventType
$mEventType_WorkflowExecutionContinuedAsNew :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionContinuedAsNew = EventType' "WorkflowExecutionContinuedAsNew"

pattern EventType_WorkflowExecutionFailed :: EventType
pattern $bEventType_WorkflowExecutionFailed :: EventType
$mEventType_WorkflowExecutionFailed :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionFailed = EventType' "WorkflowExecutionFailed"

pattern EventType_WorkflowExecutionSignaled :: EventType
pattern $bEventType_WorkflowExecutionSignaled :: EventType
$mEventType_WorkflowExecutionSignaled :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionSignaled = EventType' "WorkflowExecutionSignaled"

pattern EventType_WorkflowExecutionStarted :: EventType
pattern $bEventType_WorkflowExecutionStarted :: EventType
$mEventType_WorkflowExecutionStarted :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionStarted = EventType' "WorkflowExecutionStarted"

pattern EventType_WorkflowExecutionTerminated :: EventType
pattern $bEventType_WorkflowExecutionTerminated :: EventType
$mEventType_WorkflowExecutionTerminated :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionTerminated = EventType' "WorkflowExecutionTerminated"

pattern EventType_WorkflowExecutionTimedOut :: EventType
pattern $bEventType_WorkflowExecutionTimedOut :: EventType
$mEventType_WorkflowExecutionTimedOut :: forall r. EventType -> (Void# -> r) -> (Void# -> r) -> r
EventType_WorkflowExecutionTimedOut = EventType' "WorkflowExecutionTimedOut"

{-# COMPLETE
  EventType_ActivityTaskCancelRequested,
  EventType_ActivityTaskCanceled,
  EventType_ActivityTaskCompleted,
  EventType_ActivityTaskFailed,
  EventType_ActivityTaskScheduled,
  EventType_ActivityTaskStarted,
  EventType_ActivityTaskTimedOut,
  EventType_CancelTimerFailed,
  EventType_CancelWorkflowExecutionFailed,
  EventType_ChildWorkflowExecutionCanceled,
  EventType_ChildWorkflowExecutionCompleted,
  EventType_ChildWorkflowExecutionFailed,
  EventType_ChildWorkflowExecutionStarted,
  EventType_ChildWorkflowExecutionTerminated,
  EventType_ChildWorkflowExecutionTimedOut,
  EventType_CompleteWorkflowExecutionFailed,
  EventType_ContinueAsNewWorkflowExecutionFailed,
  EventType_DecisionTaskCompleted,
  EventType_DecisionTaskScheduled,
  EventType_DecisionTaskStarted,
  EventType_DecisionTaskTimedOut,
  EventType_ExternalWorkflowExecutionCancelRequested,
  EventType_ExternalWorkflowExecutionSignaled,
  EventType_FailWorkflowExecutionFailed,
  EventType_LambdaFunctionCompleted,
  EventType_LambdaFunctionFailed,
  EventType_LambdaFunctionScheduled,
  EventType_LambdaFunctionStarted,
  EventType_LambdaFunctionTimedOut,
  EventType_MarkerRecorded,
  EventType_RecordMarkerFailed,
  EventType_RequestCancelActivityTaskFailed,
  EventType_RequestCancelExternalWorkflowExecutionFailed,
  EventType_RequestCancelExternalWorkflowExecutionInitiated,
  EventType_ScheduleActivityTaskFailed,
  EventType_ScheduleLambdaFunctionFailed,
  EventType_SignalExternalWorkflowExecutionFailed,
  EventType_SignalExternalWorkflowExecutionInitiated,
  EventType_StartChildWorkflowExecutionFailed,
  EventType_StartChildWorkflowExecutionInitiated,
  EventType_StartLambdaFunctionFailed,
  EventType_StartTimerFailed,
  EventType_TimerCanceled,
  EventType_TimerFired,
  EventType_TimerStarted,
  EventType_WorkflowExecutionCancelRequested,
  EventType_WorkflowExecutionCanceled,
  EventType_WorkflowExecutionCompleted,
  EventType_WorkflowExecutionContinuedAsNew,
  EventType_WorkflowExecutionFailed,
  EventType_WorkflowExecutionSignaled,
  EventType_WorkflowExecutionStarted,
  EventType_WorkflowExecutionTerminated,
  EventType_WorkflowExecutionTimedOut,
  EventType'
  #-}