deleteBudget method
Deletes a budget.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter budgetId :
The budget ID of the budget to delete.
Parameter farmId :
The farm ID of the farm to remove from the budget.
Implementation
Future<void> deleteBudget({
required String budgetId,
required String farmId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/budgets/${Uri.encodeComponent(budgetId)}',
exceptionFnMap: _exceptionFns,
);
}