Skip to content

/AWS1/CL_CWE=>LISTTARGETSBYRULE()

About ListTargetsByRule

Lists the targets assigned to the specified rule.

Method Signature

IMPORTING

Required arguments:

IV_RULE TYPE /AWS1/CWERULENAME /AWS1/CWERULENAME

The name of the rule.

Optional arguments:

IV_EVENTBUSNAME TYPE /AWS1/CWEEVENTBUSNAMEORARN /AWS1/CWEEVENTBUSNAMEORARN

The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.

IV_NEXTTOKEN TYPE /AWS1/CWENEXTTOKEN /AWS1/CWENEXTTOKEN

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

IV_LIMIT TYPE /AWS1/CWELIMITMAX100 /AWS1/CWELIMITMAX100

The maximum number of results to return.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWELISTTGTSBYRULERSP /AWS1/CL_CWELISTTGTSBYRULERSP