HTTPS requests to local devices using HubAction?

The devices have only HTTPS API? I have no control over it. I need a chain of GET/PUTs to the devices to do the tasks I want, which I am now doing from AWS Lambda using port forwarding, but the latency is too long for my taste.
I thought doing the exchanges locally would make it much faster.