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

CallAnalyticsJob

import type { CallAnalyticsJob } from "https://aws-api.deno.dev/v0.3/services/transcribeservice.ts?docs=full";

Describes an asynchronous analytics job that was created with the StartAnalyticsJob operation.

interface CallAnalyticsJob {
CallAnalyticsJobName?: string | null;
CallAnalyticsJobStatus?: CallAnalyticsJobStatus | null;
ChannelDefinitions?: ChannelDefinition[] | null;
CompletionTime?: Date | number | null;
CreationTime?: Date | number | null;
DataAccessRoleArn?: string | null;
FailureReason?: string | null;
IdentifiedLanguageScore?: number | null;
LanguageCode?: LanguageCode | null;
Media?: Media | null;
MediaFormat?: MediaFormat | null;
MediaSampleRateHertz?: number | null;
Settings?: CallAnalyticsJobSettings | null;
StartTime?: Date | number | null;
Transcript?: Transcript | null;
}

§Properties

§
CallAnalyticsJobName?: string | null
[src]

The name of the call analytics job.

§
CallAnalyticsJobStatus?: CallAnalyticsJobStatus | null
[src]

The status of the analytics job.

§
ChannelDefinitions?: ChannelDefinition[] | null
[src]

Shows numeric values to indicate the channel assigned to the agent's audio and the channel assigned to the customer's audio.

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

A timestamp that shows when the analytics job was completed.

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

A timestamp that shows when the analytics job was created.

§
DataAccessRoleArn?: string | null
[src]

The Amazon Resource Number (ARN) that you use to access the analytics job. ARNs have the format arn:partition:service:region:account-id:resource-type/resource-id.

§
FailureReason?: string | null
[src]

If the AnalyticsJobStatus is FAILED, this field contains information about why the job failed.

The FailureReason field can contain one of the following values:

  • Unsupported media format: The media format specified in the MediaFormat field of the request isn't valid. See the description of the MediaFormat field for a list of valid values.
  • The media format provided does not match the detected media format: The media format of the audio file doesn't match the format specified in the MediaFormat field in the request. Check the media format of your media file and make sure the two values match.
  • Invalid sample rate for audio file: The sample rate specified in the MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8,000 and 48,000 Hertz.
  • The sample rate provided does not match the detected sample rate: The sample rate in the audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request. Check the sample rate of your media file and make sure that the two values match.
  • Invalid file size: file size too large: The size of your audio file is larger than what Amazon Transcribe Medical can process. For more information, see Guidelines and Quotas in the Amazon Transcribe Medical Guide.
  • Invalid number of channels: number of channels too large: Your audio contains more channels than Amazon Transcribe Medical is configured to process. To request additional channels, see Amazon Transcribe Medical Endpoints and Quotas in the Amazon Web Services General Reference.
§
IdentifiedLanguageScore?: number | null
[src]

A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. This value appears only when you don't provide a single language code. Larger values indicate that Amazon Transcribe has higher confidence in the language that it identified.

§
LanguageCode?: LanguageCode | null
[src]

If you know the language spoken between the customer and the agent, specify a language code for this field.

If you don't know the language, you can leave this field blank, and Amazon Transcribe will use machine learning to automatically identify the language. To improve the accuracy of language identification, you can provide an array containing the possible language codes for the language spoken in your audio. Refer to Supported languages for additional information.

§
Media?: Media | null
[src]
§
MediaFormat?: MediaFormat | null
[src]

The format of the input audio file. Note: for call analytics jobs, only the following media formats are supported: MP3, MP4, WAV, FLAC, OGG, and WebM.

§
MediaSampleRateHertz?: number | null
[src]

The sample rate, in Hertz, of the audio.

§

Provides information about the settings used to run a transcription job.

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

A timestamp that shows when the analytics job started processing.

§
Transcript?: Transcript | null
[src]