getQueueEnvironment method
Gets a queue environment.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The farm ID for the queue environment.
Parameter queueEnvironmentId :
The queue environment ID.
Parameter queueId :
The queue ID for the queue environment.
Implementation
Future<GetQueueEnvironmentResponse> getQueueEnvironment({
required String farmId,
required String queueEnvironmentId,
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)}/environments/${Uri.encodeComponent(queueEnvironmentId)}',
exceptionFnMap: _exceptionFns,
);
return GetQueueEnvironmentResponse.fromJson(response);
}