deleteLinkRoutingRule method
Deletes a routing rule from a link.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter gatewayId :
The unique identifier of the gateway.
Parameter linkId :
The unique identifier of the link.
Parameter ruleId :
The unique identifier of the routing rule.
Implementation
Future<DeleteLinkRoutingRuleResponse> deleteLinkRoutingRule({
required String gatewayId,
required String linkId,
required String ruleId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/responder-gateway/${Uri.encodeComponent(gatewayId)}/link/${Uri.encodeComponent(linkId)}/routing-rule/${Uri.encodeComponent(ruleId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteLinkRoutingRuleResponse.fromJson(response);
}