deleteDataQualityJobDefinition method
Deletes a data quality monitoring job definition.
May throw ResourceNotFound.
Parameter jobDefinitionName
:
The name of the data quality monitoring job definition to delete.
Implementation
Future<void> deleteDataQualityJobDefinition({
required String jobDefinitionName,
}) async {
ArgumentError.checkNotNull(jobDefinitionName, 'jobDefinitionName');
_s.validateStringLength(
'jobDefinitionName',
jobDefinitionName,
1,
63,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DeleteDataQualityJobDefinition'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'JobDefinitionName': jobDefinitionName,
},
);
}