AWS Amplify PubSub Example Using Modular Imports

I don’t need all the bells and whistles offered by AWS Amplify, but really need a solution to be able to access my AWS Shadow, which is a layer on top of MQTT.

AWS Amplify has a nice PubSub library, but am not having any luck in getting this to work.

If anyone has done this or has some guidance here, would be greatly appreciated or if you are using another library that works with AWS MQTT.

Thanks,
Adam