agent-wait-aws
AWS announce adapters for agent-wait.
pip install agent-wait-aws # pulls in agent-wait and boto3
from agent_wait_aws import DynamoDbAnnounce, EventBridgeAnnounce, SnsAnnounce, SqsAnnounce
| Adapter | Where the question lands |
|---|---|
SnsAnnounce(topic_arn) |
A topic. Policy tags become message attributes, so subscription filter policies can route on them. |
SqsAnnounce(queue_url) |
A queue. On FIFO: MessageGroupId = thread_id, and MessageDeduplicationId is the stable dedupe key, so a republished question is swallowed. |
EventBridgeAnnounce(bus) |
A bus, with the transition as detail-type. Notices partial failures, which PutEvents reports inside an HTTP 200. |
DynamoDbAnnounce(table) |
A row. created writes it open, resumed marks it closed; a GSI on status gives an approvals UI its query with no broker involved. |
Every one is a BaseAnnounce subclass with a single deliver() method, so a failure is a
log line rather than a failed run. They are also the reference for writing your own:
sqs.py is twenty lines.
The package also carries a CDK stack for the example agent — a FIFO queue, a topic, one Lambda, the checkpointer's table and an approvals table.
Full documentation: skamalj.github.io/agent-wait.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_wait_aws-0.2.1.tar.gz.
File metadata
- Download URL: agent_wait_aws-0.2.1.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891243308546ff94eba269abf647dd81d374b6cd0b892310603ca88181e1d0fa
|
|
| MD5 |
72ed73bdc76df6fcf4ee5434095a9079
|
|
| BLAKE2b-256 |
75b4841985917d8b96af7811e2c9331998f9a8cd95929c52c7ddb1af6ba6bc1d
|
File details
Details for the file agent_wait_aws-0.2.1-py3-none-any.whl.
File metadata
- Download URL: agent_wait_aws-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.23 {"installer":{"name":"uv","version":"0.11.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49735824587043718bb2ea3973cb00c24317f6f96ac7bffcb86976a727e53c21
|
|
| MD5 |
3b1d7e9c5fb3305ad2db71edf3cb3777
|
|
| BLAKE2b-256 |
ab330bf7fdb14f1816fdaf07b8f23608ad104d78a8d76397a20b29cb1f113461
|