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 FraudDetectionResult = FraudDetectionResult' {}
- newFraudDetectionResult :: FraudDetectionResult
- fraudDetectionResult_reasons :: Lens' FraudDetectionResult (Maybe [FraudDetectionReason])
- fraudDetectionResult_riskDetails :: Lens' FraudDetectionResult (Maybe FraudRiskDetails)
- fraudDetectionResult_fraudDetectionResultId :: Lens' FraudDetectionResult (Maybe Text)
- fraudDetectionResult_decision :: Lens' FraudDetectionResult (Maybe FraudDetectionDecision)
- fraudDetectionResult_configuration :: Lens' FraudDetectionResult (Maybe FraudDetectionConfiguration)
- fraudDetectionResult_audioAggregationStartedAt :: Lens' FraudDetectionResult (Maybe UTCTime)
- fraudDetectionResult_audioAggregationEndedAt :: Lens' FraudDetectionResult (Maybe UTCTime)
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.
FraudDetectionResult' | |
|
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: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 only
has one possible value: KNOWN_FRAUDSTER
.
$sel:riskDetails:FraudDetectionResult'
, fraudDetectionResult_riskDetails
- Details about each risk analyzed for this 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: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:configuration:FraudDetectionResult'
, fraudDetectionResult_configuration
- The FraudDetectionConfiguration
used to generate this fraud detection
result.
$sel:audioAggregationStartedAt:FraudDetectionResult'
, fraudDetectionResult_audioAggregationStartedAt
- A timestamp indicating when audio aggregation started for this fraud
detection result.
$sel:audioAggregationEndedAt:FraudDetectionResult'
, fraudDetectionResult_audioAggregationEndedAt
- A timestamp indicating when audio aggregation ended for this fraud
detection result.
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 only
has one possible value: KNOWN_FRAUDSTER
.
fraudDetectionResult_riskDetails :: Lens' FraudDetectionResult (Maybe FraudRiskDetails) Source #
Details about each risk analyzed for this 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_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_configuration :: Lens' FraudDetectionResult (Maybe FraudDetectionConfiguration) Source #
The FraudDetectionConfiguration
used to generate this fraud detection
result.
fraudDetectionResult_audioAggregationStartedAt :: Lens' FraudDetectionResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation started for this fraud detection result.
fraudDetectionResult_audioAggregationEndedAt :: Lens' FraudDetectionResult (Maybe UTCTime) Source #
A timestamp indicating when audio aggregation ended for this fraud detection result.