Module Values.AddPermissionInputSource

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.

Sourcetype nonrec t = {
  1. topicArn : TopicARN.t;
    (*

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

    *)
  2. label : Label.t;
    (*

    A unique identifier for the new policy statement.

    *)
  3. aWSAccountId : DelegatesList.t;
    (*

    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.

    *)
  4. actionName : ActionsList.t;
    (*

    The action you want to allow for the specified principal(s). Valid values: Any Amazon SNS action name, for example Publish.

    *)
}
Sourceval context_ : string
Sourceval make : topicArn:TopicARN.t -> label:Label.t -> aWSAccountId:DelegatesList.t -> actionName:ActionsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of Delegate.t ] list | `String of TopicARN.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t