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