Skip to content

/AWS1/CL_CWE=>CREATEEVENTBUS()

About CreateEventBus

Creates a new event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/CWEEVENTBUSNAME /AWS1/CWEEVENTBUSNAME

The name of the new event bus.

Event bus names cannot contain the / character. You can't use the name default for a custom event bus, as this name is already used for your account's default event bus.

If this is a partner event bus, the name must exactly match the name of the partner event source that this event bus is matched to.

Optional arguments:

IV_EVENTSOURCENAME TYPE /AWS1/CWEEVENTSOURCENAME /AWS1/CWEEVENTSOURCENAME

If you are creating a partner event bus, this specifies the partner event source that the new event bus will be matched with.

IT_TAGS TYPE /AWS1/CL_CWETAG=>TT_TAGLIST TT_TAGLIST

Tags to associate with the event bus.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWECREATEEBUSRESPONSE /AWS1/CL_CWECREATEEBUSRESPONSE