Publisher Subscriber Draft using amplify JS