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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb

Overview

Note:

When making an API call, you may pass Message data as a 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.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::Body

The message body.

Returns:



2174
2175
2176
2177
2178
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2174

class Message < Struct.new(
  :subject,
  :body)
  include Aws::Structure
end

#subjectTypes::Content

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

Returns:



2174
2175
2176
2177
2178
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2174

class Message < Struct.new(
  :subject,
  :body)
  include Aws::Structure
end