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

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

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 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)


1264
1265
1266
1267
1268
1269
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1264

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)


1264
1265
1266
1267
1268
1269
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1264

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

#sender_idString

Sender ID of sent message.

Returns:

  • (String)


1264
1265
1266
1267
1268
1269
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1264

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