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