Remove Permission
cloudwatchevents_remove_permission | R Documentation |
Revokes the permission of another Amazon Web Services account to be able to put events to the specified event bus¶
Description¶
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 put_permission
. You can find the
StatementId
by using describe_event_bus
.
Usage¶
Arguments¶
StatementId
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
RemoveAllPermissions
Specifies whether to remove all permissions.
EventBusName
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
Value¶
An empty list.