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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#charsetString

The character set of the content.

Returns:

  • (String)


668
669
670
671
672
673
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 668

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

#dataString

The textual data of the content.

Returns:

  • (String)


668
669
670
671
672
673
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 668

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