Lambda Python 3.6 environment has few standard modules missed. This is module to support readline.
To use this module inside Lambda Python 3.6 environment, just clone the repository and put file readline.cpython-36m-x86_64-linux-gnu.so to the root of your Lambda distribution package.