Class: Aws::PinpointEmail::Types::Content

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

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

An object that represents the content of the email, and optionally a character set specification.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#charsetString

The character set for the content. Because of the constraints of the SMTP protocol, Amazon Pinpoint uses 7-bit ASCII by default. If the text includes characters outside of the ASCII range, you have to specify a character set. For example, you could specify UTF-8, ISO-8859-1, or Shift_JIS.

Returns:

  • (String)


211
212
213
214
215
216
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 211

class Content < Struct.new(
  :data,
  :charset)
  SENSITIVE = []
  include Aws::Structure
end

#dataString

The content of the message itself.

Returns:

  • (String)


211
212
213
214
215
216
# File 'gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/types.rb', line 211

class Content < Struct.new(
  :data,
  :charset)
  SENSITIVE = []
  include Aws::Structure
end