StartDICOMImportJob
Source:
src/AWS/MedicalImaging/StartDICOMImportJob.ts
Runtime binding for the StartDICOMImportJob operation (IAM action
medical-imaging:StartDICOMImportJob), scoped to one Datastore.
Starts a bulk import of DICOM P10 files from S3 into the bound data
store. The binding is constructed with the data store and the
data-access role (the IAM role HealthImaging assumes to read
inputS3Uri and write the outputS3Uri manifests; its trust policy must
allow medical-imaging.amazonaws.com). The role’s ARN is injected as
dataAccessRoleArn on every runtime request and the host is granted
iam:PassRole on it alongside medical-imaging:StartDICOMImportJob on
the data store. Track the job with GetDICOMImportJob. Provide the
implementation with
Effect.provide(AWS.MedicalImaging.StartDICOMImportJobHttp).
Importing DICOM Data
Section titled “Importing DICOM Data”// deploy time — bind the data store and the HealthImaging data-access roleconst startImport = yield* MedicalImaging.StartDICOMImportJob(datastore, dataAccessRole);
// runtimeconst job = yield* startImport({ clientToken: crypto.randomUUID(), inputS3Uri: "s3://my-bucket/dicom-input/", outputS3Uri: "s3://my-bucket/dicom-output/",});// job.jobId, job.jobStatus === "SUBMITTED"