├── .flake8 ├── .gitignore ├── .mypy.ini ├── .pylintrc ├── .vscode ├── launch.json └── settings.json ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── NOTICE ├── README.md ├── examples ├── banker-bot │ ├── README.md │ ├── samconfig.toml │ ├── src │ │ └── lambda_functions │ │ │ └── banker_bot │ │ │ ├── lambda_function.py │ │ │ └── requirements.txt │ └── template.yaml ├── order-flowers │ ├── README.md │ ├── samconfig.toml │ └── template.yaml ├── qna-response-bots │ ├── README.md │ ├── samconfig.toml │ └── template.json └── zip-code │ ├── README.md │ ├── samconfig.toml │ └── template.yaml ├── pyproject.toml ├── requirements ├── requirements-build.txt └── requirements-dev.txt ├── samconfig.toml ├── src ├── lambda_functions │ └── lex_v2_cfn_cr │ │ ├── __init__.py │ │ ├── lambda_function.py │ │ ├── lex_v2_cfn_cr │ │ ├── __init__.py │ │ ├── bot.py │ │ ├── bot_alias.py │ │ ├── bot_version.py │ │ ├── custom_resource.py │ │ ├── intent.py │ │ ├── locale.py │ │ ├── shared │ │ │ ├── __init__.py │ │ │ ├── api.py │ │ │ └── constants.py │ │ ├── slot.py │ │ └── slot_type.py │ │ ├── requirements.txt │ │ └── shared │ │ ├── __init__.py │ │ ├── client.py │ │ └── logger.py └── lambda_layers │ ├── boto3 │ └── requirements.txt │ └── crhelper │ └── requirements.txt ├── template.yaml └── tests └── events ├── default-env-vars.json └── lex_v2_cfn_cr └── default.json /.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/.flake8 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/.gitignore -------------------------------------------------------------------------------- /.mypy.ini: -------------------------------------------------------------------------------- 1 | [mypy] 2 | ignore_missing_imports = True -------------------------------------------------------------------------------- /.pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/.pylintrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/Makefile -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/README.md -------------------------------------------------------------------------------- /examples/banker-bot/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/banker-bot/README.md -------------------------------------------------------------------------------- /examples/banker-bot/samconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/banker-bot/samconfig.toml -------------------------------------------------------------------------------- /examples/banker-bot/src/lambda_functions/banker_bot/lambda_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/banker-bot/src/lambda_functions/banker_bot/lambda_function.py -------------------------------------------------------------------------------- /examples/banker-bot/src/lambda_functions/banker_bot/requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/banker-bot/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/banker-bot/template.yaml -------------------------------------------------------------------------------- /examples/order-flowers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/order-flowers/README.md -------------------------------------------------------------------------------- /examples/order-flowers/samconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/order-flowers/samconfig.toml -------------------------------------------------------------------------------- /examples/order-flowers/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/order-flowers/template.yaml -------------------------------------------------------------------------------- /examples/qna-response-bots/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/qna-response-bots/README.md -------------------------------------------------------------------------------- /examples/qna-response-bots/samconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/qna-response-bots/samconfig.toml -------------------------------------------------------------------------------- /examples/qna-response-bots/template.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/qna-response-bots/template.json -------------------------------------------------------------------------------- /examples/zip-code/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/zip-code/README.md -------------------------------------------------------------------------------- /examples/zip-code/samconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/zip-code/samconfig.toml -------------------------------------------------------------------------------- /examples/zip-code/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/examples/zip-code/template.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.black] 2 | line-length = 100 3 | -------------------------------------------------------------------------------- /requirements/requirements-build.txt: -------------------------------------------------------------------------------- 1 | aws-sam-cli~=1.24.1 2 | -------------------------------------------------------------------------------- /requirements/requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/requirements/requirements-dev.txt -------------------------------------------------------------------------------- /samconfig.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/samconfig.toml -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lambda_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lambda_function.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/__init__.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot_alias.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/bot_version.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/custom_resource.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/custom_resource.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/intent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/intent.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/locale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/locale.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/shared/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/shared/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/shared/api.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/shared/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/shared/constants.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/slot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/slot.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/slot_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/lex_v2_cfn_cr/slot_type.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/requirements.txt -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/shared/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/shared/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/shared/client.py -------------------------------------------------------------------------------- /src/lambda_functions/lex_v2_cfn_cr/shared/logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_functions/lex_v2_cfn_cr/shared/logger.py -------------------------------------------------------------------------------- /src/lambda_layers/boto3/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/src/lambda_layers/boto3/requirements.txt -------------------------------------------------------------------------------- /src/lambda_layers/crhelper/requirements.txt: -------------------------------------------------------------------------------- 1 | crhelper==2.0.10 2 | -------------------------------------------------------------------------------- /template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/template.yaml -------------------------------------------------------------------------------- /tests/events/default-env-vars.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/tests/events/default-env-vars.json -------------------------------------------------------------------------------- /tests/events/lex_v2_cfn_cr/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aws-samples/aws-lex-v2-cfn-cr/HEAD/tests/events/lex_v2_cfn_cr/default.json --------------------------------------------------------------------------------