Module aws_lambda_events::event::cognito
source · Expand description
AWS Lambda event definitions for cognito.
Structs§
ClaimsAndScopeOverrideDetailsV2
allows lambda to add, suppress or override claims in the tokenClaimsOverrideDetails
allows lambda to add, suppress or override claims in the tokenCognitoAccessTokenGenerationV2
allows lambda to customize the Access Token before generationCognitoDatasetRecord
represents a record from an AWS Cognito Sync eventCognitoEvent
contains data from an event sent from AWS Cognito SyncCognitoEventUserPoolsCallerContext
contains information about the callerCognitoEventUserPoolsChallengeResult
represents a challenge that is presented to the user in the authentication process that is underway, along with the corresponding result.CognitoEventUserPoolsCreateAuthChallenge
sent by AWS Cognito User Pools to create a challenge to present to the userCognitoEventUserPoolsCreateAuthChallengeRequest
defines create auth challenge request parametersCognitoEventUserPoolsCreateAuthChallengeResponse
defines create auth challenge response parametersCognitoEventUserPoolsCustomMessage
is sent by AWS Cognito User Pools before a verification or MFA message is sent, allowing a user to customize the message dynamically.CognitoEventUserPoolsCustomMessageRequest
contains the request portion of a CustomMessage eventCognitoEventUserPoolsCustomMessageResponse
contains the response portion of a CustomMessage eventCognitoEventUserPoolsDefineAuthChallenge
sent by AWS Cognito User Pools to initiate custom authentication flowCognitoEventUserPoolsDefineAuthChallengeRequest
defines auth challenge request parametersCognitoEventUserPoolsDefineAuthChallengeResponse
defines auth challenge response parametersCognitoEventUserPoolsHeader
contains common data from events sent by AWS Cognito User PoolsCognitoEventUserPoolsMigrateUser
is 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.CognitoEventUserPoolsMigrateUserRequest
contains the request portion of a MigrateUser eventCognitoEventUserPoolsMigrateUserResponse
contains the response portion of a MigrateUser eventCognitoEventUserPoolsPostAuthentication
is sent by AWS Cognito User Pools after a user is authenticated, allowing the Lambda to add custom logic.CognitoEventUserPoolsPostAuthenticationRequest
contains the request portion of a PostAuthentication eventCognitoEventUserPoolsPostAuthenticationResponse
contains the response portion of a PostAuthentication eventCognitoEventUserPoolsPostConfirmation
is sent by AWS Cognito User Pools after a user is confirmed, allowing the Lambda to send custom messages or add custom logic.CognitoEventUserPoolsPostConfirmationRequest
contains the request portion of a PostConfirmation eventCognitoEventUserPoolsPostConfirmationResponse
contains the response portion of a PostConfirmation eventCognitoEventUserPoolsPreAuthentication
is 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.CognitoEventUserPoolsPreAuthenticationRequest
contains the request portion of a PreAuthentication eventCognitoEventUserPoolsPreAuthenticationResponse
contains the response portion of a PreAuthentication eventCognitoEventUserPoolsPreSignup
is 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 requestCognitoEventUserPoolsPreSignupRequest
contains the request portion of a PreSignup eventCognitoEventUserPoolsPreSignupResponse
contains the response portion of a PreSignup eventCognitoEventUserPoolsPreTokenGen
is sent by AWS Cognito User Pools when a user attempts to retrieve credentials, allowing a Lambda to perform insert, suppress or override claimsCognitoEventUserPoolsPreTokenGenRequest
contains request portion of PreTokenGen eventCognitoEventUserPoolsPreTokenGenRequestV2
contains request portion of PreTokenGenV2 eventCognitoEventUserPoolsPreTokenGenResponse
contains the response portion of a PreTokenGen eventCognitoEventUserPoolsPreTokenGenV2
is sent by AWS Cognito User Pools when a user attempts to retrieve credentials, allowing a Lambda to perform insert, suppress or override claims. This is the Version 2 PayloadCognitoEventUserPoolsVerifyAuthChallenge
sent by AWS Cognito User Pools to verify if the response from the end user for a custom Auth Challenge is valid or notCognitoEventUserPoolsVerifyAuthChallengeRequest
defines verify auth challenge request parametersCognitoEventUserPoolsVerifyAuthChallengeResponse
defines verify auth challenge response parametersCognitoIdTokenGenerationV2
allows lambda to customize the ID Token before generationGroupConfiguration
allows lambda to override groups, roles and set a preferred role