{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.QuickSight.Types.DataSetSummary where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types.DataSetImportMode
import Amazonka.QuickSight.Types.RowLevelPermissionDataSet
data DataSetSummary = DataSetSummary'
{
DataSetSummary -> Maybe POSIX
lastUpdatedTime :: Prelude.Maybe Core.POSIX,
DataSetSummary -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DataSetSummary -> Maybe POSIX
createdTime :: Prelude.Maybe Core.POSIX,
DataSetSummary -> Maybe Bool
rowLevelPermissionTagConfigurationApplied :: Prelude.Maybe Prelude.Bool,
DataSetSummary -> Maybe Bool
columnLevelPermissionRulesApplied :: Prelude.Maybe Prelude.Bool,
DataSetSummary -> Maybe DataSetImportMode
importMode :: Prelude.Maybe DataSetImportMode,
DataSetSummary -> Maybe Text
dataSetId :: Prelude.Maybe Prelude.Text,
DataSetSummary -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DataSetSummary -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet :: Prelude.Maybe RowLevelPermissionDataSet
}
deriving (DataSetSummary -> DataSetSummary -> Bool
(DataSetSummary -> DataSetSummary -> Bool)
-> (DataSetSummary -> DataSetSummary -> Bool) -> Eq DataSetSummary
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DataSetSummary -> DataSetSummary -> Bool
$c/= :: DataSetSummary -> DataSetSummary -> Bool
== :: DataSetSummary -> DataSetSummary -> Bool
$c== :: DataSetSummary -> DataSetSummary -> Bool
Prelude.Eq, ReadPrec [DataSetSummary]
ReadPrec DataSetSummary
Int -> ReadS DataSetSummary
ReadS [DataSetSummary]
(Int -> ReadS DataSetSummary)
-> ReadS [DataSetSummary]
-> ReadPrec DataSetSummary
-> ReadPrec [DataSetSummary]
-> Read DataSetSummary
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DataSetSummary]
$creadListPrec :: ReadPrec [DataSetSummary]
readPrec :: ReadPrec DataSetSummary
$creadPrec :: ReadPrec DataSetSummary
readList :: ReadS [DataSetSummary]
$creadList :: ReadS [DataSetSummary]
readsPrec :: Int -> ReadS DataSetSummary
$creadsPrec :: Int -> ReadS DataSetSummary
Prelude.Read, Int -> DataSetSummary -> ShowS
[DataSetSummary] -> ShowS
DataSetSummary -> String
(Int -> DataSetSummary -> ShowS)
-> (DataSetSummary -> String)
-> ([DataSetSummary] -> ShowS)
-> Show DataSetSummary
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DataSetSummary] -> ShowS
$cshowList :: [DataSetSummary] -> ShowS
show :: DataSetSummary -> String
$cshow :: DataSetSummary -> String
showsPrec :: Int -> DataSetSummary -> ShowS
$cshowsPrec :: Int -> DataSetSummary -> ShowS
Prelude.Show, (forall x. DataSetSummary -> Rep DataSetSummary x)
-> (forall x. Rep DataSetSummary x -> DataSetSummary)
-> Generic DataSetSummary
forall x. Rep DataSetSummary x -> DataSetSummary
forall x. DataSetSummary -> Rep DataSetSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DataSetSummary x -> DataSetSummary
$cfrom :: forall x. DataSetSummary -> Rep DataSetSummary x
Prelude.Generic)
newDataSetSummary ::
DataSetSummary
newDataSetSummary :: DataSetSummary
newDataSetSummary =
DataSetSummary' :: Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary
DataSetSummary'
{ $sel:lastUpdatedTime:DataSetSummary' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:arn:DataSetSummary' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:DataSetSummary' :: Maybe POSIX
createdTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:rowLevelPermissionTagConfigurationApplied:DataSetSummary' :: Maybe Bool
rowLevelPermissionTagConfigurationApplied =
Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:columnLevelPermissionRulesApplied:DataSetSummary' :: Maybe Bool
columnLevelPermissionRulesApplied = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:importMode:DataSetSummary' :: Maybe DataSetImportMode
importMode = Maybe DataSetImportMode
forall a. Maybe a
Prelude.Nothing,
$sel:dataSetId:DataSetSummary' :: Maybe Text
dataSetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:DataSetSummary' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:rowLevelPermissionDataSet:DataSetSummary' :: Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet = Maybe RowLevelPermissionDataSet
forall a. Maybe a
Prelude.Nothing
}
dataSetSummary_lastUpdatedTime :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.UTCTime)
dataSetSummary_lastUpdatedTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_lastUpdatedTime = (DataSetSummary -> Maybe POSIX)
-> (DataSetSummary -> Maybe POSIX -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe POSIX
lastUpdatedTime :: Maybe POSIX
$sel:lastUpdatedTime:DataSetSummary' :: DataSetSummary -> Maybe POSIX
lastUpdatedTime} -> Maybe POSIX
lastUpdatedTime) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe POSIX
a -> DataSetSummary
s {$sel:lastUpdatedTime:DataSetSummary' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
a} :: DataSetSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> DataSetSummary -> f DataSetSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSetSummary
-> f DataSetSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
dataSetSummary_arn :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.Text)
dataSetSummary_arn :: (Maybe Text -> f (Maybe Text))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_arn = (DataSetSummary -> Maybe Text)
-> (DataSetSummary -> Maybe Text -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe Text
arn :: Maybe Text
$sel:arn:DataSetSummary' :: DataSetSummary -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe Text
a -> DataSetSummary
s {$sel:arn:DataSetSummary' :: Maybe Text
arn = Maybe Text
a} :: DataSetSummary)
dataSetSummary_createdTime :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.UTCTime)
dataSetSummary_createdTime :: (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_createdTime = (DataSetSummary -> Maybe POSIX)
-> (DataSetSummary -> Maybe POSIX -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:DataSetSummary' :: DataSetSummary -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe POSIX
a -> DataSetSummary
s {$sel:createdTime:DataSetSummary' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: DataSetSummary) ((Maybe POSIX -> f (Maybe POSIX))
-> DataSetSummary -> f DataSetSummary)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSetSummary
-> f DataSetSummary
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso POSIX POSIX UTCTime UTCTime
-> Iso (Maybe POSIX) (Maybe POSIX) (Maybe UTCTime) (Maybe UTCTime)
forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping AnIso POSIX POSIX UTCTime UTCTime
forall (a :: Format). Iso' (Time a) UTCTime
Core._Time
dataSetSummary_rowLevelPermissionTagConfigurationApplied :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.Bool)
dataSetSummary_rowLevelPermissionTagConfigurationApplied :: (Maybe Bool -> f (Maybe Bool))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_rowLevelPermissionTagConfigurationApplied = (DataSetSummary -> Maybe Bool)
-> (DataSetSummary -> Maybe Bool -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe Bool
rowLevelPermissionTagConfigurationApplied :: Maybe Bool
$sel:rowLevelPermissionTagConfigurationApplied:DataSetSummary' :: DataSetSummary -> Maybe Bool
rowLevelPermissionTagConfigurationApplied} -> Maybe Bool
rowLevelPermissionTagConfigurationApplied) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe Bool
a -> DataSetSummary
s {$sel:rowLevelPermissionTagConfigurationApplied:DataSetSummary' :: Maybe Bool
rowLevelPermissionTagConfigurationApplied = Maybe Bool
a} :: DataSetSummary)
dataSetSummary_columnLevelPermissionRulesApplied :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.Bool)
dataSetSummary_columnLevelPermissionRulesApplied :: (Maybe Bool -> f (Maybe Bool))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_columnLevelPermissionRulesApplied = (DataSetSummary -> Maybe Bool)
-> (DataSetSummary -> Maybe Bool -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe Bool
columnLevelPermissionRulesApplied :: Maybe Bool
$sel:columnLevelPermissionRulesApplied:DataSetSummary' :: DataSetSummary -> Maybe Bool
columnLevelPermissionRulesApplied} -> Maybe Bool
columnLevelPermissionRulesApplied) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe Bool
a -> DataSetSummary
s {$sel:columnLevelPermissionRulesApplied:DataSetSummary' :: Maybe Bool
columnLevelPermissionRulesApplied = Maybe Bool
a} :: DataSetSummary)
dataSetSummary_importMode :: Lens.Lens' DataSetSummary (Prelude.Maybe DataSetImportMode)
dataSetSummary_importMode :: (Maybe DataSetImportMode -> f (Maybe DataSetImportMode))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_importMode = (DataSetSummary -> Maybe DataSetImportMode)
-> (DataSetSummary -> Maybe DataSetImportMode -> DataSetSummary)
-> Lens
DataSetSummary
DataSetSummary
(Maybe DataSetImportMode)
(Maybe DataSetImportMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe DataSetImportMode
importMode :: Maybe DataSetImportMode
$sel:importMode:DataSetSummary' :: DataSetSummary -> Maybe DataSetImportMode
importMode} -> Maybe DataSetImportMode
importMode) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe DataSetImportMode
a -> DataSetSummary
s {$sel:importMode:DataSetSummary' :: Maybe DataSetImportMode
importMode = Maybe DataSetImportMode
a} :: DataSetSummary)
dataSetSummary_dataSetId :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.Text)
dataSetSummary_dataSetId :: (Maybe Text -> f (Maybe Text))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_dataSetId = (DataSetSummary -> Maybe Text)
-> (DataSetSummary -> Maybe Text -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe Text
dataSetId :: Maybe Text
$sel:dataSetId:DataSetSummary' :: DataSetSummary -> Maybe Text
dataSetId} -> Maybe Text
dataSetId) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe Text
a -> DataSetSummary
s {$sel:dataSetId:DataSetSummary' :: Maybe Text
dataSetId = Maybe Text
a} :: DataSetSummary)
dataSetSummary_name :: Lens.Lens' DataSetSummary (Prelude.Maybe Prelude.Text)
dataSetSummary_name :: (Maybe Text -> f (Maybe Text))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_name = (DataSetSummary -> Maybe Text)
-> (DataSetSummary -> Maybe Text -> DataSetSummary)
-> Lens DataSetSummary DataSetSummary (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe Text
name :: Maybe Text
$sel:name:DataSetSummary' :: DataSetSummary -> Maybe Text
name} -> Maybe Text
name) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe Text
a -> DataSetSummary
s {$sel:name:DataSetSummary' :: Maybe Text
name = Maybe Text
a} :: DataSetSummary)
dataSetSummary_rowLevelPermissionDataSet :: Lens.Lens' DataSetSummary (Prelude.Maybe RowLevelPermissionDataSet)
dataSetSummary_rowLevelPermissionDataSet :: (Maybe RowLevelPermissionDataSet
-> f (Maybe RowLevelPermissionDataSet))
-> DataSetSummary -> f DataSetSummary
dataSetSummary_rowLevelPermissionDataSet = (DataSetSummary -> Maybe RowLevelPermissionDataSet)
-> (DataSetSummary
-> Maybe RowLevelPermissionDataSet -> DataSetSummary)
-> Lens
DataSetSummary
DataSetSummary
(Maybe RowLevelPermissionDataSet)
(Maybe RowLevelPermissionDataSet)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSetSummary' {Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet :: Maybe RowLevelPermissionDataSet
$sel:rowLevelPermissionDataSet:DataSetSummary' :: DataSetSummary -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet} -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet) (\s :: DataSetSummary
s@DataSetSummary' {} Maybe RowLevelPermissionDataSet
a -> DataSetSummary
s {$sel:rowLevelPermissionDataSet:DataSetSummary' :: Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet = Maybe RowLevelPermissionDataSet
a} :: DataSetSummary)
instance Core.FromJSON DataSetSummary where
parseJSON :: Value -> Parser DataSetSummary
parseJSON =
String
-> (Object -> Parser DataSetSummary)
-> Value
-> Parser DataSetSummary
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"DataSetSummary"
( \Object
x ->
Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary
DataSetSummary'
(Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LastUpdatedTime")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Arn")
Parser
(Maybe POSIX
-> Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe POSIX)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"CreatedTime")
Parser
(Maybe Bool
-> Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe Bool)
-> Parser
(Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x
Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RowLevelPermissionTagConfigurationApplied"
)
Parser
(Maybe Bool
-> Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe Bool)
-> Parser
(Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Bool)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ColumnLevelPermissionRulesApplied")
Parser
(Maybe DataSetImportMode
-> Maybe Text
-> Maybe Text
-> Maybe RowLevelPermissionDataSet
-> DataSetSummary)
-> Parser (Maybe DataSetImportMode)
-> Parser
(Maybe Text
-> Maybe Text -> Maybe RowLevelPermissionDataSet -> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DataSetImportMode)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ImportMode")
Parser
(Maybe Text
-> Maybe Text -> Maybe RowLevelPermissionDataSet -> DataSetSummary)
-> Parser (Maybe Text)
-> Parser
(Maybe Text -> Maybe RowLevelPermissionDataSet -> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DataSetId")
Parser
(Maybe Text -> Maybe RowLevelPermissionDataSet -> DataSetSummary)
-> Parser (Maybe Text)
-> Parser (Maybe RowLevelPermissionDataSet -> DataSetSummary)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"Name")
Parser (Maybe RowLevelPermissionDataSet -> DataSetSummary)
-> Parser (Maybe RowLevelPermissionDataSet)
-> Parser DataSetSummary
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe RowLevelPermissionDataSet)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RowLevelPermissionDataSet")
)
instance Prelude.Hashable DataSetSummary
instance Prelude.NFData DataSetSummary