Skip to content

Commit 75cd1f8

Browse files
committed
updates
1 parent 9e7ed13 commit 75cd1f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/AWS.Messaging/Serialization/Handlers/MessageMetadataHandler.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ public static AWS.Messaging.SNSMetadata CreateSNSMetadata(JsonElement root)
3838
MessageId = root.GetProperty("MessageId").GetString(),
3939
TopicArn = root.GetProperty("TopicArn").GetString(),
4040
Timestamp = root.GetProperty("Timestamp").GetDateTimeOffset(),
41+
UnsubscribeURL = root.GetProperty("UnsubscribeURL").GetString(),
42+
Subject = root.GetProperty("Subject").GetString()
4143
};
4244
}
4345

@@ -46,7 +48,6 @@ public static AWS.Messaging.EventBridgeMetadata CreateEventBridgeMetadata(JsonEl
4648
return new AWS.Messaging.EventBridgeMetadata
4749
{
4850
EventId = root.GetProperty("id").GetString(),
49-
Version = root.GetProperty("version").GetString(),
5051
DetailType = root.GetProperty("detail-type").GetString(),
5152
Source = root.GetProperty("source").GetString(),
5253
AWSAccount = root.GetProperty("account").GetString(),

0 commit comments

Comments
 (0)