@@ -34,8 +34,14 @@ class SnsNotificationModel(BaseModel):
34
34
UnsubscribeUrl : HttpUrl = Field (
35
35
description = "A URL that you can use to unsubscribe the endpoint from this topic." ,
36
36
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
+ ),
39
45
],
40
46
)
41
47
Type : Literal ["Notification" ] = Field (
@@ -69,7 +75,10 @@ class SnsNotificationModel(BaseModel):
69
75
)
70
76
SigningCertUrl : Optional [HttpUrl ] = Field (
71
77
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
+ ),
73
82
examples = [
74
83
"https://sns.us-east-2.amazonaws.com/SimpleNotificationService-1234567890.pem" ,
75
84
"https://sns.eu-west-1.amazonaws.com/SimpleNotificationService-0987654321.pem" ,
@@ -78,7 +87,10 @@ class SnsNotificationModel(BaseModel):
78
87
) # NOTE: FIFO opt-in removes attribute
79
88
Signature : Optional [str ] = Field (
80
89
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
+ ),
82
94
examples = [
83
95
"tcc6faL2yUC6dgZdmrwh1Y4cGa/ebXEkAi6RibDsvpi+tE/1+82j...65r==" ,
84
96
"EXAMPLEw6JRNwm1LFQL4ICB0bnXrdB8ClRMTQFPGBfHs...EXAMPLEw==" ,
@@ -95,7 +107,10 @@ class SnsNotificationModel(BaseModel):
95
107
)
96
108
SignatureVersion : Optional [str ] = Field (
97
109
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
+ ),
99
114
examples = ["1" , "2" , None ],
100
115
) # NOTE: FIFO opt-in removes attribute
101
116
0 commit comments