Add PreSignUp_ExternalProvider as triggersource for aws-lambda (#35968)

This commit is contained in:
juancarbonel
2019-06-06 14:27:34 -04:00
committed by Andrew Casey
parent f74dfd5ad8
commit 41dbba7ad3
2 changed files with 3 additions and 0 deletions

View File

@@ -413,6 +413,7 @@ authResponse = {
// CognitoUserPoolEvent
num = cognitoUserPoolEvent.version;
cognitoUserPoolEvent.triggerSource === "PreSignUp_SignUp";
cognitoUserPoolEvent.triggerSource === "PreSignUp_ExternalProvider";
cognitoUserPoolEvent.triggerSource === "PostConfirmation_ConfirmSignUp";
cognitoUserPoolEvent.triggerSource === "PreAuthentication_Authentication";
cognitoUserPoolEvent.triggerSource === "PostAuthentication_Authentication";

View File

@@ -28,6 +28,7 @@
// Loïk Gaonac'h <https://github.com/loikg>
// Roberto Zen <https://github.com/skyzenr>
// Grzegorz Redlicki <https://github.com/redlickigrzegorz>
// Juan Carbonel <https://github.com/juancarbonel>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
@@ -258,6 +259,7 @@ export interface CognitoUserPoolTriggerEvent {
version: number;
triggerSource:
| "PreSignUp_SignUp"
| "PreSignUp_ExternalProvider"
| "PostConfirmation_ConfirmSignUp"
| "PreAuthentication_Authentication"
| "PostAuthentication_Authentication"