add_topic_permission: Add/remove access permissions

Description Usage Arguments Details Value Author(s) References

View source: R/topic.R

Description

Add/remove permissions to publish to topic

Usage

1
2
3
add_topic_permission(topic, label, permissions, ...)

remove_topic_permission(topic, label, ...)

Arguments

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 snsHTTP.

Details

Add or remove a permission, which grants another AWS account permission to use an SNS topic.

Value

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.

Author(s)

Thomas J. Leeper

References

AddPermission RemovePermission


aws.sns documentation built on May 2, 2019, 9:31 a.m.