FraudDetector / Client / delete_label

delete_label#

FraudDetector.Client.delete_label(**kwargs)#

Deletes a label.

You cannot delete labels that are included in an event type in Amazon Fraud Detector.

You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.

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

See also: AWS API Documentation

Request Syntax

response = client.delete_label(
    name='string'
)
Parameters:

name (string) –

[REQUIRED]

The name of the label to delete.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • FraudDetector.Client.exceptions.ValidationException

  • FraudDetector.Client.exceptions.ConflictException

  • FraudDetector.Client.exceptions.ThrottlingException

  • FraudDetector.Client.exceptions.InternalServerException