describeFeatureGroup method
Use this operation to describe a FeatureGroup. The response
includes information on the creation time, FeatureGroup name,
the unique identifier for each FeatureGroup, and more.
May throw ResourceNotFound.
Parameter featureGroupName :
The name or Amazon Resource Name (ARN) of the FeatureGroup
you want described.
Parameter nextToken :
A token to resume pagination of the list of Features
(FeatureDefinitions). 2,500 Features are
returned by default.
Implementation
Future<DescribeFeatureGroupResponse> describeFeatureGroup({
required String featureGroupName,
String? nextToken,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeFeatureGroup'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FeatureGroupName': featureGroupName,
if (nextToken != null) 'NextToken': nextToken,
},
);
return DescribeFeatureGroupResponse.fromJson(jsonResponse.body);
}