getDataQualityResult method

Future<GetDataQualityResultResponse> getDataQualityResult({
  1. required String resultId,
})

Retrieves the result of a data quality rule evaluation.

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

Parameter resultId : A unique result ID for the data quality result.

Implementation

Future<GetDataQualityResultResponse> getDataQualityResult({
  required String resultId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.GetDataQualityResult'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ResultId': resultId,
    },
  );

  return GetDataQualityResultResponse.fromJson(jsonResponse.body);
}