enableAlarmActions method

Future<void> enableAlarmActions({
  1. required List<String> alarmNames,
})

Enables the actions for the specified alarms.

Parameter alarmNames : The names of the alarms.

Implementation

Future<void> enableAlarmActions({
  required List<String> alarmNames,
}) async {
  ArgumentError.checkNotNull(alarmNames, 'alarmNames');
  final $request = <String, dynamic>{};
  $request['AlarmNames'] = alarmNames;
  await _protocol.send(
    $request,
    action: 'EnableAlarmActions',
    version: '2010-08-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['EnableAlarmActionsInput'],
    shapes: shapes,
  );
}