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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file awstriggers-0.0.1.tar.gz
.
File metadata
- Download URL: awstriggers-0.0.1.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1e9165faa7895fb08a4eab3f9b507dd42d635c3bc001a18b3413bd4b75ba25 |
|
MD5 | d714c4d03655046daf4ba5654313d3e6 |
|
BLAKE2b-256 | a697e2e1924ed83e5549f72ce1ef0119285c6a7fa96de21fe9aef61494115fc1 |
File details
Details for the file awstriggers-0.0.1-py2-none-any.whl
.
File metadata
- Download URL: awstriggers-0.0.1-py2-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 923ca196dc205815c8a36381e53ac40ad1cb98d4f3f840034110819b694d811f |
|
MD5 | 791c4ae187702e6d6c73cd2af1f150f4 |
|
BLAKE2b-256 | 712a0840a36d0c4784c2915d14ec49f6ebbcb129889846a9cdf4f6a30583db3c |