Skip to content

Commit b470a31

Browse files
author
Ran Isenberg
committed
fix naming to sns
1 parent f6ccaa3 commit b470a31

File tree

1 file changed

+2
-2
lines changed
  • aws_lambda_powertools/utilities/parser/models

1 file changed

+2
-2
lines changed

aws_lambda_powertools/utilities/parser/models/sns.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from typing_extensions import Literal
77

88

9-
class SqsMsgAttributeModel(BaseModel):
9+
class SnsMsgAttributeModel(BaseModel):
1010
Type: str
1111
Value: str
1212

@@ -16,7 +16,7 @@ class SnsNotificationModel(BaseModel):
1616
TopicArn: str
1717
UnsubscribeUrl: HttpUrl
1818
Type: Literal["Notification"]
19-
MessageAttributes: Dict[str, SqsMsgAttributeModel]
19+
MessageAttributes: Dict[str, SnsMsgAttributeModel]
2020
Message: str
2121
MessageId: str
2222
SigningCertUrl: HttpUrl

0 commit comments

Comments
 (0)