├── .gitignore ├── .jshintrc ├── .npmignore ├── .travis.yml ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── docs ├── README.md ├── apigateway.md ├── cloudformation.md ├── cloudfront.md └── cloudwatch_logs.md ├── lib ├── apigateway.js ├── cloudformation.js ├── cloudfront.js ├── cloudwatch.js ├── cloudwatch_logs.js ├── cognito.js ├── config.js ├── constants.js ├── dynamodb.js ├── event.js ├── firehose.js ├── index.js ├── iot_button.js ├── kinesis.js ├── lex.js ├── record.js ├── s3.js ├── ses.js ├── simple.js ├── sns.js ├── sqs.js ├── templater.js ├── templates │ ├── apigateway.json │ ├── cloudformation.json │ ├── cloudfront-record.json │ ├── cloudwatch-logs.json │ ├── cloudwatch.json │ ├── cognito.json │ ├── config.json │ ├── dynamodb-record.json │ ├── event-with-records.json │ ├── index.js │ ├── iot-button.json │ ├── kinesis-firehose-record.json │ ├── kinesis-firehose.json │ ├── kinesis-record.json │ ├── lex.json │ ├── s3-record.json │ ├── ses-record.json │ ├── sns-record.json │ └── sqs-record.json └── utils.js ├── package.json └── test └── lib ├── apigateway.test.js ├── cloudformation.test.js ├── cloudfront.test.js ├── cloudwatch.test.js ├── cloudwatch_logs.test.js ├── cognito.test.js ├── config.test.js ├── dynamodb.test.js ├── firehose.test.js ├── index.test.js ├── iot_button.test.js ├── kinesis.test.js ├── lex.test.js ├── record.test.js ├── s3.test.js ├── ses.test.js ├── simple.test.js ├── sns.test.js ├── sqs.test.js ├── templater.test.js ├── templates └── index.test.js └── utils.test.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/.gitignore -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/.jshintrc -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | * 2 | !lib/** 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/.travis.yml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/README.md -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/apigateway.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/docs/apigateway.md -------------------------------------------------------------------------------- /docs/cloudformation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/docs/cloudformation.md -------------------------------------------------------------------------------- /docs/cloudfront.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/docs/cloudfront.md -------------------------------------------------------------------------------- /docs/cloudwatch_logs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/docs/cloudwatch_logs.md -------------------------------------------------------------------------------- /lib/apigateway.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/apigateway.js -------------------------------------------------------------------------------- /lib/cloudformation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/cloudformation.js -------------------------------------------------------------------------------- /lib/cloudfront.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/cloudfront.js -------------------------------------------------------------------------------- /lib/cloudwatch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/cloudwatch.js -------------------------------------------------------------------------------- /lib/cloudwatch_logs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/cloudwatch_logs.js -------------------------------------------------------------------------------- /lib/cognito.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/cognito.js -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/config.js -------------------------------------------------------------------------------- /lib/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/constants.js -------------------------------------------------------------------------------- /lib/dynamodb.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/dynamodb.js -------------------------------------------------------------------------------- /lib/event.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/event.js -------------------------------------------------------------------------------- /lib/firehose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/firehose.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/iot_button.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/iot_button.js -------------------------------------------------------------------------------- /lib/kinesis.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/kinesis.js -------------------------------------------------------------------------------- /lib/lex.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/lex.js -------------------------------------------------------------------------------- /lib/record.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/record.js -------------------------------------------------------------------------------- /lib/s3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/s3.js -------------------------------------------------------------------------------- /lib/ses.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/ses.js -------------------------------------------------------------------------------- /lib/simple.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/simple.js -------------------------------------------------------------------------------- /lib/sns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/sns.js -------------------------------------------------------------------------------- /lib/sqs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/sqs.js -------------------------------------------------------------------------------- /lib/templater.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templater.js -------------------------------------------------------------------------------- /lib/templates/apigateway.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/apigateway.json -------------------------------------------------------------------------------- /lib/templates/cloudformation.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/cloudformation.json -------------------------------------------------------------------------------- /lib/templates/cloudfront-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/cloudfront-record.json -------------------------------------------------------------------------------- /lib/templates/cloudwatch-logs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/cloudwatch-logs.json -------------------------------------------------------------------------------- /lib/templates/cloudwatch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/cloudwatch.json -------------------------------------------------------------------------------- /lib/templates/cognito.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/cognito.json -------------------------------------------------------------------------------- /lib/templates/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/config.json -------------------------------------------------------------------------------- /lib/templates/dynamodb-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/dynamodb-record.json -------------------------------------------------------------------------------- /lib/templates/event-with-records.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/event-with-records.json -------------------------------------------------------------------------------- /lib/templates/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/index.js -------------------------------------------------------------------------------- /lib/templates/iot-button.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/iot-button.json -------------------------------------------------------------------------------- /lib/templates/kinesis-firehose-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/kinesis-firehose-record.json -------------------------------------------------------------------------------- /lib/templates/kinesis-firehose.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/kinesis-firehose.json -------------------------------------------------------------------------------- /lib/templates/kinesis-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/kinesis-record.json -------------------------------------------------------------------------------- /lib/templates/lex.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/lex.json -------------------------------------------------------------------------------- /lib/templates/s3-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/s3-record.json -------------------------------------------------------------------------------- /lib/templates/ses-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/ses-record.json -------------------------------------------------------------------------------- /lib/templates/sns-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/sns-record.json -------------------------------------------------------------------------------- /lib/templates/sqs-record.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/templates/sqs-record.json -------------------------------------------------------------------------------- /lib/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/lib/utils.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/package.json -------------------------------------------------------------------------------- /test/lib/apigateway.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/apigateway.test.js -------------------------------------------------------------------------------- /test/lib/cloudformation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/cloudformation.test.js -------------------------------------------------------------------------------- /test/lib/cloudfront.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/cloudfront.test.js -------------------------------------------------------------------------------- /test/lib/cloudwatch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/cloudwatch.test.js -------------------------------------------------------------------------------- /test/lib/cloudwatch_logs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/cloudwatch_logs.test.js -------------------------------------------------------------------------------- /test/lib/cognito.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/cognito.test.js -------------------------------------------------------------------------------- /test/lib/config.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/config.test.js -------------------------------------------------------------------------------- /test/lib/dynamodb.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/dynamodb.test.js -------------------------------------------------------------------------------- /test/lib/firehose.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/firehose.test.js -------------------------------------------------------------------------------- /test/lib/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/index.test.js -------------------------------------------------------------------------------- /test/lib/iot_button.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/iot_button.test.js -------------------------------------------------------------------------------- /test/lib/kinesis.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/kinesis.test.js -------------------------------------------------------------------------------- /test/lib/lex.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/lex.test.js -------------------------------------------------------------------------------- /test/lib/record.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/record.test.js -------------------------------------------------------------------------------- /test/lib/s3.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/s3.test.js -------------------------------------------------------------------------------- /test/lib/ses.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/ses.test.js -------------------------------------------------------------------------------- /test/lib/simple.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/simple.test.js -------------------------------------------------------------------------------- /test/lib/sns.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/sns.test.js -------------------------------------------------------------------------------- /test/lib/sqs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/sqs.test.js -------------------------------------------------------------------------------- /test/lib/templater.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/templater.test.js -------------------------------------------------------------------------------- /test/lib/templates/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/templates/index.test.js -------------------------------------------------------------------------------- /test/lib/utils.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vandium-io/lambda-event-mock/HEAD/test/lib/utils.test.js --------------------------------------------------------------------------------