@@ -34,8 +34,14 @@ class SnsNotificationModel(BaseModel):
3434 UnsubscribeUrl : HttpUrl = Field (
3535 description = "A URL that you can use to unsubscribe the endpoint from this topic." ,
3636 examples = [
37- "https://sns.us-east-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:us-east-2:123456789012:test-lambda:21be56ed-a058-49f5-8c98-aedd2564c486" ,
38- "https://sns.eu-west-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-west-1:123456789012:notification-topic:abcd1234-5678-90ef-ghij-klmnopqrstuv" ,
37+ (
38+ "https://sns.us-east-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn="
39+ "arn:aws:sns:us-east-2:123456789012:test-lambda:21be56ed-a058-49f5-8c98-aedd2564c486"
40+ ),
41+ (
42+ "https://sns.eu-west-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn="
43+ "arn:aws:sns:eu-west-1:123456789012:notification-topic:abcd1234-5678-90ef-ghij-klmnopqrstuv"
44+ ),
3945 ],
4046 )
4147 Type : Literal ["Notification" ] = Field (
@@ -69,7 +75,10 @@ class SnsNotificationModel(BaseModel):
6975 )
7076 SigningCertUrl : Optional [HttpUrl ] = Field (
7177 default = None ,
72- description = "The URL to the certificate that was used to sign the message. Not present for FIFO topics with content-based deduplication." ,
78+ description = (
79+ "The URL to the certificate that was used to sign the message. "
80+ "Not present for FIFO topics with content-based deduplication."
81+ ),
7382 examples = [
7483 "https://sns.us-east-2.amazonaws.com/SimpleNotificationService-1234567890.pem" ,
7584 "https://sns.eu-west-1.amazonaws.com/SimpleNotificationService-0987654321.pem" ,
@@ -78,7 +87,10 @@ class SnsNotificationModel(BaseModel):
7887 ) # NOTE: FIFO opt-in removes attribute
7988 Signature : Optional [str ] = Field (
8089 default = None ,
81- description = "Base64-encoded SHA1withRSA signature of the message. Not present for FIFO topics with content-based deduplication." ,
90+ description = (
91+ "Base64-encoded SHA1withRSA signature of the message. "
92+ "Not present for FIFO topics with content-based deduplication."
93+ ),
8294 examples = [
8395 "tcc6faL2yUC6dgZdmrwh1Y4cGa/ebXEkAi6RibDsvpi+tE/1+82j...65r==" ,
8496 "EXAMPLEw6JRNwm1LFQL4ICB0bnXrdB8ClRMTQFPGBfHs...EXAMPLEw==" ,
@@ -95,7 +107,10 @@ class SnsNotificationModel(BaseModel):
95107 )
96108 SignatureVersion : Optional [str ] = Field (
97109 default = None ,
98- description = "Version of the Amazon SNS signature used. Not present for FIFO topics with content-based deduplication." ,
110+ description = (
111+ "Version of the Amazon SNS signature used. "
112+ "Not present for FIFO topics with content-based deduplication."
113+ ),
99114 examples = ["1" , "2" , None ],
100115 ) # NOTE: FIFO opt-in removes attribute
101116
0 commit comments