disableAlarmActions method
Disables the actions for the specified alarms. When an alarm's actions are disabled, the alarm actions do not execute when the alarm state changes.
Parameter alarmNames :
The names of the alarms.
Implementation
Future<void> disableAlarmActions({
required List<String> alarmNames,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'GraniteServiceVersion20100801.DisableAlarmActions'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AlarmNames': alarmNames,
},
);
}