Skip to content

/AWS1/IF_CWT=>DELETEALARMMUTERULE()

About DeleteAlarmMuteRule

Deletes a specific alarm mute rule.

When you delete a mute rule, any alarms that are currently being muted by that rule are immediately unmuted. If those alarms are in an ALARM state, their configured actions will trigger.

This operation is idempotent. If you delete a mute rule that does not exist, the operation succeeds without returning an error.

Permissions

To delete a mute rule, you need the cloudwatch:DeleteAlarmMuteRule permission on the alarm mute rule resource.

Method Signature

METHODS /AWS1/IF_CWT~DELETEALARMMUTERULE
  IMPORTING
    !IV_ALARMMUTERULENAME TYPE /AWS1/CWTNAME OPTIONAL
  RAISING
    /AWS1/CX_CWTCLIENTEXC
    /AWS1/CX_CWTSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_alarmmuterulename TYPE /AWS1/CWTNAME /AWS1/CWTNAME

The name of the alarm mute rule to delete.

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