be1ym264
be1ym264

Reputation: 1

How to check users' asynchronous status tasks from AWS comprehend

Dears, I am new to AWS and I am looking for function/code to check users' asynchronous status tasks from AWS comprehend. I am checking boto3 docs - https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/comprehend.html#client but not able to find my answer. can you please guide me thanks

Upvotes: 0

Views: 94

Answers (1)

Mia Chang
Mia Chang

Reputation: 151

To check the async job status for Amazon Comprehend, you can use describe job API. For instance, describe_dominant_language_detection_job(), the response will include the Job Status information:

'JobStatus': 'SUBMITTED'|'IN_PROGRESS'|'COMPLETED'|'FAILED'.

Reference: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/comprehend.html#Comprehend.Client.describe_dominant_language_detection_job

Upvotes: 0

Related Questions