File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
aws_lambda_powertools/utilities/parser/models Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 50
50
S3Model ,
51
51
S3RecordModel ,
52
52
)
53
- from .s3_event_notification import SqsS3EventNotificationModel
53
+ from .s3_event_notification import (
54
+ SqsS3EventNotificationModel ,
55
+ SqsS3EventNotificationRecordModel ,
56
+ )
54
57
from .s3_object_event import (
55
58
S3ObjectConfiguration ,
56
59
S3ObjectContext ,
132
135
"SqsMsgAttributeModel" ,
133
136
"SqsAttributesModel" ,
134
137
"SqsS3EventNotificationModel" ,
138
+ "SqsS3EventNotificationRecordModel" ,
135
139
"APIGatewayProxyEventModel" ,
136
140
"APIGatewayEventRequestContext" ,
137
141
"APIGatewayEventAuthorizer" ,
Original file line number Diff line number Diff line change
1
+ from typing import List
2
+
1
3
from pydantic import Json
2
4
3
5
from aws_lambda_powertools .utilities .parser .models .s3 import S3Model
4
- from aws_lambda_powertools .utilities .parser .models .sqs import SqsRecordModel
6
+ from aws_lambda_powertools .utilities .parser .models .sqs import SqsRecordModel , SqsModel
5
7
6
- class SqsS3EventNotificationModel (SqsRecordModel ):
8
+ class SqsS3EventNotificationRecordModel (SqsRecordModel ):
7
9
body : Json [S3Model ]
10
+
11
+ class SqsS3EventNotificationModel (SqsModel ):
12
+ Records : List [SqsS3EventNotificationRecordModel ]
You can’t perform that action at this time.
0 commit comments