| 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.TopicPreference
Description
Synopsis
Documentation
data TopicPreference Source #
The contact's preference for being opted-in to or opted-out of a topic.
See: newTopicPreference smart constructor.
Constructors
| TopicPreference' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> SubscriptionStatus | |
| -> TopicPreference |
Create a value of TopicPreference 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:topicName:TopicPreference', topicPreference_topicName - The name of the topic.
$sel:subscriptionStatus:TopicPreference', topicPreference_subscriptionStatus - The contact's subscription status to a topic which is either OPT_IN
or OPT_OUT.
topicPreference_topicName :: Lens' TopicPreference Text Source #
The name of the topic.
topicPreference_subscriptionStatus :: Lens' TopicPreference SubscriptionStatus Source #
The contact's subscription status to a topic which is either OPT_IN
or OPT_OUT.