deleteLimit method
Removes a limit from the specified farm. Before you delete a limit you
must use the DeleteQueueLimitAssociation operation to remove
the association with any queues.
May throw AccessDeniedException.
May throw InternalServerErrorException.
May throw ThrottlingException.
May throw ValidationException.
Parameter farmId :
The unique identifier of the farm that contains the limit to delete.
Parameter limitId :
The unique identifier of the limit to delete.
Implementation
Future<void> deleteLimit({
required String farmId,
required String limitId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/2023-10-12/farms/${Uri.encodeComponent(farmId)}/limits/${Uri.encodeComponent(limitId)}',
exceptionFnMap: _exceptionFns,
);
}