module Stratosphere.QuickSight.Topic (
module Exports, Topic(..), mkTopic
) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.CustomInstructionsProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.DatasetMetadataProperty as Exports
import {-# SOURCE #-} Stratosphere.QuickSight.Topic.TopicConfigOptionsProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Topic
=
Topic {Topic -> ()
haddock_workaround_ :: (),
Topic -> Maybe (Value Text)
awsAccountId :: (Prelude.Maybe (Value Prelude.Text)),
Topic -> Maybe TopicConfigOptionsProperty
configOptions :: (Prelude.Maybe TopicConfigOptionsProperty),
Topic -> Maybe CustomInstructionsProperty
customInstructions :: (Prelude.Maybe CustomInstructionsProperty),
Topic -> Maybe [DatasetMetadataProperty]
dataSets :: (Prelude.Maybe [DatasetMetadataProperty]),
Topic -> Maybe (Value Text)
description :: (Prelude.Maybe (Value Prelude.Text)),
Topic -> Maybe (ValueList Text)
folderArns :: (Prelude.Maybe (ValueList Prelude.Text)),
Topic -> Maybe (Value Text)
name :: (Prelude.Maybe (Value Prelude.Text)),
Topic -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
Topic -> Maybe (Value Text)
topicId :: (Prelude.Maybe (Value Prelude.Text)),
Topic -> Maybe (Value Text)
userExperienceVersion :: (Prelude.Maybe (Value Prelude.Text))}
deriving stock (Topic -> Topic -> Bool
(Topic -> Topic -> Bool) -> (Topic -> Topic -> Bool) -> Eq Topic
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: Topic -> Topic -> Bool
== :: Topic -> Topic -> Bool
$c/= :: Topic -> Topic -> Bool
/= :: Topic -> Topic -> Bool
Prelude.Eq, Int -> Topic -> ShowS
[Topic] -> ShowS
Topic -> String
(Int -> Topic -> ShowS)
-> (Topic -> String) -> ([Topic] -> ShowS) -> Show Topic
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> Topic -> ShowS
showsPrec :: Int -> Topic -> ShowS
$cshow :: Topic -> String
show :: Topic -> String
$cshowList :: [Topic] -> ShowS
showList :: [Topic] -> ShowS
Prelude.Show)
mkTopic :: Topic
mkTopic :: Topic
mkTopic
= Topic
{haddock_workaround_ :: ()
haddock_workaround_ = (), awsAccountId :: Maybe (Value Text)
awsAccountId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
configOptions :: Maybe TopicConfigOptionsProperty
configOptions = Maybe TopicConfigOptionsProperty
forall a. Maybe a
Prelude.Nothing,
customInstructions :: Maybe CustomInstructionsProperty
customInstructions = Maybe CustomInstructionsProperty
forall a. Maybe a
Prelude.Nothing, dataSets :: Maybe [DatasetMetadataProperty]
dataSets = Maybe [DatasetMetadataProperty]
forall a. Maybe a
Prelude.Nothing,
description :: Maybe (Value Text)
description = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, folderArns :: Maybe (ValueList Text)
folderArns = Maybe (ValueList Text)
forall a. Maybe a
Prelude.Nothing,
name :: Maybe (Value Text)
name = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing,
topicId :: Maybe (Value Text)
topicId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, userExperienceVersion :: Maybe (Value Text)
userExperienceVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Topic where
toResourceProperties :: Topic -> ResourceProperties
toResourceProperties Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= ResourceProperties
{awsType :: Text
awsType = Text
"AWS::QuickSight::Topic", supportsTags :: Bool
supportsTags = Bool
Prelude.True,
properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"AwsAccountId" (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)
awsAccountId,
Key -> TopicConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConfigOptions" (TopicConfigOptionsProperty -> (Key, Value))
-> Maybe TopicConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TopicConfigOptionsProperty
configOptions,
Key -> CustomInstructionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomInstructions" (CustomInstructionsProperty -> (Key, Value))
-> Maybe CustomInstructionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomInstructionsProperty
customInstructions,
Key -> [DatasetMetadataProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataSets" ([DatasetMetadataProperty] -> (Key, Value))
-> Maybe [DatasetMetadataProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DatasetMetadataProperty]
dataSets,
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
"Description" (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)
description,
Key -> ValueList 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
"FolderArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
folderArns,
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
"Name" (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)
name,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
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
"TopicId" (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)
topicId,
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
"UserExperienceVersion"
(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)
userExperienceVersion])}
instance JSON.ToJSON Topic where
toJSON :: Topic -> Value
toJSON Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= [(Key, Value)] -> Value
JSON.object
([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[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
"AwsAccountId" (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)
awsAccountId,
Key -> TopicConfigOptionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ConfigOptions" (TopicConfigOptionsProperty -> (Key, Value))
-> Maybe TopicConfigOptionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe TopicConfigOptionsProperty
configOptions,
Key -> CustomInstructionsProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CustomInstructions" (CustomInstructionsProperty -> (Key, Value))
-> Maybe CustomInstructionsProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe CustomInstructionsProperty
customInstructions,
Key -> [DatasetMetadataProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataSets" ([DatasetMetadataProperty] -> (Key, Value))
-> Maybe [DatasetMetadataProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [DatasetMetadataProperty]
dataSets,
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
"Description" (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)
description,
Key -> ValueList 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
"FolderArns" (ValueList Text -> (Key, Value))
-> Maybe (ValueList Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (ValueList Text)
folderArns,
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
"Name" (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)
name,
Key -> [Tag] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Tags" ([Tag] -> (Key, Value)) -> Maybe [Tag] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [Tag]
tags,
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
"TopicId" (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)
topicId,
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
"UserExperienceVersion"
(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)
userExperienceVersion]))
instance Property "AwsAccountId" Topic where
type PropertyType "AwsAccountId" Topic = Value Prelude.Text
set :: PropertyType "AwsAccountId" Topic -> Topic -> Topic
set PropertyType "AwsAccountId" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {awsAccountId :: Maybe (Value Text)
awsAccountId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AwsAccountId" Topic
Value Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "ConfigOptions" Topic where
type PropertyType "ConfigOptions" Topic = TopicConfigOptionsProperty
set :: PropertyType "ConfigOptions" Topic -> Topic -> Topic
set PropertyType "ConfigOptions" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {configOptions :: Maybe TopicConfigOptionsProperty
configOptions = TopicConfigOptionsProperty -> Maybe TopicConfigOptionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ConfigOptions" Topic
TopicConfigOptionsProperty
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "CustomInstructions" Topic where
type PropertyType "CustomInstructions" Topic = CustomInstructionsProperty
set :: PropertyType "CustomInstructions" Topic -> Topic -> Topic
set PropertyType "CustomInstructions" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {customInstructions :: Maybe CustomInstructionsProperty
customInstructions = CustomInstructionsProperty -> Maybe CustomInstructionsProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CustomInstructions" Topic
CustomInstructionsProperty
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "DataSets" Topic where
type PropertyType "DataSets" Topic = [DatasetMetadataProperty]
set :: PropertyType "DataSets" Topic -> Topic -> Topic
set PropertyType "DataSets" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {dataSets :: Maybe [DatasetMetadataProperty]
dataSets = [DatasetMetadataProperty] -> Maybe [DatasetMetadataProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [DatasetMetadataProperty]
PropertyType "DataSets" Topic
newValue, Maybe [Tag]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "Description" Topic where
type PropertyType "Description" Topic = Value Prelude.Text
set :: PropertyType "Description" Topic -> Topic -> Topic
set PropertyType "Description" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {description :: Maybe (Value Text)
description = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Description" Topic
Value Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "FolderArns" Topic where
type PropertyType "FolderArns" Topic = ValueList Prelude.Text
set :: PropertyType "FolderArns" Topic -> Topic -> Topic
set PropertyType "FolderArns" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {folderArns :: Maybe (ValueList Text)
folderArns = ValueList Text -> Maybe (ValueList Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FolderArns" Topic
ValueList Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "Name" Topic where
type PropertyType "Name" Topic = Value Prelude.Text
set :: PropertyType "Name" Topic -> Topic -> Topic
set PropertyType "Name" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..} = Topic {name :: Maybe (Value Text)
name = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "Name" Topic
Value Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "Tags" Topic where
type PropertyType "Tags" Topic = [Tag]
set :: PropertyType "Tags" Topic -> Topic -> Topic
set PropertyType "Tags" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..} = Topic {tags :: Maybe [Tag]
tags = [Tag] -> Maybe [Tag]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [Tag]
PropertyType "Tags" Topic
newValue, Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "TopicId" Topic where
type PropertyType "TopicId" Topic = Value Prelude.Text
set :: PropertyType "TopicId" Topic -> Topic -> Topic
set PropertyType "TopicId" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {topicId :: Maybe (Value Text)
topicId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TopicId" Topic
Value Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
userExperienceVersion :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
userExperienceVersion :: Maybe (Value Text)
..}
instance Property "UserExperienceVersion" Topic where
type PropertyType "UserExperienceVersion" Topic = Value Prelude.Text
set :: PropertyType "UserExperienceVersion" Topic -> Topic -> Topic
set PropertyType "UserExperienceVersion" Topic
newValue Topic {Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: Topic -> ()
awsAccountId :: Topic -> Maybe (Value Text)
configOptions :: Topic -> Maybe TopicConfigOptionsProperty
customInstructions :: Topic -> Maybe CustomInstructionsProperty
dataSets :: Topic -> Maybe [DatasetMetadataProperty]
description :: Topic -> Maybe (Value Text)
folderArns :: Topic -> Maybe (ValueList Text)
name :: Topic -> Maybe (Value Text)
tags :: Topic -> Maybe [Tag]
topicId :: Topic -> Maybe (Value Text)
userExperienceVersion :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
userExperienceVersion :: Maybe (Value Text)
..}
= Topic {userExperienceVersion :: Maybe (Value Text)
userExperienceVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "UserExperienceVersion" Topic
Value Text
newValue, Maybe [Tag]
Maybe [DatasetMetadataProperty]
Maybe (ValueList Text)
Maybe (Value Text)
Maybe CustomInstructionsProperty
Maybe TopicConfigOptionsProperty
()
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
haddock_workaround_ :: ()
awsAccountId :: Maybe (Value Text)
configOptions :: Maybe TopicConfigOptionsProperty
customInstructions :: Maybe CustomInstructionsProperty
dataSets :: Maybe [DatasetMetadataProperty]
description :: Maybe (Value Text)
folderArns :: Maybe (ValueList Text)
name :: Maybe (Value Text)
tags :: Maybe [Tag]
topicId :: Maybe (Value Text)
..}