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