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 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.
Instances
Eq RawEmail Source # | |
Read RawEmail Source # | |
Show RawEmail Source # | |
Generic RawEmail Source # | |
NFData RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
Hashable RawEmail Source # | |
Defined in Amazonka.Pinpoint.Types.RawEmail | |
ToJSON 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.