| 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 |
Amazonka.Pinpoint.Types.EmailMessage
Description
Synopsis
- data EmailMessage = EmailMessage' {}
- newEmailMessage :: EmailMessage
- emailMessage_body :: Lens' EmailMessage (Maybe Text)
- emailMessage_feedbackForwardingAddress :: Lens' EmailMessage (Maybe Text)
- emailMessage_fromAddress :: Lens' EmailMessage (Maybe Text)
- emailMessage_rawEmail :: Lens' EmailMessage (Maybe RawEmail)
- emailMessage_replyToAddresses :: Lens' EmailMessage (Maybe [Text])
- emailMessage_simpleEmail :: Lens' EmailMessage (Maybe SimpleEmail)
- emailMessage_substitutions :: Lens' EmailMessage (Maybe (HashMap Text [Text]))
Documentation
data EmailMessage Source #
Specifies the default settings and content for a one-time email message that's sent directly to an endpoint.
See: newEmailMessage smart constructor.
Constructors
| EmailMessage' | |
Fields
| |
Instances
newEmailMessage :: EmailMessage Source #
Create a value of EmailMessage 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:body:EmailMessage', emailMessage_body - The body of the email message.
$sel:feedbackForwardingAddress:EmailMessage', emailMessage_feedbackForwardingAddress - The email address to forward bounces and complaints to, if feedback
forwarding is enabled.
$sel:fromAddress:EmailMessage', emailMessage_fromAddress - The verified email address to send the email message from. The default
value is the FromAddress specified for the email channel.
$sel:rawEmail:EmailMessage', emailMessage_rawEmail - The email message, represented as a raw MIME message.
$sel:replyToAddresses:EmailMessage', emailMessage_replyToAddresses - The reply-to email address(es) for the email message. If a recipient
replies to the email, each reply-to address receives the reply.
$sel:simpleEmail:EmailMessage', emailMessage_simpleEmail - The email message, composed of a subject, a text part, and an HTML part.
$sel:substitutions:EmailMessage', emailMessage_substitutions - The default message variables to use in the email message. You can
override the default variables with individual address variables.
emailMessage_body :: Lens' EmailMessage (Maybe Text) Source #
The body of the email message.
emailMessage_feedbackForwardingAddress :: Lens' EmailMessage (Maybe Text) Source #
The email address to forward bounces and complaints to, if feedback forwarding is enabled.
emailMessage_fromAddress :: Lens' EmailMessage (Maybe Text) Source #
The verified email address to send the email message from. The default value is the FromAddress specified for the email channel.
emailMessage_rawEmail :: Lens' EmailMessage (Maybe RawEmail) Source #
The email message, represented as a raw MIME message.
emailMessage_replyToAddresses :: Lens' EmailMessage (Maybe [Text]) Source #
The reply-to email address(es) for the email message. If a recipient replies to the email, each reply-to address receives the reply.
emailMessage_simpleEmail :: Lens' EmailMessage (Maybe SimpleEmail) Source #
The email message, composed of a subject, a text part, and an HTML part.
emailMessage_substitutions :: Lens' EmailMessage (Maybe (HashMap Text [Text])) Source #
The default message variables to use in the email message. You can override the default variables with individual address variables.