Module cognito

Module cognito 

Source
Available on crate feature cognito only.
Expand description

AWS Lambda event definitions for cognito.

Structs§

ClaimsAndScopeOverrideDetailsV2
ClaimsAndScopeOverrideDetailsV2 allows lambda to add, suppress or override claims in the token
ClaimsOverrideDetails
ClaimsOverrideDetails allows lambda to add, suppress or override claims in the token
CognitoAccessTokenGenerationV2
CognitoAccessTokenGenerationV2 allows lambda to customize the Access Token before generation
CognitoDatasetRecord
CognitoDatasetRecord represents a record from an AWS Cognito Sync event
CognitoEvent
CognitoEvent contains data from an event sent from AWS Cognito Sync
CognitoEventUserPoolsCallerContext
CognitoEventUserPoolsCallerContext contains information about the caller
CognitoEventUserPoolsChallengeResult
CognitoEventUserPoolsChallengeResult represents a challenge that is presented to the user in the authentication process that is underway, along with the corresponding result.
CognitoEventUserPoolsCreateAuthChallenge
CognitoEventUserPoolsCreateAuthChallenge sent by AWS Cognito User Pools to create a challenge to present to the user
CognitoEventUserPoolsCreateAuthChallengeRequest
CognitoEventUserPoolsCreateAuthChallengeRequest defines create auth challenge request parameters
CognitoEventUserPoolsCreateAuthChallengeResponse
CognitoEventUserPoolsCreateAuthChallengeResponse defines create auth challenge response parameters
CognitoEventUserPoolsCustomMessage
CognitoEventUserPoolsCustomMessage is sent by AWS Cognito User Pools before a verification or MFA message is sent, allowing a user to customize the message dynamically.
CognitoEventUserPoolsCustomMessageRequest
CognitoEventUserPoolsCustomMessageRequest contains the request portion of a CustomMessage event
CognitoEventUserPoolsCustomMessageResponse
CognitoEventUserPoolsCustomMessageResponse contains the response portion of a CustomMessage event
CognitoEventUserPoolsDefineAuthChallenge
CognitoEventUserPoolsDefineAuthChallenge sent by AWS Cognito User Pools to initiate custom authentication flow
CognitoEventUserPoolsDefineAuthChallengeRequest
CognitoEventUserPoolsDefineAuthChallengeRequest defines auth challenge request parameters
CognitoEventUserPoolsDefineAuthChallengeResponse
CognitoEventUserPoolsDefineAuthChallengeResponse defines auth challenge response parameters
CognitoEventUserPoolsHeader
CognitoEventUserPoolsHeader contains common data from events sent by AWS Cognito User Pools
CognitoEventUserPoolsMigrateUser
CognitoEventUserPoolsMigrateUser 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
CognitoEventUserPoolsMigrateUserRequest contains the request portion of a MigrateUser event
CognitoEventUserPoolsMigrateUserResponse
CognitoEventUserPoolsMigrateUserResponse contains the response portion of a MigrateUser event
CognitoEventUserPoolsPostAuthentication
CognitoEventUserPoolsPostAuthentication is sent by AWS Cognito User Pools after a user is authenticated, allowing the Lambda to add custom logic.
CognitoEventUserPoolsPostAuthenticationRequest
CognitoEventUserPoolsPostAuthenticationRequest contains the request portion of a PostAuthentication event
CognitoEventUserPoolsPostAuthenticationResponse
CognitoEventUserPoolsPostAuthenticationResponse contains the response portion of a PostAuthentication event
CognitoEventUserPoolsPostConfirmation
CognitoEventUserPoolsPostConfirmation is sent by AWS Cognito User Pools after a user is confirmed, allowing the Lambda to send custom messages or add custom logic.
CognitoEventUserPoolsPostConfirmationRequest
CognitoEventUserPoolsPostConfirmationRequest contains the request portion of a PostConfirmation event
CognitoEventUserPoolsPostConfirmationResponse
CognitoEventUserPoolsPostConfirmationResponse contains the response portion of a PostConfirmation event
CognitoEventUserPoolsPreAuthentication
CognitoEventUserPoolsPreAuthentication 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
CognitoEventUserPoolsPreAuthenticationRequest contains the request portion of a PreAuthentication event
CognitoEventUserPoolsPreAuthenticationResponse
CognitoEventUserPoolsPreAuthenticationResponse contains the response portion of a PreAuthentication event
CognitoEventUserPoolsPreSignup
CognitoEventUserPoolsPreSignup 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 request
CognitoEventUserPoolsPreSignupRequest
CognitoEventUserPoolsPreSignupRequest contains the request portion of a PreSignup event
CognitoEventUserPoolsPreSignupResponse
CognitoEventUserPoolsPreSignupResponse contains the response portion of a PreSignup event
CognitoEventUserPoolsPreTokenGen
CognitoEventUserPoolsPreTokenGen is sent by AWS Cognito User Pools when a user attempts to retrieve credentials, allowing a Lambda to perform insert, suppress or override claims
CognitoEventUserPoolsPreTokenGenRequest
CognitoEventUserPoolsPreTokenGenRequest contains request portion of PreTokenGen event
CognitoEventUserPoolsPreTokenGenRequestV2
CognitoEventUserPoolsPreTokenGenRequestV2 contains request portion of PreTokenGenV2 event
CognitoEventUserPoolsPreTokenGenResponse
CognitoEventUserPoolsPreTokenGenResponse contains the response portion of a PreTokenGen event
CognitoEventUserPoolsPreTokenGenResponseV2
CognitoEventUserPoolsPreTokenGenV2
CognitoEventUserPoolsPreTokenGenV2 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 Payload
CognitoEventUserPoolsVerifyAuthChallenge
CognitoEventUserPoolsVerifyAuthChallenge sent by AWS Cognito User Pools to verify if the response from the end user for a custom Auth Challenge is valid or not
CognitoEventUserPoolsVerifyAuthChallengeRequest
CognitoEventUserPoolsVerifyAuthChallengeRequest defines verify auth challenge request parameters
CognitoEventUserPoolsVerifyAuthChallengeResponse
CognitoEventUserPoolsVerifyAuthChallengeResponse defines verify auth challenge response parameters
CognitoIdTokenGenerationV2
CognitoIdTokenGenerationV2 allows lambda to customize the ID Token before generation
GroupConfiguration
GroupConfiguration allows lambda to override groups, roles and set a preferred role

Enums§

CognitoEventUserPoolsCreateAuthChallengeTriggerSource
CognitoEventUserPoolsCustomMessageTriggerSource
CognitoEventUserPoolsDefineAuthChallengeTriggerSource
CognitoEventUserPoolsMigrateUserTriggerSource
CognitoEventUserPoolsPostAuthenticationTriggerSource
CognitoEventUserPoolsPostConfirmationTriggerSource
CognitoEventUserPoolsPreAuthenticationTriggerSource
CognitoEventUserPoolsPreSignupTriggerSource
CognitoEventUserPoolsPreTokenGenTriggerSource
CognitoEventUserPoolsVerifyAuthChallengeTriggerSource