Skip to content

ListEntitiesDetectionV2Jobs

Source: src/AWS/ComprehendMedical/ListEntitiesDetectionV2Jobs.ts

Runtime binding for comprehendmedical:ListEntitiesDetectionV2Jobs — list the asynchronous medical entity detection jobs you have submitted.

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

// init
const listEntitiesDetectionV2Jobs = yield* AWS.ComprehendMedical.ListEntitiesDetectionV2Jobs();
// runtime
const jobs = yield* listEntitiesDetectionV2Jobs({});
console.log(jobs.ComprehendMedicalAsyncJobPropertiesList?.length ?? 0);