Class: Aws::SES::Types::Content

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

Overview

Note:

When making an API call, you may pass Content data as a hash:

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

Represents textual data, plus an optional character set specification.

By default, the text must be 7-bit ASCII, due to the constraints of the SMTP protocol. If the text must contain any other characters, then you must also specify a character set. Examples include UTF-8, ISO-8859-1, and Shift_JIS.

Instance Attribute Summary collapse

Instance Attribute Details

#charsetString

The character set of the content.

Returns:

  • (String)


568
569
570
571
572
# File 'lib/aws-sdk-ses/types.rb', line 568

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

#dataString

The textual data of the content.

Returns:

  • (String)


568
569
570
571
572
# File 'lib/aws-sdk-ses/types.rb', line 568

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