Struct aws_lambda_events::event::cognito::CognitoEventUserPoolsPreAuthentication [−][src]
pub struct CognitoEventUserPoolsPreAuthentication {
pub cognito_event_user_pools_header: CognitoEventUserPoolsHeader,
pub request: CognitoEventUserPoolsPreAuthenticationRequest,
pub response: CognitoEventUserPoolsPreAuthenticationResponse,
}
Expand description
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.
Fields
cognito_event_user_pools_header: CognitoEventUserPoolsHeader
request: CognitoEventUserPoolsPreAuthenticationRequest
response: CognitoEventUserPoolsPreAuthenticationResponse
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more