describeLineageGroup method
Provides a list of properties for the requested lineage group. For more information, see Cross-Account Lineage Tracking in the Amazon SageMaker Developer Guide.
May throw ResourceNotFound.
Parameter lineageGroupName :
The name of the lineage group.
Implementation
Future<DescribeLineageGroupResponse> describeLineageGroup({
required String lineageGroupName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeLineageGroup'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'LineageGroupName': lineageGroupName,
},
);
return DescribeLineageGroupResponse.fromJson(jsonResponse.body);
}