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.Topic

Description

 
Synopsis

Documentation

data Topic Source #

An interest group, theme, or label within a list. Lists can have multiple topics.

See: newTopic smart constructor.

Constructors

Topic' 

Fields

Instances

Instances details
Eq Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Methods

(==) :: Topic -> Topic -> Bool #

(/=) :: Topic -> Topic -> Bool #

Read Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Show Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Methods

showsPrec :: Int -> Topic -> ShowS #

show :: Topic -> String #

showList :: [Topic] -> ShowS #

Generic Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Associated Types

type Rep Topic :: Type -> Type #

Methods

from :: Topic -> Rep Topic x #

to :: Rep Topic x -> Topic #

NFData Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Methods

rnf :: Topic -> () #

Hashable Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

Methods

hashWithSalt :: Int -> Topic -> Int #

hash :: Topic -> Int #

ToJSON Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

FromJSON Topic Source # 
Instance details

Defined in Amazonka.SESV2.Types.Topic

type Rep Topic Source # 
Instance details

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))))

newTopic Source #

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_topicName :: Lens' Topic Text Source #

The name of the topic.

topic_displayName :: Lens' Topic Text Source #

The name of the topic 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.