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