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)


1483
1484
1485
1486
1487
1488
1489
# File 'lib/aws-sdk-pinpoint/types.rb', line 1483

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)


1483
1484
1485
1486
1487
1488
1489
# File 'lib/aws-sdk-pinpoint/types.rb', line 1483

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

#html_bodyString

The email html body.

Returns:

  • (String)


1483
1484
1485
1486
1487
1488
1489
# File 'lib/aws-sdk-pinpoint/types.rb', line 1483

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

#titleString

The email title (Or subject).

Returns:

  • (String)


1483
1484
1485
1486
1487
1488
1489
# File 'lib/aws-sdk-pinpoint/types.rb', line 1483

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