Skip to content

Commit 3c1161a

Browse files
authored
Make S3 eTag optional (#78)
Make S3 Object eTag optional, because it's not always there. ### Motivation: I'm seeing real events without an eTag, which naturally is causing decoding failures. ### Modifications: Made S3 Object eTag optional. ### Result: S3 Object eTag is now optional...
1 parent ee11dac commit 3c1161a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaEvents/S3.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public struct S3Event: Decodable, Sendable {
7777
public let size: UInt64?
7878
public let urlDecodedKey: String?
7979
public let versionId: String?
80-
public let eTag: String
80+
public let eTag: String?
8181
public let sequencer: String
8282
}
8383
}

0 commit comments

Comments
 (0)