{-# 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.PlatformStatus
( PlatformStatus
( ..,
PlatformStatus_Creating,
PlatformStatus_Deleted,
PlatformStatus_Deleting,
PlatformStatus_Failed,
PlatformStatus_Ready
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Prelude as Prelude
newtype PlatformStatus = PlatformStatus'
{ PlatformStatus -> Text
fromPlatformStatus ::
Core.Text
}
deriving stock
( Int -> PlatformStatus -> ShowS
[PlatformStatus] -> ShowS
PlatformStatus -> String
(Int -> PlatformStatus -> ShowS)
-> (PlatformStatus -> String)
-> ([PlatformStatus] -> ShowS)
-> Show PlatformStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PlatformStatus] -> ShowS
$cshowList :: [PlatformStatus] -> ShowS
show :: PlatformStatus -> String
$cshow :: PlatformStatus -> String
showsPrec :: Int -> PlatformStatus -> ShowS
$cshowsPrec :: Int -> PlatformStatus -> ShowS
Prelude.Show,
ReadPrec [PlatformStatus]
ReadPrec PlatformStatus
Int -> ReadS PlatformStatus
ReadS [PlatformStatus]
(Int -> ReadS PlatformStatus)
-> ReadS [PlatformStatus]
-> ReadPrec PlatformStatus
-> ReadPrec [PlatformStatus]
-> Read PlatformStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PlatformStatus]
$creadListPrec :: ReadPrec [PlatformStatus]
readPrec :: ReadPrec PlatformStatus
$creadPrec :: ReadPrec PlatformStatus
readList :: ReadS [PlatformStatus]
$creadList :: ReadS [PlatformStatus]
readsPrec :: Int -> ReadS PlatformStatus
$creadsPrec :: Int -> ReadS PlatformStatus
Prelude.Read,
PlatformStatus -> PlatformStatus -> Bool
(PlatformStatus -> PlatformStatus -> Bool)
-> (PlatformStatus -> PlatformStatus -> Bool) -> Eq PlatformStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PlatformStatus -> PlatformStatus -> Bool
$c/= :: PlatformStatus -> PlatformStatus -> Bool
== :: PlatformStatus -> PlatformStatus -> Bool
$c== :: PlatformStatus -> PlatformStatus -> Bool
Prelude.Eq,
Eq PlatformStatus
Eq PlatformStatus
-> (PlatformStatus -> PlatformStatus -> Ordering)
-> (PlatformStatus -> PlatformStatus -> Bool)
-> (PlatformStatus -> PlatformStatus -> Bool)
-> (PlatformStatus -> PlatformStatus -> Bool)
-> (PlatformStatus -> PlatformStatus -> Bool)
-> (PlatformStatus -> PlatformStatus -> PlatformStatus)
-> (PlatformStatus -> PlatformStatus -> PlatformStatus)
-> Ord PlatformStatus
PlatformStatus -> PlatformStatus -> Bool
PlatformStatus -> PlatformStatus -> Ordering
PlatformStatus -> PlatformStatus -> PlatformStatus
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 :: PlatformStatus -> PlatformStatus -> PlatformStatus
$cmin :: PlatformStatus -> PlatformStatus -> PlatformStatus
max :: PlatformStatus -> PlatformStatus -> PlatformStatus
$cmax :: PlatformStatus -> PlatformStatus -> PlatformStatus
>= :: PlatformStatus -> PlatformStatus -> Bool
$c>= :: PlatformStatus -> PlatformStatus -> Bool
> :: PlatformStatus -> PlatformStatus -> Bool
$c> :: PlatformStatus -> PlatformStatus -> Bool
<= :: PlatformStatus -> PlatformStatus -> Bool
$c<= :: PlatformStatus -> PlatformStatus -> Bool
< :: PlatformStatus -> PlatformStatus -> Bool
$c< :: PlatformStatus -> PlatformStatus -> Bool
compare :: PlatformStatus -> PlatformStatus -> Ordering
$ccompare :: PlatformStatus -> PlatformStatus -> Ordering
$cp1Ord :: Eq PlatformStatus
Prelude.Ord,
(forall x. PlatformStatus -> Rep PlatformStatus x)
-> (forall x. Rep PlatformStatus x -> PlatformStatus)
-> Generic PlatformStatus
forall x. Rep PlatformStatus x -> PlatformStatus
forall x. PlatformStatus -> Rep PlatformStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep PlatformStatus x -> PlatformStatus
$cfrom :: forall x. PlatformStatus -> Rep PlatformStatus x
Prelude.Generic
)
deriving newtype
( Int -> PlatformStatus -> Int
PlatformStatus -> Int
(Int -> PlatformStatus -> Int)
-> (PlatformStatus -> Int) -> Hashable PlatformStatus
forall a. (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: PlatformStatus -> Int
$chash :: PlatformStatus -> Int
hashWithSalt :: Int -> PlatformStatus -> Int
$chashWithSalt :: Int -> PlatformStatus -> Int
Prelude.Hashable,
PlatformStatus -> ()
(PlatformStatus -> ()) -> NFData PlatformStatus
forall a. (a -> ()) -> NFData a
rnf :: PlatformStatus -> ()
$crnf :: PlatformStatus -> ()
Prelude.NFData,
Text -> Either String PlatformStatus
(Text -> Either String PlatformStatus) -> FromText PlatformStatus
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String PlatformStatus
$cfromText :: Text -> Either String PlatformStatus
Core.FromText,
PlatformStatus -> Text
(PlatformStatus -> Text) -> ToText PlatformStatus
forall a. (a -> Text) -> ToText a
toText :: PlatformStatus -> Text
$ctoText :: PlatformStatus -> Text
Core.ToText,
PlatformStatus -> ByteString
(PlatformStatus -> ByteString) -> ToByteString PlatformStatus
forall a. (a -> ByteString) -> ToByteString a
toBS :: PlatformStatus -> ByteString
$ctoBS :: PlatformStatus -> ByteString
Core.ToByteString,
PlatformStatus -> ByteStringBuilder
(PlatformStatus -> ByteStringBuilder) -> ToLog PlatformStatus
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: PlatformStatus -> ByteStringBuilder
$cbuild :: PlatformStatus -> ByteStringBuilder
Core.ToLog,
HeaderName -> PlatformStatus -> [Header]
(HeaderName -> PlatformStatus -> [Header])
-> ToHeader PlatformStatus
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> PlatformStatus -> [Header]
$ctoHeader :: HeaderName -> PlatformStatus -> [Header]
Core.ToHeader,
PlatformStatus -> QueryString
(PlatformStatus -> QueryString) -> ToQuery PlatformStatus
forall a. (a -> QueryString) -> ToQuery a
toQuery :: PlatformStatus -> QueryString
$ctoQuery :: PlatformStatus -> QueryString
Core.ToQuery,
Value -> Parser [PlatformStatus]
Value -> Parser PlatformStatus
(Value -> Parser PlatformStatus)
-> (Value -> Parser [PlatformStatus]) -> FromJSON PlatformStatus
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [PlatformStatus]
$cparseJSONList :: Value -> Parser [PlatformStatus]
parseJSON :: Value -> Parser PlatformStatus
$cparseJSON :: Value -> Parser PlatformStatus
Core.FromJSON,
FromJSONKeyFunction [PlatformStatus]
FromJSONKeyFunction PlatformStatus
FromJSONKeyFunction PlatformStatus
-> FromJSONKeyFunction [PlatformStatus]
-> FromJSONKey PlatformStatus
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [PlatformStatus]
$cfromJSONKeyList :: FromJSONKeyFunction [PlatformStatus]
fromJSONKey :: FromJSONKeyFunction PlatformStatus
$cfromJSONKey :: FromJSONKeyFunction PlatformStatus
Core.FromJSONKey,
[PlatformStatus] -> Encoding
[PlatformStatus] -> Value
PlatformStatus -> Encoding
PlatformStatus -> Value
(PlatformStatus -> Value)
-> (PlatformStatus -> Encoding)
-> ([PlatformStatus] -> Value)
-> ([PlatformStatus] -> Encoding)
-> ToJSON PlatformStatus
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [PlatformStatus] -> Encoding
$ctoEncodingList :: [PlatformStatus] -> Encoding
toJSONList :: [PlatformStatus] -> Value
$ctoJSONList :: [PlatformStatus] -> Value
toEncoding :: PlatformStatus -> Encoding
$ctoEncoding :: PlatformStatus -> Encoding
toJSON :: PlatformStatus -> Value
$ctoJSON :: PlatformStatus -> Value
Core.ToJSON,
ToJSONKeyFunction [PlatformStatus]
ToJSONKeyFunction PlatformStatus
ToJSONKeyFunction PlatformStatus
-> ToJSONKeyFunction [PlatformStatus] -> ToJSONKey PlatformStatus
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [PlatformStatus]
$ctoJSONKeyList :: ToJSONKeyFunction [PlatformStatus]
toJSONKey :: ToJSONKeyFunction PlatformStatus
$ctoJSONKey :: ToJSONKeyFunction PlatformStatus
Core.ToJSONKey,
[Node] -> Either String PlatformStatus
([Node] -> Either String PlatformStatus) -> FromXML PlatformStatus
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String PlatformStatus
$cparseXML :: [Node] -> Either String PlatformStatus
Core.FromXML,
PlatformStatus -> XML
(PlatformStatus -> XML) -> ToXML PlatformStatus
forall a. (a -> XML) -> ToXML a
toXML :: PlatformStatus -> XML
$ctoXML :: PlatformStatus -> XML
Core.ToXML
)
pattern PlatformStatus_Creating :: PlatformStatus
pattern $bPlatformStatus_Creating :: PlatformStatus
$mPlatformStatus_Creating :: forall r. PlatformStatus -> (Void# -> r) -> (Void# -> r) -> r
PlatformStatus_Creating = PlatformStatus' "Creating"
pattern PlatformStatus_Deleted :: PlatformStatus
pattern $bPlatformStatus_Deleted :: PlatformStatus
$mPlatformStatus_Deleted :: forall r. PlatformStatus -> (Void# -> r) -> (Void# -> r) -> r
PlatformStatus_Deleted = PlatformStatus' "Deleted"
pattern PlatformStatus_Deleting :: PlatformStatus
pattern $bPlatformStatus_Deleting :: PlatformStatus
$mPlatformStatus_Deleting :: forall r. PlatformStatus -> (Void# -> r) -> (Void# -> r) -> r
PlatformStatus_Deleting = PlatformStatus' "Deleting"
pattern PlatformStatus_Failed :: PlatformStatus
pattern $bPlatformStatus_Failed :: PlatformStatus
$mPlatformStatus_Failed :: forall r. PlatformStatus -> (Void# -> r) -> (Void# -> r) -> r
PlatformStatus_Failed = PlatformStatus' "Failed"
pattern PlatformStatus_Ready :: PlatformStatus
pattern $bPlatformStatus_Ready :: PlatformStatus
$mPlatformStatus_Ready :: forall r. PlatformStatus -> (Void# -> r) -> (Void# -> r) -> r
PlatformStatus_Ready = PlatformStatus' "Ready"
{-# COMPLETE
PlatformStatus_Creating,
PlatformStatus_Deleted,
PlatformStatus_Deleting,
PlatformStatus_Failed,
PlatformStatus_Ready,
PlatformStatus'
#-}