Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Contact = Contact' {}
- newContact :: Contact
- contact_unsubscribeAll :: Lens' Contact (Maybe Bool)
- contact_topicDefaultPreferences :: Lens' Contact (Maybe [TopicPreference])
- contact_emailAddress :: Lens' Contact (Maybe Text)
- contact_lastUpdatedTimestamp :: Lens' Contact (Maybe UTCTime)
- contact_topicPreferences :: Lens' Contact (Maybe [TopicPreference])
Documentation
A contact is the end-user who is receiving the email.
See: newContact
smart constructor.
Contact' | |
|
Instances
newContact :: Contact Source #
Create a value of Contact
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:unsubscribeAll:Contact'
, contact_unsubscribeAll
- A boolean value status noting if the contact is unsubscribed from all
contact list topics.
$sel:topicDefaultPreferences:Contact'
, contact_topicDefaultPreferences
- The default topic preferences applied to the contact.
$sel:emailAddress:Contact'
, contact_emailAddress
- The contact's email address.
$sel:lastUpdatedTimestamp:Contact'
, contact_lastUpdatedTimestamp
- A timestamp noting the last time the contact's information was updated.
$sel:topicPreferences:Contact'
, contact_topicPreferences
- The contact's preference for being opted-in to or opted-out of a topic.
contact_unsubscribeAll :: Lens' Contact (Maybe Bool) Source #
A boolean value status noting if the contact is unsubscribed from all contact list topics.
contact_topicDefaultPreferences :: Lens' Contact (Maybe [TopicPreference]) Source #
The default topic preferences applied to the contact.
contact_lastUpdatedTimestamp :: Lens' Contact (Maybe UTCTime) Source #
A timestamp noting the last time the contact's information was updated.
contact_topicPreferences :: Lens' Contact (Maybe [TopicPreference]) Source #
The contact's preference for being opted-in to or opted-out of a topic.