Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Topic = Topic' {}
- newTopic :: Text -> Text -> SubscriptionStatus -> Topic
- topic_description :: Lens' Topic (Maybe Text)
- topic_topicName :: Lens' Topic Text
- topic_displayName :: Lens' Topic Text
- topic_defaultSubscriptionStatus :: Lens' Topic SubscriptionStatus
Documentation
An interest group, theme, or label within a list. Lists can have multiple topics.
See: newTopic
smart constructor.
Topic' | |
|
Instances
Eq Topic Source # | |
Read Topic Source # | |
Show Topic Source # | |
Generic Topic Source # | |
NFData Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
Hashable Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
ToJSON Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
FromJSON Topic Source # | |
type Rep Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic type Rep Topic = D1 ('MetaData "Topic" "Amazonka.SESV2.Types.Topic" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "Topic'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "displayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "defaultSubscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SubscriptionStatus)))) |
:: Text | |
-> Text | |
-> SubscriptionStatus | |
-> Topic |
Create a value of Topic
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:Topic'
, topic_description
- A description of what the topic is about, which the contact will see.
$sel:topicName:Topic'
, topic_topicName
- The name of the topic.
$sel:displayName:Topic'
, topic_displayName
- The name of the topic the contact will see.
$sel:defaultSubscriptionStatus:Topic'
, topic_defaultSubscriptionStatus
- The default subscription status to be applied to a contact if the
contact has not noted their preference for subscribing to a topic.
topic_description :: Lens' Topic (Maybe Text) Source #
A description of what the topic is about, which the contact will see.
topic_defaultSubscriptionStatus :: Lens' Topic SubscriptionStatus Source #
The default subscription status to be applied to a contact if the contact has not noted their preference for subscribing to a topic.