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