Skip to content

StartAnnotationImportJob

Source: src/AWS/Omics/StartAnnotationImportJob.ts

Runtime binding for omics:StartAnnotationImportJob.

Bind this operation to an AnnotationStore to get a callable that starts a job importing annotation files (TSV/VCF/GFF) into the store — the store name is injected automatically as destinationName and the action is granted on the bound resource (with iam:PassRole for the HealthOmics service role). Provide the implementation with Effect.provide(AWS.Omics.StartAnnotationImportJobHttp).

// init
const startImport = yield* AWS.Omics.StartAnnotationImportJob(store);
// runtime
const result = yield* startImport({
roleArn,
items: [{ source: "s3://my-bucket/annotations.tsv" }],
});