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.

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