Class: Aws::PinpointEmail::Types::Body

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 Body data as a hash:

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

Represents the body of the email message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#htmlTypes::Content

An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.

Returns:



90
91
92
93
94
95
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 90

class Body < Struct.new(
  :text,
  :html)
  SENSITIVE = []
  include Aws::Structure
end

#textTypes::Content

An object that represents the version of the message that is displayed in email clients that don't support HTML, or clients where the recipient has disabled HTML rendering.

Returns:



90
91
92
93
94
95
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 90

class Body < Struct.new(
  :text,
  :html)
  SENSITIVE = []
  include Aws::Structure
end