Skip to content

StartSNOMEDCTInferenceJob

Source: src/AWS/ComprehendMedical/StartSNOMEDCTInferenceJob.ts

Runtime binding for comprehendmedical:StartSNOMEDCTInferenceJob — start an asynchronous SNOMED CT 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:StartSNOMEDCTInferenceJob on *. Provide the implementation with Effect.provide(AWS.ComprehendMedical.StartSNOMEDCTInferenceJobHttp).

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