getFirewallDomainList method
Future<GetFirewallDomainListResponse>
getFirewallDomainList({
- required String firewallDomainListId,
Retrieves the specified firewall domain list.
May throw AccessDeniedException.
May throw InternalServiceErrorException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter firewallDomainListId :
The ID of the domain list.
Implementation
Future<GetFirewallDomainListResponse> getFirewallDomainList({
required String firewallDomainListId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'Route53Resolver.GetFirewallDomainList'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FirewallDomainListId': firewallDomainListId,
},
);
return GetFirewallDomainListResponse.fromJson(jsonResponse.body);
}