Options for connecting to AWS IoT

I have read the sample python code located here: https://github.com/jackyjzheng/zkSecureAWS. My understanding is that that code is essentially using cURL to do post requests to AWS in order to send data. Some magic happens behind the scenes to include the private key, since it cannot be read or exported. Can Zymkey be used with something like the aws-iot-device-sdk (aws-iot-device-sdk - npm) to make a long-running connection, allowing for bi-directional communication with AWS IoT?