FraudDetector / Client / delete_detector_version

delete_detector_version#

FraudDetector.Client.delete_detector_version(**kwargs)#

Deletes the detector version. You cannot delete detector versions that are in ACTIVE status.

When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.

See also: AWS API Documentation

Request Syntax

response = client.delete_detector_version(
    detectorId='string',
    detectorVersionId='string'
)
Parameters:
  • detectorId (string) –

    [REQUIRED]

    The ID of the parent detector for the detector version to delete.

  • detectorVersionId (string) –

    [REQUIRED]

    The ID of the detector version to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • FraudDetector.Client.exceptions.ValidationException

  • FraudDetector.Client.exceptions.ResourceNotFoundException

  • FraudDetector.Client.exceptions.InternalServerException

  • FraudDetector.Client.exceptions.ThrottlingException

  • FraudDetector.Client.exceptions.ConflictException

  • FraudDetector.Client.exceptions.AccessDeniedException