batchUpdateFirewallRule method
Future<BatchUpdateFirewallRuleOutput>
batchUpdateFirewallRule({
- required List<
BatchUpdateFirewallRuleInputItem> firewallRules,
Updates multiple DNS firewall rules in a single operation. This is more efficient than updating rules individually.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter firewallRules :
The DNS Firewall rule IDs to be updated.
Implementation
Future<BatchUpdateFirewallRuleOutput> batchUpdateFirewallRule({
required List<BatchUpdateFirewallRuleInputItem> firewallRules,
}) async {
final $payload = <String, dynamic>{
'firewallRules': firewallRules,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/firewall-rules/batch-update',
exceptionFnMap: _exceptionFns,
);
return BatchUpdateFirewallRuleOutput.fromJson(response);
}