Skip to content

Commit 906610f

Browse files
authored
CognitoEvent CallerContext ClientId should be optional (#71)
1 parent 2d9612d commit 906610f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaEvents/Cognito.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public enum CognitoEvent: Equatable, Sendable {
2323
public let awsSdkVersion: String
2424

2525
/// The ID of the user pool app client.
26-
public let clientId: String
26+
public let clientId: String?
2727
}
2828

2929
/// https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools-working-with-aws-lambda-triggers.html#cognito-user-identity-pools-working-with-aws-lambda-trigger-sources

0 commit comments

Comments
 (0)