describeModelCardExportJob method
Future<DescribeModelCardExportJobResponse>
describeModelCardExportJob({
- required String modelCardExportJobArn,
Describes an Amazon SageMaker Model Card export job.
May throw ResourceNotFound.
Parameter modelCardExportJobArn :
The Amazon Resource Name (ARN) of the model card export job to describe.
Implementation
Future<DescribeModelCardExportJobResponse> describeModelCardExportJob({
required String modelCardExportJobArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeModelCardExportJob'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ModelCardExportJobArn': modelCardExportJobArn,
},
);
return DescribeModelCardExportJobResponse.fromJson(jsonResponse.body);
}