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