deleteFirewallRule method
Deletes a DNS firewall rule. This operation cannot be undone.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter firewallRuleId :
The unique identifier of the firewall rule to delete.
Implementation
Future<DeleteFirewallRuleOutput> deleteFirewallRule({
required String firewallRuleId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/firewall-rules/${Uri.encodeComponent(firewallRuleId)}',
exceptionFnMap: _exceptionFns,
);
return DeleteFirewallRuleOutput.fromJson(response);
}