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