{"id":19165859,"url":"https://github.com/barchart/aws-lambda-suppressor","last_synced_at":"2025-07-23T11:08:22.552Z","repository":{"id":113975932,"uuid":"205003463","full_name":"barchart/aws-lambda-suppressor","owner":"barchart","description":"JavaScript utility for suppressing duplicate AWS Lambda invocations","archived":false,"fork":false,"pushed_at":"2024-05-10T14:18:11.000Z","size":60,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-07-12T03:06:56.978Z","etag":null,"topics":["dedupe","deduplication","duplicate-detection","dynamodb","javascript","lambda","public-repository","serverless"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/barchart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-28T19:02:05.000Z","updated_at":"2025-06-30T09:57:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8253532-06b7-4597-9051-71398ce37f22","html_url":"https://github.com/barchart/aws-lambda-suppressor","commit_stats":{"total_commits":100,"total_committers":4,"mean_commits":25.0,"dds":0.55,"last_synced_commit":"1c48f88c68f77302aef375b5254dfca7878d602b"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/barchart/aws-lambda-suppressor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-suppressor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-suppressor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-suppressor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-suppressor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barchart","download_url":"https://codeload.github.com/barchart/aws-lambda-suppressor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barchart%2Faws-lambda-suppressor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266665813,"owners_count":23964974,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dedupe","deduplication","duplicate-detection","dynamodb","javascript","lambda","public-repository","serverless"],"created_at":"2024-11-09T09:29:40.131Z","updated_at":"2025-07-23T11:08:22.532Z","avatar_url":"https://github.com/barchart.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @barchart/aws-lambda-suppressor\n\n[![AWS CodeBuild](https://codebuild.us-east-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiQnhYblNFR25BSGFCbjUxZVBwWUhIQUFuSVJCcEkvN1BsYWlzUTZQZWhSM2F4RUsyN3pHZEpuQWZpTVAwd3RlRkpKMWQzQVU5RXYxb2hPaHloeGtGUEg4PSIsIml2UGFyYW1ldGVyU3BlYyI6ImdlTjU5Ujk5L1lyeXVLdTUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D\u0026branch=master)](https://github.com/barchart/aws-lambda-suppressor)\n[![NPM](https://img.shields.io/npm/v/@barchart/aws-lambda-suppressor)](https://www.npmjs.com/package/@barchart/aws-lambda-suppressor)\n\nA *public* JavaScript package for tracking and suppressing duplicate invocations of [AWS Lambda Functions](https://aws.amazon.com/lambda/).\n\n### Workflow\n\n* Each Lambda invocation includes an ```event``` object.\n* Depending on the ```event``` source, a unique identifier can usually be extracted.\n* The [```DynamoMessageValidator```](./lib/dynamo/DynamoMessageValidator.js) saves these unique identifiers to DynamoDB (using a conditional writes).\n* Failure indicates another Lambda has already processed the same event and processing should be suppressed.\n\n### Usage\n\nThis package is typically used with a simple framework found in the [@barchart/common-node-js](https://github.com/barchart/common-node-js) library.\n\n* First, instantiate a [```LambdaEventValidator```](https://github.com/barchart/common-node-js/blob/master/aws/lambda/validators/LambdaEventValidator.js) and add a [```DynamoMessageValidator```](./lib/dynamo/DynamoMessageValidator.js) instance.\n* Then, plug the [```LambdaEventValidator```](https://github.com/barchart/common-node-js/blob/master/aws/lambda/validators/LambdaEventValidator.js) into your [```LambdaHelper```](https://github.com/barchart/common-node-js/blob/master/aws/lambda/LambdaHelper.js) by overriding its ```getValidator``` function.\n\n### License\n\nThis software is provided under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarchart%2Faws-lambda-suppressor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarchart%2Faws-lambda-suppressor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarchart%2Faws-lambda-suppressor/lists"}