Description Usage Arguments Examples
You can send messages for every endpoint in a topic or directly to a phone
number. SMS is only available for profiles in us-east-1 region, you can verify
your region profile using raws.profile::profile_settings("your profile")
.
1 2 |
topic |
A topic name or topic ARN. |
phone_number |
Send a message directly to this phone number. This number doesn't need to be in a topic. |
message |
The massage you want to send. |
subject |
(optional) The message subject. Only available to "email" protocol. |
suppress_output |
Use TRUE if you don't want the output. |
profile |
Your profile name in AWS. If profile was not supplied this function will use the default profile. |
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
# send a message to a topic
send_message(topic = "your_topic",
subject = "testing",
message = "This is a test message.")
# send a message directly to a phone number
send_message(phone_number = "+0081345678",
message = "This is a test message.")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.