describeAutoMLJobV2 method
Returns information about an AutoML job created by calling CreateAutoMLJobV2 or CreateAutoMLJob.
May throw ResourceNotFound.
Parameter autoMLJobName :
Requests information about an AutoML job V2 using its unique name.
Implementation
Future<DescribeAutoMLJobV2Response> describeAutoMLJobV2({
required String autoMLJobName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeAutoMLJobV2'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AutoMLJobName': autoMLJobName,
},
);
return DescribeAutoMLJobV2Response.fromJson(jsonResponse.body);
}