| 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.RawEmail
Description
Synopsis
- data RawEmail = RawEmail' {}
- newRawEmail :: RawEmail
- rawEmail_data :: Lens' RawEmail (Maybe ByteString)
Documentation
Specifies the contents of an email message, represented as a raw MIME message.
See: newRawEmail smart constructor.
Constructors
| RawEmail' | |
Instances
| ToJSON RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
| Generic RawEmail Source # | |
| Read RawEmail Source # | |
| Show RawEmail Source # | |
| NFData RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
| Eq RawEmail Source # | |
| Hashable RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
| type Rep RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
newRawEmail :: RawEmail Source #
Create a value of RawEmail 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:data':RawEmail', rawEmail_data - The email message, represented as a raw MIME message. The entire message
must be base64 encoded.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.
rawEmail_data :: Lens' RawEmail (Maybe ByteString) Source #
The email message, represented as a raw MIME message. The entire message
must be base64 encoded.--
-- Note: This Lens automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens accepts and returns only raw unencoded data.