getDataQualityRuleRecommendationRun method

Future<GetDataQualityRuleRecommendationRunResponse> getDataQualityRuleRecommendationRun({
  1. required String runId,
})

Gets the specified recommendation run that was used to generate rules.

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

Parameter runId : The unique run identifier associated with this run.

Implementation

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

  return GetDataQualityRuleRecommendationRunResponse.fromJson(
      jsonResponse.body);
}