You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SES::Types::Message

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Message as input to an Aws::Client method, you can use a vanilla Hash:

{
  subject: { # required
    data: "MessageData", # required
    charset: "Charset",
  },
  body: { # required
    text: {
      data: "MessageData", # required
      charset: "Charset",
    },
    html: {
      data: "MessageData", # required
      charset: "Charset",
    },
  },
}

Represents the message to be sent, composed of a subject and a body.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::Body

The message body.

Returns:

#subjectTypes::Content

The subject of the message: A short summary of the content, which will appear in the recipient\'s inbox.

Returns:

  • (Types::Content)

    The subject of the message: A short summary of the content, which will appear in the recipient\'s inbox.