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