Learn R Programming

paws.management (version 0.1.6)

cloudwatchevents_remove_permission: Revokes the permission of another AWS account to be able to put events to the specified event bus

Description

Revokes the permission of another AWS 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.

Usage

cloudwatchevents_remove_permission(StatementId, EventBusName)

Arguments

StatementId

[required] The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.

EventBusName

The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.

Request syntax

svc$remove_permission(
  StatementId = "string",
  EventBusName = "string"
)