libZSservicesZSamazonka-sesv2ZSamazonka-sesv2
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SESV2.Types.RawMessage

Description

 
Synopsis

Documentation

data RawMessage Source #

Represents the raw content of an email message.

See: newRawMessage smart constructor.

Constructors

RawMessage' 

Fields

  • data' :: Base64

    The raw email message. The message has to meet the following criteria:

    • The message has to contain a header and a body, separated by one blank line.
    • All of the required header fields must be present in the message.
    • Each part of a multipart MIME message must be formatted properly.
    • Attachments must be in a file format that the Amazon SES supports.
    • The entire message must be Base64 encoded.
    • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
    • The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.

Instances

Instances details
Eq RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

Read RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

Show RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

Generic RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

Associated Types

type Rep RawMessage :: Type -> Type #

NFData RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

Methods

rnf :: RawMessage -> () #

Hashable RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

ToJSON RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

type Rep RawMessage Source # 
Instance details

Defined in Amazonka.SESV2.Types.RawMessage

type Rep RawMessage = D1 ('MetaData "RawMessage" "Amazonka.SESV2.Types.RawMessage" "libZSservicesZSamazonka-sesv2ZSamazonka-sesv2" 'False) (C1 ('MetaCons "RawMessage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "data'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Base64)))

newRawMessage Source #

Create a value of RawMessage 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':RawMessage', rawMessage_data - The raw email message. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by one blank line.
  • All of the required header fields must be present in the message.
  • Each part of a multipart MIME message must be formatted properly.
  • Attachments must be in a file format that the Amazon SES supports.
  • The entire message must be Base64 encoded.
  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
  • The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.--
  • - 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.

rawMessage_data :: Lens' RawMessage ByteString Source #

The raw email message. The message has to meet the following criteria:

  • The message has to contain a header and a body, separated by one blank line.
  • All of the required header fields must be present in the message.
  • Each part of a multipart MIME message must be formatted properly.
  • Attachments must be in a file format that the Amazon SES supports.
  • The entire message must be Base64 encoded.
  • If any of the MIME parts in your message contain content that is outside of the 7-bit ASCII character range, you should encode that content to ensure that recipients' email clients render the message properly.
  • The length of any single line of text in the message can't exceed 1,000 characters. This restriction is defined in RFC 5321.--
  • - 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.