I am trying to publish LexBot using LexModelBuildingService. I have been referring this documentation :

https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/LexModelBuildingService.html

I have been trying to use createBotVersion method but It does what it says i.e. creates a new bot version. Not publishes the new version.

I have also been trying to use putBotAliasbut I doubt it will publish either. As, manually after creating Alias we need to select the Alias and publish.

All in all, I want to automate the whole process entirely, But really stuck at this part.

Any help is greatly Appreciated,

Thanks in advance.

0 Answers