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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/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)


425
426
427
428
429
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 425

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

#dataString

The textual data of the content.

Returns:

  • (String)


425
426
427
428
429
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 425

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