Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

FraudDetectionResult

import type { FraudDetectionResult } from "https://aws-api.deno.dev/v0.4/services/voiceid.ts?docs=full";

The fraud detection result produced by Voice ID, processed against the current session state and streamed audio of the speaker.

interface FraudDetectionResult {
AudioAggregationEndedAt?: Date | number | null;
AudioAggregationStartedAt?: Date | number | null;
Configuration?: FraudDetectionConfiguration | null;
Decision?: FraudDetectionDecision | null;
FraudDetectionResultId?: string | null;
Reasons?: FraudDetectionReason[] | null;
RiskDetails?: FraudRiskDetails | null;
}

§Properties

§
AudioAggregationEndedAt?: Date | number | null
[src]

A timestamp indicating when audio aggregation ended for this fraud detection result.

§
AudioAggregationStartedAt?: Date | number | null
[src]

A timestamp indicating when audio aggregation started for this fraud detection result.

§
Configuration?: FraudDetectionConfiguration | null
[src]

The FraudDetectionConfiguration used to generate this fraud detection result.

§
Decision?: FraudDetectionDecision | null
[src]

The fraud detection decision produced by Voice ID, processed against the current session state and streamed audio of the speaker.

§
FraudDetectionResultId?: string | null
[src]

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.

§
Reasons?: FraudDetectionReason[] | null
[src]

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.

§
RiskDetails?: FraudRiskDetails | null
[src]

Details about each risk analyzed for this speaker. Currently, this contains KnownFraudsterRisk and VoiceSpoofingRisk details.