Skip to content

Commit 502ce6d

Browse files
authored
Introduce model for SQS-wrapped S3 event notifications
Signed-off-by: Alan Ip <theipster@users.noreply.github.com>
1 parent 4d30136 commit 502ce6d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from pydantic import Json
2+
3+
from aws_lambda_powertools.utilities.parser.models.s3 import S3Model
4+
from aws_lambda_powertools.utilities.parser.models.sqs import SqsRecordModel
5+
6+
class SqsS3EventNotificationModel(SqsRecordModel):
7+
body: Json[S3Model]

0 commit comments

Comments
 (0)