Skip to content

Remove Permission

sns_remove_permission R Documentation

Removes a statement from a topic's access control policy

Description

Removes a statement from a topic's access control policy.

To remove the ability to change topic permissions, you must deny permissions to the add_permission, remove_permission, and set_topic_attributes actions in your IAM policy.

Usage

sns_remove_permission(TopicArn, Label)

Arguments

TopicArn

[required] The ARN of the topic whose access control policy you wish to modify.

Label

[required] The unique label of the statement you want to remove.

Value

An empty list.

Request syntax

svc$remove_permission(
  TopicArn = "string",
  Label = "string"
)