Struct aws_sdk_cognitoidentityprovider::operation::admin_respond_to_auth_challenge::AdminRespondToAuthChallengeOutput
source · #[non_exhaustive]pub struct AdminRespondToAuthChallengeOutput {
pub challenge_name: Option<ChallengeNameType>,
pub session: Option<String>,
pub challenge_parameters: Option<HashMap<String, String>>,
pub authentication_result: Option<AuthenticationResultType>,
/* private fields */
}
Expand description
Responds to the authentication challenge, as an administrator.
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.challenge_name: Option<ChallengeNameType>
The name of the challenge. For more information, see AdminInitiateAuth.
session: Option<String>
The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge
API call.
challenge_parameters: Option<HashMap<String, String>>
The challenge parameters. For more information, see AdminInitiateAuth.
authentication_result: Option<AuthenticationResultType>
The result returned by the server in response to the authentication request.
Implementations§
source§impl AdminRespondToAuthChallengeOutput
impl AdminRespondToAuthChallengeOutput
sourcepub fn challenge_name(&self) -> Option<&ChallengeNameType>
pub fn challenge_name(&self) -> Option<&ChallengeNameType>
The name of the challenge. For more information, see AdminInitiateAuth.
sourcepub fn session(&self) -> Option<&str>
pub fn session(&self) -> Option<&str>
The session that should be passed both ways in challenge-response calls to the service. If the caller must pass another challenge, they return a session with other challenge parameters. This session should be passed as it is to the next RespondToAuthChallenge
API call.
sourcepub fn challenge_parameters(&self) -> Option<&HashMap<String, String>>
pub fn challenge_parameters(&self) -> Option<&HashMap<String, String>>
The challenge parameters. For more information, see AdminInitiateAuth.
sourcepub fn authentication_result(&self) -> Option<&AuthenticationResultType>
pub fn authentication_result(&self) -> Option<&AuthenticationResultType>
The result returned by the server in response to the authentication request.
source§impl AdminRespondToAuthChallengeOutput
impl AdminRespondToAuthChallengeOutput
sourcepub fn builder() -> AdminRespondToAuthChallengeOutputBuilder
pub fn builder() -> AdminRespondToAuthChallengeOutputBuilder
Creates a new builder-style object to manufacture AdminRespondToAuthChallengeOutput
.
Trait Implementations§
source§impl Clone for AdminRespondToAuthChallengeOutput
impl Clone for AdminRespondToAuthChallengeOutput
source§fn clone(&self) -> AdminRespondToAuthChallengeOutput
fn clone(&self) -> AdminRespondToAuthChallengeOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AdminRespondToAuthChallengeOutput
impl PartialEq for AdminRespondToAuthChallengeOutput
source§fn eq(&self, other: &AdminRespondToAuthChallengeOutput) -> bool
fn eq(&self, other: &AdminRespondToAuthChallengeOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for AdminRespondToAuthChallengeOutput
impl RequestId for AdminRespondToAuthChallengeOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for AdminRespondToAuthChallengeOutput
Auto Trait Implementations§
impl Freeze for AdminRespondToAuthChallengeOutput
impl RefUnwindSafe for AdminRespondToAuthChallengeOutput
impl Send for AdminRespondToAuthChallengeOutput
impl Sync for AdminRespondToAuthChallengeOutput
impl Unpin for AdminRespondToAuthChallengeOutput
impl UnwindSafe for AdminRespondToAuthChallengeOutput
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