| 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.SES.Types.Message
Description
Documentation
Represents the message to be sent, composed of a subject and a body.
See: newMessage smart constructor.
Constructors
| Message' | |
Instances
| ToQuery Message Source # | |
Defined in Amazonka.SES.Types.Message Methods toQuery :: Message -> QueryString # | |
| Generic Message Source # | |
| Read Message Source # | |
| Show Message Source # | |
| NFData Message Source # | |
Defined in Amazonka.SES.Types.Message | |
| Eq Message Source # | |
| Hashable Message Source # | |
Defined in Amazonka.SES.Types.Message | |
| type Rep Message Source # | |
Defined in Amazonka.SES.Types.Message type Rep Message = D1 ('MetaData "Message" "Amazonka.SES.Types.Message" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "Message'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Content) :*: S1 ('MetaSel ('Just "body") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Body))) | |
Create a value of Message 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:subject:Message', message_subject - The subject of the message: A short summary of the content, which will
appear in the recipient's inbox.
$sel:body:Message', message_body - The message body.