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