{-# 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.StartChildWorkflowExecutionFailedCause
-- 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.StartChildWorkflowExecutionFailedCause
  ( StartChildWorkflowExecutionFailedCause
      ( ..,
        StartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED,
        StartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED,
        StartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED,
        StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED,
        StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED,
        StartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED,
        StartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED,
        StartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED,
        StartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING,
        StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED,
        StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST
      ),
  )
where

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

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

pattern StartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED = StartChildWorkflowExecutionFailedCause' "CHILD_CREATION_RATE_EXCEEDED"

pattern StartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED = StartChildWorkflowExecutionFailedCause' "DEFAULT_CHILD_POLICY_UNDEFINED"

pattern StartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED = StartChildWorkflowExecutionFailedCause' "DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED"

pattern StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED = StartChildWorkflowExecutionFailedCause' "DEFAULT_TASK_LIST_UNDEFINED"

pattern StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED = StartChildWorkflowExecutionFailedCause' "DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED"

pattern StartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED = StartChildWorkflowExecutionFailedCause' "OPEN_CHILDREN_LIMIT_EXCEEDED"

pattern StartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED = StartChildWorkflowExecutionFailedCause' "OPEN_WORKFLOWS_LIMIT_EXCEEDED"

pattern StartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED = StartChildWorkflowExecutionFailedCause' "OPERATION_NOT_PERMITTED"

pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING = StartChildWorkflowExecutionFailedCause' "WORKFLOW_ALREADY_RUNNING"

pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED = StartChildWorkflowExecutionFailedCause' "WORKFLOW_TYPE_DEPRECATED"

pattern StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST :: StartChildWorkflowExecutionFailedCause
pattern $bStartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST :: StartChildWorkflowExecutionFailedCause
$mStartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST :: forall r.
StartChildWorkflowExecutionFailedCause
-> (Void# -> r) -> (Void# -> r) -> r
StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST = StartChildWorkflowExecutionFailedCause' "WORKFLOW_TYPE_DOES_NOT_EXIST"

{-# COMPLETE
  StartChildWorkflowExecutionFailedCause_CHILD_CREATION_RATE_EXCEEDED,
  StartChildWorkflowExecutionFailedCause_DEFAULT_CHILD_POLICY_UNDEFINED,
  StartChildWorkflowExecutionFailedCause_DEFAULT_EXECUTION_START_TO_CLOSE_TIMEOUT_UNDEFINED,
  StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_LIST_UNDEFINED,
  StartChildWorkflowExecutionFailedCause_DEFAULT_TASK_START_TO_CLOSE_TIMEOUT_UNDEFINED,
  StartChildWorkflowExecutionFailedCause_OPEN_CHILDREN_LIMIT_EXCEEDED,
  StartChildWorkflowExecutionFailedCause_OPEN_WORKFLOWS_LIMIT_EXCEEDED,
  StartChildWorkflowExecutionFailedCause_OPERATION_NOT_PERMITTED,
  StartChildWorkflowExecutionFailedCause_WORKFLOW_ALREADY_RUNNING,
  StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DEPRECATED,
  StartChildWorkflowExecutionFailedCause_WORKFLOW_TYPE_DOES_NOT_EXIST,
  StartChildWorkflowExecutionFailedCause'
  #-}