Struct aws_sdk_cognitoidentityprovider::operation::admin_respond_to_auth_challenge::builders::AdminRespondToAuthChallengeOutputBuilder
source · #[non_exhaustive]pub struct AdminRespondToAuthChallengeOutputBuilder { /* private fields */ }
Expand description
A builder for AdminRespondToAuthChallengeOutput
.
Implementations§
source§impl AdminRespondToAuthChallengeOutputBuilder
impl AdminRespondToAuthChallengeOutputBuilder
sourcepub fn challenge_name(self, input: ChallengeNameType) -> Self
pub fn challenge_name(self, input: ChallengeNameType) -> Self
The name of the challenge. For more information, see AdminInitiateAuth.
sourcepub fn set_challenge_name(self, input: Option<ChallengeNameType>) -> Self
pub fn set_challenge_name(self, input: Option<ChallengeNameType>) -> Self
The name of the challenge. For more information, see AdminInitiateAuth.
sourcepub fn get_challenge_name(&self) -> &Option<ChallengeNameType>
pub fn get_challenge_name(&self) -> &Option<ChallengeNameType>
The name of the challenge. For more information, see AdminInitiateAuth.
sourcepub fn session(self, input: impl Into<String>) -> Self
pub fn session(self, input: impl Into<String>) -> Self
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 set_session(self, input: Option<String>) -> Self
pub fn set_session(self, input: Option<String>) -> Self
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 get_session(&self) -> &Option<String>
pub fn get_session(&self) -> &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.
sourcepub fn challenge_parameters(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn challenge_parameters( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to challenge_parameters
.
To override the contents of this collection use set_challenge_parameters
.
The challenge parameters. For more information, see AdminInitiateAuth.
sourcepub fn set_challenge_parameters(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_challenge_parameters( self, input: Option<HashMap<String, String>>, ) -> Self
The challenge parameters. For more information, see AdminInitiateAuth.
sourcepub fn get_challenge_parameters(&self) -> &Option<HashMap<String, String>>
pub fn get_challenge_parameters(&self) -> &Option<HashMap<String, String>>
The challenge parameters. For more information, see AdminInitiateAuth.
sourcepub fn authentication_result(self, input: AuthenticationResultType) -> Self
pub fn authentication_result(self, input: AuthenticationResultType) -> Self
The result returned by the server in response to the authentication request.
sourcepub fn set_authentication_result(
self,
input: Option<AuthenticationResultType>,
) -> Self
pub fn set_authentication_result( self, input: Option<AuthenticationResultType>, ) -> Self
The result returned by the server in response to the authentication request.
sourcepub fn get_authentication_result(&self) -> &Option<AuthenticationResultType>
pub fn get_authentication_result(&self) -> &Option<AuthenticationResultType>
The result returned by the server in response to the authentication request.
sourcepub fn build(self) -> AdminRespondToAuthChallengeOutput
pub fn build(self) -> AdminRespondToAuthChallengeOutput
Consumes the builder and constructs a AdminRespondToAuthChallengeOutput
.
Trait Implementations§
source§impl Clone for AdminRespondToAuthChallengeOutputBuilder
impl Clone for AdminRespondToAuthChallengeOutputBuilder
source§fn clone(&self) -> AdminRespondToAuthChallengeOutputBuilder
fn clone(&self) -> AdminRespondToAuthChallengeOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AdminRespondToAuthChallengeOutputBuilder
impl Default for AdminRespondToAuthChallengeOutputBuilder
source§fn default() -> AdminRespondToAuthChallengeOutputBuilder
fn default() -> AdminRespondToAuthChallengeOutputBuilder
source§impl PartialEq for AdminRespondToAuthChallengeOutputBuilder
impl PartialEq for AdminRespondToAuthChallengeOutputBuilder
source§fn eq(&self, other: &AdminRespondToAuthChallengeOutputBuilder) -> bool
fn eq(&self, other: &AdminRespondToAuthChallengeOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AdminRespondToAuthChallengeOutputBuilder
Auto Trait Implementations§
impl Freeze for AdminRespondToAuthChallengeOutputBuilder
impl RefUnwindSafe for AdminRespondToAuthChallengeOutputBuilder
impl Send for AdminRespondToAuthChallengeOutputBuilder
impl Sync for AdminRespondToAuthChallengeOutputBuilder
impl Unpin for AdminRespondToAuthChallengeOutputBuilder
impl UnwindSafe for AdminRespondToAuthChallengeOutputBuilder
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