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

Class: Aws::Pinpoint::Types::SMSMessage

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

{
  body: "__string",
  message_type: "TRANSACTIONAL", # accepts TRANSACTIONAL, PROMOTIONAL
  sender_id: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
}

SMS Message.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The message body of the notification, the email body or the text message.

Returns:

  • (String)


5024
5025
5026
5027
5028
5029
5030
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5024

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

#message_typeString

Is this a transaction priority message or lower priority.

Returns:

  • (String)


5024
5025
5026
5027
5028
5029
5030
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5024

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

#sender_idString

Sender ID of sent message.

Returns:

  • (String)


5024
5025
5026
5027
5028
5029
5030
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5024

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

#substitutionsHash<String,Array<String>>

Returns:

  • (Hash<String,Array<String>>)


5024
5025
5026
5027
5028
5029
5030
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5024

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