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