Module aws_lambda_events::cognito
source · Expand description
AWS Lambda event definitions for cognito.
Structs
ClaimsOverrideDetailsallows lambda to add, suppress or override claims in the tokenCognitoDatasetRecordrepresents a record from an AWS Cognito Sync eventCognitoEventcontains data from an event sent from AWS Cognito SyncCognitoEventUserPoolsCallerContextcontains information about the callerCognitoEventUserPoolsChallengeResultrepresents a challenge that is presented to the user in the authentication process that is underway, along with the corresponding result.CognitoEventUserPoolsCreateAuthChallengesent by AWS Cognito User Pools to create a challenge to present to the userCognitoEventUserPoolsCreateAuthChallengeRequestdefines create auth challenge request parametersCognitoEventUserPoolsCreateAuthChallengeResponsedefines create auth challenge response parametersCognitoEventUserPoolsCustomMessageis sent by AWS Cognito User Pools before a verification or MFA message is sent, allowing a user to customize the message dynamically.CognitoEventUserPoolsCustomMessageRequestcontains the request portion of a CustomMessage eventCognitoEventUserPoolsCustomMessageResponsecontains the response portion of a CustomMessage eventCognitoEventUserPoolsDefineAuthChallengesent by AWS Cognito User Pools to initiate custom authentication flowCognitoEventUserPoolsDefineAuthChallengeRequestdefines auth challenge request parametersCognitoEventUserPoolsDefineAuthChallengeResponsedefines auth challenge response parametersCognitoEventUserPoolsHeadercontains common data from events sent by AWS Cognito User PoolsCognitoEventUserPoolsMigrateUseris sent by AWS Cognito User Pools when a user does not exist in the user pool at the time of sign-in with a password, or in the forgot-password flow.CognitoEventUserPoolsMigrateUserRequestcontains the request portion of a MigrateUser eventCognitoEventUserPoolsMigrateUserResponsecontains the response portion of a MigrateUser eventCognitoEventUserPoolsPostAuthenticationis sent by AWS Cognito User Pools after a user is authenticated, allowing the Lambda to add custom logic.CognitoEventUserPoolsPostAuthenticationRequestcontains the request portion of a PostAuthentication eventCognitoEventUserPoolsPostAuthenticationResponsecontains the response portion of a PostAuthentication eventCognitoEventUserPoolsPostConfirmationis sent by AWS Cognito User Pools after a user is confirmed, allowing the Lambda to send custom messages or add custom logic.CognitoEventUserPoolsPostConfirmationRequestcontains the request portion of a PostConfirmation eventCognitoEventUserPoolsPostConfirmationResponsecontains the response portion of a PostConfirmation eventCognitoEventUserPoolsPreAuthenticationis sent by AWS Cognito User Pools when a user submits their information to be authenticated, allowing you to perform custom validations to accept or deny the sign in request.CognitoEventUserPoolsPreAuthenticationRequestcontains the request portion of a PreAuthentication eventCognitoEventUserPoolsPreAuthenticationResponsecontains the response portion of a PreAuthentication eventCognitoEventUserPoolsPreSignupis sent by AWS Cognito User Pools when a user attempts to register (sign up), allowing a Lambda to perform custom validation to accept or deny the registration requestCognitoEventUserPoolsPreSignupRequestcontains the request portion of a PreSignup eventCognitoEventUserPoolsPreSignupResponsecontains the response portion of a PreSignup eventCognitoEventUserPoolsPreTokenGenis sent by AWS Cognito User Pools when a user attempts to retrieve credentials, allowing a Lambda to perform insert, suppress or override claimsCognitoEventUserPoolsPreTokenGenRequestcontains request portion of PreTokenGen eventCognitoEventUserPoolsPreTokenGenResponsecontains the response portion of a PreTokenGen eventCognitoEventUserPoolsVerifyAuthChallengesent by AWS Cognito User Pools to verify if the response from the end user for a custom Auth Challenge is valid or notCognitoEventUserPoolsVerifyAuthChallengeRequestdefines verify auth challenge request parametersCognitoEventUserPoolsVerifyAuthChallengeResponsedefines verify auth challenge response parametersGroupConfigurationallows lambda to override groups, roles and set a preferred role