deleteByteMatchSet method
Future<DeleteByteMatchSetResponse>
deleteByteMatchSet(
{ - required String byteMatchSetId,
- required String changeToken,
})
Implementation
Future<DeleteByteMatchSetResponse> deleteByteMatchSet({
required String byteMatchSetId,
required String changeToken,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSWAF_20150824.DeleteByteMatchSet'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'ByteMatchSetId': byteMatchSetId,
'ChangeToken': changeToken,
},
);
return DeleteByteMatchSetResponse.fromJson(jsonResponse.body);
}