cloudwatchevents_remove_permission: Revokes the permission of another AWS account to be able to...

Description Usage Arguments Value Request syntax

View source: R/cloudwatchevents_operations.R

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 put_permission. You can find the StatementId by using describe_event_bus.

Usage

1
2
cloudwatchevents_remove_permission(StatementId, RemoveAllPermissions,
  EventBusName)

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.

Request syntax

1
2
3
4
5
svc$remove_permission(
  StatementId = "string",
  RemoveAllPermissions = TRUE|FALSE,
  EventBusName = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.