getComputeNodeGroup method
Returns detailed information about a compute node group. This API action provides networking information, EC2 instance type, compute node group status, and scheduler (such as Slurm) configuration.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter clusterIdentifier :
The name or ID of the cluster.
Parameter computeNodeGroupIdentifier :
The name or ID of the compute node group.
Implementation
Future<GetComputeNodeGroupResponse> getComputeNodeGroup({
required String clusterIdentifier,
required String computeNodeGroupIdentifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AWSParallelComputingService.GetComputeNodeGroup'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'clusterIdentifier': clusterIdentifier,
'computeNodeGroupIdentifier': computeNodeGroupIdentifier,
},
);
return GetComputeNodeGroupResponse.fromJson(jsonResponse.body);
}