FraudDetector / Client / delete_event
delete_event#
- FraudDetector.Client.delete_event(**kwargs)#
Deletes the specified event.
When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector. If
deleteAuditHistory
isTrue
, event data is available through search for up to 30 seconds after the delete operation is completed.See also: AWS API Documentation
Request Syntax
response = client.delete_event( eventId='string', eventTypeName='string', deleteAuditHistory=True|False )
- Parameters:
eventId (string) –
[REQUIRED]
The ID of the event to delete.
eventTypeName (string) –
[REQUIRED]
The name of the event type.
deleteAuditHistory (boolean) – Specifies whether or not to delete any predictions associated with the event. If set to
True
,
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ValidationException