enableAlarmActions method
Enables the actions for the specified alarms.
Parameter alarmNames :
The names of the alarms.
Implementation
Future<void> enableAlarmActions({
required List<String> alarmNames,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'GraniteServiceVersion20100801.EnableAlarmActions'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AlarmNames': alarmNames,
},
);
}