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).
Call Analytics Jobs
Section titled “Call Analytics Jobs”// init — bind the Transcribe data-access roleconst startCallAnalyticsJob = yield* AWS.Transcribe.StartCallAnalyticsJob(dataAccessRole);
// runtimeconst { CallAnalyticsJob } = yield* startCallAnalyticsJob({ CallAnalyticsJobName: "my-call", Media: { MediaFileUri: "s3://my-bucket/calls/call.wav" },});