Add/remove permissions to publish to topic
add_topic_permission(topic, label, permissions, ...)remove_topic_permission(topic, label, ...)
A character string containing an SNS Topic Amazon Resource Name (ARN).
A character string containing a label for the permission.
A named list of character strings, where the names of the list are AWS Account ID numbers and the list elements are SNS API endpoints (e.g. “Publish”, “Subscribe”, “Unsubscribe”, etc.).
Additional arguments passed to snsHTTP
.
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.
Add or remove a permission, which grants another AWS account permission to use an SNS topic.