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