batchGetDataQualityResult method

Future<BatchGetDataQualityResultResponse> batchGetDataQualityResult({
  1. required List<String> resultIds,
})

Retrieves a list of data quality results for the specified result IDs.

May throw InternalServiceException. May throw InvalidInputException. May throw OperationTimeoutException.

Parameter resultIds : A list of unique result IDs for the data quality results.

Implementation

Future<BatchGetDataQualityResultResponse> batchGetDataQualityResult({
  required List<String> resultIds,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.BatchGetDataQualityResult'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResultIds': resultIds,
    },
  );

  return BatchGetDataQualityResultResponse.fromJson(jsonResponse.body);
}