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