module Stratosphere.SNS.Topic (
        module Exports, Topic(..), mkTopic
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.SNS.Topic.LoggingConfigProperty as Exports
import {-# SOURCE #-} Stratosphere.SNS.Topic.SubscriptionProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Tag
import Stratosphere.Value
data Topic
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html>
    Topic {Topic -> ()
haddock_workaround_ :: (),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-archivepolicy>
           Topic -> Maybe Object
archivePolicy :: (Prelude.Maybe JSON.Object),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-contentbaseddeduplication>
           Topic -> Maybe (Value Bool)
contentBasedDeduplication :: (Prelude.Maybe (Value Prelude.Bool)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-dataprotectionpolicy>
           Topic -> Maybe Object
dataProtectionPolicy :: (Prelude.Maybe JSON.Object),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-deliverystatuslogging>
           Topic -> Maybe [LoggingConfigProperty]
deliveryStatusLogging :: (Prelude.Maybe [LoggingConfigProperty]),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-displayname>
           Topic -> Maybe (Value Text)
displayName :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-fifothroughputscope>
           Topic -> Maybe (Value Text)
fifoThroughputScope :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-fifotopic>
           Topic -> Maybe (Value Bool)
fifoTopic :: (Prelude.Maybe (Value Prelude.Bool)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-kmsmasterkeyid>
           Topic -> Maybe (Value Text)
kmsMasterKeyId :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-signatureversion>
           Topic -> Maybe (Value Text)
signatureVersion :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-subscription>
           Topic -> Maybe [SubscriptionProperty]
subscription :: (Prelude.Maybe [SubscriptionProperty]),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-tags>
           Topic -> Maybe [Tag]
tags :: (Prelude.Maybe [Tag]),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-topicname>
           Topic -> Maybe (Value Text)
topicName :: (Prelude.Maybe (Value Prelude.Text)),
           -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html#cfn-sns-topic-tracingconfig>
           Topic -> Maybe (Value Text)
tracingConfig :: (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_ = (), archivePolicy :: Maybe Object
archivePolicy = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       contentBasedDeduplication :: Maybe (Value Bool)
contentBasedDeduplication = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       dataProtectionPolicy :: Maybe Object
dataProtectionPolicy = Maybe Object
forall a. Maybe a
Prelude.Nothing,
       deliveryStatusLogging :: Maybe [LoggingConfigProperty]
deliveryStatusLogging = Maybe [LoggingConfigProperty]
forall a. Maybe a
Prelude.Nothing,
       displayName :: Maybe (Value Text)
displayName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       fifoThroughputScope :: Maybe (Value Text)
fifoThroughputScope = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, fifoTopic :: Maybe (Value Bool)
fifoTopic = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       kmsMasterKeyId :: Maybe (Value Text)
kmsMasterKeyId = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       signatureVersion :: Maybe (Value Text)
signatureVersion = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing, subscription :: Maybe [SubscriptionProperty]
subscription = Maybe [SubscriptionProperty]
forall a. Maybe a
Prelude.Nothing,
       tags :: Maybe [Tag]
tags = Maybe [Tag]
forall a. Maybe a
Prelude.Nothing, topicName :: Maybe (Value Text)
topicName = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       tracingConfig :: Maybe (Value Text)
tracingConfig = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties Topic where
  toResourceProperties :: Topic -> ResourceProperties
toResourceProperties Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::SNS::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 -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ArchivePolicy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
archivePolicy,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentBasedDeduplication"
                              (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
contentBasedDeduplication,
                            Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataProtectionPolicy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
dataProtectionPolicy,
                            Key -> [LoggingConfigProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeliveryStatusLogging"
                              ([LoggingConfigProperty] -> (Key, Value))
-> Maybe [LoggingConfigProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LoggingConfigProperty]
deliveryStatusLogging,
                            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
"DisplayName" (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)
displayName,
                            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
"FifoThroughputScope" (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)
fifoThroughputScope,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FifoTopic" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
fifoTopic,
                            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
"KmsMasterKeyId" (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)
kmsMasterKeyId,
                            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
"SignatureVersion" (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)
signatureVersion,
                            Key -> [SubscriptionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subscription" ([SubscriptionProperty] -> (Key, Value))
-> Maybe [SubscriptionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubscriptionProperty]
subscription,
                            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
"TopicName" (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)
topicName,
                            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
"TracingConfig" (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)
tracingConfig])}
instance JSON.ToJSON Topic where
  toJSON :: Topic -> Value
toJSON Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: 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 -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ArchivePolicy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
archivePolicy,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ContentBasedDeduplication"
                 (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
contentBasedDeduplication,
               Key -> Object -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DataProtectionPolicy" (Object -> (Key, Value)) -> Maybe Object -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Object
dataProtectionPolicy,
               Key -> [LoggingConfigProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"DeliveryStatusLogging"
                 ([LoggingConfigProperty] -> (Key, Value))
-> Maybe [LoggingConfigProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [LoggingConfigProperty]
deliveryStatusLogging,
               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
"DisplayName" (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)
displayName,
               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
"FifoThroughputScope" (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)
fifoThroughputScope,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"FifoTopic" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
fifoTopic,
               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
"KmsMasterKeyId" (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)
kmsMasterKeyId,
               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
"SignatureVersion" (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)
signatureVersion,
               Key -> [SubscriptionProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"Subscription" ([SubscriptionProperty] -> (Key, Value))
-> Maybe [SubscriptionProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [SubscriptionProperty]
subscription,
               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
"TopicName" (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)
topicName,
               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
"TracingConfig" (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)
tracingConfig]))
instance Property "ArchivePolicy" Topic where
  type PropertyType "ArchivePolicy" Topic = JSON.Object
  set :: PropertyType "ArchivePolicy" Topic -> Topic -> Topic
set PropertyType "ArchivePolicy" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {archivePolicy :: Maybe Object
archivePolicy = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "ArchivePolicy" Topic
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "ContentBasedDeduplication" Topic where
  type PropertyType "ContentBasedDeduplication" Topic = Value Prelude.Bool
  set :: PropertyType "ContentBasedDeduplication" Topic -> Topic -> Topic
set PropertyType "ContentBasedDeduplication" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {contentBasedDeduplication :: Maybe (Value Bool)
contentBasedDeduplication = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ContentBasedDeduplication" Topic
Value Bool
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "DataProtectionPolicy" Topic where
  type PropertyType "DataProtectionPolicy" Topic = JSON.Object
  set :: PropertyType "DataProtectionPolicy" Topic -> Topic -> Topic
set PropertyType "DataProtectionPolicy" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {dataProtectionPolicy :: Maybe Object
dataProtectionPolicy = Object -> Maybe Object
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure Object
PropertyType "DataProtectionPolicy" Topic
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "DeliveryStatusLogging" Topic where
  type PropertyType "DeliveryStatusLogging" Topic = [LoggingConfigProperty]
  set :: PropertyType "DeliveryStatusLogging" Topic -> Topic -> Topic
set PropertyType "DeliveryStatusLogging" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {deliveryStatusLogging :: Maybe [LoggingConfigProperty]
deliveryStatusLogging = [LoggingConfigProperty] -> Maybe [LoggingConfigProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [LoggingConfigProperty]
PropertyType "DeliveryStatusLogging" Topic
newValue, Maybe [Tag]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "DisplayName" Topic where
  type PropertyType "DisplayName" Topic = Value Prelude.Text
  set :: PropertyType "DisplayName" Topic -> Topic -> Topic
set PropertyType "DisplayName" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {displayName :: Maybe (Value Text)
displayName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DisplayName" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "FifoThroughputScope" Topic where
  type PropertyType "FifoThroughputScope" Topic = Value Prelude.Text
  set :: PropertyType "FifoThroughputScope" Topic -> Topic -> Topic
set PropertyType "FifoThroughputScope" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {fifoThroughputScope :: Maybe (Value Text)
fifoThroughputScope = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FifoThroughputScope" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "FifoTopic" Topic where
  type PropertyType "FifoTopic" Topic = Value Prelude.Bool
  set :: PropertyType "FifoTopic" Topic -> Topic -> Topic
set PropertyType "FifoTopic" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {fifoTopic :: Maybe (Value Bool)
fifoTopic = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "FifoTopic" Topic
Value Bool
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "KmsMasterKeyId" Topic where
  type PropertyType "KmsMasterKeyId" Topic = Value Prelude.Text
  set :: PropertyType "KmsMasterKeyId" Topic -> Topic -> Topic
set PropertyType "KmsMasterKeyId" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {kmsMasterKeyId :: Maybe (Value Text)
kmsMasterKeyId = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "KmsMasterKeyId" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "SignatureVersion" Topic where
  type PropertyType "SignatureVersion" Topic = Value Prelude.Text
  set :: PropertyType "SignatureVersion" Topic -> Topic -> Topic
set PropertyType "SignatureVersion" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {signatureVersion :: Maybe (Value Text)
signatureVersion = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "SignatureVersion" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "Subscription" Topic where
  type PropertyType "Subscription" Topic = [SubscriptionProperty]
  set :: PropertyType "Subscription" Topic -> Topic -> Topic
set PropertyType "Subscription" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {subscription :: Maybe [SubscriptionProperty]
subscription = [SubscriptionProperty] -> Maybe [SubscriptionProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [SubscriptionProperty]
PropertyType "Subscription" Topic
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: 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 [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: 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 [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
instance Property "TopicName" Topic where
  type PropertyType "TopicName" Topic = Value Prelude.Text
  set :: PropertyType "TopicName" Topic -> Topic -> Topic
set PropertyType "TopicName" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {topicName :: Maybe (Value Text)
topicName = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TopicName" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
tracingConfig :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
tracingConfig :: Maybe (Value Text)
..}
instance Property "TracingConfig" Topic where
  type PropertyType "TracingConfig" Topic = Value Prelude.Text
  set :: PropertyType "TracingConfig" Topic -> Topic -> Topic
set PropertyType "TracingConfig" Topic
newValue Topic {Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: Topic -> ()
archivePolicy :: Topic -> Maybe Object
contentBasedDeduplication :: Topic -> Maybe (Value Bool)
dataProtectionPolicy :: Topic -> Maybe Object
deliveryStatusLogging :: Topic -> Maybe [LoggingConfigProperty]
displayName :: Topic -> Maybe (Value Text)
fifoThroughputScope :: Topic -> Maybe (Value Text)
fifoTopic :: Topic -> Maybe (Value Bool)
kmsMasterKeyId :: Topic -> Maybe (Value Text)
signatureVersion :: Topic -> Maybe (Value Text)
subscription :: Topic -> Maybe [SubscriptionProperty]
tags :: Topic -> Maybe [Tag]
topicName :: Topic -> Maybe (Value Text)
tracingConfig :: Topic -> Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
tracingConfig :: Maybe (Value Text)
..}
    = Topic {tracingConfig :: Maybe (Value Text)
tracingConfig = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "TracingConfig" Topic
Value Text
newValue, Maybe [Tag]
Maybe [LoggingConfigProperty]
Maybe [SubscriptionProperty]
Maybe Object
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
haddock_workaround_ :: ()
archivePolicy :: Maybe Object
contentBasedDeduplication :: Maybe (Value Bool)
dataProtectionPolicy :: Maybe Object
deliveryStatusLogging :: Maybe [LoggingConfigProperty]
displayName :: Maybe (Value Text)
fifoThroughputScope :: Maybe (Value Text)
fifoTopic :: Maybe (Value Bool)
kmsMasterKeyId :: Maybe (Value Text)
signatureVersion :: Maybe (Value Text)
subscription :: Maybe [SubscriptionProperty]
tags :: Maybe [Tag]
topicName :: Maybe (Value Text)
..}