Skip to main content

Simple classes for AWS trigger records and events.

Project description

Some classes to get information from AWS triggers easily.

Some examples

Here’s some of the stuff you can do:

# import all
from awstriggers import *

def lambda_handler(event, context):

    for record in event['Records']:

        trigger = SQSTrigger(record)

        print(trigger.body)
        print(trigger.attributes)

Installation

pip install awstriggers

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

awstriggers-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

awstriggers-0.0.1-py2-none-any.whl (4.5 kB view hashes)

Uploaded Python 2

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