getQueue method
Returns detailed information about a queue. The information includes the compute node groups that the queue uses to schedule jobs.
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 of the queue.
Parameter queueIdentifier :
The name or ID of the queue.
Implementation
Future<GetQueueResponse> getQueue({
required String clusterIdentifier,
required String queueIdentifier,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'AWSParallelComputingService.GetQueue'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'clusterIdentifier': clusterIdentifier,
'queueIdentifier': queueIdentifier,
},
);
return GetQueueResponse.fromJson(jsonResponse.body);
}