Struct aws_sdk_cognitoidentityprovider::error::RespondToAuthChallengeError [−][src]
#[non_exhaustive]pub struct RespondToAuthChallengeError {
pub kind: RespondToAuthChallengeErrorKind,
// some fields omitted
}
Expand description
Error type for the RespondToAuthChallenge
operation.
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.kind: RespondToAuthChallengeErrorKind
Kind of error that occurred.
Implementations
Creates a new RespondToAuthChallengeError
.
Creates the RespondToAuthChallengeError::Unhandled
variant from any error type.
Creates the RespondToAuthChallengeError::Unhandled
variant from a aws_smithy_types::Error
.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::AliasExistsException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::CodeMismatchException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::ExpiredCodeException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InternalErrorException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidLambdaResponseException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidParameterException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidPasswordException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidSmsRoleAccessPolicyException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidSmsRoleTrustRelationshipException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::InvalidUserPoolConfigurationException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::MfaMethodNotFoundException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::NotAuthorizedException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::PasswordResetRequiredException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::SoftwareTokenMfaNotFoundException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::TooManyRequestsException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::UnexpectedLambdaException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::UserLambdaValidationException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::UserNotConfirmedException
.
Returns true
if the error kind is RespondToAuthChallengeErrorKind::UserNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for RespondToAuthChallengeError
impl Send for RespondToAuthChallengeError
impl Sync for RespondToAuthChallengeError
impl Unpin for RespondToAuthChallengeError
impl !UnwindSafe for RespondToAuthChallengeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more