Skip to content

StartICD10CMInferenceJob

Source: src/AWS/ComprehendMedical/StartICD10CMInferenceJob.ts

Runtime binding for comprehendmedical:StartICD10CMInferenceJob — start an asynchronous ICD-10-CM ontology linking job over a collection of documents in S3. Also grants iam:PassRole (conditioned to comprehendmedical.amazonaws.com) for the job’s data-access role.

Comprehend Medical has no resource-level IAM, so the binding takes no arguments and grants comprehendmedical:StartICD10CMInferenceJob on *. Provide the implementation with Effect.provide(AWS.ComprehendMedical.StartICD10CMInferenceJobHttp).

// init
const startICD10CMInferenceJob = yield* AWS.ComprehendMedical.StartICD10CMInferenceJob();
// runtime
const job = yield* startICD10CMInferenceJob({
InputDataConfig: { S3Bucket: "my-input-bucket", S3Key: "notes/" },
OutputDataConfig: { S3Bucket: "my-output-bucket" },
DataAccessRoleArn: dataAccessRole.roleArn,
LanguageCode: "en",
});