Skip to content

/AWS1/CL_EVB=>LISTRULES()

About ListRules

Lists your Amazon EventBridge rules. You can either list all the rules or you can provide a prefix to match to the rule names.

The maximum number of results per page for requests is 100.

ListRules does not list the targets of a rule. To see the targets associated with a rule, use ListTargetsByRule.

Method Signature

IMPORTING

Optional arguments:

IV_NAMEPREFIX TYPE /AWS1/EVBRULENAME /AWS1/EVBRULENAME

The prefix matching the rule name.

IV_EVENTBUSNAME TYPE /AWS1/EVBEVENTBUSNAMEORARN /AWS1/EVBEVENTBUSNAMEORARN

The name or ARN of the event bus to list the rules for. If you omit this, the default event bus is used.

IV_NEXTTOKEN TYPE /AWS1/EVBNEXTTOKEN /AWS1/EVBNEXTTOKEN

The token returned by a previous call to retrieve the next set of results.

IV_LIMIT TYPE /AWS1/EVBLIMITMAX100 /AWS1/EVBLIMITMAX100

The maximum number of results to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EVBLISTRULESRESPONSE /AWS1/CL_EVBLISTRULESRESPONSE