{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Amazonka.Lightsail.Types.ContainerServiceStateDetailCode
( ContainerServiceStateDetailCode
( ..,
ContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT,
ContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED,
ContainerServiceStateDetailCode_CREATING_DEPLOYMENT,
ContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE,
ContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES,
ContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK,
ContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE,
ContainerServiceStateDetailCode_PROVISIONING_SERVICE,
ContainerServiceStateDetailCode_UNKNOWN_ERROR
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype ContainerServiceStateDetailCode = ContainerServiceStateDetailCode'
{ ContainerServiceStateDetailCode -> Text
fromContainerServiceStateDetailCode ::
Data.Text
}
deriving stock
( Int -> ContainerServiceStateDetailCode -> ShowS
[ContainerServiceStateDetailCode] -> ShowS
ContainerServiceStateDetailCode -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ContainerServiceStateDetailCode] -> ShowS
$cshowList :: [ContainerServiceStateDetailCode] -> ShowS
show :: ContainerServiceStateDetailCode -> String
$cshow :: ContainerServiceStateDetailCode -> String
showsPrec :: Int -> ContainerServiceStateDetailCode -> ShowS
$cshowsPrec :: Int -> ContainerServiceStateDetailCode -> ShowS
Prelude.Show,
ReadPrec [ContainerServiceStateDetailCode]
ReadPrec ContainerServiceStateDetailCode
Int -> ReadS ContainerServiceStateDetailCode
ReadS [ContainerServiceStateDetailCode]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ContainerServiceStateDetailCode]
$creadListPrec :: ReadPrec [ContainerServiceStateDetailCode]
readPrec :: ReadPrec ContainerServiceStateDetailCode
$creadPrec :: ReadPrec ContainerServiceStateDetailCode
readList :: ReadS [ContainerServiceStateDetailCode]
$creadList :: ReadS [ContainerServiceStateDetailCode]
readsPrec :: Int -> ReadS ContainerServiceStateDetailCode
$creadsPrec :: Int -> ReadS ContainerServiceStateDetailCode
Prelude.Read,
ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c/= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
== :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c== :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
Prelude.Eq,
Eq ContainerServiceStateDetailCode
ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Ordering
ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
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 :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
$cmin :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
max :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
$cmax :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode
>= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c>= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
> :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c> :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
<= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c<= :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
< :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
$c< :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Bool
compare :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Ordering
$ccompare :: ContainerServiceStateDetailCode
-> ContainerServiceStateDetailCode -> Ordering
Prelude.Ord,
forall x.
Rep ContainerServiceStateDetailCode x
-> ContainerServiceStateDetailCode
forall x.
ContainerServiceStateDetailCode
-> Rep ContainerServiceStateDetailCode x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep ContainerServiceStateDetailCode x
-> ContainerServiceStateDetailCode
$cfrom :: forall x.
ContainerServiceStateDetailCode
-> Rep ContainerServiceStateDetailCode x
Prelude.Generic
)
deriving newtype
( Eq ContainerServiceStateDetailCode
Int -> ContainerServiceStateDetailCode -> Int
ContainerServiceStateDetailCode -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: ContainerServiceStateDetailCode -> Int
$chash :: ContainerServiceStateDetailCode -> Int
hashWithSalt :: Int -> ContainerServiceStateDetailCode -> Int
$chashWithSalt :: Int -> ContainerServiceStateDetailCode -> Int
Prelude.Hashable,
ContainerServiceStateDetailCode -> ()
forall a. (a -> ()) -> NFData a
rnf :: ContainerServiceStateDetailCode -> ()
$crnf :: ContainerServiceStateDetailCode -> ()
Prelude.NFData,
Text -> Either String ContainerServiceStateDetailCode
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String ContainerServiceStateDetailCode
$cfromText :: Text -> Either String ContainerServiceStateDetailCode
Data.FromText,
ContainerServiceStateDetailCode -> Text
forall a. (a -> Text) -> ToText a
toText :: ContainerServiceStateDetailCode -> Text
$ctoText :: ContainerServiceStateDetailCode -> Text
Data.ToText,
ContainerServiceStateDetailCode -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: ContainerServiceStateDetailCode -> ByteString
$ctoBS :: ContainerServiceStateDetailCode -> ByteString
Data.ToByteString,
ContainerServiceStateDetailCode -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: ContainerServiceStateDetailCode -> ByteStringBuilder
$cbuild :: ContainerServiceStateDetailCode -> ByteStringBuilder
Data.ToLog,
HeaderName -> ContainerServiceStateDetailCode -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> ContainerServiceStateDetailCode -> [Header]
$ctoHeader :: HeaderName -> ContainerServiceStateDetailCode -> [Header]
Data.ToHeader,
ContainerServiceStateDetailCode -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: ContainerServiceStateDetailCode -> QueryString
$ctoQuery :: ContainerServiceStateDetailCode -> QueryString
Data.ToQuery,
Value -> Parser [ContainerServiceStateDetailCode]
Value -> Parser ContainerServiceStateDetailCode
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [ContainerServiceStateDetailCode]
$cparseJSONList :: Value -> Parser [ContainerServiceStateDetailCode]
parseJSON :: Value -> Parser ContainerServiceStateDetailCode
$cparseJSON :: Value -> Parser ContainerServiceStateDetailCode
Data.FromJSON,
FromJSONKeyFunction [ContainerServiceStateDetailCode]
FromJSONKeyFunction ContainerServiceStateDetailCode
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [ContainerServiceStateDetailCode]
$cfromJSONKeyList :: FromJSONKeyFunction [ContainerServiceStateDetailCode]
fromJSONKey :: FromJSONKeyFunction ContainerServiceStateDetailCode
$cfromJSONKey :: FromJSONKeyFunction ContainerServiceStateDetailCode
Data.FromJSONKey,
[ContainerServiceStateDetailCode] -> Encoding
[ContainerServiceStateDetailCode] -> Value
ContainerServiceStateDetailCode -> Encoding
ContainerServiceStateDetailCode -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [ContainerServiceStateDetailCode] -> Encoding
$ctoEncodingList :: [ContainerServiceStateDetailCode] -> Encoding
toJSONList :: [ContainerServiceStateDetailCode] -> Value
$ctoJSONList :: [ContainerServiceStateDetailCode] -> Value
toEncoding :: ContainerServiceStateDetailCode -> Encoding
$ctoEncoding :: ContainerServiceStateDetailCode -> Encoding
toJSON :: ContainerServiceStateDetailCode -> Value
$ctoJSON :: ContainerServiceStateDetailCode -> Value
Data.ToJSON,
ToJSONKeyFunction [ContainerServiceStateDetailCode]
ToJSONKeyFunction ContainerServiceStateDetailCode
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [ContainerServiceStateDetailCode]
$ctoJSONKeyList :: ToJSONKeyFunction [ContainerServiceStateDetailCode]
toJSONKey :: ToJSONKeyFunction ContainerServiceStateDetailCode
$ctoJSONKey :: ToJSONKeyFunction ContainerServiceStateDetailCode
Data.ToJSONKey,
[Node] -> Either String ContainerServiceStateDetailCode
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String ContainerServiceStateDetailCode
$cparseXML :: [Node] -> Either String ContainerServiceStateDetailCode
Data.FromXML,
ContainerServiceStateDetailCode -> XML
forall a. (a -> XML) -> ToXML a
toXML :: ContainerServiceStateDetailCode -> XML
$ctoXML :: ContainerServiceStateDetailCode -> XML
Data.ToXML
)
pattern ContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT = ContainerServiceStateDetailCode' "ACTIVATING_DEPLOYMENT"
pattern ContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED = ContainerServiceStateDetailCode' "CERTIFICATE_LIMIT_EXCEEDED"
pattern ContainerServiceStateDetailCode_CREATING_DEPLOYMENT :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_CREATING_DEPLOYMENT :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_CREATING_DEPLOYMENT :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_CREATING_DEPLOYMENT = ContainerServiceStateDetailCode' "CREATING_DEPLOYMENT"
pattern ContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE = ContainerServiceStateDetailCode' "CREATING_NETWORK_INFRASTRUCTURE"
pattern ContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES = ContainerServiceStateDetailCode' "CREATING_SYSTEM_RESOURCES"
pattern ContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK = ContainerServiceStateDetailCode' "EVALUATING_HEALTH_CHECK"
pattern ContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE = ContainerServiceStateDetailCode' "PROVISIONING_CERTIFICATE"
pattern ContainerServiceStateDetailCode_PROVISIONING_SERVICE :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_PROVISIONING_SERVICE :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_PROVISIONING_SERVICE :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_PROVISIONING_SERVICE = ContainerServiceStateDetailCode' "PROVISIONING_SERVICE"
pattern ContainerServiceStateDetailCode_UNKNOWN_ERROR :: ContainerServiceStateDetailCode
pattern $bContainerServiceStateDetailCode_UNKNOWN_ERROR :: ContainerServiceStateDetailCode
$mContainerServiceStateDetailCode_UNKNOWN_ERROR :: forall {r}.
ContainerServiceStateDetailCode
-> ((# #) -> r) -> ((# #) -> r) -> r
ContainerServiceStateDetailCode_UNKNOWN_ERROR = ContainerServiceStateDetailCode' "UNKNOWN_ERROR"
{-# COMPLETE
ContainerServiceStateDetailCode_ACTIVATING_DEPLOYMENT,
ContainerServiceStateDetailCode_CERTIFICATE_LIMIT_EXCEEDED,
ContainerServiceStateDetailCode_CREATING_DEPLOYMENT,
ContainerServiceStateDetailCode_CREATING_NETWORK_INFRASTRUCTURE,
ContainerServiceStateDetailCode_CREATING_SYSTEM_RESOURCES,
ContainerServiceStateDetailCode_EVALUATING_HEALTH_CHECK,
ContainerServiceStateDetailCode_PROVISIONING_CERTIFICATE,
ContainerServiceStateDetailCode_PROVISIONING_SERVICE,
ContainerServiceStateDetailCode_UNKNOWN_ERROR,
ContainerServiceStateDetailCode'
#-}