I am trying to connect to Binance WebSocket API with the base endpoint: wss://stream.binance.com:9443
I want to utilize AWS Lambda to respond to certain price targets.
I looked at the AWS API gateway WebSocket documentation but it seems to be that we can use API gateway to host the Websocket API but not to connect as a client to another API.
Am I right in assuming that? Because I only see the tutorials and blog posts about how to create a WebSocket API but not how to connect TO a WebSocket through API gateway. Or is it because connect to WebSocket through API gateway is not the correct approach?
If the latter is the case could you please guide me on how I can utilize the AWS service to achieve this?
Very much appreciated
EDIT: I found this question that was asked a few years back but at that time, it seems no solution existed. Hoping this changed now --> Is it possible to subscribe to a WebSocket in a serverless fashion using AWS?