update_event_label
¶
update_event_label(
event_id: identifier,
event_type_name: identifier,
assigned_label: identifier,
label_timestamp: utcTimestampISO8601,
*,
config_overrides: Optional[FraudDetectorClientConfig] = None,
) -> UpdateEventLabelResult
Updates the specified event with a new label.
Parameters:
-
event_id(identifier) –The ID of the event associated with the label to update.
-
event_type_name(identifier) –The event type of the event associated with the label to update.
-
assigned_label(identifier) –The new label to assign to the event.
-
label_timestamp(utcTimestampISO8601) –The timestamp associated with the label. The timestamp must be specified using ISO 8601 standard in UTC.
Raises:
-
AccessDeniedException–An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as
PutExternalModel, that specifies a role that is not in your account. -
ConflictException–An exception indicating there was a conflict during a delete operation.
-
InternalServerException–An exception indicating an internal server error.
-
ResourceNotFoundException–An exception indicating the specified resource was not found.
-
ThrottlingException–An exception indicating a throttling error.
-
ValidationException–An exception indicating a specified value is not allowed.
-
UnknownServiceError–The service returned an error code this client does not model.