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