describeTransformJob method
Returns information about a transform job.
May throw ResourceNotFound.
Parameter transformJobName
:
The name of the transform job that you want to view details of.
Implementation
Future<DescribeTransformJobResponse> describeTransformJob({
required String transformJobName,
}) async {
ArgumentError.checkNotNull(transformJobName, 'transformJobName');
_s.validateStringLength(
'transformJobName',
transformJobName,
1,
63,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeTransformJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'TransformJobName': transformJobName,
},
);
return DescribeTransformJobResponse.fromJson(jsonResponse.body);
}