AWS Slack Notifier
A simple Python package to send Slack notifications via AWS Lambda.
Installation
pip3 demo_notification_6100
Usage
from demo_notification_6100 import SlackNotifier
# Initialize the notifier
notifier = SlackNotifier(region_name='us-east-1')
# Send a notification
notifier.notify(
status="SUCCESS",
message="Job completed successfully",
client="MyGlueJob"
)
# Send a notification with error details
notifier.notify(
status="ERROR",
message="Job failed",
error="ValueError: Invalid input",
stackTrace="Full stack trace here",
client="MyGlueJob"
)
Requirements
- AWS Lambda function named 'trigger-slack-notification' that handles Slack messaging
- Appropriate AWS IAM permissions to invoke Lambda functions
- boto3 library
License
MIT License
Metadata
Release files for demo-notification-6100 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| demo_notification_6100-0.1.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| demo_notification_6100-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.6 kB
Release files / demo_notification_6100-0.1.0.tar.gz
| Download URL | demo_notification_6100-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9390101dddbdddd652872460323160b68611570d04b75296f2bbf829d9407a8a
|
|
BLAKE2b-256 checksum How to use checksums |
c01911ecc5d5195bf7ca218f4d5b18d460166bf1eb5ec386c484cd0c5a28759d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|
Release files / demo_notification_6100-0.1.0-py3-none-any.whl
| Download URL | demo_notification_6100-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a3282aeb775dae9db69647479170cdb5fe7005b56e6bdf5432838fc6cbb91297
|
|
BLAKE2b-256 checksum How to use checksums |
ca58ec52065432b18b22e6e29cd7fdd30636d37674c8075a76cade73cf1f09b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.7
|