Struct aws_sdk_cognitoidentityprovider::operation::update_auth_event_feedback::UpdateAuthEventFeedbackInput
source · #[non_exhaustive]pub struct UpdateAuthEventFeedbackInput {
pub user_pool_id: Option<String>,
pub username: Option<String>,
pub event_id: Option<String>,
pub feedback_token: Option<String>,
pub feedback_value: Option<FeedbackValueType>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_pool_id: Option<String>
The user pool ID.
username: Option<String>
The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username
isn't an alias attribute in your user pool, this value must be the sub
of a local user or the username of a user from a third-party IdP.
event_id: Option<String>
The event ID.
feedback_token: Option<String>
The feedback token.
feedback_value: Option<FeedbackValueType>
The authentication event feedback value. When you provide a FeedbackValue
value of valid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue
value of invalid
, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.
Implementations§
source§impl UpdateAuthEventFeedbackInput
impl UpdateAuthEventFeedbackInput
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The user pool ID.
sourcepub fn username(&self) -> Option<&str>
pub fn username(&self) -> Option<&str>
The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username
isn't an alias attribute in your user pool, this value must be the sub
of a local user or the username of a user from a third-party IdP.
sourcepub fn feedback_token(&self) -> Option<&str>
pub fn feedback_token(&self) -> Option<&str>
The feedback token.
sourcepub fn feedback_value(&self) -> Option<&FeedbackValueType>
pub fn feedback_value(&self) -> Option<&FeedbackValueType>
The authentication event feedback value. When you provide a FeedbackValue
value of valid
, you tell Amazon Cognito that you trust a user session where Amazon Cognito has evaluated some level of risk. When you provide a FeedbackValue
value of invalid
, you tell Amazon Cognito that you don't trust a user session, or you don't believe that Amazon Cognito evaluated a high-enough risk level.
source§impl UpdateAuthEventFeedbackInput
impl UpdateAuthEventFeedbackInput
sourcepub fn builder() -> UpdateAuthEventFeedbackInputBuilder
pub fn builder() -> UpdateAuthEventFeedbackInputBuilder
Creates a new builder-style object to manufacture UpdateAuthEventFeedbackInput
.
Trait Implementations§
source§impl Clone for UpdateAuthEventFeedbackInput
impl Clone for UpdateAuthEventFeedbackInput
source§fn clone(&self) -> UpdateAuthEventFeedbackInput
fn clone(&self) -> UpdateAuthEventFeedbackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateAuthEventFeedbackInput
impl Debug for UpdateAuthEventFeedbackInput
source§impl PartialEq for UpdateAuthEventFeedbackInput
impl PartialEq for UpdateAuthEventFeedbackInput
source§fn eq(&self, other: &UpdateAuthEventFeedbackInput) -> bool
fn eq(&self, other: &UpdateAuthEventFeedbackInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateAuthEventFeedbackInput
Auto Trait Implementations§
impl Freeze for UpdateAuthEventFeedbackInput
impl RefUnwindSafe for UpdateAuthEventFeedbackInput
impl Send for UpdateAuthEventFeedbackInput
impl Sync for UpdateAuthEventFeedbackInput
impl Unpin for UpdateAuthEventFeedbackInput
impl UnwindSafe for UpdateAuthEventFeedbackInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more