My application consumes many AWS services, and some services like Comprehend needs the region to be defined while building the client. I want to know specifically about Comprehend:
- how to detect if the Comprehend Service has been failed in the assigned region ?
- Is there any specific exception thrown when the Comprehend Service is down?
- Is there any operation/function in the SDK to check whether the Service is up and running ?
- How to simulate a downtime of the service to test any error handling ?
I am using Java SDK. I know https://health.aws.amazon.com/health/status shows the current status, but would like to handle programmatically