Class: Aws::PinpointEmail::Types::Message

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/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 email message that you're sending. The Message object consists of a subject line and a message body.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::Body

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

Returns:



2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 2589

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

#subjectTypes::Content

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.

Returns:



2589
2590
2591
2592
2593
2594
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 2589

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