From 58951d6b6ad717ed0317c006877ac4854caf5dad Mon Sep 17 00:00:00 2001 From: Jason Fry Date: Thu, 24 Oct 2024 11:18:27 +0100 Subject: [PATCH] CognitoEvent CallerContext ClientId should be optional --- Sources/AWSLambdaEvents/Cognito.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AWSLambdaEvents/Cognito.swift b/Sources/AWSLambdaEvents/Cognito.swift index e42b9ff..3637fec 100644 --- a/Sources/AWSLambdaEvents/Cognito.swift +++ b/Sources/AWSLambdaEvents/Cognito.swift @@ -23,7 +23,7 @@ public enum CognitoEvent: Equatable, Sendable { public let awsSdkVersion: String /// The ID of the user pool app client. - public let clientId: String + public let clientId: String? } /// 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