deleteWebACL method
Implementation
Future<DeleteWebACLResponse> deleteWebACL({
required String changeToken,
required String webACLId,
}) async {
ArgumentError.checkNotNull(changeToken, 'changeToken');
_s.validateStringLength(
'changeToken',
changeToken,
1,
128,
isRequired: true,
);
ArgumentError.checkNotNull(webACLId, 'webACLId');
_s.validateStringLength(
'webACLId',
webACLId,
1,
128,
isRequired: true,
);
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSWAF_Regional_20161128.DeleteWebACL'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ChangeToken': changeToken,
'WebACLId': webACLId,
},
);
return DeleteWebACLResponse.fromJson(jsonResponse.body);
}