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