getFirewallRule method
Retrieves information about a DNS firewall rule.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter firewallRuleId :
ID of the DNS Firewall rule.
Implementation
Future<GetFirewallRuleOutput> getFirewallRule({
required String firewallRuleId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/firewall-rules/${Uri.encodeComponent(firewallRuleId)}',
exceptionFnMap: _exceptionFns,
);
return GetFirewallRuleOutput.fromJson(response);
}