batchGetIncidentFindings method

Future<BatchGetIncidentFindingsOutput> batchGetIncidentFindings({
  1. required List<String> findingIds,
  2. required String incidentRecordArn,
})

Retrieves details about all specified findings for an incident, including descriptive details about each finding. A finding represents a recent application environment change made by an CodeDeploy deployment or an CloudFormation stack creation or update that can be investigated as a potential cause of the incident.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter findingIds : A list of IDs of findings for which you want to view details.

Parameter incidentRecordArn : The Amazon Resource Name (ARN) of the incident for which you want to view finding details.

Implementation

Future<BatchGetIncidentFindingsOutput> batchGetIncidentFindings({
  required List<String> findingIds,
  required String incidentRecordArn,
}) async {
  final $payload = <String, dynamic>{
    'findingIds': findingIds,
    'incidentRecordArn': incidentRecordArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/batchGetIncidentFindings',
    exceptionFnMap: _exceptionFns,
  );
  return BatchGetIncidentFindingsOutput.fromJson(response);
}