getDataQualityModel method
Retrieve the training status of the model along with more information (CompletedOn, StartedOn, FailureReason).
May throw EntityNotFoundException.
May throw InternalServiceException.
May throw InvalidInputException.
May throw OperationTimeoutException.
Parameter profileId :
The Profile ID.
Parameter statisticId :
The Statistic ID.
Implementation
Future<GetDataQualityModelResponse> getDataQualityModel({
required String profileId,
String? statisticId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.GetDataQualityModel'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ProfileId': profileId,
if (statisticId != null) 'StatisticId': statisticId,
},
);
return GetDataQualityModelResponse.fromJson(jsonResponse.body);
}