pub struct CognitoEventUserPoolsPreAuthentication {
pub cognito_event_user_pools_header: CognitoEventUserPoolsHeader<CognitoEventUserPoolsPreAuthenticationTriggerSource>,
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<CognitoEventUserPoolsPreAuthenticationTriggerSource>
§request: CognitoEventUserPoolsPreAuthenticationRequest
§response: CognitoEventUserPoolsPreAuthenticationResponse
Trait Implementations§
source§impl Clone for CognitoEventUserPoolsPreAuthentication
impl Clone for CognitoEventUserPoolsPreAuthentication
source§fn clone(&self) -> CognitoEventUserPoolsPreAuthentication
fn clone(&self) -> CognitoEventUserPoolsPreAuthentication
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CognitoEventUserPoolsPreAuthentication
impl Default for CognitoEventUserPoolsPreAuthentication
source§fn default() -> CognitoEventUserPoolsPreAuthentication
fn default() -> CognitoEventUserPoolsPreAuthentication
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CognitoEventUserPoolsPreAuthentication
impl<'de> Deserialize<'de> for CognitoEventUserPoolsPreAuthentication
source§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
source§impl PartialEq for CognitoEventUserPoolsPreAuthentication
impl PartialEq for CognitoEventUserPoolsPreAuthentication
source§fn eq(&self, other: &CognitoEventUserPoolsPreAuthentication) -> bool
fn eq(&self, other: &CognitoEventUserPoolsPreAuthentication) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CognitoEventUserPoolsPreAuthentication
impl StructuralPartialEq for CognitoEventUserPoolsPreAuthentication
Auto Trait Implementations§
impl RefUnwindSafe for CognitoEventUserPoolsPreAuthentication
impl Send for CognitoEventUserPoolsPreAuthentication
impl Sync for CognitoEventUserPoolsPreAuthentication
impl Unpin for CognitoEventUserPoolsPreAuthentication
impl UnwindSafe for CognitoEventUserPoolsPreAuthentication
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more