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 {
ArgumentError.checkNotNull(alarmNames, 'alarmNames');
final $request = <String, dynamic>{};
$request['AlarmNames'] = alarmNames;
await _protocol.send(
$request,
action: 'DisableAlarmActions',
version: '2010-08-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DisableAlarmActionsInput'],
shapes: shapes,
);
}