describeNodegroup method
Returns descriptive information about an Amazon EKS node group.
May throw InvalidParameterException. May throw ResourceNotFoundException. May throw ClientException. May throw ServerException. May throw ServiceUnavailableException.
Parameter clusterName
:
The name of the Amazon EKS cluster associated with the node group.
Parameter nodegroupName
:
The name of the node group to describe.
Implementation
Future<DescribeNodegroupResponse> describeNodegroup({
required String clusterName,
required String nodegroupName,
}) async {
ArgumentError.checkNotNull(clusterName, 'clusterName');
ArgumentError.checkNotNull(nodegroupName, 'nodegroupName');
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);
}