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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Content as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#charsetString

The character set of the content.

Returns:

  • (String)

    The character set of the content.

#dataString

The textual data of the content.

Returns:

  • (String)

    The textual data of the content.