{-# 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.DataSet where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import Amazonka.QuickSight.Types.ColumnGroup
import Amazonka.QuickSight.Types.ColumnLevelPermissionRule
import Amazonka.QuickSight.Types.DataSetImportMode
import Amazonka.QuickSight.Types.DataSetUsageConfiguration
import Amazonka.QuickSight.Types.FieldFolder
import Amazonka.QuickSight.Types.LogicalTable
import Amazonka.QuickSight.Types.OutputColumn
import Amazonka.QuickSight.Types.PhysicalTable
import Amazonka.QuickSight.Types.RowLevelPermissionDataSet
import Amazonka.QuickSight.Types.RowLevelPermissionTagConfiguration
data DataSet = DataSet'
{
DataSet -> Maybe (HashMap Text FieldFolder)
fieldFolders :: Prelude.Maybe (Prelude.HashMap Prelude.Text FieldFolder),
DataSet -> Maybe (NonEmpty ColumnGroup)
columnGroups :: Prelude.Maybe (Prelude.NonEmpty ColumnGroup),
DataSet -> Maybe POSIX
lastUpdatedTime :: Prelude.Maybe Core.POSIX,
DataSet -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
DataSet -> Maybe POSIX
createdTime :: Prelude.Maybe Core.POSIX,
DataSet -> Maybe Integer
consumedSpiceCapacityInBytes :: Prelude.Maybe Prelude.Integer,
DataSet -> Maybe DataSetImportMode
importMode :: Prelude.Maybe DataSetImportMode,
DataSet -> Maybe (HashMap Text PhysicalTable)
physicalTableMap :: Prelude.Maybe (Prelude.HashMap Prelude.Text PhysicalTable),
DataSet -> Maybe Text
dataSetId :: Prelude.Maybe Prelude.Text,
DataSet -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
DataSet -> Maybe DataSetUsageConfiguration
dataSetUsageConfiguration :: Prelude.Maybe DataSetUsageConfiguration,
DataSet -> Maybe [OutputColumn]
outputColumns :: Prelude.Maybe [OutputColumn],
DataSet -> Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration :: Prelude.Maybe RowLevelPermissionTagConfiguration,
DataSet -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet :: Prelude.Maybe RowLevelPermissionDataSet,
DataSet -> Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules :: Prelude.Maybe (Prelude.NonEmpty ColumnLevelPermissionRule),
DataSet -> Maybe (HashMap Text LogicalTable)
logicalTableMap :: Prelude.Maybe (Prelude.HashMap Prelude.Text LogicalTable)
}
deriving (DataSet -> DataSet -> Bool
(DataSet -> DataSet -> Bool)
-> (DataSet -> DataSet -> Bool) -> Eq DataSet
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DataSet -> DataSet -> Bool
$c/= :: DataSet -> DataSet -> Bool
== :: DataSet -> DataSet -> Bool
$c== :: DataSet -> DataSet -> Bool
Prelude.Eq, Int -> DataSet -> ShowS
[DataSet] -> ShowS
DataSet -> String
(Int -> DataSet -> ShowS)
-> (DataSet -> String) -> ([DataSet] -> ShowS) -> Show DataSet
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DataSet] -> ShowS
$cshowList :: [DataSet] -> ShowS
show :: DataSet -> String
$cshow :: DataSet -> String
showsPrec :: Int -> DataSet -> ShowS
$cshowsPrec :: Int -> DataSet -> ShowS
Prelude.Show, (forall x. DataSet -> Rep DataSet x)
-> (forall x. Rep DataSet x -> DataSet) -> Generic DataSet
forall x. Rep DataSet x -> DataSet
forall x. DataSet -> Rep DataSet x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep DataSet x -> DataSet
$cfrom :: forall x. DataSet -> Rep DataSet x
Prelude.Generic)
newDataSet ::
DataSet
newDataSet :: DataSet
newDataSet =
DataSet' :: Maybe (HashMap Text FieldFolder)
-> Maybe (NonEmpty ColumnGroup)
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet
DataSet'
{ $sel:fieldFolders:DataSet' :: Maybe (HashMap Text FieldFolder)
fieldFolders = Maybe (HashMap Text FieldFolder)
forall a. Maybe a
Prelude.Nothing,
$sel:columnGroups:DataSet' :: Maybe (NonEmpty ColumnGroup)
columnGroups = Maybe (NonEmpty ColumnGroup)
forall a. Maybe a
Prelude.Nothing,
$sel:lastUpdatedTime:DataSet' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:arn:DataSet' :: Maybe Text
arn = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:createdTime:DataSet' :: Maybe POSIX
createdTime = Maybe POSIX
forall a. Maybe a
Prelude.Nothing,
$sel:consumedSpiceCapacityInBytes:DataSet' :: Maybe Integer
consumedSpiceCapacityInBytes = Maybe Integer
forall a. Maybe a
Prelude.Nothing,
$sel:importMode:DataSet' :: Maybe DataSetImportMode
importMode = Maybe DataSetImportMode
forall a. Maybe a
Prelude.Nothing,
$sel:physicalTableMap:DataSet' :: Maybe (HashMap Text PhysicalTable)
physicalTableMap = Maybe (HashMap Text PhysicalTable)
forall a. Maybe a
Prelude.Nothing,
$sel:dataSetId:DataSet' :: Maybe Text
dataSetId = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:name:DataSet' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:dataSetUsageConfiguration:DataSet' :: Maybe DataSetUsageConfiguration
dataSetUsageConfiguration = Maybe DataSetUsageConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:outputColumns:DataSet' :: Maybe [OutputColumn]
outputColumns = Maybe [OutputColumn]
forall a. Maybe a
Prelude.Nothing,
$sel:rowLevelPermissionTagConfiguration:DataSet' :: Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration = Maybe RowLevelPermissionTagConfiguration
forall a. Maybe a
Prelude.Nothing,
$sel:rowLevelPermissionDataSet:DataSet' :: Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet = Maybe RowLevelPermissionDataSet
forall a. Maybe a
Prelude.Nothing,
$sel:columnLevelPermissionRules:DataSet' :: Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules = Maybe (NonEmpty ColumnLevelPermissionRule)
forall a. Maybe a
Prelude.Nothing,
$sel:logicalTableMap:DataSet' :: Maybe (HashMap Text LogicalTable)
logicalTableMap = Maybe (HashMap Text LogicalTable)
forall a. Maybe a
Prelude.Nothing
}
dataSet_fieldFolders :: Lens.Lens' DataSet (Prelude.Maybe (Prelude.HashMap Prelude.Text FieldFolder))
dataSet_fieldFolders :: (Maybe (HashMap Text FieldFolder)
-> f (Maybe (HashMap Text FieldFolder)))
-> DataSet -> f DataSet
dataSet_fieldFolders = (DataSet -> Maybe (HashMap Text FieldFolder))
-> (DataSet -> Maybe (HashMap Text FieldFolder) -> DataSet)
-> Lens
DataSet
DataSet
(Maybe (HashMap Text FieldFolder))
(Maybe (HashMap Text FieldFolder))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe (HashMap Text FieldFolder)
fieldFolders :: Maybe (HashMap Text FieldFolder)
$sel:fieldFolders:DataSet' :: DataSet -> Maybe (HashMap Text FieldFolder)
fieldFolders} -> Maybe (HashMap Text FieldFolder)
fieldFolders) (\s :: DataSet
s@DataSet' {} Maybe (HashMap Text FieldFolder)
a -> DataSet
s {$sel:fieldFolders:DataSet' :: Maybe (HashMap Text FieldFolder)
fieldFolders = Maybe (HashMap Text FieldFolder)
a} :: DataSet) ((Maybe (HashMap Text FieldFolder)
-> f (Maybe (HashMap Text FieldFolder)))
-> DataSet -> f DataSet)
-> ((Maybe (HashMap Text FieldFolder)
-> f (Maybe (HashMap Text FieldFolder)))
-> Maybe (HashMap Text FieldFolder)
-> f (Maybe (HashMap Text FieldFolder)))
-> (Maybe (HashMap Text FieldFolder)
-> f (Maybe (HashMap Text FieldFolder)))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
-> Iso
(Maybe (HashMap Text FieldFolder))
(Maybe (HashMap Text FieldFolder))
(Maybe (HashMap Text FieldFolder))
(Maybe (HashMap Text FieldFolder))
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
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
(HashMap Text FieldFolder)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
dataSet_columnGroups :: Lens.Lens' DataSet (Prelude.Maybe (Prelude.NonEmpty ColumnGroup))
dataSet_columnGroups :: (Maybe (NonEmpty ColumnGroup) -> f (Maybe (NonEmpty ColumnGroup)))
-> DataSet -> f DataSet
dataSet_columnGroups = (DataSet -> Maybe (NonEmpty ColumnGroup))
-> (DataSet -> Maybe (NonEmpty ColumnGroup) -> DataSet)
-> Lens
DataSet
DataSet
(Maybe (NonEmpty ColumnGroup))
(Maybe (NonEmpty ColumnGroup))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe (NonEmpty ColumnGroup)
columnGroups :: Maybe (NonEmpty ColumnGroup)
$sel:columnGroups:DataSet' :: DataSet -> Maybe (NonEmpty ColumnGroup)
columnGroups} -> Maybe (NonEmpty ColumnGroup)
columnGroups) (\s :: DataSet
s@DataSet' {} Maybe (NonEmpty ColumnGroup)
a -> DataSet
s {$sel:columnGroups:DataSet' :: Maybe (NonEmpty ColumnGroup)
columnGroups = Maybe (NonEmpty ColumnGroup)
a} :: DataSet) ((Maybe (NonEmpty ColumnGroup) -> f (Maybe (NonEmpty ColumnGroup)))
-> DataSet -> f DataSet)
-> ((Maybe (NonEmpty ColumnGroup)
-> f (Maybe (NonEmpty ColumnGroup)))
-> Maybe (NonEmpty ColumnGroup)
-> f (Maybe (NonEmpty ColumnGroup)))
-> (Maybe (NonEmpty ColumnGroup)
-> f (Maybe (NonEmpty ColumnGroup)))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
-> Iso
(Maybe (NonEmpty ColumnGroup))
(Maybe (NonEmpty ColumnGroup))
(Maybe (NonEmpty ColumnGroup))
(Maybe (NonEmpty ColumnGroup))
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
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
(NonEmpty ColumnGroup)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
dataSet_lastUpdatedTime :: Lens.Lens' DataSet (Prelude.Maybe Prelude.UTCTime)
dataSet_lastUpdatedTime :: (Maybe UTCTime -> f (Maybe UTCTime)) -> DataSet -> f DataSet
dataSet_lastUpdatedTime = (DataSet -> Maybe POSIX)
-> (DataSet -> Maybe POSIX -> DataSet)
-> Lens DataSet DataSet (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe POSIX
lastUpdatedTime :: Maybe POSIX
$sel:lastUpdatedTime:DataSet' :: DataSet -> Maybe POSIX
lastUpdatedTime} -> Maybe POSIX
lastUpdatedTime) (\s :: DataSet
s@DataSet' {} Maybe POSIX
a -> DataSet
s {$sel:lastUpdatedTime:DataSet' :: Maybe POSIX
lastUpdatedTime = Maybe POSIX
a} :: DataSet) ((Maybe POSIX -> f (Maybe POSIX)) -> DataSet -> f DataSet)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSet
-> f DataSet
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
dataSet_arn :: Lens.Lens' DataSet (Prelude.Maybe Prelude.Text)
dataSet_arn :: (Maybe Text -> f (Maybe Text)) -> DataSet -> f DataSet
dataSet_arn = (DataSet -> Maybe Text)
-> (DataSet -> Maybe Text -> DataSet)
-> Lens DataSet DataSet (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe Text
arn :: Maybe Text
$sel:arn:DataSet' :: DataSet -> Maybe Text
arn} -> Maybe Text
arn) (\s :: DataSet
s@DataSet' {} Maybe Text
a -> DataSet
s {$sel:arn:DataSet' :: Maybe Text
arn = Maybe Text
a} :: DataSet)
dataSet_createdTime :: Lens.Lens' DataSet (Prelude.Maybe Prelude.UTCTime)
dataSet_createdTime :: (Maybe UTCTime -> f (Maybe UTCTime)) -> DataSet -> f DataSet
dataSet_createdTime = (DataSet -> Maybe POSIX)
-> (DataSet -> Maybe POSIX -> DataSet)
-> Lens DataSet DataSet (Maybe POSIX) (Maybe POSIX)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe POSIX
createdTime :: Maybe POSIX
$sel:createdTime:DataSet' :: DataSet -> Maybe POSIX
createdTime} -> Maybe POSIX
createdTime) (\s :: DataSet
s@DataSet' {} Maybe POSIX
a -> DataSet
s {$sel:createdTime:DataSet' :: Maybe POSIX
createdTime = Maybe POSIX
a} :: DataSet) ((Maybe POSIX -> f (Maybe POSIX)) -> DataSet -> f DataSet)
-> ((Maybe UTCTime -> f (Maybe UTCTime))
-> Maybe POSIX -> f (Maybe POSIX))
-> (Maybe UTCTime -> f (Maybe UTCTime))
-> DataSet
-> f DataSet
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
dataSet_consumedSpiceCapacityInBytes :: Lens.Lens' DataSet (Prelude.Maybe Prelude.Integer)
dataSet_consumedSpiceCapacityInBytes :: (Maybe Integer -> f (Maybe Integer)) -> DataSet -> f DataSet
dataSet_consumedSpiceCapacityInBytes = (DataSet -> Maybe Integer)
-> (DataSet -> Maybe Integer -> DataSet)
-> Lens DataSet DataSet (Maybe Integer) (Maybe Integer)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe Integer
consumedSpiceCapacityInBytes :: Maybe Integer
$sel:consumedSpiceCapacityInBytes:DataSet' :: DataSet -> Maybe Integer
consumedSpiceCapacityInBytes} -> Maybe Integer
consumedSpiceCapacityInBytes) (\s :: DataSet
s@DataSet' {} Maybe Integer
a -> DataSet
s {$sel:consumedSpiceCapacityInBytes:DataSet' :: Maybe Integer
consumedSpiceCapacityInBytes = Maybe Integer
a} :: DataSet)
dataSet_importMode :: Lens.Lens' DataSet (Prelude.Maybe DataSetImportMode)
dataSet_importMode :: (Maybe DataSetImportMode -> f (Maybe DataSetImportMode))
-> DataSet -> f DataSet
dataSet_importMode = (DataSet -> Maybe DataSetImportMode)
-> (DataSet -> Maybe DataSetImportMode -> DataSet)
-> Lens
DataSet DataSet (Maybe DataSetImportMode) (Maybe DataSetImportMode)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe DataSetImportMode
importMode :: Maybe DataSetImportMode
$sel:importMode:DataSet' :: DataSet -> Maybe DataSetImportMode
importMode} -> Maybe DataSetImportMode
importMode) (\s :: DataSet
s@DataSet' {} Maybe DataSetImportMode
a -> DataSet
s {$sel:importMode:DataSet' :: Maybe DataSetImportMode
importMode = Maybe DataSetImportMode
a} :: DataSet)
dataSet_physicalTableMap :: Lens.Lens' DataSet (Prelude.Maybe (Prelude.HashMap Prelude.Text PhysicalTable))
dataSet_physicalTableMap :: (Maybe (HashMap Text PhysicalTable)
-> f (Maybe (HashMap Text PhysicalTable)))
-> DataSet -> f DataSet
dataSet_physicalTableMap = (DataSet -> Maybe (HashMap Text PhysicalTable))
-> (DataSet -> Maybe (HashMap Text PhysicalTable) -> DataSet)
-> Lens
DataSet
DataSet
(Maybe (HashMap Text PhysicalTable))
(Maybe (HashMap Text PhysicalTable))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe (HashMap Text PhysicalTable)
physicalTableMap :: Maybe (HashMap Text PhysicalTable)
$sel:physicalTableMap:DataSet' :: DataSet -> Maybe (HashMap Text PhysicalTable)
physicalTableMap} -> Maybe (HashMap Text PhysicalTable)
physicalTableMap) (\s :: DataSet
s@DataSet' {} Maybe (HashMap Text PhysicalTable)
a -> DataSet
s {$sel:physicalTableMap:DataSet' :: Maybe (HashMap Text PhysicalTable)
physicalTableMap = Maybe (HashMap Text PhysicalTable)
a} :: DataSet) ((Maybe (HashMap Text PhysicalTable)
-> f (Maybe (HashMap Text PhysicalTable)))
-> DataSet -> f DataSet)
-> ((Maybe (HashMap Text PhysicalTable)
-> f (Maybe (HashMap Text PhysicalTable)))
-> Maybe (HashMap Text PhysicalTable)
-> f (Maybe (HashMap Text PhysicalTable)))
-> (Maybe (HashMap Text PhysicalTable)
-> f (Maybe (HashMap Text PhysicalTable)))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
-> Iso
(Maybe (HashMap Text PhysicalTable))
(Maybe (HashMap Text PhysicalTable))
(Maybe (HashMap Text PhysicalTable))
(Maybe (HashMap Text PhysicalTable))
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
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
(HashMap Text PhysicalTable)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
dataSet_dataSetId :: Lens.Lens' DataSet (Prelude.Maybe Prelude.Text)
dataSet_dataSetId :: (Maybe Text -> f (Maybe Text)) -> DataSet -> f DataSet
dataSet_dataSetId = (DataSet -> Maybe Text)
-> (DataSet -> Maybe Text -> DataSet)
-> Lens DataSet DataSet (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe Text
dataSetId :: Maybe Text
$sel:dataSetId:DataSet' :: DataSet -> Maybe Text
dataSetId} -> Maybe Text
dataSetId) (\s :: DataSet
s@DataSet' {} Maybe Text
a -> DataSet
s {$sel:dataSetId:DataSet' :: Maybe Text
dataSetId = Maybe Text
a} :: DataSet)
dataSet_name :: Lens.Lens' DataSet (Prelude.Maybe Prelude.Text)
dataSet_name :: (Maybe Text -> f (Maybe Text)) -> DataSet -> f DataSet
dataSet_name = (DataSet -> Maybe Text)
-> (DataSet -> Maybe Text -> DataSet)
-> Lens DataSet DataSet (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe Text
name :: Maybe Text
$sel:name:DataSet' :: DataSet -> Maybe Text
name} -> Maybe Text
name) (\s :: DataSet
s@DataSet' {} Maybe Text
a -> DataSet
s {$sel:name:DataSet' :: Maybe Text
name = Maybe Text
a} :: DataSet)
dataSet_dataSetUsageConfiguration :: Lens.Lens' DataSet (Prelude.Maybe DataSetUsageConfiguration)
dataSet_dataSetUsageConfiguration :: (Maybe DataSetUsageConfiguration
-> f (Maybe DataSetUsageConfiguration))
-> DataSet -> f DataSet
dataSet_dataSetUsageConfiguration = (DataSet -> Maybe DataSetUsageConfiguration)
-> (DataSet -> Maybe DataSetUsageConfiguration -> DataSet)
-> Lens
DataSet
DataSet
(Maybe DataSetUsageConfiguration)
(Maybe DataSetUsageConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe DataSetUsageConfiguration
dataSetUsageConfiguration :: Maybe DataSetUsageConfiguration
$sel:dataSetUsageConfiguration:DataSet' :: DataSet -> Maybe DataSetUsageConfiguration
dataSetUsageConfiguration} -> Maybe DataSetUsageConfiguration
dataSetUsageConfiguration) (\s :: DataSet
s@DataSet' {} Maybe DataSetUsageConfiguration
a -> DataSet
s {$sel:dataSetUsageConfiguration:DataSet' :: Maybe DataSetUsageConfiguration
dataSetUsageConfiguration = Maybe DataSetUsageConfiguration
a} :: DataSet)
dataSet_outputColumns :: Lens.Lens' DataSet (Prelude.Maybe [OutputColumn])
dataSet_outputColumns :: (Maybe [OutputColumn] -> f (Maybe [OutputColumn]))
-> DataSet -> f DataSet
dataSet_outputColumns = (DataSet -> Maybe [OutputColumn])
-> (DataSet -> Maybe [OutputColumn] -> DataSet)
-> Lens
DataSet DataSet (Maybe [OutputColumn]) (Maybe [OutputColumn])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe [OutputColumn]
outputColumns :: Maybe [OutputColumn]
$sel:outputColumns:DataSet' :: DataSet -> Maybe [OutputColumn]
outputColumns} -> Maybe [OutputColumn]
outputColumns) (\s :: DataSet
s@DataSet' {} Maybe [OutputColumn]
a -> DataSet
s {$sel:outputColumns:DataSet' :: Maybe [OutputColumn]
outputColumns = Maybe [OutputColumn]
a} :: DataSet) ((Maybe [OutputColumn] -> f (Maybe [OutputColumn]))
-> DataSet -> f DataSet)
-> ((Maybe [OutputColumn] -> f (Maybe [OutputColumn]))
-> Maybe [OutputColumn] -> f (Maybe [OutputColumn]))
-> (Maybe [OutputColumn] -> f (Maybe [OutputColumn]))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso [OutputColumn] [OutputColumn] [OutputColumn] [OutputColumn]
-> Iso
(Maybe [OutputColumn])
(Maybe [OutputColumn])
(Maybe [OutputColumn])
(Maybe [OutputColumn])
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 [OutputColumn] [OutputColumn] [OutputColumn] [OutputColumn]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
dataSet_rowLevelPermissionTagConfiguration :: Lens.Lens' DataSet (Prelude.Maybe RowLevelPermissionTagConfiguration)
dataSet_rowLevelPermissionTagConfiguration :: (Maybe RowLevelPermissionTagConfiguration
-> f (Maybe RowLevelPermissionTagConfiguration))
-> DataSet -> f DataSet
dataSet_rowLevelPermissionTagConfiguration = (DataSet -> Maybe RowLevelPermissionTagConfiguration)
-> (DataSet -> Maybe RowLevelPermissionTagConfiguration -> DataSet)
-> Lens
DataSet
DataSet
(Maybe RowLevelPermissionTagConfiguration)
(Maybe RowLevelPermissionTagConfiguration)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration :: Maybe RowLevelPermissionTagConfiguration
$sel:rowLevelPermissionTagConfiguration:DataSet' :: DataSet -> Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration} -> Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration) (\s :: DataSet
s@DataSet' {} Maybe RowLevelPermissionTagConfiguration
a -> DataSet
s {$sel:rowLevelPermissionTagConfiguration:DataSet' :: Maybe RowLevelPermissionTagConfiguration
rowLevelPermissionTagConfiguration = Maybe RowLevelPermissionTagConfiguration
a} :: DataSet)
dataSet_rowLevelPermissionDataSet :: Lens.Lens' DataSet (Prelude.Maybe RowLevelPermissionDataSet)
dataSet_rowLevelPermissionDataSet :: (Maybe RowLevelPermissionDataSet
-> f (Maybe RowLevelPermissionDataSet))
-> DataSet -> f DataSet
dataSet_rowLevelPermissionDataSet = (DataSet -> Maybe RowLevelPermissionDataSet)
-> (DataSet -> Maybe RowLevelPermissionDataSet -> DataSet)
-> Lens
DataSet
DataSet
(Maybe RowLevelPermissionDataSet)
(Maybe RowLevelPermissionDataSet)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet :: Maybe RowLevelPermissionDataSet
$sel:rowLevelPermissionDataSet:DataSet' :: DataSet -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet} -> Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet) (\s :: DataSet
s@DataSet' {} Maybe RowLevelPermissionDataSet
a -> DataSet
s {$sel:rowLevelPermissionDataSet:DataSet' :: Maybe RowLevelPermissionDataSet
rowLevelPermissionDataSet = Maybe RowLevelPermissionDataSet
a} :: DataSet)
dataSet_columnLevelPermissionRules :: Lens.Lens' DataSet (Prelude.Maybe (Prelude.NonEmpty ColumnLevelPermissionRule))
dataSet_columnLevelPermissionRules :: (Maybe (NonEmpty ColumnLevelPermissionRule)
-> f (Maybe (NonEmpty ColumnLevelPermissionRule)))
-> DataSet -> f DataSet
dataSet_columnLevelPermissionRules = (DataSet -> Maybe (NonEmpty ColumnLevelPermissionRule))
-> (DataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule) -> DataSet)
-> Lens
DataSet
DataSet
(Maybe (NonEmpty ColumnLevelPermissionRule))
(Maybe (NonEmpty ColumnLevelPermissionRule))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules :: Maybe (NonEmpty ColumnLevelPermissionRule)
$sel:columnLevelPermissionRules:DataSet' :: DataSet -> Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules} -> Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules) (\s :: DataSet
s@DataSet' {} Maybe (NonEmpty ColumnLevelPermissionRule)
a -> DataSet
s {$sel:columnLevelPermissionRules:DataSet' :: Maybe (NonEmpty ColumnLevelPermissionRule)
columnLevelPermissionRules = Maybe (NonEmpty ColumnLevelPermissionRule)
a} :: DataSet) ((Maybe (NonEmpty ColumnLevelPermissionRule)
-> f (Maybe (NonEmpty ColumnLevelPermissionRule)))
-> DataSet -> f DataSet)
-> ((Maybe (NonEmpty ColumnLevelPermissionRule)
-> f (Maybe (NonEmpty ColumnLevelPermissionRule)))
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> f (Maybe (NonEmpty ColumnLevelPermissionRule)))
-> (Maybe (NonEmpty ColumnLevelPermissionRule)
-> f (Maybe (NonEmpty ColumnLevelPermissionRule)))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
-> Iso
(Maybe (NonEmpty ColumnLevelPermissionRule))
(Maybe (NonEmpty ColumnLevelPermissionRule))
(Maybe (NonEmpty ColumnLevelPermissionRule))
(Maybe (NonEmpty ColumnLevelPermissionRule))
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
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
(NonEmpty ColumnLevelPermissionRule)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
dataSet_logicalTableMap :: Lens.Lens' DataSet (Prelude.Maybe (Prelude.HashMap Prelude.Text LogicalTable))
dataSet_logicalTableMap :: (Maybe (HashMap Text LogicalTable)
-> f (Maybe (HashMap Text LogicalTable)))
-> DataSet -> f DataSet
dataSet_logicalTableMap = (DataSet -> Maybe (HashMap Text LogicalTable))
-> (DataSet -> Maybe (HashMap Text LogicalTable) -> DataSet)
-> Lens
DataSet
DataSet
(Maybe (HashMap Text LogicalTable))
(Maybe (HashMap Text LogicalTable))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DataSet' {Maybe (HashMap Text LogicalTable)
logicalTableMap :: Maybe (HashMap Text LogicalTable)
$sel:logicalTableMap:DataSet' :: DataSet -> Maybe (HashMap Text LogicalTable)
logicalTableMap} -> Maybe (HashMap Text LogicalTable)
logicalTableMap) (\s :: DataSet
s@DataSet' {} Maybe (HashMap Text LogicalTable)
a -> DataSet
s {$sel:logicalTableMap:DataSet' :: Maybe (HashMap Text LogicalTable)
logicalTableMap = Maybe (HashMap Text LogicalTable)
a} :: DataSet) ((Maybe (HashMap Text LogicalTable)
-> f (Maybe (HashMap Text LogicalTable)))
-> DataSet -> f DataSet)
-> ((Maybe (HashMap Text LogicalTable)
-> f (Maybe (HashMap Text LogicalTable)))
-> Maybe (HashMap Text LogicalTable)
-> f (Maybe (HashMap Text LogicalTable)))
-> (Maybe (HashMap Text LogicalTable)
-> f (Maybe (HashMap Text LogicalTable)))
-> DataSet
-> f DataSet
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
-> Iso
(Maybe (HashMap Text LogicalTable))
(Maybe (HashMap Text LogicalTable))
(Maybe (HashMap Text LogicalTable))
(Maybe (HashMap Text LogicalTable))
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
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
(HashMap Text LogicalTable)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.FromJSON DataSet where
parseJSON :: Value -> Parser DataSet
parseJSON =
String -> (Object -> Parser DataSet) -> Value -> Parser DataSet
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"DataSet"
( \Object
x ->
Maybe (HashMap Text FieldFolder)
-> Maybe (NonEmpty ColumnGroup)
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet
DataSet'
(Maybe (HashMap Text FieldFolder)
-> Maybe (NonEmpty ColumnGroup)
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe (HashMap Text FieldFolder))
-> Parser
(Maybe (NonEmpty ColumnGroup)
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe (Maybe (HashMap Text FieldFolder)))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"FieldFolders" Parser (Maybe (Maybe (HashMap Text FieldFolder)))
-> Maybe (HashMap Text FieldFolder)
-> Parser (Maybe (HashMap Text FieldFolder))
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe (HashMap Text FieldFolder)
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe (NonEmpty ColumnGroup)
-> Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe (NonEmpty ColumnGroup))
-> Parser
(Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (NonEmpty ColumnGroup))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ColumnGroups")
Parser
(Maybe POSIX
-> Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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
"LastUpdatedTime")
Parser
(Maybe Text
-> Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe Text)
-> Parser
(Maybe POSIX
-> Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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 Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe POSIX)
-> Parser
(Maybe Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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 Integer
-> Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe Integer)
-> Parser
(Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Integer)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ConsumedSpiceCapacityInBytes")
Parser
(Maybe DataSetImportMode
-> Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe DataSetImportMode)
-> Parser
(Maybe (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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 (HashMap Text PhysicalTable)
-> Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe (HashMap Text PhysicalTable))
-> Parser
(Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Parser (Maybe (Maybe (HashMap Text PhysicalTable)))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"PhysicalTableMap"
Parser (Maybe (Maybe (HashMap Text PhysicalTable)))
-> Maybe (HashMap Text PhysicalTable)
-> Parser (Maybe (HashMap Text PhysicalTable))
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe (HashMap Text PhysicalTable)
forall a. Monoid a => a
Prelude.mempty
)
Parser
(Maybe Text
-> Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe Text)
-> Parser
(Maybe Text
-> Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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 DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe Text)
-> Parser
(Maybe DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
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 DataSetUsageConfiguration
-> Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe DataSetUsageConfiguration)
-> Parser
(Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe DataSetUsageConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"DataSetUsageConfiguration")
Parser
(Maybe [OutputColumn]
-> Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe [OutputColumn])
-> Parser
(Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe (Maybe [OutputColumn]))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"OutputColumns" Parser (Maybe (Maybe [OutputColumn]))
-> Maybe [OutputColumn] -> Parser (Maybe [OutputColumn])
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe [OutputColumn]
forall a. Monoid a => a
Prelude.mempty)
Parser
(Maybe RowLevelPermissionTagConfiguration
-> Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe RowLevelPermissionTagConfiguration)
-> Parser
(Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe RowLevelPermissionTagConfiguration)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"RowLevelPermissionTagConfiguration")
Parser
(Maybe RowLevelPermissionDataSet
-> Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable)
-> DataSet)
-> Parser (Maybe RowLevelPermissionDataSet)
-> Parser
(Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable) -> DataSet)
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")
Parser
(Maybe (NonEmpty ColumnLevelPermissionRule)
-> Maybe (HashMap Text LogicalTable) -> DataSet)
-> Parser (Maybe (NonEmpty ColumnLevelPermissionRule))
-> Parser (Maybe (HashMap Text LogicalTable) -> DataSet)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object
-> Text -> Parser (Maybe (NonEmpty ColumnLevelPermissionRule))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"ColumnLevelPermissionRules")
Parser (Maybe (HashMap Text LogicalTable) -> DataSet)
-> Parser (Maybe (HashMap Text LogicalTable)) -> Parser DataSet
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ( Object
x Object
-> Text -> Parser (Maybe (Maybe (HashMap Text LogicalTable)))
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"LogicalTableMap"
Parser (Maybe (Maybe (HashMap Text LogicalTable)))
-> Maybe (HashMap Text LogicalTable)
-> Parser (Maybe (HashMap Text LogicalTable))
forall a. Parser (Maybe a) -> a -> Parser a
Core..!= Maybe (HashMap Text LogicalTable)
forall a. Monoid a => a
Prelude.mempty
)
)
instance Prelude.Hashable DataSet
instance Prelude.NFData DataSet