Skip to content

Commit 1b8bae0

Browse files
committed
typo
1 parent 9498101 commit 1b8bae0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lambdas/id_sync/src/id_sync.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
"""
2+
- Parses the incoming AWS event into `AwsLambdaEvent` and iterate its `records`.
3+
- Delegate each record to `process_record` and collect `nhs_number` from each result.
4+
- If any record has status == "error" raise `IdSyncException` with aggregated nhs_numbers.
5+
- Any unexpected error is wrapped into `IdSyncException(message="Error processing id_sync event")`.
6+
"""
7+
8+
from typing import Any, Dict
19
from common.aws_lambda_event import AwsLambdaEvent
210
from common.clients import logger, STREAM_NAME
311
from common.log_decorator import logging_decorator

0 commit comments

Comments
 (0)