FraudDetector.Client.
put_label
(**kwargs)¶Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.
See also: AWS API Documentation
Request Syntax
response = client.put_label(
name='string',
description='string',
tags=[
{
'key': 'string',
'value': 'string'
},
]
)
[REQUIRED]
The label name.
A key and value pair.
A tag key.
A value assigned to a tag key.
dict
Response Syntax
{}
Response Structure
Exceptions
FraudDetector.Client.exceptions.ValidationException
FraudDetector.Client.exceptions.InternalServerException
FraudDetector.Client.exceptions.ThrottlingException
FraudDetector.Client.exceptions.AccessDeniedException
FraudDetector.Client.exceptions.ConflictException