/AWS1/IF_EVB=>REMOVEPERMISSION()¶
About RemovePermission¶
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
PutPermission. You can find the StatementId by using DescribeEventBus.
Method Signature¶
METHODS /AWS1/IF_EVB~REMOVEPERMISSION
IMPORTING
!IV_STATEMENTID TYPE /AWS1/EVBSTATEMENTID OPTIONAL
!IV_REMOVEALLPERMISSIONS TYPE /AWS1/EVBBOOLEAN OPTIONAL
!IV_EVENTBUSNAME TYPE /AWS1/EVBNONPARTNEREBUSNAME OPTIONAL
RAISING
/AWS1/CX_EVBCONCURRENTMODEX
/AWS1/CX_EVBINTERNALEXCEPTION
/AWS1/CX_EVBOPDISABLEDEX
/AWS1/CX_EVBRESOURCENOTFOUNDEX
/AWS1/CX_EVBCLIENTEXC
/AWS1/CX_EVBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_statementid TYPE /AWS1/EVBSTATEMENTID /AWS1/EVBSTATEMENTID¶
The statement ID corresponding to the account that is no longer allowed to put events to the default event bus.
iv_removeallpermissions TYPE /AWS1/EVBBOOLEAN /AWS1/EVBBOOLEAN¶
Specifies whether to remove all permissions.
iv_eventbusname TYPE /AWS1/EVBNONPARTNEREBUSNAME /AWS1/EVBNONPARTNEREBUSNAME¶
The name of the event bus to revoke permissions for. If you omit this, the default event bus is used.
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
lo_client->removepermission(
iv_eventbusname = |string|
iv_removeallpermissions = ABAP_TRUE
iv_statementid = |string|
).