deleteQueue method

Future<void> deleteQueue({
  1. required String farmId,
  2. required String queueId,
})

Deletes a queue.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerErrorException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter farmId : The ID of the farm from which to remove the queue.

Parameter queueId : The queue ID of the queue to delete.

Implementation

Future<void> deleteQueue({
  required String farmId,
  required String queueId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/2023-10-12/farms/${Uri.encodeComponent(farmId)}/queues/${Uri.encodeComponent(queueId)}',
    exceptionFnMap: _exceptionFns,
  );
}