mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 03:00:02 +00:00
Add PreSignUp_ExternalProvider as triggersource for aws-lambda (#35968)
This commit is contained in:
committed by
Andrew Casey
parent
f74dfd5ad8
commit
41dbba7ad3
@@ -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";
|
||||
|
||||
2
types/aws-lambda/index.d.ts
vendored
2
types/aws-lambda/index.d.ts
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user