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.
Request Parameters
- AlarmMuteRuleName
-
The name of the alarm mute rule to delete.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Required: Yes
Errors
For information about the errors that are common to all actions, see Common Errors.
Examples
Delete a mute rule
Delete a specific alarm mute rule. This operation does not return any output on success.
Sample Request
aws cloudwatch delete-alarm-mute-rule \
--alarm-mute-rule-name "DailyMaintenanceWindow"
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: