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