module Stratosphere.QuickSight.Topic.DatasetMetadataProperty (
module Exports, DatasetMetadataProperty(..),
mkDatasetMetadataProperty
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.DataAggregationProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.TopicCalculatedFieldProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.TopicColumnProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.TopicFilterProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.TopicNamedEntityProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data DatasetMetadataProperty
=
DatasetMetadataProperty {DatasetMetadataProperty -> ()
haddock_workaround_ :: (),
DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
calculatedFields :: (Prelude.Maybe [TopicCalculatedFieldProperty]),
DatasetMetadataProperty -> Maybe [TopicColumnProperty]
columns :: (Prelude.Maybe [TopicColumnProperty]),
DatasetMetadataProperty -> Maybe DataAggregationProperty
dataAggregation :: (Prelude.Maybe DataAggregationProperty),
DatasetMetadataProperty -> Value Text
datasetArn :: (Value Prelude.Text),
DatasetMetadataProperty -> Maybe (Value Text)
datasetDescription :: (Prelude.Maybe (Value Prelude.Text)),
DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: (Prelude.Maybe (Value Prelude.Text)),
DatasetMetadataProperty -> Maybe [TopicFilterProperty]
filters :: (Prelude.Maybe [TopicFilterProperty]),
DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
namedEntities :: (Prelude.Maybe [TopicNamedEntityProperty])}
deriving stock (DatasetMetadataProperty -> DatasetMetadataProperty -> Bool
(DatasetMetadataProperty -> DatasetMetadataProperty -> Bool)
-> (DatasetMetadataProperty -> DatasetMetadataProperty -> Bool)
-> Eq DatasetMetadataProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: DatasetMetadataProperty -> DatasetMetadataProperty -> Bool
== :: DatasetMetadataProperty -> DatasetMetadataProperty -> Bool
$c/= :: DatasetMetadataProperty -> DatasetMetadataProperty -> Bool
/= :: DatasetMetadataProperty -> DatasetMetadataProperty -> Bool
Prelude.Eq, Int -> DatasetMetadataProperty -> ShowS
[DatasetMetadataProperty] -> ShowS
DatasetMetadataProperty -> String
(Int -> DatasetMetadataProperty -> ShowS)
-> (DatasetMetadataProperty -> String)
-> ([DatasetMetadataProperty] -> ShowS)
-> Show DatasetMetadataProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> DatasetMetadataProperty -> ShowS
showsPrec :: Int -> DatasetMetadataProperty -> ShowS
$cshow :: DatasetMetadataProperty -> String
show :: DatasetMetadataProperty -> String
$cshowList :: [DatasetMetadataProperty] -> ShowS
showList :: [DatasetMetadataProperty] -> ShowS
Prelude.Show)
mkDatasetMetadataProperty ::
Value Prelude.Text -> DatasetMetadataProperty
mkDatasetMetadataProperty :: Value Text -> DatasetMetadataProperty
mkDatasetMetadataProperty Value Text
datasetArn
= DatasetMetadataProperty
{haddock_workaround_ :: ()
haddock_workaround_ = (), datasetArn :: Value Text
datasetArn = Value Text
datasetArn,
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
calculatedFields = Maybe [TopicCalculatedFieldProperty]
forall a. Maybe a
Prelude.Nothing, columns :: Maybe [TopicColumnProperty]
columns = Maybe [TopicColumnProperty]
forall a. Maybe a
Prelude.Nothing,
dataAggregation :: Maybe DataAggregationProperty
dataAggregation = Maybe DataAggregationProperty
forall a. Maybe a
Prelude.Nothing,
datasetDescription :: Maybe (Value Text)
datasetDescription = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
datasetName :: Maybe (Value Text)
datasetName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, filters :: Maybe [TopicFilterProperty]
filters = Maybe [TopicFilterProperty]
forall a. Maybe a
Prelude.Nothing,
namedEntities :: Maybe [TopicNamedEntityProperty]
namedEntities = Maybe [TopicNamedEntityProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties DatasetMetadataProperty where
toResourceProperties :: DatasetMetadataProperty -> ResourceProperties
toResourceProperties DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Topic.DatasetMetadata",
supportsTags :: Bool
supportsTags = Bool
Prelude.False,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DatasetArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
datasetArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [TopicCalculatedFieldProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CalculatedFields" ([TopicCalculatedFieldProperty] -> (Key, Value))
-> Maybe [TopicCalculatedFieldProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicCalculatedFieldProperty]
calculatedFields,
Key -> [TopicColumnProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Columns" ([TopicColumnProperty] -> (Key, Value))
-> Maybe [TopicColumnProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicColumnProperty]
columns,
Key -> DataAggregationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataAggregation" (DataAggregationProperty -> (Key, Value))
-> Maybe DataAggregationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataAggregationProperty
dataAggregation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatasetDescription" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
datasetDescription,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatasetName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
datasetName,
Key -> [TopicFilterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Filters" ([TopicFilterProperty] -> (Key, Value))
-> Maybe [TopicFilterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicFilterProperty]
filters,
Key -> [TopicNamedEntityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NamedEntities" ([TopicNamedEntityProperty] -> (Key, Value))
-> Maybe [TopicNamedEntityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicNamedEntityProperty]
namedEntities]))}
instance JSON.ToJSON DatasetMetadataProperty where
toJSON :: DatasetMetadataProperty -> Value
toJSON DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
[Key
"DatasetArn" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
datasetArn]
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[Key -> [TopicCalculatedFieldProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CalculatedFields" ([TopicCalculatedFieldProperty] -> (Key, Value))
-> Maybe [TopicCalculatedFieldProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicCalculatedFieldProperty]
calculatedFields,
Key -> [TopicColumnProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Columns" ([TopicColumnProperty] -> (Key, Value))
-> Maybe [TopicColumnProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicColumnProperty]
columns,
Key -> DataAggregationProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataAggregation" (DataAggregationProperty -> (Key, Value))
-> Maybe DataAggregationProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe DataAggregationProperty
dataAggregation,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatasetDescription" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
datasetDescription,
Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DatasetName" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
datasetName,
Key -> [TopicFilterProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Filters" ([TopicFilterProperty] -> (Key, Value))
-> Maybe [TopicFilterProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicFilterProperty]
filters,
Key -> [TopicNamedEntityProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NamedEntities" ([TopicNamedEntityProperty] -> (Key, Value))
-> Maybe [TopicNamedEntityProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [TopicNamedEntityProperty]
namedEntities])))
instance Property "CalculatedFields" DatasetMetadataProperty where
type PropertyType "CalculatedFields" DatasetMetadataProperty = [TopicCalculatedFieldProperty]
set :: PropertyType "CalculatedFields" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "CalculatedFields" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty
{calculatedFields :: Maybe [TopicCalculatedFieldProperty]
calculatedFields = [TopicCalculatedFieldProperty]
-> Maybe [TopicCalculatedFieldProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TopicCalculatedFieldProperty]
PropertyType "CalculatedFields" DatasetMetadataProperty
newValue, Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "Columns" DatasetMetadataProperty where
type PropertyType "Columns" DatasetMetadataProperty = [TopicColumnProperty]
set :: PropertyType "Columns" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "Columns" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty {columns :: Maybe [TopicColumnProperty]
columns = [TopicColumnProperty] -> Maybe [TopicColumnProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TopicColumnProperty]
PropertyType "Columns" DatasetMetadataProperty
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "DataAggregation" DatasetMetadataProperty where
type PropertyType "DataAggregation" DatasetMetadataProperty = DataAggregationProperty
set :: PropertyType "DataAggregation" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "DataAggregation" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty
{dataAggregation :: Maybe DataAggregationProperty
dataAggregation = DataAggregationProperty -> Maybe DataAggregationProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataAggregation" DatasetMetadataProperty
DataAggregationProperty
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "DatasetArn" DatasetMetadataProperty where
type PropertyType "DatasetArn" DatasetMetadataProperty = Value Prelude.Text
set :: PropertyType "DatasetArn" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "DatasetArn" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty {datasetArn :: Value Text
datasetArn = PropertyType "DatasetArn" DatasetMetadataProperty
Value Text
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "DatasetDescription" DatasetMetadataProperty where
type PropertyType "DatasetDescription" DatasetMetadataProperty = Value Prelude.Text
set :: PropertyType "DatasetDescription" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "DatasetDescription" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty
{datasetDescription :: Maybe (Value Text)
datasetDescription = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DatasetDescription" DatasetMetadataProperty
Value Text
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "DatasetName" DatasetMetadataProperty where
type PropertyType "DatasetName" DatasetMetadataProperty = Value Prelude.Text
set :: PropertyType "DatasetName" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "DatasetName" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty {datasetName :: Maybe (Value Text)
datasetName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DatasetName" DatasetMetadataProperty
Value Text
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "Filters" DatasetMetadataProperty where
type PropertyType "Filters" DatasetMetadataProperty = [TopicFilterProperty]
set :: PropertyType "Filters" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "Filters" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty {filters :: Maybe [TopicFilterProperty]
filters = [TopicFilterProperty] -> Maybe [TopicFilterProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TopicFilterProperty]
PropertyType "Filters" DatasetMetadataProperty
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
namedEntities :: Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
instance Property "NamedEntities" DatasetMetadataProperty where
type PropertyType "NamedEntities" DatasetMetadataProperty = [TopicNamedEntityProperty]
set :: PropertyType "NamedEntities" DatasetMetadataProperty
-> DatasetMetadataProperty -> DatasetMetadataProperty
set PropertyType "NamedEntities" DatasetMetadataProperty
newValue DatasetMetadataProperty {Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicNamedEntityProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: DatasetMetadataProperty -> ()
calculatedFields :: DatasetMetadataProperty -> Maybe [TopicCalculatedFieldProperty]
columns :: DatasetMetadataProperty -> Maybe [TopicColumnProperty]
dataAggregation :: DatasetMetadataProperty -> Maybe DataAggregationProperty
datasetArn :: DatasetMetadataProperty -> Value Text
datasetDescription :: DatasetMetadataProperty -> Maybe (Value Text)
datasetName :: DatasetMetadataProperty -> Maybe (Value Text)
filters :: DatasetMetadataProperty -> Maybe [TopicFilterProperty]
namedEntities :: DatasetMetadataProperty -> Maybe [TopicNamedEntityProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
namedEntities :: Maybe [TopicNamedEntityProperty]
..}
= DatasetMetadataProperty
{namedEntities :: Maybe [TopicNamedEntityProperty]
namedEntities = [TopicNamedEntityProperty] -> Maybe [TopicNamedEntityProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [TopicNamedEntityProperty]
PropertyType "NamedEntities" DatasetMetadataProperty
newValue, Maybe [TopicCalculatedFieldProperty]
Maybe [TopicColumnProperty]
Maybe [TopicFilterProperty]
Maybe (Value Text)
Maybe DataAggregationProperty
()
Value Text
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
haddock_workaround_ :: ()
calculatedFields :: Maybe [TopicCalculatedFieldProperty]
columns :: Maybe [TopicColumnProperty]
dataAggregation :: Maybe DataAggregationProperty
datasetArn :: Value Text
datasetDescription :: Maybe (Value Text)
datasetName :: Maybe (Value Text)
filters :: Maybe [TopicFilterProperty]
..}