StartDICOMImportJob
Start importing bulk data into an ACTIVE
data store. The import job imports DICOM P10 files
found in the S3 prefix specified by the inputS3Uri
parameter. The import job stores
processing results in the file specified by the outputS3Uri
parameter.
Request Syntax
POST /startDICOMImportJob/datastore/datastoreId
HTTP/1.1
Content-type: application/json
{
"clientToken": "string
",
"dataAccessRoleArn": "string
",
"inputOwnerAccountId": "string
",
"inputS3Uri": "string
",
"jobName": "string
",
"outputS3Uri": "string
"
}
URI Request Parameters
The request uses the following URI parameters.
- datastoreId
-
The data store identifier.
Pattern:
[0-9a-z]{32}
Required: Yes
Request Body
The request accepts the following data in JSON format.
- clientToken
-
A unique identifier for API idempotency.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[A-Za-z0-9._-]+
Required: Yes
- dataAccessRoleArn
-
The Amazon Resource Name (ARN) of the IAM role that grants permission to access medical imaging resources.
Type: String
Length Constraints: Minimum length of 20. Maximum length of 2048.
Pattern:
arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+
Required: Yes
- inputOwnerAccountId
-
The account ID of the source S3 bucket owner.
Type: String
Length Constraints: Fixed length of 12.
Pattern:
\d+
Required: No
- inputS3Uri
-
The input prefix path for the S3 bucket that contains the DICOM files to be imported.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
Required: Yes
- jobName
-
The import job name.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
[A-Za-z0-9._/#-]+
Required: No
- outputS3Uri
-
The output prefix of the S3 bucket to upload the results of the DICOM import job.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
s3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"datastoreId": "string",
"jobId": "string",
"jobStatus": "string",
"submittedAt": number
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- datastoreId
-
The data store identifier.
Type: String
Pattern:
[0-9a-z]{32}
- jobId
-
The import job identifier.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
[0-9a-z]+
- jobStatus
-
The import job status.
Type: String
Valid Values:
SUBMITTED | IN_PROGRESS | COMPLETED | FAILED
- submittedAt
-
The timestamp when the import job was submitted.
Type: Timestamp
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The user does not have sufficient access to perform this action.
HTTP Status Code: 403
- ConflictException
-
Updating or deleting a resource can cause an inconsistent state.
HTTP Status Code: 409
- InternalServerException
-
An unexpected error occurred during processing of the request.
HTTP Status Code: 500
- ResourceNotFoundException
-
The request references a resource which does not exist.
HTTP Status Code: 404
- ServiceQuotaExceededException
-
The request caused a service quota to be exceeded.
HTTP Status Code: 402
- ThrottlingException
-
The request was denied due to throttling.
HTTP Status Code: 429
- ValidationException
-
The input fails to satisfy the constraints set by the service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: