{-# 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.StepFunctions.Types.HistoryEventType
-- 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.StepFunctions.Types.HistoryEventType
  ( HistoryEventType
      ( ..,
        HistoryEventType_ActivityFailed,
        HistoryEventType_ActivityScheduleFailed,
        HistoryEventType_ActivityScheduled,
        HistoryEventType_ActivityStarted,
        HistoryEventType_ActivitySucceeded,
        HistoryEventType_ActivityTimedOut,
        HistoryEventType_ChoiceStateEntered,
        HistoryEventType_ChoiceStateExited,
        HistoryEventType_ExecutionAborted,
        HistoryEventType_ExecutionFailed,
        HistoryEventType_ExecutionStarted,
        HistoryEventType_ExecutionSucceeded,
        HistoryEventType_ExecutionTimedOut,
        HistoryEventType_FailStateEntered,
        HistoryEventType_LambdaFunctionFailed,
        HistoryEventType_LambdaFunctionScheduleFailed,
        HistoryEventType_LambdaFunctionScheduled,
        HistoryEventType_LambdaFunctionStartFailed,
        HistoryEventType_LambdaFunctionStarted,
        HistoryEventType_LambdaFunctionSucceeded,
        HistoryEventType_LambdaFunctionTimedOut,
        HistoryEventType_MapIterationAborted,
        HistoryEventType_MapIterationFailed,
        HistoryEventType_MapIterationStarted,
        HistoryEventType_MapIterationSucceeded,
        HistoryEventType_MapStateAborted,
        HistoryEventType_MapStateEntered,
        HistoryEventType_MapStateExited,
        HistoryEventType_MapStateFailed,
        HistoryEventType_MapStateStarted,
        HistoryEventType_MapStateSucceeded,
        HistoryEventType_ParallelStateAborted,
        HistoryEventType_ParallelStateEntered,
        HistoryEventType_ParallelStateExited,
        HistoryEventType_ParallelStateFailed,
        HistoryEventType_ParallelStateStarted,
        HistoryEventType_ParallelStateSucceeded,
        HistoryEventType_PassStateEntered,
        HistoryEventType_PassStateExited,
        HistoryEventType_SucceedStateEntered,
        HistoryEventType_SucceedStateExited,
        HistoryEventType_TaskFailed,
        HistoryEventType_TaskScheduled,
        HistoryEventType_TaskStartFailed,
        HistoryEventType_TaskStarted,
        HistoryEventType_TaskStateAborted,
        HistoryEventType_TaskStateEntered,
        HistoryEventType_TaskStateExited,
        HistoryEventType_TaskSubmitFailed,
        HistoryEventType_TaskSubmitted,
        HistoryEventType_TaskSucceeded,
        HistoryEventType_TaskTimedOut,
        HistoryEventType_WaitStateAborted,
        HistoryEventType_WaitStateEntered,
        HistoryEventType_WaitStateExited
      ),
  )
where

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

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

pattern HistoryEventType_ActivityFailed :: HistoryEventType
pattern $bHistoryEventType_ActivityFailed :: HistoryEventType
$mHistoryEventType_ActivityFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivityFailed = HistoryEventType' "ActivityFailed"

pattern HistoryEventType_ActivityScheduleFailed :: HistoryEventType
pattern $bHistoryEventType_ActivityScheduleFailed :: HistoryEventType
$mHistoryEventType_ActivityScheduleFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivityScheduleFailed = HistoryEventType' "ActivityScheduleFailed"

pattern HistoryEventType_ActivityScheduled :: HistoryEventType
pattern $bHistoryEventType_ActivityScheduled :: HistoryEventType
$mHistoryEventType_ActivityScheduled :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivityScheduled = HistoryEventType' "ActivityScheduled"

pattern HistoryEventType_ActivityStarted :: HistoryEventType
pattern $bHistoryEventType_ActivityStarted :: HistoryEventType
$mHistoryEventType_ActivityStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivityStarted = HistoryEventType' "ActivityStarted"

pattern HistoryEventType_ActivitySucceeded :: HistoryEventType
pattern $bHistoryEventType_ActivitySucceeded :: HistoryEventType
$mHistoryEventType_ActivitySucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivitySucceeded = HistoryEventType' "ActivitySucceeded"

pattern HistoryEventType_ActivityTimedOut :: HistoryEventType
pattern $bHistoryEventType_ActivityTimedOut :: HistoryEventType
$mHistoryEventType_ActivityTimedOut :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ActivityTimedOut = HistoryEventType' "ActivityTimedOut"

pattern HistoryEventType_ChoiceStateEntered :: HistoryEventType
pattern $bHistoryEventType_ChoiceStateEntered :: HistoryEventType
$mHistoryEventType_ChoiceStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ChoiceStateEntered = HistoryEventType' "ChoiceStateEntered"

pattern HistoryEventType_ChoiceStateExited :: HistoryEventType
pattern $bHistoryEventType_ChoiceStateExited :: HistoryEventType
$mHistoryEventType_ChoiceStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ChoiceStateExited = HistoryEventType' "ChoiceStateExited"

pattern HistoryEventType_ExecutionAborted :: HistoryEventType
pattern $bHistoryEventType_ExecutionAborted :: HistoryEventType
$mHistoryEventType_ExecutionAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ExecutionAborted = HistoryEventType' "ExecutionAborted"

pattern HistoryEventType_ExecutionFailed :: HistoryEventType
pattern $bHistoryEventType_ExecutionFailed :: HistoryEventType
$mHistoryEventType_ExecutionFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ExecutionFailed = HistoryEventType' "ExecutionFailed"

pattern HistoryEventType_ExecutionStarted :: HistoryEventType
pattern $bHistoryEventType_ExecutionStarted :: HistoryEventType
$mHistoryEventType_ExecutionStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ExecutionStarted = HistoryEventType' "ExecutionStarted"

pattern HistoryEventType_ExecutionSucceeded :: HistoryEventType
pattern $bHistoryEventType_ExecutionSucceeded :: HistoryEventType
$mHistoryEventType_ExecutionSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ExecutionSucceeded = HistoryEventType' "ExecutionSucceeded"

pattern HistoryEventType_ExecutionTimedOut :: HistoryEventType
pattern $bHistoryEventType_ExecutionTimedOut :: HistoryEventType
$mHistoryEventType_ExecutionTimedOut :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ExecutionTimedOut = HistoryEventType' "ExecutionTimedOut"

pattern HistoryEventType_FailStateEntered :: HistoryEventType
pattern $bHistoryEventType_FailStateEntered :: HistoryEventType
$mHistoryEventType_FailStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_FailStateEntered = HistoryEventType' "FailStateEntered"

pattern HistoryEventType_LambdaFunctionFailed :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionFailed :: HistoryEventType
$mHistoryEventType_LambdaFunctionFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionFailed = HistoryEventType' "LambdaFunctionFailed"

pattern HistoryEventType_LambdaFunctionScheduleFailed :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionScheduleFailed :: HistoryEventType
$mHistoryEventType_LambdaFunctionScheduleFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionScheduleFailed = HistoryEventType' "LambdaFunctionScheduleFailed"

pattern HistoryEventType_LambdaFunctionScheduled :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionScheduled :: HistoryEventType
$mHistoryEventType_LambdaFunctionScheduled :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionScheduled = HistoryEventType' "LambdaFunctionScheduled"

pattern HistoryEventType_LambdaFunctionStartFailed :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionStartFailed :: HistoryEventType
$mHistoryEventType_LambdaFunctionStartFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionStartFailed = HistoryEventType' "LambdaFunctionStartFailed"

pattern HistoryEventType_LambdaFunctionStarted :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionStarted :: HistoryEventType
$mHistoryEventType_LambdaFunctionStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionStarted = HistoryEventType' "LambdaFunctionStarted"

pattern HistoryEventType_LambdaFunctionSucceeded :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionSucceeded :: HistoryEventType
$mHistoryEventType_LambdaFunctionSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionSucceeded = HistoryEventType' "LambdaFunctionSucceeded"

pattern HistoryEventType_LambdaFunctionTimedOut :: HistoryEventType
pattern $bHistoryEventType_LambdaFunctionTimedOut :: HistoryEventType
$mHistoryEventType_LambdaFunctionTimedOut :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_LambdaFunctionTimedOut = HistoryEventType' "LambdaFunctionTimedOut"

pattern HistoryEventType_MapIterationAborted :: HistoryEventType
pattern $bHistoryEventType_MapIterationAborted :: HistoryEventType
$mHistoryEventType_MapIterationAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapIterationAborted = HistoryEventType' "MapIterationAborted"

pattern HistoryEventType_MapIterationFailed :: HistoryEventType
pattern $bHistoryEventType_MapIterationFailed :: HistoryEventType
$mHistoryEventType_MapIterationFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapIterationFailed = HistoryEventType' "MapIterationFailed"

pattern HistoryEventType_MapIterationStarted :: HistoryEventType
pattern $bHistoryEventType_MapIterationStarted :: HistoryEventType
$mHistoryEventType_MapIterationStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapIterationStarted = HistoryEventType' "MapIterationStarted"

pattern HistoryEventType_MapIterationSucceeded :: HistoryEventType
pattern $bHistoryEventType_MapIterationSucceeded :: HistoryEventType
$mHistoryEventType_MapIterationSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapIterationSucceeded = HistoryEventType' "MapIterationSucceeded"

pattern HistoryEventType_MapStateAborted :: HistoryEventType
pattern $bHistoryEventType_MapStateAborted :: HistoryEventType
$mHistoryEventType_MapStateAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateAborted = HistoryEventType' "MapStateAborted"

pattern HistoryEventType_MapStateEntered :: HistoryEventType
pattern $bHistoryEventType_MapStateEntered :: HistoryEventType
$mHistoryEventType_MapStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateEntered = HistoryEventType' "MapStateEntered"

pattern HistoryEventType_MapStateExited :: HistoryEventType
pattern $bHistoryEventType_MapStateExited :: HistoryEventType
$mHistoryEventType_MapStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateExited = HistoryEventType' "MapStateExited"

pattern HistoryEventType_MapStateFailed :: HistoryEventType
pattern $bHistoryEventType_MapStateFailed :: HistoryEventType
$mHistoryEventType_MapStateFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateFailed = HistoryEventType' "MapStateFailed"

pattern HistoryEventType_MapStateStarted :: HistoryEventType
pattern $bHistoryEventType_MapStateStarted :: HistoryEventType
$mHistoryEventType_MapStateStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateStarted = HistoryEventType' "MapStateStarted"

pattern HistoryEventType_MapStateSucceeded :: HistoryEventType
pattern $bHistoryEventType_MapStateSucceeded :: HistoryEventType
$mHistoryEventType_MapStateSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_MapStateSucceeded = HistoryEventType' "MapStateSucceeded"

pattern HistoryEventType_ParallelStateAborted :: HistoryEventType
pattern $bHistoryEventType_ParallelStateAborted :: HistoryEventType
$mHistoryEventType_ParallelStateAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateAborted = HistoryEventType' "ParallelStateAborted"

pattern HistoryEventType_ParallelStateEntered :: HistoryEventType
pattern $bHistoryEventType_ParallelStateEntered :: HistoryEventType
$mHistoryEventType_ParallelStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateEntered = HistoryEventType' "ParallelStateEntered"

pattern HistoryEventType_ParallelStateExited :: HistoryEventType
pattern $bHistoryEventType_ParallelStateExited :: HistoryEventType
$mHistoryEventType_ParallelStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateExited = HistoryEventType' "ParallelStateExited"

pattern HistoryEventType_ParallelStateFailed :: HistoryEventType
pattern $bHistoryEventType_ParallelStateFailed :: HistoryEventType
$mHistoryEventType_ParallelStateFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateFailed = HistoryEventType' "ParallelStateFailed"

pattern HistoryEventType_ParallelStateStarted :: HistoryEventType
pattern $bHistoryEventType_ParallelStateStarted :: HistoryEventType
$mHistoryEventType_ParallelStateStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateStarted = HistoryEventType' "ParallelStateStarted"

pattern HistoryEventType_ParallelStateSucceeded :: HistoryEventType
pattern $bHistoryEventType_ParallelStateSucceeded :: HistoryEventType
$mHistoryEventType_ParallelStateSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_ParallelStateSucceeded = HistoryEventType' "ParallelStateSucceeded"

pattern HistoryEventType_PassStateEntered :: HistoryEventType
pattern $bHistoryEventType_PassStateEntered :: HistoryEventType
$mHistoryEventType_PassStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_PassStateEntered = HistoryEventType' "PassStateEntered"

pattern HistoryEventType_PassStateExited :: HistoryEventType
pattern $bHistoryEventType_PassStateExited :: HistoryEventType
$mHistoryEventType_PassStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_PassStateExited = HistoryEventType' "PassStateExited"

pattern HistoryEventType_SucceedStateEntered :: HistoryEventType
pattern $bHistoryEventType_SucceedStateEntered :: HistoryEventType
$mHistoryEventType_SucceedStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_SucceedStateEntered = HistoryEventType' "SucceedStateEntered"

pattern HistoryEventType_SucceedStateExited :: HistoryEventType
pattern $bHistoryEventType_SucceedStateExited :: HistoryEventType
$mHistoryEventType_SucceedStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_SucceedStateExited = HistoryEventType' "SucceedStateExited"

pattern HistoryEventType_TaskFailed :: HistoryEventType
pattern $bHistoryEventType_TaskFailed :: HistoryEventType
$mHistoryEventType_TaskFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskFailed = HistoryEventType' "TaskFailed"

pattern HistoryEventType_TaskScheduled :: HistoryEventType
pattern $bHistoryEventType_TaskScheduled :: HistoryEventType
$mHistoryEventType_TaskScheduled :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskScheduled = HistoryEventType' "TaskScheduled"

pattern HistoryEventType_TaskStartFailed :: HistoryEventType
pattern $bHistoryEventType_TaskStartFailed :: HistoryEventType
$mHistoryEventType_TaskStartFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskStartFailed = HistoryEventType' "TaskStartFailed"

pattern HistoryEventType_TaskStarted :: HistoryEventType
pattern $bHistoryEventType_TaskStarted :: HistoryEventType
$mHistoryEventType_TaskStarted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskStarted = HistoryEventType' "TaskStarted"

pattern HistoryEventType_TaskStateAborted :: HistoryEventType
pattern $bHistoryEventType_TaskStateAborted :: HistoryEventType
$mHistoryEventType_TaskStateAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskStateAborted = HistoryEventType' "TaskStateAborted"

pattern HistoryEventType_TaskStateEntered :: HistoryEventType
pattern $bHistoryEventType_TaskStateEntered :: HistoryEventType
$mHistoryEventType_TaskStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskStateEntered = HistoryEventType' "TaskStateEntered"

pattern HistoryEventType_TaskStateExited :: HistoryEventType
pattern $bHistoryEventType_TaskStateExited :: HistoryEventType
$mHistoryEventType_TaskStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskStateExited = HistoryEventType' "TaskStateExited"

pattern HistoryEventType_TaskSubmitFailed :: HistoryEventType
pattern $bHistoryEventType_TaskSubmitFailed :: HistoryEventType
$mHistoryEventType_TaskSubmitFailed :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskSubmitFailed = HistoryEventType' "TaskSubmitFailed"

pattern HistoryEventType_TaskSubmitted :: HistoryEventType
pattern $bHistoryEventType_TaskSubmitted :: HistoryEventType
$mHistoryEventType_TaskSubmitted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskSubmitted = HistoryEventType' "TaskSubmitted"

pattern HistoryEventType_TaskSucceeded :: HistoryEventType
pattern $bHistoryEventType_TaskSucceeded :: HistoryEventType
$mHistoryEventType_TaskSucceeded :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskSucceeded = HistoryEventType' "TaskSucceeded"

pattern HistoryEventType_TaskTimedOut :: HistoryEventType
pattern $bHistoryEventType_TaskTimedOut :: HistoryEventType
$mHistoryEventType_TaskTimedOut :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_TaskTimedOut = HistoryEventType' "TaskTimedOut"

pattern HistoryEventType_WaitStateAborted :: HistoryEventType
pattern $bHistoryEventType_WaitStateAborted :: HistoryEventType
$mHistoryEventType_WaitStateAborted :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_WaitStateAborted = HistoryEventType' "WaitStateAborted"

pattern HistoryEventType_WaitStateEntered :: HistoryEventType
pattern $bHistoryEventType_WaitStateEntered :: HistoryEventType
$mHistoryEventType_WaitStateEntered :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_WaitStateEntered = HistoryEventType' "WaitStateEntered"

pattern HistoryEventType_WaitStateExited :: HistoryEventType
pattern $bHistoryEventType_WaitStateExited :: HistoryEventType
$mHistoryEventType_WaitStateExited :: forall r. HistoryEventType -> (Void# -> r) -> (Void# -> r) -> r
HistoryEventType_WaitStateExited = HistoryEventType' "WaitStateExited"

{-# COMPLETE
  HistoryEventType_ActivityFailed,
  HistoryEventType_ActivityScheduleFailed,
  HistoryEventType_ActivityScheduled,
  HistoryEventType_ActivityStarted,
  HistoryEventType_ActivitySucceeded,
  HistoryEventType_ActivityTimedOut,
  HistoryEventType_ChoiceStateEntered,
  HistoryEventType_ChoiceStateExited,
  HistoryEventType_ExecutionAborted,
  HistoryEventType_ExecutionFailed,
  HistoryEventType_ExecutionStarted,
  HistoryEventType_ExecutionSucceeded,
  HistoryEventType_ExecutionTimedOut,
  HistoryEventType_FailStateEntered,
  HistoryEventType_LambdaFunctionFailed,
  HistoryEventType_LambdaFunctionScheduleFailed,
  HistoryEventType_LambdaFunctionScheduled,
  HistoryEventType_LambdaFunctionStartFailed,
  HistoryEventType_LambdaFunctionStarted,
  HistoryEventType_LambdaFunctionSucceeded,
  HistoryEventType_LambdaFunctionTimedOut,
  HistoryEventType_MapIterationAborted,
  HistoryEventType_MapIterationFailed,
  HistoryEventType_MapIterationStarted,
  HistoryEventType_MapIterationSucceeded,
  HistoryEventType_MapStateAborted,
  HistoryEventType_MapStateEntered,
  HistoryEventType_MapStateExited,
  HistoryEventType_MapStateFailed,
  HistoryEventType_MapStateStarted,
  HistoryEventType_MapStateSucceeded,
  HistoryEventType_ParallelStateAborted,
  HistoryEventType_ParallelStateEntered,
  HistoryEventType_ParallelStateExited,
  HistoryEventType_ParallelStateFailed,
  HistoryEventType_ParallelStateStarted,
  HistoryEventType_ParallelStateSucceeded,
  HistoryEventType_PassStateEntered,
  HistoryEventType_PassStateExited,
  HistoryEventType_SucceedStateEntered,
  HistoryEventType_SucceedStateExited,
  HistoryEventType_TaskFailed,
  HistoryEventType_TaskScheduled,
  HistoryEventType_TaskStartFailed,
  HistoryEventType_TaskStarted,
  HistoryEventType_TaskStateAborted,
  HistoryEventType_TaskStateEntered,
  HistoryEventType_TaskStateExited,
  HistoryEventType_TaskSubmitFailed,
  HistoryEventType_TaskSubmitted,
  HistoryEventType_TaskSucceeded,
  HistoryEventType_TaskTimedOut,
  HistoryEventType_WaitStateAborted,
  HistoryEventType_WaitStateEntered,
  HistoryEventType_WaitStateExited,
  HistoryEventType'
  #-}