GetAlarmMuteRule
Source:
src/AWS/CloudWatch/GetAlarmMuteRule.ts
Runtime binding for cloudwatch:GetAlarmMuteRule — read the
configuration of the bound AlarmMuteRule; the rule name is
injected automatically.
Provide CloudWatch.GetAlarmMuteRuleHttp on the hosting Lambda Function
to satisfy the requirement.
Reading Mute Rules
Section titled “Reading Mute Rules”// init — grants cloudwatch:GetAlarmMuteRule on the ruleconst getAlarmMuteRule = yield* AWS.CloudWatch.GetAlarmMuteRule(muteRule);
// runtimeconst result = yield* getAlarmMuteRule();const schedule = result.Rule?.Schedule;