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

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",
}

The email message configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The email text body.

Returns:

  • (String)


1081
1082
1083
1084
1085
1086
1087
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1081

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)


1081
1082
1083
1084
1085
1086
1087
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1081

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

#html_bodyString

The email html body.

Returns:

  • (String)


1081
1082
1083
1084
1085
1086
1087
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1081

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

#titleString

The email title (Or subject).

Returns:

  • (String)


1081
1082
1083
1084
1085
1086
1087
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1081

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