1 Answer
- Newest
- Most votes
- Most comments
1
Hello.
As far as I know, it is not possible to check the response when executing external APIs using EventBridge API Destinations.
If you have a requirement to check and process the response from executing an API, I think you need to use Lambda as the EventBridge target.
If you use Lambda, it should be possible to execute the API and get the response.
Relevant content
- asked 3 years ago
- asked 2 years ago
- asked a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Correct. API Endpoints are for notification (as with any other target). EventBridge doesn't care what the response is. It only cares if there is an error response or no response within 5 seconds, so it knows it needs to retry.
Thank you for the quick response, Riki & Uri.
Your responses confirm my current solution. I was hoping EventBridge API Destinations had gained this functionality over time since the last time I checked.
The few lambda I have remaining are largely those needed to make calls to external API's and forward the responses back to EventBridge or return them to next step in a state machine for further processing.
Without the response body or even the response|status code this severely limits the utility EventBridge API Destinations offer.
So, I will accept these as the answer.
Respect,
Rod