add_topic_permission: Add/remove access permissions

View source: R/topic.r

add_topic_permissionR Documentation

Add/remove access permissions

Description

Add/remove permissions to publish to topic

Usage

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


cloudyr/aws.sns documentation built on June 26, 2022, 4:04 a.m.