remove_permission
(**kwargs)¶Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus. Specify the account to revoke by the StatementId
value that you associated with the account when you granted it permission with PutPermission
. You can find the StatementId
by using DescribeEventBus.
See also: AWS API Documentation
Request Syntax
response = client.remove_permission(
StatementId='string',
RemoveAllPermissions=True|False,
EventBusName='string'
)
None
Exceptions
EventBridge.Client.exceptions.ResourceNotFoundException
EventBridge.Client.exceptions.InternalException
EventBridge.Client.exceptions.ConcurrentModificationException
EventBridge.Client.exceptions.OperationDisabledException