├── .gitignore ├── .idea ├── aws.xml ├── inspectionProfiles │ └── Project_Default.xml ├── iot-dynamo-api.iml ├── jsLibraryMappings.xml ├── misc.xml ├── modules.xml ├── other.xml ├── vcs.xml └── workspace 2.xml ├── .npmignore ├── README.md ├── lambda_apigtw_to_dynamodb ├── .npmignore ├── app.js ├── events │ ├── event_deleteMessage.json │ ├── event_getMessage.json │ ├── event_getMessages.json │ ├── event_postMessage.json │ └── event_putMessage.json ├── package-lock.json ├── package.json └── tests │ └── unit │ └── test-handler.js ├── lambda_s3_to_sqs ├── .gitignore ├── __init__.py ├── app.py ├── requirements.txt └── tests │ ├── __init__.py │ └── unit │ ├── __init__.py │ ├── conftest.py │ ├── data_good_msg.csv │ ├── notes.txt │ └── test_handler.py ├── lambda_s3_to_sqs_pandas ├── .gitignore ├── __init__.py ├── app.py ├── requirements.txt └── tests │ └── unit │ ├── __init__.py │ └── test_handler.py ├── lambda_sqs_to_dynamodb ├── .gitignore ├── __init__.py ├── app.py ├── requirements.txt └── tests │ ├── __init__.py │ └── unit │ ├── __init__.py │ ├── conftest.py │ ├── log.txt │ ├── notes.txt │ └── test_handler.py ├── notes.md ├── requirements.txt ├── sample_data ├── data.csv ├── data_bad_msg.csv └── data_good_msg.csv ├── template.yaml ├── template_advanced.yaml └── util_scripts ├── convert_timestamp.py ├── create_queue.py ├── create_table.py ├── sqs_send_csv_messages.py ├── sqs_send_csv_messages_s3.py ├── sqs_send_csv_messages_s3_no_pandas.py └── sqs_send_message.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/aws.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/aws.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/iot-dynamo-api.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/iot-dynamo-api.iml -------------------------------------------------------------------------------- /.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/jsLibraryMappings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/other.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/other.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /.idea/workspace 2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/.idea/workspace 2.xml -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | **/tests/* 2 | **/node_modules/* 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/README.md -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/.npmignore: -------------------------------------------------------------------------------- 1 | tests/ -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/app.js -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/events/event_deleteMessage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/events/event_deleteMessage.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/events/event_getMessage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/events/event_getMessage.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/events/event_getMessages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/events/event_getMessages.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/events/event_postMessage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/events/event_postMessage.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/events/event_putMessage.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/events/event_putMessage.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/package-lock.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/package.json -------------------------------------------------------------------------------- /lambda_apigtw_to_dynamodb/tests/unit/test-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_apigtw_to_dynamodb/tests/unit/test-handler.js -------------------------------------------------------------------------------- /lambda_s3_to_sqs/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/.gitignore -------------------------------------------------------------------------------- /lambda_s3_to_sqs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/app.py -------------------------------------------------------------------------------- /lambda_s3_to_sqs/requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/tests/unit/conftest.py -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/unit/data_good_msg.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/tests/unit/data_good_msg.csv -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/unit/notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/tests/unit/notes.txt -------------------------------------------------------------------------------- /lambda_s3_to_sqs/tests/unit/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs/tests/unit/test_handler.py -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs_pandas/.gitignore -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs_pandas/app.py -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_s3_to_sqs_pandas/tests/unit/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_s3_to_sqs_pandas/tests/unit/test_handler.py -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/.gitignore -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/app.py -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/requirements.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/unit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/unit/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/tests/unit/conftest.py -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/unit/log.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/tests/unit/log.txt -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/unit/notes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/tests/unit/notes.txt -------------------------------------------------------------------------------- /lambda_sqs_to_dynamodb/tests/unit/test_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/lambda_sqs_to_dynamodb/tests/unit/test_handler.py -------------------------------------------------------------------------------- /notes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/notes.md -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/requirements.txt -------------------------------------------------------------------------------- /sample_data/data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/sample_data/data.csv -------------------------------------------------------------------------------- /sample_data/data_bad_msg.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/sample_data/data_bad_msg.csv -------------------------------------------------------------------------------- /sample_data/data_good_msg.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/sample_data/data_good_msg.csv -------------------------------------------------------------------------------- /template.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/template.yaml -------------------------------------------------------------------------------- /template_advanced.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/template_advanced.yaml -------------------------------------------------------------------------------- /util_scripts/convert_timestamp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/convert_timestamp.py -------------------------------------------------------------------------------- /util_scripts/create_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/create_queue.py -------------------------------------------------------------------------------- /util_scripts/create_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/create_table.py -------------------------------------------------------------------------------- /util_scripts/sqs_send_csv_messages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/sqs_send_csv_messages.py -------------------------------------------------------------------------------- /util_scripts/sqs_send_csv_messages_s3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/sqs_send_csv_messages_s3.py -------------------------------------------------------------------------------- /util_scripts/sqs_send_csv_messages_s3_no_pandas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/sqs_send_csv_messages_s3_no_pandas.py -------------------------------------------------------------------------------- /util_scripts/sqs_send_message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/garystafford/serverless-sqs-dynamo-demo/HEAD/util_scripts/sqs_send_message.py --------------------------------------------------------------------------------