start_dicom_import_job
async
¶
start_dicom_import_job(
data_access_role_arn: RoleArn,
client_token: ClientToken,
datastore_id: DatastoreId,
input_s3_uri: S3Uri,
output_s3_uri: S3Uri,
*,
config_overrides: Optional[AsyncMedicalImagingClientConfig] = None,
job_name: Optional[JobName] = None,
input_owner_account_id: Optional[AwsAccountId] = None,
import_configuration: Optional[ImportConfiguration] = None,
) -> StartDICOMImportJobResponse
Start importing bulk data into an ACTIVE data store. The import job imports DICOM P10 files or enhances existing DICOM files with JSON metadata. The importConfiguration parameter specifies the import type. The data is found in the S3 prefix specified by the inputS3Uri parameter. The import job stores processing results in the file specified by the outputS3Uri parameter.
Parameters:
-
job_name(Optional[JobName], default:None) –The import job name.
-
data_access_role_arn(RoleArn) –The Amazon Resource Name (ARN) of the IAM role that grants permission to access medical imaging resources.
-
client_token(ClientToken) –A unique identifier for API idempotency.
-
datastore_id(DatastoreId) –The data store identifier.
-
input_s3_uri(S3Uri) –The input prefix path for the S3 bucket that contains the DICOM files to be imported.
-
output_s3_uri(S3Uri) –The output prefix of the S3 bucket to upload the results of the DICOM import job.
-
input_owner_account_id(Optional[AwsAccountId], default:None) –The account ID of the source S3 bucket owner.
-
import_configuration(Optional[ImportConfiguration], default:None) –The import configuration for the import job.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during processing of the request.
-
ResourceNotFoundException–The request references a resource which does not exist.
-
ServiceQuotaExceededException–The request caused a service quota to be exceeded.
-
ThrottlingException–The request was denied due to throttling.
-
ValidationException–The input fails to satisfy the constraints set by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_medical_imaging/_services/async_medical_imaging.py
965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 | |