Class: Aws::Pinpoint::Types::CampaignSmsMessage

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 CampaignSmsMessage data as a hash:

{
  body: "__string",
  message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
  sender_id: "__string",
}

Specifies the content and settings for an SMS message that’s sent to recipients of a campaign.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the SMS message.

Returns:

  • (String)


2681
2682
2683
2684
2685
2686
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681

class CampaignSmsMessage < Struct.new(
  :body,
  :message_type,
  :sender_id)
  include Aws::Structure
end

#message_typeString

The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn’t critical or time-sensitive, such as a marketing message.

Returns:

  • (String)


2681
2682
2683
2684
2685
2686
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681

class CampaignSmsMessage < Struct.new(
  :body,
  :message_type,
  :sender_id)
  include Aws::Structure
end

#sender_idString

The sender ID to display on recipients’ devices when they receive the SMS message.

Returns:

  • (String)


2681
2682
2683
2684
2685
2686
# File 'lib/aws-sdk-pinpoint/types.rb', line 2681

class CampaignSmsMessage < Struct.new(
  :body,
  :message_type,
  :sender_id)
  include Aws::Structure
end