mirror of
https://github.com/Sea-Haven-Industries/apm-wo-analysis.git
synced 2026-10-02 22:43:19 +00:00
17 lines
579 B
Python
17 lines
579 B
Python
|
|
"""Slack post + alert Lambda: daily summary and batched 3rd-escalation alert.
|
||
|
|
|
||
|
|
Invoked after the classifier finishes. Reads ``analytics/dt=today/summary.json``
|
||
|
|
and the yesterday partition (for deltas), posts the daily summary to the WO
|
||
|
|
channel via the reused bot token (SSM, same pattern as payments-dashboard), and
|
||
|
|
— only if the 3rd-escalation count > 0 — posts the standalone batched alert.
|
||
|
|
|
||
|
|
Implemented in Phase 4 (docs/BUILD.md).
|
||
|
|
"""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
|
||
|
|
def handler(event, context):
|
||
|
|
"""Lambda entry point. (Phase 4)"""
|
||
|
|
raise NotImplementedError
|