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