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

Description

 
Synopsis

Documentation

data TopicFilter Source #

Used for filtering by a specific topic preference.

See: newTopicFilter smart constructor.

Constructors

TopicFilter' 

Fields

Instances

Instances details
Eq TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Read TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Show TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Generic TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Associated Types

type Rep TopicFilter :: Type -> Type #

NFData TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Methods

rnf :: TopicFilter -> () #

Hashable TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

ToJSON TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

type Rep TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

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

newTopicFilter :: TopicFilter Source #

Create a value of TopicFilter 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:TopicFilter', topicFilter_topicName - The name of a topic on which you wish to apply the filter.

$sel:useDefaultIfPreferenceUnavailable:TopicFilter', topicFilter_useDefaultIfPreferenceUnavailable - Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.

topicFilter_topicName :: Lens' TopicFilter (Maybe Text) Source #

The name of a topic on which you wish to apply the filter.

topicFilter_useDefaultIfPreferenceUnavailable :: Lens' TopicFilter (Maybe Bool) Source #

Notes that the default subscription status should be applied to a contact because the contact has not noted their preference for subscribing to a topic.