Skip to content

StartCallAnalyticsJob

Source: src/AWS/Transcribe/StartCallAnalyticsJob.ts

Runtime binding for transcribe:StartCallAnalyticsJob — start an asynchronous Call Analytics job (transcription plus call characteristics, sentiment, and category matching) over a call recording in S3.

The binding is constructed with the data-access role (the IAM role Amazon Transcribe assumes to read your Amazon S3 data and write results; its trust policy must allow transcribe.amazonaws.com). The role’s ARN is injected as DataAccessRoleArn on every runtime request and the host is granted iam:PassRole on it alongside transcribe:StartCallAnalyticsJob (which has no resource-level IAM).

// init — bind the Transcribe data-access role
const startCallAnalyticsJob = yield* AWS.Transcribe.StartCallAnalyticsJob(dataAccessRole);
// runtime
const { CallAnalyticsJob } = yield* startCallAnalyticsJob({
CallAnalyticsJobName: "my-call",
Media: { MediaFileUri: "s3://my-bucket/calls/call.wav" },
});