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