deleteFilter method
Deletes a filter.
May throw InvalidInputException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter filterArn :
The ARN of the filter to delete.
Implementation
Future<void> deleteFilter({
required String filterArn,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AmazonPersonalize.DeleteFilter'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'filterArn': filterArn,
},
);
}