├── .gitignore ├── LICENSE ├── README.md └── examples ├── inputs ├── Makefile ├── events │ └── basic.json ├── requirements.txt ├── setup.py ├── src │ └── inputs │ │ ├── __init__.py │ │ └── app.py ├── template.yaml ├── tests │ ├── __init__.py │ └── test_handler.py ├── tox.ini └── zip.bash ├── list_objects_s3 ├── Makefile ├── events │ └── basic.json ├── requirements.txt ├── src │ └── list_objects_s3 │ │ ├── __init__.py │ │ └── app.py ├── template.yaml └── zip.bash └── query_database ├── Makefile ├── events └── basic.json ├── requirements.txt ├── src └── query_database │ ├── __init__.py │ └── app.py ├── template.yaml └── zip.bash /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/README.md -------------------------------------------------------------------------------- /examples/inputs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/Makefile -------------------------------------------------------------------------------- /examples/inputs/events/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "aws_lambda": "is_cool" 3 | } 4 | -------------------------------------------------------------------------------- /examples/inputs/requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/inputs/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/setup.py -------------------------------------------------------------------------------- /examples/inputs/src/inputs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/inputs/src/inputs/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/src/inputs/app.py -------------------------------------------------------------------------------- /examples/inputs/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/template.yaml -------------------------------------------------------------------------------- /examples/inputs/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/inputs/tests/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/tests/test_handler.py -------------------------------------------------------------------------------- /examples/inputs/tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/tox.ini -------------------------------------------------------------------------------- /examples/inputs/zip.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/inputs/zip.bash -------------------------------------------------------------------------------- /examples/list_objects_s3/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/list_objects_s3/Makefile -------------------------------------------------------------------------------- /examples/list_objects_s3/events/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/list_objects_s3/events/basic.json -------------------------------------------------------------------------------- /examples/list_objects_s3/requirements.txt: -------------------------------------------------------------------------------- 1 | boto3==1.9.47 2 | -------------------------------------------------------------------------------- /examples/list_objects_s3/src/list_objects_s3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/list_objects_s3/src/list_objects_s3/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/list_objects_s3/src/list_objects_s3/app.py -------------------------------------------------------------------------------- /examples/list_objects_s3/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/list_objects_s3/template.yaml -------------------------------------------------------------------------------- /examples/list_objects_s3/zip.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/list_objects_s3/zip.bash -------------------------------------------------------------------------------- /examples/query_database/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/query_database/Makefile -------------------------------------------------------------------------------- /examples/query_database/events/basic.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/query_database/events/basic.json -------------------------------------------------------------------------------- /examples/query_database/requirements.txt: -------------------------------------------------------------------------------- 1 | psycopg2-binary==2.7.6.1 2 | -------------------------------------------------------------------------------- /examples/query_database/src/query_database/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/query_database/src/query_database/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/query_database/src/query_database/app.py -------------------------------------------------------------------------------- /examples/query_database/template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/query_database/template.yaml -------------------------------------------------------------------------------- /examples/query_database/zip.bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/grantcooksey/aws-lambda-python-examples/HEAD/examples/query_database/zip.bash --------------------------------------------------------------------------------