describeNodegroup method
Describes a managed node group.
May throw ClientException.
May throw InvalidParameterException.
May throw ResourceNotFoundException.
May throw ServerException.
May throw ServiceUnavailableException.
Parameter clusterName :
The name of your cluster.
Parameter nodegroupName :
The name of the node group to describe.
Implementation
Future<DescribeNodegroupResponse> describeNodegroup({
required String clusterName,
required String nodegroupName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/clusters/${Uri.encodeComponent(clusterName)}/node-groups/${Uri.encodeComponent(nodegroupName)}',
exceptionFnMap: _exceptionFns,
);
return DescribeNodegroupResponse.fromJson(response);
}