StartMedicalScribeJob
Source:
src/AWS/Transcribe/StartMedicalScribeJob.ts
Runtime binding for transcribe:StartMedicalScribeJob — start an AWS HealthScribe job that transcribes a patient-clinician conversation and generates preliminary clinical notes.
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:StartMedicalScribeJob
(which has no resource-level IAM).
Medical Scribe Jobs
Section titled “Medical Scribe Jobs”// init — bind the Transcribe data-access roleconst startMedicalScribeJob = yield* AWS.Transcribe.StartMedicalScribeJob(dataAccessRole);
// runtimeconst { MedicalScribeJob } = yield* startMedicalScribeJob({ MedicalScribeJobName: "my-visit", Media: { MediaFileUri: "s3://my-bucket/visits/visit.wav" }, OutputBucketName: "my-output-bucket", Settings: { ShowSpeakerLabels: true, MaxSpeakerLabels: 2 },});