SmsMessage

Specifies the default settings for a one-time SMS message that's sent directly to an endpoint.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val body: String?

The body of the SMS message.

Link copied to clipboard

The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.

Link copied to clipboard

The SMS program name that you provided to AWS Support when you requested your dedicated number.

Link copied to clipboard

This field is reserved for future use.

Link copied to clipboard

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

Link copied to clipboard

The number to send the SMS message from. This value should be one of the dedicated long or short codes that's assigned to your AWS account. If you don't specify a long or short code, Amazon Pinpoint assigns a random long code to the SMS message and sends the message from that code.

Link copied to clipboard

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.

Link copied to clipboard

The message variables to use in the SMS message. You can override the default variables with individual address variables.

Link copied to clipboard

The template ID received from the regulatory body for sending SMS in your country.

Functions

Link copied to clipboard
inline fun copy(block: SmsMessage.Builder.() -> Unit = {}): SmsMessage
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String