batchAcknowledgeAlarm method

Future<BatchAcknowledgeAlarmResponse> batchAcknowledgeAlarm({
  1. required List<AcknowledgeAlarmActionRequest> acknowledgeActionRequests,
})

Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED state after you acknowledge them.

May throw InternalFailureException. May throw InvalidRequestException. May throw ServiceUnavailableException. May throw ThrottlingException.

Parameter acknowledgeActionRequests : The list of acknowledge action requests. You can specify up to 10 requests per operation.

Implementation

Future<BatchAcknowledgeAlarmResponse> batchAcknowledgeAlarm({
  required List<AcknowledgeAlarmActionRequest> acknowledgeActionRequests,
}) async {
  final $payload = <String, dynamic>{
    'acknowledgeActionRequests': acknowledgeActionRequests,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/alarms/acknowledge',
    exceptionFnMap: _exceptionFns,
  );
  return BatchAcknowledgeAlarmResponse.fromJson(response);
}