libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Instances details
Eq TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

Read TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

Show TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

Generic TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

Associated Types

type Rep TopicPreference :: Type -> Type #

NFData TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

Methods

rnf :: TopicPreference -> () #

Hashable TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

ToJSON TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

FromJSON TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

type Rep TopicPreference Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicPreference

type Rep TopicPreference = D1 ('MetaData "TopicPreference" "Amazonka.SESV2.Types.TopicPreference" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "TopicPreference'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subscriptionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SubscriptionStatus)))

newTopicPreference Source #

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_subscriptionStatus :: Lens' TopicPreference SubscriptionStatus Source #

The contact's subscription status to a topic which is either OPT_IN or OPT_OUT.