v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1484172300.4 KB

Adds a statement to a topic's access control policy, granting access for the specified Amazon Web Services accounts to the specified actions.

To remove the ability to change topic permissions, you must deny permissions to the AddPermission, RemovePermission, and SetTopicAttributes actions in your IAM policy.

get/#Action=AddPermission

Query parameters

TopicArnstring required

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

Labelstring required

A unique identifier for the new policy statement.

AWSAccountIdDelegate[] required

The Amazon Web Services account IDs of the users (principals) who will be given access to the specified actions. The users must have Amazon Web Services account, but do not need to be signed up for this service.

ActionNameAction[] required
<p>The action you want to allow for the specified principal(s).</p> <p>Valid values: Any Amazon SNS action name, for example <code>Publish</code>.</p>
Action'AddPermission' required
Version'2010-03-31' required

Response

Success

All 84 operations