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