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
Documentation
data TopicPreference Source #
The contact's preference for being opted-in to or opted-out of a topic.
See: newTopicPreference
smart constructor.
TopicPreference' | |
|
Instances
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
.