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