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