Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

Usage

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

svc$remove_permission(
  StatementId = "string",
  RemoveAllPermissions = TRUE|FALSE,
  EventBusName = "string"
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.