getQueue method
Gets a queue.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID of the farm in the queue.
Parameter queueId :
The queue ID for the queue to retrieve.
Implementation
Future<GetQueueResponse> getQueue({
required String farmId,
required String queueId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queues/${Uri.encodeComponent(queueId)}',
exceptionFnMap: _exceptionFns,
);
return GetQueueResponse.fromJson(response);
}