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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the SMS message.

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2811

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

#message_typeString

The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2811

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

#sender_idString

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

Returns:

  • (String)


2811
2812
2813
2814
2815
2816
2817
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2811

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