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

Class: Aws::Pinpoint::Types::EmailMessage

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

Overview

Note:

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

{
  body: "__string",
  from_address: "__string",
  html_body: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
  template_arn: "__string",
  title: "__string",
}

Email Message.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The message body of the notification, the email body or the text message.

Returns:

  • (String)

    The message body of the notification, the email body or the text message.

#from_addressString

The email address used to send the email from. Defaults to use FromAddress specified in the Email Channel.

Returns:

  • (String)

    The email address used to send the email from.

#html_bodyString

The HTML part of the email.

Returns:

  • (String)

    The HTML part of the email.

#substitutionsHash<String,Array<String>>

Returns:

  • (Hash<String,Array<String>>)

#template_arnString

The ARN of the template to use for the email.

Returns:

  • (String)

    The ARN of the template to use for the email.

#titleString

The subject of the email.

Returns:

  • (String)

    The subject of the email.