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)


1753
1754
1755
1756
1757
1758
# File 'lib/aws-sdk-pinpoint/types.rb', line 1753

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)


1753
1754
1755
1756
1757
1758
# File 'lib/aws-sdk-pinpoint/types.rb', line 1753

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

#sender_idString

Sender ID of sent message.

Returns:

  • (String)


1753
1754
1755
1756
1757
1758
# File 'lib/aws-sdk-pinpoint/types.rb', line 1753

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