AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::SESV2::Types::Content

  • Object
show all
Defined in:



When passing Content as input to an Aws::Client method, you can use a vanilla Hash:

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

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details


The character set for the content. Because of the constraints of the SMTP protocol, Amazon SES 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.


  • (String)

    The character set for the content.


The content of the message itself.


  • (String)

    The content of the message itself.