Skip to content

/AWS1/CL_EL2=>MODIFYRULE()

About ModifyRule

Replaces the specified properties of the specified rule. Any properties that you do not specify are unchanged.

To add an item to a list, remove an item from a list, or update an item in a list, you must provide the entire list. For example, to add an action, specify a list with the current actions plus the new action.

Method Signature

IMPORTING

Required arguments:

IV_RULEARN TYPE /AWS1/EL2RULEARN /AWS1/EL2RULEARN

The Amazon Resource Name (ARN) of the rule.

Optional arguments:

IT_CONDITIONS TYPE /AWS1/CL_EL2RULECONDITION=>TT_RULECONDITIONLIST TT_RULECONDITIONLIST

The conditions.

IT_ACTIONS TYPE /AWS1/CL_EL2ACTION=>TT_ACTIONS TT_ACTIONS

The actions.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EL2MODIFYRULEOUTPUT /AWS1/CL_EL2MODIFYRULEOUTPUT