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
Release files for awstriggers 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awstriggers-0.0.1.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awstriggers-0.0.1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.6 kB
Release files / awstriggers-0.0.1.tar.gz
| Download URL | awstriggers-0.0.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b1e9165faa7895fb08a4eab3f9b507dd42d635c3bc001a18b3413bd4b75ba25
|
|
BLAKE2b-256 checksum How to use checksums |
a697e2e1924ed83e5549f72ce1ef0119285c6a7fa96de21fe9aef61494115fc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / awstriggers-0.0.1-py2-none-any.whl
| Download URL | awstriggers-0.0.1-py2-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
923ca196dc205815c8a36381e53ac40ad1cb98d4f3f840034110819b694d811f
|
|
BLAKE2b-256 checksum How to use checksums |
712a0840a36d0c4784c2915d14ec49f6ebbcb129889846a9cdf4f6a30583db3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|