View source: R/sns_operations.R
sns_publish | R Documentation |
Sends a message to an Amazon SNS topic, a text message (SMS message) directly to a phone number, or a message to a mobile platform endpoint (when you specify the TargetArn
).
See https://www.paws-r-sdk.com/docs/sns_publish/ for full documentation.
sns_publish(
TopicArn = NULL,
TargetArn = NULL,
PhoneNumber = NULL,
Message,
Subject = NULL,
MessageStructure = NULL,
MessageAttributes = NULL,
MessageDeduplicationId = NULL,
MessageGroupId = NULL
)
TopicArn |
The topic you want to publish to. If you don't specify a value for the |
TargetArn |
If you don't specify a value for the |
PhoneNumber |
The phone number to which you want to deliver an SMS message. Use E.164 format. If you don't specify a value for the |
Message |
[required] The message you want to send. If you are publishing to a topic and you want to send the same message
to all transport protocols, include the text of the message as a String
value. If you want to send different messages for each transport
protocol, set the value of the Constraints:
JSON-specific constraints:
|
Subject |
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. Constraints: Subjects must be UTF-8 text with no line breaks or control characters, and less than 100 characters long. |
MessageStructure |
Set
You can define other top-level keys that define the message you want to send to a specific transport protocol (e.g., "http"). Valid value: |
MessageAttributes |
Message attributes for Publish action. |
MessageDeduplicationId |
This parameter applies only to FIFO (first-in-first-out) topics. The
Every message must have a unique If the topic has []: R:%5C |
MessageGroupId |
This parameter applies only to FIFO (first-in-first-out) topics. The
The []: R:%5C |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.