describeAutoMLJob method
Returns information about an Amazon SageMaker job.
May throw ResourceNotFound.
Parameter autoMLJobName
:
Request information about a job using that job's unique name.
Implementation
Future<DescribeAutoMLJobResponse> describeAutoMLJob({
required String autoMLJobName,
}) async {
ArgumentError.checkNotNull(autoMLJobName, 'autoMLJobName');
_s.validateStringLength(
'autoMLJobName',
autoMLJobName,
1,
32,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeAutoMLJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AutoMLJobName': autoMLJobName,
},
);
return DescribeAutoMLJobResponse.fromJson(jsonResponse.body);
}