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

SMS message configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The SMS text body.

Returns:

  • (String)


708
709
710
711
712
713
# File 'lib/aws-sdk-pinpoint/types.rb', line 708

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

#message_typeString

Is this is a transactional SMS message, otherwise a promotional message.

Returns:

  • (String)


708
709
710
711
712
713
# File 'lib/aws-sdk-pinpoint/types.rb', line 708

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

#sender_idString

Sender ID of sent message.

Returns:

  • (String)


708
709
710
711
712
713
# File 'lib/aws-sdk-pinpoint/types.rb', line 708

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