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

AuthenticationResult

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

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

interface AuthenticationResult {
AudioAggregationEndedAt?: Date | number | null;
AudioAggregationStartedAt?: Date | number | null;
AuthenticationResultId?: string | null;
Configuration?: AuthenticationConfiguration | null;
CustomerSpeakerId?: string | null;
Decision?: AuthenticationDecision | null;
GeneratedSpeakerId?: string | null;
Score?: number | null;
}

§Properties

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

A timestamp indicating when audio aggregation ended for this authentication result.

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

A timestamp indicating when audio aggregation started for this authentication result.

§
AuthenticationResultId?: string | null
[src]

The unique identifier for this authentication result. Because there can be multiple authentications for a given session, this field helps to identify if the returned result is from a previous streaming activity or a new result. Note that in absence of any new streaming activity, AcceptanceThreshold changes, or SpeakerId changes, Voice ID always returns cached Authentication Result for this API.

§
Configuration?: AuthenticationConfiguration | null
[src]

The AuthenticationConfiguration used to generate this authentication result.

§
CustomerSpeakerId?: string | null
[src]

The client-provided identifier for the speaker whose authentication result is produced. Only present if a SpeakerId is provided for the session.

§
Decision?: AuthenticationDecision | null
[src]

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

§
GeneratedSpeakerId?: string | null
[src]

The service-generated identifier for the speaker whose authentication result is produced.

§
Score?: number | null
[src]

The authentication score for the speaker whose authentication result is produced. This value is only present if the authentication decision is either ACCEPT or REJECT.