Skip to main content

A Event Checker For AWS Lambda Handler.

Project description

AWS Event Check

  • Annotation based library to check aws event.
  • Checking event to avoid internal call by lambda function.
  • Supporting AWS Cloud Watch trigger events.
  • Supporting AWS S3 trigger event.
  • Supporting AWS API Gateway event.

Examples

  • S3 trigger check :
    • Checking for event Records.
from aws.event import s3_trigger_event_check


@s3_trigger_event_check
def handler(event, context):
    try:
        pass
    except Exception as e:
        raise e
  • Cloud Watch Event :
    • Checking for event id.
from aws.event import cloud_watch_trigger_event_check


@cloud_watch_trigger_event_check
def handler(event, context):
    try:
        pass
    except Exception as e:
        raise e
  • API Gateway Event :

    • Checking only http method.
from aws.event import api_gateway_trigger_event_check


@api_gateway_trigger_event_check
def handler(event, context):
    try:
        pass
    except Exception as e:
        raise e

MIT License : Copyright (c) 2019 Abhimanyu Haralukallu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aws-event-check-1.0.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

aws_event_check-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file aws-event-check-1.0.0.tar.gz.

File metadata

  • Download URL: aws-event-check-1.0.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for aws-event-check-1.0.0.tar.gz
Algorithm Hash digest
SHA256 80d7b37d553d1e2123939845002f15d67d25baac022e76db903b14f81646c6b6
MD5 6b172a55e7e526606c88ec1366e6154a
BLAKE2b-256 bfa38c9998d443aa3a4a0496516ed47a3f998388298f9b7e6e91ab1c21ec323b

See more details on using hashes here.

File details

Details for the file aws_event_check-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: aws_event_check-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for aws_event_check-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abdc4a6bfa62d74d258360a9e338ea780a9e8d4a323aa23722b5d2d3c70dc401
MD5 8563e6b6f0c4b83d9f857c02dfa273ae
BLAKE2b-256 97de7902e6aaf34065d91dc185fda249627ffb1f76b1c619ff113be6a336f6a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page