Skip to content

/AWS1/IF_NWS=>DELETERULE()

About DeleteRule

Deletes the specified rule.

Method Signature

METHODS /AWS1/IF_NWS~DELETERULE
  IMPORTING
    !IV_RULEIDENTIFIER TYPE /AWS1/NWSRULEIDENTIFIER OPTIONAL
  RAISING
    /AWS1/CX_NWSACCESSDENIEDEX
    /AWS1/CX_NWSCONFLICTEXCEPTION
    /AWS1/CX_NWSINTERNALSERVEREX
    /AWS1/CX_NWSTHROTTLINGEX
    /AWS1/CX_NWSVLDTNEXCEPTION
    /AWS1/CX_NWSCLIENTEXC
    /AWS1/CX_NWSSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_ruleidentifier TYPE /AWS1/NWSRULEIDENTIFIER /AWS1/NWSRULEIDENTIFIER

The identifier of the rule. This is the rule's Amazon Resource Name (ARN).

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->deleterule( |string| ).

Delete a rule

Deletes a rule by its ARN. The rule must not be associated with any template or policy.

lo_client->deleterule( |arn:aws:network-security-manager:us-east-1:123456789012:rule:abc123| ).