{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.SWF.Types.StartLambdaFunctionFailedCause
( StartLambdaFunctionFailedCause
( ..,
StartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype StartLambdaFunctionFailedCause = StartLambdaFunctionFailedCause'
{ StartLambdaFunctionFailedCause -> Text
fromStartLambdaFunctionFailedCause ::
Core.Text
}
deriving stock
( Int -> StartLambdaFunctionFailedCause -> ShowS
[StartLambdaFunctionFailedCause] -> ShowS
StartLambdaFunctionFailedCause -> String
(Int -> StartLambdaFunctionFailedCause -> ShowS)
-> (StartLambdaFunctionFailedCause -> String)
-> ([StartLambdaFunctionFailedCause] -> ShowS)
-> Show StartLambdaFunctionFailedCause
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StartLambdaFunctionFailedCause] -> ShowS
$cshowList :: [StartLambdaFunctionFailedCause] -> ShowS
show :: StartLambdaFunctionFailedCause -> String
$cshow :: StartLambdaFunctionFailedCause -> String
showsPrec :: Int -> StartLambdaFunctionFailedCause -> ShowS
$cshowsPrec :: Int -> StartLambdaFunctionFailedCause -> ShowS
Prelude.Show,
ReadPrec [StartLambdaFunctionFailedCause]
ReadPrec StartLambdaFunctionFailedCause
Int -> ReadS StartLambdaFunctionFailedCause
ReadS [StartLambdaFunctionFailedCause]
(Int -> ReadS StartLambdaFunctionFailedCause)
-> ReadS [StartLambdaFunctionFailedCause]
-> ReadPrec StartLambdaFunctionFailedCause
-> ReadPrec [StartLambdaFunctionFailedCause]
-> Read StartLambdaFunctionFailedCause
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StartLambdaFunctionFailedCause]
$creadListPrec :: ReadPrec [StartLambdaFunctionFailedCause]
readPrec :: ReadPrec StartLambdaFunctionFailedCause
$creadPrec :: ReadPrec StartLambdaFunctionFailedCause
readList :: ReadS [StartLambdaFunctionFailedCause]
$creadList :: ReadS [StartLambdaFunctionFailedCause]
readsPrec :: Int -> ReadS StartLambdaFunctionFailedCause
$creadsPrec :: Int -> ReadS StartLambdaFunctionFailedCause
Prelude.Read,
StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
(StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> Eq StartLambdaFunctionFailedCause
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c/= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
== :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c== :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
Prelude.Eq,
Eq StartLambdaFunctionFailedCause
Eq StartLambdaFunctionFailedCause
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Ordering)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause)
-> (StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause)
-> Ord StartLambdaFunctionFailedCause
StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Ordering
StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> StartLambdaFunctionFailedCause
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 :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> StartLambdaFunctionFailedCause
$cmin :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> StartLambdaFunctionFailedCause
max :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> StartLambdaFunctionFailedCause
$cmax :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> StartLambdaFunctionFailedCause
>= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c>= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
> :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c> :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
<= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c<= :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
< :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
$c< :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Bool
compare :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Ordering
$ccompare :: StartLambdaFunctionFailedCause
-> StartLambdaFunctionFailedCause -> Ordering
$cp1Ord :: Eq StartLambdaFunctionFailedCause
Prelude.Ord,
(forall x.
StartLambdaFunctionFailedCause
-> Rep StartLambdaFunctionFailedCause x)
-> (forall x.
Rep StartLambdaFunctionFailedCause x
-> StartLambdaFunctionFailedCause)
-> Generic StartLambdaFunctionFailedCause
forall x.
Rep StartLambdaFunctionFailedCause x
-> StartLambdaFunctionFailedCause
forall x.
StartLambdaFunctionFailedCause
-> Rep StartLambdaFunctionFailedCause x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep StartLambdaFunctionFailedCause x
-> StartLambdaFunctionFailedCause
$cfrom :: forall x.
StartLambdaFunctionFailedCause
-> Rep StartLambdaFunctionFailedCause x
Prelude.Generic
)
deriving newtype
( Int -> StartLambdaFunctionFailedCause -> Int
StartLambdaFunctionFailedCause -> Int
(Int -> StartLambdaFunctionFailedCause -> Int)
-> (StartLambdaFunctionFailedCause -> Int)
-> Hashable StartLambdaFunctionFailedCause
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: StartLambdaFunctionFailedCause -> Int
$chash :: StartLambdaFunctionFailedCause -> Int
hashWithSalt :: Int -> StartLambdaFunctionFailedCause -> Int
$chashWithSalt :: Int -> StartLambdaFunctionFailedCause -> Int
Prelude.Hashable,
StartLambdaFunctionFailedCause -> ()
(StartLambdaFunctionFailedCause -> ())
-> NFData StartLambdaFunctionFailedCause
forall a. (a -> ()) -> NFData a
rnf :: StartLambdaFunctionFailedCause -> ()
$crnf :: StartLambdaFunctionFailedCause -> ()
Prelude.NFData,
Text -> Either String StartLambdaFunctionFailedCause
(Text -> Either String StartLambdaFunctionFailedCause)
-> FromText StartLambdaFunctionFailedCause
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String StartLambdaFunctionFailedCause
$cfromText :: Text -> Either String StartLambdaFunctionFailedCause
Core.FromText,
StartLambdaFunctionFailedCause -> Text
(StartLambdaFunctionFailedCause -> Text)
-> ToText StartLambdaFunctionFailedCause
forall a. (a -> Text) -> ToText a
toText :: StartLambdaFunctionFailedCause -> Text
$ctoText :: StartLambdaFunctionFailedCause -> Text
Core.ToText,
StartLambdaFunctionFailedCause -> ByteString
(StartLambdaFunctionFailedCause -> ByteString)
-> ToByteString StartLambdaFunctionFailedCause
forall a. (a -> ByteString) -> ToByteString a
toBS :: StartLambdaFunctionFailedCause -> ByteString
$ctoBS :: StartLambdaFunctionFailedCause -> ByteString
Core.ToByteString,
StartLambdaFunctionFailedCause -> ByteStringBuilder
(StartLambdaFunctionFailedCause -> ByteStringBuilder)
-> ToLog StartLambdaFunctionFailedCause
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: StartLambdaFunctionFailedCause -> ByteStringBuilder
$cbuild :: StartLambdaFunctionFailedCause -> ByteStringBuilder
Core.ToLog,
HeaderName -> StartLambdaFunctionFailedCause -> [Header]
(HeaderName -> StartLambdaFunctionFailedCause -> [Header])
-> ToHeader StartLambdaFunctionFailedCause
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> StartLambdaFunctionFailedCause -> [Header]
$ctoHeader :: HeaderName -> StartLambdaFunctionFailedCause -> [Header]
Core.ToHeader,
StartLambdaFunctionFailedCause -> QueryString
(StartLambdaFunctionFailedCause -> QueryString)
-> ToQuery StartLambdaFunctionFailedCause
forall a. (a -> QueryString) -> ToQuery a
toQuery :: StartLambdaFunctionFailedCause -> QueryString
$ctoQuery :: StartLambdaFunctionFailedCause -> QueryString
Core.ToQuery,
Value -> Parser [StartLambdaFunctionFailedCause]
Value -> Parser StartLambdaFunctionFailedCause
(Value -> Parser StartLambdaFunctionFailedCause)
-> (Value -> Parser [StartLambdaFunctionFailedCause])
-> FromJSON StartLambdaFunctionFailedCause
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [StartLambdaFunctionFailedCause]
$cparseJSONList :: Value -> Parser [StartLambdaFunctionFailedCause]
parseJSON :: Value -> Parser StartLambdaFunctionFailedCause
$cparseJSON :: Value -> Parser StartLambdaFunctionFailedCause
Core.FromJSON,
FromJSONKeyFunction [StartLambdaFunctionFailedCause]
FromJSONKeyFunction StartLambdaFunctionFailedCause
FromJSONKeyFunction StartLambdaFunctionFailedCause
-> FromJSONKeyFunction [StartLambdaFunctionFailedCause]
-> FromJSONKey StartLambdaFunctionFailedCause
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [StartLambdaFunctionFailedCause]
$cfromJSONKeyList :: FromJSONKeyFunction [StartLambdaFunctionFailedCause]
fromJSONKey :: FromJSONKeyFunction StartLambdaFunctionFailedCause
$cfromJSONKey :: FromJSONKeyFunction StartLambdaFunctionFailedCause
Core.FromJSONKey,
[StartLambdaFunctionFailedCause] -> Encoding
[StartLambdaFunctionFailedCause] -> Value
StartLambdaFunctionFailedCause -> Encoding
StartLambdaFunctionFailedCause -> Value
(StartLambdaFunctionFailedCause -> Value)
-> (StartLambdaFunctionFailedCause -> Encoding)
-> ([StartLambdaFunctionFailedCause] -> Value)
-> ([StartLambdaFunctionFailedCause] -> Encoding)
-> ToJSON StartLambdaFunctionFailedCause
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [StartLambdaFunctionFailedCause] -> Encoding
$ctoEncodingList :: [StartLambdaFunctionFailedCause] -> Encoding
toJSONList :: [StartLambdaFunctionFailedCause] -> Value
$ctoJSONList :: [StartLambdaFunctionFailedCause] -> Value
toEncoding :: StartLambdaFunctionFailedCause -> Encoding
$ctoEncoding :: StartLambdaFunctionFailedCause -> Encoding
toJSON :: StartLambdaFunctionFailedCause -> Value
$ctoJSON :: StartLambdaFunctionFailedCause -> Value
Core.ToJSON,
ToJSONKeyFunction [StartLambdaFunctionFailedCause]
ToJSONKeyFunction StartLambdaFunctionFailedCause
ToJSONKeyFunction StartLambdaFunctionFailedCause
-> ToJSONKeyFunction [StartLambdaFunctionFailedCause]
-> ToJSONKey StartLambdaFunctionFailedCause
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [StartLambdaFunctionFailedCause]
$ctoJSONKeyList :: ToJSONKeyFunction [StartLambdaFunctionFailedCause]
toJSONKey :: ToJSONKeyFunction StartLambdaFunctionFailedCause
$ctoJSONKey :: ToJSONKeyFunction StartLambdaFunctionFailedCause
Core.ToJSONKey,
[Node] -> Either String StartLambdaFunctionFailedCause
([Node] -> Either String StartLambdaFunctionFailedCause)
-> FromXML StartLambdaFunctionFailedCause
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String StartLambdaFunctionFailedCause
$cparseXML :: [Node] -> Either String StartLambdaFunctionFailedCause
Core.FromXML,
StartLambdaFunctionFailedCause -> XML
(StartLambdaFunctionFailedCause -> XML)
-> ToXML StartLambdaFunctionFailedCause
forall a. (a -> XML) -> ToXML a
toXML :: StartLambdaFunctionFailedCause -> XML
$ctoXML :: StartLambdaFunctionFailedCause -> XML
Core.ToXML
)
pattern StartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED :: StartLambdaFunctionFailedCause
pattern $bStartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED :: StartLambdaFunctionFailedCause
$mStartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED :: forall r.
StartLambdaFunctionFailedCause -> (Void# -> r) -> (Void# -> r) -> r
StartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED = StartLambdaFunctionFailedCause' "ASSUME_ROLE_FAILED"
{-# COMPLETE
StartLambdaFunctionFailedCause_ASSUME_ROLE_FAILED,
StartLambdaFunctionFailedCause'
#-}