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