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