Description Usage Arguments Details Value Author(s) References See Also Examples
Create, delete, and list topics
1 2 3 4 5 | create_topic(name, ...)
delete_topic(topic, ...)
list_topics(token, ...)
|
name |
A character string containing a (private) name for the topic. |
... |
Additional arguments passed to |
topic |
A character string containing an SNS Topic Amazon Resource Name (ARN). |
token |
A paging paramter used to return additional pages of results. This will be available in the “NextToken” attribute of a previous call to |
create_topic
creates a new topic. The name
is a private name for the topic. Use set_topic_attrs
to set a publicly visible name for the topic. delete_topic
deletes a named topic. list_topics
lists all currently available topics.
list_topics
lists topics. Up to 100 subscriptions are returned by each request. The token
argument can be used to return additional results.
For create_topic
: If successful, a character string containing an SNS Topic ARN. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.
For delete_topic
: If successful, a logical TRUE
. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.
For list_topics
: If successful, a data frame. Otherwise, a data structure of class “aws_error” containing any error message(s) from AWS and information about the request attempt.
Thomas J. Leeper
CreateTopic DeleteTopic ListTopics
1 2 3 4 5 6 7 | ## Not run:
top <- create_topic("new_topic")
get_topic_attrs(top)
list_topics()
delete_topic(top)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.