Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_event

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.

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.
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