1 回答
- 最新
- 投票最多
- 评论最多
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.
相关内容
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 个月前
- AWS 官方已更新 2 年前
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