Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data TopicFilter Source #
Used for filtering by a specific topic preference.
See: newTopicFilter
smart constructor.
Instances
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.