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.