amazonka-sesv2-2.0: Amazon Simple Email Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON 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 #

Read TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Show TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

NFData TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Methods

rnf :: TopicFilter -> () #

Eq TopicFilter Source # 
Instance details

Defined in Amazonka.SESV2.Types.TopicFilter

Hashable 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" "amazonka-sesv2-2.0-KPRo1S1CRfP4bs5VKSgHvB" '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.