| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.VoiceId.Types.FraudDetectionResult
Description
Synopsis
- data FraudDetectionResult = FraudDetectionResult' {}
- newFraudDetectionResult :: FraudDetectionResult
- fraudDetectionResult_audioAggregationEndedAt :: Lens' FraudDetectionResult (Maybe UTCTime)
- fraudDetectionResult_audioAggregationStartedAt :: Lens' FraudDetectionResult (Maybe UTCTime)
- fraudDetectionResult_configuration :: Lens' FraudDetectionResult (Maybe FraudDetectionConfiguration)
- fraudDetectionResult_decision :: Lens' FraudDetectionResult (Maybe FraudDetectionDecision)
- fraudDetectionResult_fraudDetectionResultId :: Lens' FraudDetectionResult (Maybe Text)
- fraudDetectionResult_reasons :: Lens' FraudDetectionResult (Maybe [FraudDetectionReason])
- fraudDetectionResult_riskDetails :: Lens' FraudDetectionResult (Maybe FraudRiskDetails)
Documentation
data FraudDetectionResult Source #
The fraud detection result produced by Voice ID, processed against the current session state and streamed audio of the speaker.
See: newFraudDetectionResult smart constructor.
Constructors
| FraudDetectionResult' | |
Fields
| |
Instances
newFraudDetectionResult :: FraudDetectionResult Source #
Create a value of FraudDetectionResult 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:audioAggregationEndedAt:FraudDetectionResult', fraudDetectionResult_audioAggregationEndedAt - A timestamp indicating when audio aggregation ended for this fraud
detection result.
$sel:audioAggregationStartedAt:FraudDetectionResult', fraudDetectionResult_audioAggregationStartedAt - A timestamp indicating when audio aggregation started for this fraud
detection result.
$sel:configuration:FraudDetectionResult', fraudDetectionResult_configuration - The FraudDetectionConfiguration used to generate this fraud detection
result.
$sel:decision:FraudDetectionResult', fraudDetectionResult_decision - The fraud detection decision produced by Voice ID, processed against the
current session state and streamed audio of the speaker.
$sel:fraudDetectionResultId:FraudDetectionResult', fraudDetectionResult_fraudDetectionResultId - The unique identifier for this fraud detection result. Given there can
be multiple fraud detections for a given session, this field helps in
identifying if the returned result is from previous streaming activity
or a new result. Note that in the absence of any new streaming activity
or risk threshold changes, Voice ID always returns cached Fraud
Detection result for this API.
$sel:reasons:FraudDetectionResult', fraudDetectionResult_reasons - The reason speaker was flagged by the fraud detection system. This is
only be populated if fraud detection Decision is HIGH_RISK, and the
following possible values: KNOWN_FRAUDSTER and VOICE_SPOOFING.
$sel:riskDetails:FraudDetectionResult', fraudDetectionResult_riskDetails - Details about each risk analyzed for this speaker. Currently, this
contains KnownFraudsterRisk and VoiceSpoofingRisk details.
fraudDetectionResult_audioAggregationEndedAt :: Lens' FraudDetectionResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation ended for this fraud detection result.
fraudDetectionResult_audioAggregationStartedAt :: Lens' FraudDetectionResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation started for this fraud detection result.
fraudDetectionResult_configuration :: Lens' FraudDetectionResult (Maybe FraudDetectionConfiguration) Source #
The FraudDetectionConfiguration used to generate this fraud detection
result.
fraudDetectionResult_decision :: Lens' FraudDetectionResult (Maybe FraudDetectionDecision) Source #
The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.
fraudDetectionResult_fraudDetectionResultId :: Lens' FraudDetectionResult (Maybe Text) Source #
The unique identifier for this fraud detection result. Given there can be multiple fraud detections for a given session, this field helps in identifying if the returned result is from previous streaming activity or a new result. Note that in the absence of any new streaming activity or risk threshold changes, Voice ID always returns cached Fraud Detection result for this API.
fraudDetectionResult_reasons :: Lens' FraudDetectionResult (Maybe [FraudDetectionReason]) Source #
The reason speaker was flagged by the fraud detection system. This is
only be populated if fraud detection Decision is HIGH_RISK, and the
following possible values: KNOWN_FRAUDSTER and VOICE_SPOOFING.
fraudDetectionResult_riskDetails :: Lens' FraudDetectionResult (Maybe FraudRiskDetails) Source #
Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.