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