Class: Aws::Pinpoint::Types::CampaignEmailMessage

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass CampaignEmailMessage data as a hash:

{
  body: "__string",
  from_address: "__string",
  html_body: "__string",
  title: "__string",
}

The email message configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The email text body.

Returns:

  • (String)


546
547
548
549
550
551
552
# File 'lib/aws-sdk-pinpoint/types.rb', line 546

class CampaignEmailMessage < Struct.new(
  :body,
  :from_address,
  :html_body,
  :title)
  include Aws::Structure
end

#from_addressString

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

Returns:

  • (String)


546
547
548
549
550
551
552
# File 'lib/aws-sdk-pinpoint/types.rb', line 546

class CampaignEmailMessage < Struct.new(
  :body,
  :from_address,
  :html_body,
  :title)
  include Aws::Structure
end

#html_bodyString

The email html body.

Returns:

  • (String)


546
547
548
549
550
551
552
# File 'lib/aws-sdk-pinpoint/types.rb', line 546

class CampaignEmailMessage < Struct.new(
  :body,
  :from_address,
  :html_body,
  :title)
  include Aws::Structure
end

#titleString

The email title (Or subject).

Returns:

  • (String)


546
547
548
549
550
551
552
# File 'lib/aws-sdk-pinpoint/types.rb', line 546

class CampaignEmailMessage < Struct.new(
  :body,
  :from_address,
  :html_body,
  :title)
  include Aws::Structure
end