describeAIRecommendationJob method
Future<DescribeAIRecommendationJobResponse>
describeAIRecommendationJob({
- required String aIRecommendationJobName,
Returns details of an AI recommendation job, including its status, model source, performance targets, optimization recommendations, and deployment configurations.
May throw ResourceNotFound.
Parameter aIRecommendationJobName :
The name of the AI recommendation job to describe.
Implementation
Future<DescribeAIRecommendationJobResponse> describeAIRecommendationJob({
required String aIRecommendationJobName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeAIRecommendationJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'AIRecommendationJobName': aIRecommendationJobName,
},
);
return DescribeAIRecommendationJobResponse.fromJson(jsonResponse.body);
}