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