Smaws_Client_CloudWatch.ListAlarmMuteRulesLists alarm mute rules in your Amazon Web Services account and region.
You can filter the results by alarm name to find all mute rules targeting a specific alarm, or by status to find rules that are scheduled, active, or expired.
This operation supports pagination for accounts with many mute rules. Use the MaxRecords and NextToken parameters to retrieve results in multiple calls.
Permissions
To list mute rules, you need the cloudwatch:ListAlarmMuteRules permission.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_alarm_mute_rules_input ->
(Types.list_alarm_mute_rules_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_alarm_mute_rules_input ->
(Types.list_alarm_mute_rules_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `InvalidNextToken of Types.invalid_next_token
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result