Skip to content

Commit 5912b9e

Browse files
authored
update coding keys (#35)
1 parent 63176f5 commit 5912b9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sources/AWSLambdaEvents/SNS.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ extension SNSEvent.Message: Decodable {
6868
case messageAttributes = "MessageAttributes"
6969
case signatureVersion = "SignatureVersion"
7070
case timestamp = "Timestamp"
71-
case signingCertURL = "SigningCertURL"
71+
case signingCertURL = "SigningCertUrl"
7272
case message = "Message"
73-
case unsubscribeURL = "UnsubscribeURL"
73+
case unsubscribeURL = "UnsubscribeUrl"
7474
case subject = "Subject"
7575
}
7676
}

Tests/AWSLambdaEventsTests/SNSTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ class SNSTests: XCTestCase {
3232
"Timestamp": "2020-01-08T14:18:51.203Z",
3333
"SignatureVersion": "1",
3434
"Signature": "LJMF/xmMH7A1gNy2unLA3hmzyf6Be+zS/Yeiiz9tZbu6OG8fwvWZeNOcEZardhSiIStc0TF7h9I+4Qz3omCntaEfayzTGmWN8itGkn2mfn/hMFmPbGM8gEUz3+jp1n6p+iqP3XTx92R0LBIFrU3ylOxSo8+SCOjA015M93wfZzwj0WPtynji9iAvvtf15d8JxPUu1T05BRitpFd5s6ZXDHtVQ4x/mUoLUN8lOVp+rs281/ZdYNUG/V5CwlyUDTOERdryTkBJ/GO1NNPa+6m04ywJFa5d+BC8mDcUcHhhXXjpTEbt8AHBmswK3nudHrVMRO/G4zmssxU2P7ii5+gCfA==",
35-
"SigningCertURL": "https://sns.eu-central-1.amazonaws.com/SimpleNotificationService-6aad65c2f9911b05cd53efda11f913f9.pem",
36-
"UnsubscribeURL": "https://sns.eu-central-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-central-1:079477498937:EventSources-SNSTopic-1NHENSE2MQKF5:6fabdb7f-b27e-456d-8e8a-14679db9e40c",
35+
"SigningCertUrl": "https://sns.eu-central-1.amazonaws.com/SimpleNotificationService-6aad65c2f9911b05cd53efda11f913f9.pem",
36+
"UnsubscribeUrl": "https://sns.eu-central-1.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-central-1:079477498937:EventSources-SNSTopic-1NHENSE2MQKF5:6fabdb7f-b27e-456d-8e8a-14679db9e40c",
3737
"MessageAttributes": {
3838
"binary":{
3939
"Type": "Binary",

0 commit comments

Comments
 (0)