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