Description Usage Arguments Examples
Create and delete a topic in your SNS account. Display name is optional and
only appears when you send emails. If you want to modify or insert a display
name in a topic that already exist, use rename_display_name()
.
1 2 3 4 5 6 | create_topic(topic_name, display_name = NULL, suppress_output = FALSE,
profile = "default")
delete_topic(topic, profile = "default")
rename_display_name(topic, display_name, profile = "default")
|
topic_name |
Your topic name. Must contain only alphanumeric characters hyphens (-), or underscores (_). |
display_name |
(optional) The name that will display when you send an email. The display name won't appear in SMS. Display name cannot be greater than 10. |
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. |
topic |
A topic name or topic ARN. |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
# create a topic
create_topic(topic_name = "your_topic_name",
display_name = "testing")
# rename display name
rename_display_name(topic = "your_topic_name",
display_name = "testing_2")
# delete your topic
delete_topic(topic = "your_topic_name")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.