describeModelQualityJobDefinition method
Future<DescribeModelQualityJobDefinitionResponse>
describeModelQualityJobDefinition({
- required String jobDefinitionName,
Returns a description of a model quality job definition.
May throw ResourceNotFound.
Parameter jobDefinitionName
:
The name of the model quality job. The name must be unique within an AWS
Region in the AWS account.
Implementation
Future<DescribeModelQualityJobDefinitionResponse>
describeModelQualityJobDefinition({
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.DescribeModelQualityJobDefinition'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'JobDefinitionName': jobDefinitionName,
},
);
return DescribeModelQualityJobDefinitionResponse.fromJson(
jsonResponse.body);
}