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