describeFeatureMetadata method
Shows the metadata for a feature within a feature group.
May throw ResourceNotFound.
Parameter featureGroupName :
The name or Amazon Resource Name (ARN) of the feature group containing the
feature.
Parameter featureName :
The name of the feature.
Implementation
Future<DescribeFeatureMetadataResponse> describeFeatureMetadata({
required String featureGroupName,
required String featureName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'SageMaker.DescribeFeatureMetadata'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FeatureGroupName': featureGroupName,
'FeatureName': featureName,
},
);
return DescribeFeatureMetadataResponse.fromJson(jsonResponse.body);
}