| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CloudWatchEvents.RemovePermission
Description
Revokes the permission of another AWS account to be able to put events to your default 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 .
Creating a Request
Arguments
| :: Text | |
| -> RemovePermission |
Creates a value of RemovePermission with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rpStatementId- The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
data RemovePermission Source #
See: removePermission smart constructor.
Instances
Request Lenses
rpStatementId :: Lens' RemovePermission Text Source #
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
Destructuring the Response
removePermissionResponse :: RemovePermissionResponse Source #
Creates a value of RemovePermissionResponse with the minimum fields required to make a request.
data RemovePermissionResponse Source #
See: removePermissionResponse smart constructor.