getDataQualityModelResult method

Future<GetDataQualityModelResultResponse> getDataQualityModelResult({
  1. required String profileId,
  2. required String statisticId,
})

Retrieve a statistic's predictions for a given Profile ID.

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

Parameter profileId : The Profile ID.

Parameter statisticId : The Statistic ID.

Implementation

Future<GetDataQualityModelResultResponse> getDataQualityModelResult({
  required String profileId,
  required String statisticId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AWSGlue.GetDataQualityModelResult'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ProfileId': profileId,
      'StatisticId': statisticId,
    },
  );

  return GetDataQualityModelResultResponse.fromJson(jsonResponse.body);
}