PublishRequest

Input for Publish action.

Types

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

Properties

Link copied to clipboard

The message you want to send.

Link copied to clipboard

Message attributes for Publish action.

Link copied to clipboard
Link copied to clipboard

This parameter applies only to FIFO (first-in-first-out) topics. The MessageGroupId can contain up to 128 alphanumeric characters (a-z, A-Z, 0-9) and punctuation (!"#$%&'()*+,-./:;<=>?@[\]^_{|}~)`.

Link copied to clipboard

Set MessageStructure to json if you want to send a different message for each protocol. For example, using one publish action, you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set MessageStructure to json, the value of the Message parameter must:

Link copied to clipboard

The phone number to which you want to deliver an SMS message. Use E.164 format.

Link copied to clipboard

Optional parameter to be used as the "Subject" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints.

Link copied to clipboard

If you don't specify a value for the TargetArn parameter, you must specify a value for the PhoneNumber or TopicArn parameters.

Link copied to clipboard

The topic you want to publish to.

Functions

Link copied to clipboard
inline fun copy(block: PublishRequest.Builder.() -> Unit = {}): PublishRequest
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