{-# 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.DashboardFilterAttribute
( DashboardFilterAttribute
( ..,
DashboardFilterAttribute_DASHBOARD_NAME,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER,
DashboardFilterAttribute_QUICKSIGHT_OWNER,
DashboardFilterAttribute_QUICKSIGHT_USER,
DashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER
),
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
newtype DashboardFilterAttribute = DashboardFilterAttribute'
{ DashboardFilterAttribute -> Text
fromDashboardFilterAttribute ::
Data.Text
}
deriving stock
( Int -> DashboardFilterAttribute -> ShowS
[DashboardFilterAttribute] -> ShowS
DashboardFilterAttribute -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DashboardFilterAttribute] -> ShowS
$cshowList :: [DashboardFilterAttribute] -> ShowS
show :: DashboardFilterAttribute -> String
$cshow :: DashboardFilterAttribute -> String
showsPrec :: Int -> DashboardFilterAttribute -> ShowS
$cshowsPrec :: Int -> DashboardFilterAttribute -> ShowS
Prelude.Show,
ReadPrec [DashboardFilterAttribute]
ReadPrec DashboardFilterAttribute
Int -> ReadS DashboardFilterAttribute
ReadS [DashboardFilterAttribute]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DashboardFilterAttribute]
$creadListPrec :: ReadPrec [DashboardFilterAttribute]
readPrec :: ReadPrec DashboardFilterAttribute
$creadPrec :: ReadPrec DashboardFilterAttribute
readList :: ReadS [DashboardFilterAttribute]
$creadList :: ReadS [DashboardFilterAttribute]
readsPrec :: Int -> ReadS DashboardFilterAttribute
$creadsPrec :: Int -> ReadS DashboardFilterAttribute
Prelude.Read,
DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c/= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
== :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c== :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
Prelude.Eq,
Eq DashboardFilterAttribute
DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
DashboardFilterAttribute -> DashboardFilterAttribute -> Ordering
DashboardFilterAttribute
-> DashboardFilterAttribute -> DashboardFilterAttribute
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 :: DashboardFilterAttribute
-> DashboardFilterAttribute -> DashboardFilterAttribute
$cmin :: DashboardFilterAttribute
-> DashboardFilterAttribute -> DashboardFilterAttribute
max :: DashboardFilterAttribute
-> DashboardFilterAttribute -> DashboardFilterAttribute
$cmax :: DashboardFilterAttribute
-> DashboardFilterAttribute -> DashboardFilterAttribute
>= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c>= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
> :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c> :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
<= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c<= :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
< :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
$c< :: DashboardFilterAttribute -> DashboardFilterAttribute -> Bool
compare :: DashboardFilterAttribute -> DashboardFilterAttribute -> Ordering
$ccompare :: DashboardFilterAttribute -> DashboardFilterAttribute -> Ordering
Prelude.Ord,
forall x.
Rep DashboardFilterAttribute x -> DashboardFilterAttribute
forall x.
DashboardFilterAttribute -> Rep DashboardFilterAttribute x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DashboardFilterAttribute x -> DashboardFilterAttribute
$cfrom :: forall x.
DashboardFilterAttribute -> Rep DashboardFilterAttribute x
Prelude.Generic
)
deriving newtype
( Eq DashboardFilterAttribute
Int -> DashboardFilterAttribute -> Int
DashboardFilterAttribute -> Int
forall a. Eq a -> (Int -> a -> Int) -> (a -> Int) -> Hashable a
hash :: DashboardFilterAttribute -> Int
$chash :: DashboardFilterAttribute -> Int
hashWithSalt :: Int -> DashboardFilterAttribute -> Int
$chashWithSalt :: Int -> DashboardFilterAttribute -> Int
Prelude.Hashable,
DashboardFilterAttribute -> ()
forall a. (a -> ()) -> NFData a
rnf :: DashboardFilterAttribute -> ()
$crnf :: DashboardFilterAttribute -> ()
Prelude.NFData,
Text -> Either String DashboardFilterAttribute
forall a. (Text -> Either String a) -> FromText a
fromText :: Text -> Either String DashboardFilterAttribute
$cfromText :: Text -> Either String DashboardFilterAttribute
Data.FromText,
DashboardFilterAttribute -> Text
forall a. (a -> Text) -> ToText a
toText :: DashboardFilterAttribute -> Text
$ctoText :: DashboardFilterAttribute -> Text
Data.ToText,
DashboardFilterAttribute -> ByteString
forall a. (a -> ByteString) -> ToByteString a
toBS :: DashboardFilterAttribute -> ByteString
$ctoBS :: DashboardFilterAttribute -> ByteString
Data.ToByteString,
DashboardFilterAttribute -> ByteStringBuilder
forall a. (a -> ByteStringBuilder) -> ToLog a
build :: DashboardFilterAttribute -> ByteStringBuilder
$cbuild :: DashboardFilterAttribute -> ByteStringBuilder
Data.ToLog,
HeaderName -> DashboardFilterAttribute -> [Header]
forall a. (HeaderName -> a -> [Header]) -> ToHeader a
toHeader :: HeaderName -> DashboardFilterAttribute -> [Header]
$ctoHeader :: HeaderName -> DashboardFilterAttribute -> [Header]
Data.ToHeader,
DashboardFilterAttribute -> QueryString
forall a. (a -> QueryString) -> ToQuery a
toQuery :: DashboardFilterAttribute -> QueryString
$ctoQuery :: DashboardFilterAttribute -> QueryString
Data.ToQuery,
Value -> Parser [DashboardFilterAttribute]
Value -> Parser DashboardFilterAttribute
forall a.
(Value -> Parser a) -> (Value -> Parser [a]) -> FromJSON a
parseJSONList :: Value -> Parser [DashboardFilterAttribute]
$cparseJSONList :: Value -> Parser [DashboardFilterAttribute]
parseJSON :: Value -> Parser DashboardFilterAttribute
$cparseJSON :: Value -> Parser DashboardFilterAttribute
Data.FromJSON,
FromJSONKeyFunction [DashboardFilterAttribute]
FromJSONKeyFunction DashboardFilterAttribute
forall a.
FromJSONKeyFunction a -> FromJSONKeyFunction [a] -> FromJSONKey a
fromJSONKeyList :: FromJSONKeyFunction [DashboardFilterAttribute]
$cfromJSONKeyList :: FromJSONKeyFunction [DashboardFilterAttribute]
fromJSONKey :: FromJSONKeyFunction DashboardFilterAttribute
$cfromJSONKey :: FromJSONKeyFunction DashboardFilterAttribute
Data.FromJSONKey,
[DashboardFilterAttribute] -> Encoding
[DashboardFilterAttribute] -> Value
DashboardFilterAttribute -> Encoding
DashboardFilterAttribute -> Value
forall a.
(a -> Value)
-> (a -> Encoding)
-> ([a] -> Value)
-> ([a] -> Encoding)
-> ToJSON a
toEncodingList :: [DashboardFilterAttribute] -> Encoding
$ctoEncodingList :: [DashboardFilterAttribute] -> Encoding
toJSONList :: [DashboardFilterAttribute] -> Value
$ctoJSONList :: [DashboardFilterAttribute] -> Value
toEncoding :: DashboardFilterAttribute -> Encoding
$ctoEncoding :: DashboardFilterAttribute -> Encoding
toJSON :: DashboardFilterAttribute -> Value
$ctoJSON :: DashboardFilterAttribute -> Value
Data.ToJSON,
ToJSONKeyFunction [DashboardFilterAttribute]
ToJSONKeyFunction DashboardFilterAttribute
forall a.
ToJSONKeyFunction a -> ToJSONKeyFunction [a] -> ToJSONKey a
toJSONKeyList :: ToJSONKeyFunction [DashboardFilterAttribute]
$ctoJSONKeyList :: ToJSONKeyFunction [DashboardFilterAttribute]
toJSONKey :: ToJSONKeyFunction DashboardFilterAttribute
$ctoJSONKey :: ToJSONKeyFunction DashboardFilterAttribute
Data.ToJSONKey,
[Node] -> Either String DashboardFilterAttribute
forall a. ([Node] -> Either String a) -> FromXML a
parseXML :: [Node] -> Either String DashboardFilterAttribute
$cparseXML :: [Node] -> Either String DashboardFilterAttribute
Data.FromXML,
DashboardFilterAttribute -> XML
forall a. (a -> XML) -> ToXML a
toXML :: DashboardFilterAttribute -> XML
$ctoXML :: DashboardFilterAttribute -> XML
Data.ToXML
)
pattern DashboardFilterAttribute_DASHBOARD_NAME :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_DASHBOARD_NAME :: DashboardFilterAttribute
$mDashboardFilterAttribute_DASHBOARD_NAME :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_DASHBOARD_NAME = DashboardFilterAttribute' "DASHBOARD_NAME"
pattern DashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: DashboardFilterAttribute
$mDashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER = DashboardFilterAttribute' "DIRECT_QUICKSIGHT_OWNER"
pattern DashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: DashboardFilterAttribute
$mDashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER = DashboardFilterAttribute' "DIRECT_QUICKSIGHT_SOLE_OWNER"
pattern DashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: DashboardFilterAttribute
$mDashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER = DashboardFilterAttribute' "DIRECT_QUICKSIGHT_VIEWER_OR_OWNER"
pattern DashboardFilterAttribute_QUICKSIGHT_OWNER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_QUICKSIGHT_OWNER :: DashboardFilterAttribute
$mDashboardFilterAttribute_QUICKSIGHT_OWNER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_QUICKSIGHT_OWNER = DashboardFilterAttribute' "QUICKSIGHT_OWNER"
pattern DashboardFilterAttribute_QUICKSIGHT_USER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_QUICKSIGHT_USER :: DashboardFilterAttribute
$mDashboardFilterAttribute_QUICKSIGHT_USER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_QUICKSIGHT_USER = DashboardFilterAttribute' "QUICKSIGHT_USER"
pattern DashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: DashboardFilterAttribute
pattern $bDashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: DashboardFilterAttribute
$mDashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER :: forall {r}.
DashboardFilterAttribute -> ((# #) -> r) -> ((# #) -> r) -> r
DashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER = DashboardFilterAttribute' "QUICKSIGHT_VIEWER_OR_OWNER"
{-# COMPLETE
DashboardFilterAttribute_DASHBOARD_NAME,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_OWNER,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_SOLE_OWNER,
DashboardFilterAttribute_DIRECT_QUICKSIGHT_VIEWER_OR_OWNER,
DashboardFilterAttribute_QUICKSIGHT_OWNER,
DashboardFilterAttribute_QUICKSIGHT_USER,
DashboardFilterAttribute_QUICKSIGHT_VIEWER_OR_OWNER,
DashboardFilterAttribute'
#-}