Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EnrollmentJobFraudDetectionConfig = EnrollmentJobFraudDetectionConfig' {}
- newEnrollmentJobFraudDetectionConfig :: EnrollmentJobFraudDetectionConfig
- enrollmentJobFraudDetectionConfig_riskThreshold :: Lens' EnrollmentJobFraudDetectionConfig (Maybe Natural)
- enrollmentJobFraudDetectionConfig_fraudDetectionAction :: Lens' EnrollmentJobFraudDetectionConfig (Maybe FraudDetectionAction)
Documentation
data EnrollmentJobFraudDetectionConfig Source #
The configuration defining the action to take when a speaker is flagged by the fraud detection system during a batch speaker enrollment job, and the risk threshold to use for identification.
See: newEnrollmentJobFraudDetectionConfig
smart constructor.
EnrollmentJobFraudDetectionConfig' | |
|
Instances
newEnrollmentJobFraudDetectionConfig :: EnrollmentJobFraudDetectionConfig Source #
Create a value of EnrollmentJobFraudDetectionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:riskThreshold:EnrollmentJobFraudDetectionConfig'
, enrollmentJobFraudDetectionConfig_riskThreshold
- Threshold value for determining whether the speaker is a high risk to be
fraudulent. If the detected risk score calculated by Voice ID is greater
than or equal to the threshold, the speaker is considered a fraudster.
$sel:fraudDetectionAction:EnrollmentJobFraudDetectionConfig'
, enrollmentJobFraudDetectionConfig_fraudDetectionAction
- The action to take when the given speaker is flagged by the fraud
detection system. The default value is FAIL
, which fails the speaker
enrollment. Changing this value to IGNORE
results in the speaker being
enrolled even if they are flagged by the fraud detection system.
enrollmentJobFraudDetectionConfig_riskThreshold :: Lens' EnrollmentJobFraudDetectionConfig (Maybe Natural) Source #
Threshold value for determining whether the speaker is a high risk to be fraudulent. If the detected risk score calculated by Voice ID is greater than or equal to the threshold, the speaker is considered a fraudster.
enrollmentJobFraudDetectionConfig_fraudDetectionAction :: Lens' EnrollmentJobFraudDetectionConfig (Maybe FraudDetectionAction) Source #
The action to take when the given speaker is flagged by the fraud
detection system. The default value is FAIL
, which fails the speaker
enrollment. Changing this value to IGNORE
results in the speaker being
enrolled even if they are flagged by the fraud detection system.