getFirewallDomainList method

Future<GetFirewallDomainListOutput> getFirewallDomainList({
  1. required String firewallDomainListId,
})

Retrieves information about a firewall domain list.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter firewallDomainListId : ID of the domain list.

Implementation

Future<GetFirewallDomainListOutput> getFirewallDomainList({
  required String firewallDomainListId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/firewall-domain-lists/${Uri.encodeComponent(firewallDomainListId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetFirewallDomainListOutput.fromJson(response);
}