| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.SESV2.Types.Topic
Description
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.
Constructors
| Topic' | |
Fields
| |
Instances
| FromJSON Topic Source # | |
| ToJSON Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
| Generic Topic Source # | |
| Read Topic Source # | |
| Show Topic Source # | |
| NFData Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
| Eq Topic Source # | |
| Hashable Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic | |
| type Rep Topic Source # | |
Defined in Amazonka.SESV2.Types.Topic type Rep Topic = D1 ('MetaData "Topic" "Amazonka.SESV2.Types.Topic" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" '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)))) | |
Arguments
| :: 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.