ComprehendMedical.Client.
describe_rx_norm_inference_job
(**kwargs)¶Gets the properties associated with an InferRxNorm job. Use this operation to get the status of an inference job.
See also: AWS API Documentation
Request Syntax
response = client.describe_rx_norm_inference_job(
JobId='string'
)
[REQUIRED]
The identifier that Amazon Comprehend Medical generated for the job. The StartRxNormInferenceJob operation returns this identifier in its response.
{
'ComprehendMedicalAsyncJobProperties': {
'JobId': 'string',
'JobName': 'string',
'JobStatus': 'SUBMITTED'|'IN_PROGRESS'|'COMPLETED'|'PARTIAL_SUCCESS'|'FAILED'|'STOP_REQUESTED'|'STOPPED',
'Message': 'string',
'SubmitTime': datetime(2015, 1, 1),
'EndTime': datetime(2015, 1, 1),
'ExpirationTime': datetime(2015, 1, 1),
'InputDataConfig': {
'S3Bucket': 'string',
'S3Key': 'string'
},
'OutputDataConfig': {
'S3Bucket': 'string',
'S3Key': 'string'
},
'LanguageCode': 'en',
'DataAccessRoleArn': 'string',
'ManifestFilePath': 'string',
'KMSKey': 'string',
'ModelVersion': 'string'
}
}
Response Structure
An object that contains the properties associated with a detection job.
The identifier assigned to the detection job.
The name that you assigned to the detection job.
The current status of the detection job. If the status is FAILED
, the Message
field shows the reason for the failure.
A description of the status of a job.
The time that the detection job was submitted for processing.
The time that the detection job completed.
The date and time that job metadata is deleted from the server. Output files in your S3 bucket will not be deleted. After the metadata is deleted, the job will no longer appear in the results of the ListEntitiesDetectionV2Job
or the ListPHIDetectionJobs
operation.
The input data configuration that you supplied when you created the detection job.
The URI of the S3 bucket that contains the input data. The bucket must be in the same region as the API endpoint that you are calling.
Each file in the document collection must be less than 40 KB. You can store a maximum of 30 GB in the bucket.
The path to the input data files in the S3 bucket.
The output data configuration that you supplied when you created the detection job.
When you use the OutputDataConfig
object with asynchronous operations, you specify the Amazon S3 location where you want to write the output data. The URI must be in the same region as the API endpoint that you are calling. The location is used as the prefix for the actual location of the output.
The path to the output data files in the S3 bucket. Comprehend Medical; creates an output directory using the job ID so that the output from one job does not overwrite the output of another.
The language code of the input documents.
The Amazon Resource Name (ARN) that gives Comprehend Medical; read access to your input data.
The path to the file that describes the results of a batch job.
The AWS Key Management Service key, if any, used to encrypt the output files.
The version of the model used to analyze the documents. The version number looks like X.X.X. You can use this information to track the model used for a particular batch of documents.
Exceptions
ComprehendMedical.Client.exceptions.InvalidRequestException
ComprehendMedical.Client.exceptions.TooManyRequestsException
ComprehendMedical.Client.exceptions.ResourceNotFoundException
ComprehendMedical.Client.exceptions.InternalServerException