batchDisableAlarm method
Future<BatchDisableAlarmResponse>
batchDisableAlarm({
- required List<
DisableAlarmActionRequest> disableActionRequests,
Disables one or more alarms. The alarms change to the
DISABLED state after you disable them.
May throw InternalFailureException.
May throw InvalidRequestException.
May throw ServiceUnavailableException.
May throw ThrottlingException.
Parameter disableActionRequests :
The list of disable action requests. You can specify up to 10 requests per
operation.
Implementation
Future<BatchDisableAlarmResponse> batchDisableAlarm({
required List<DisableAlarmActionRequest> disableActionRequests,
}) async {
final $payload = <String, dynamic>{
'disableActionRequests': disableActionRequests,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/alarms/disable',
exceptionFnMap: _exceptionFns,
);
return BatchDisableAlarmResponse.fromJson(response);
}