Class: Aws::Pinpoint::Types::JourneySMSMessage

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

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

Specifies the sender ID and message type for an SMS message that's sent to participants in a journey.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

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


10939
10940
10941
10942
10943
10944
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 10939

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

#sender_idString

The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.

Returns:

  • (String)


10939
10940
10941
10942
10943
10944
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 10939

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