add_topic_permission {aws.sns} | R Documentation |
Add/remove permissions to publish to topic
add_topic_permission(topic, label, permissions, ...) remove_topic_permission(topic, label, ...)
topic |
A character string containing an SNS Topic Amazon Resource Name (ARN). |
label |
A character string containing a label for the permission. |
permissions |
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 |
Add or remove a permission, which grants another AWS account permission to use an SNS 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.
Thomas J. Leeper
AddPermission RemovePermission