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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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",
}

Specifies the content and "From" address for an email message that's sent to recipients of a campaign.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the email for recipients whose email clients don't render HTML content.

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2480

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

#from_addressString

The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2480

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

#html_bodyString

The body of the email, in HTML format, for recipients whose email clients render HTML content.

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2480

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

#titleString

The subject line, or title, of the email.

Returns:

  • (String)


2480
2481
2482
2483
2484
2485
2486
2487
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2480

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