update
This commit is contained in:
@@ -49,6 +49,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool | No
|
||||
'sk': f'MONTH#{report_sk}',
|
||||
'status': 'PENDING',
|
||||
'target_month': target_month,
|
||||
'created_at': now_,
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
exc_cls=ReportingConflictError,
|
||||
@@ -59,6 +60,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool | No
|
||||
'sk': f'MONTH#{report_sk}#SCHEDULE#SEND_REPORT_EMAIL',
|
||||
'target_month': target_month,
|
||||
'ttl': ttl(start_dt=report_month),
|
||||
'created_at': now_,
|
||||
},
|
||||
)
|
||||
except Exception as exc:
|
||||
|
||||
Reference in New Issue
Block a user