getQueue method
Retrieve the JSON for a specific queue.
May throw BadRequestException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw TooManyRequestsException. May throw ConflictException.
Parameter name
:
The name of the queue that you want information about.
Implementation
Future<GetQueueResponse> getQueue({
required String name,
}) async {
ArgumentError.checkNotNull(name, 'name');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/2017-08-29/queues/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return GetQueueResponse.fromJson(response);
}