The sample code provides a deploy function and an executable to easily deploy an Amazon Lex bot based on a Lex Schema file.
This sample code is made available under a modified MIT license. See the LICENSE file.
Deploy and export Amazon Lex Schema bots easily. Maintain bots in source, share and use for CI/CD processes:
pip install amazon-lex-bot-deploy
then:
lex-bot-deploy --example BookTrip
To get the JSON schema easily:
lex-bot-get-schema --lex-bot-name BookTrip
And you can specify which schema you would like to deploy obviously:
lex-bot-deploy -s BookTrip_Export.json
For an example how to use the API check the CLI command https://github.com/aws-samples/amazon-lex-bot-deploy/blob/master/bin/lex-bot-deploy
- Free software: MIT-0 license (https://github.com/aws/mit-0)
- Documentation: https://lex-bot-deploy.readthedocs.io.
Let me know :-)
Thoughts: * make creation of permissions optional * allow mapping of Lambda endpoints or allow options to map aliases to Lambda function (tbd)
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.