remove_permission¶
Operation¶
remove_permission
async
¶
remove_permission(input: RemovePermissionInput, plugins: list[Plugin] | None = None) -> RemovePermissionOutput
Removes a statement from a topic's access control policy.
Note
To remove the ability to change topic permissions, you must deny
permissions to the AddPermission, RemovePermission, and
SetTopicAttributes actions in your IAM policy.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
RemovePermissionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
RemovePermissionOutput
|
An instance of |
Input¶
RemovePermissionInput
dataclass
¶
Input for RemovePermission action.
Output¶
RemovePermissionOutput
dataclass
¶
Dataclass for RemovePermissionOutput structure.