Struct aws_sdk_cognitoidentityprovider::error::ForgotPasswordError [−][src]
#[non_exhaustive]pub struct ForgotPasswordError {
pub kind: ForgotPasswordErrorKind,
// some fields omitted
}
Expand description
Error type for the ForgotPassword
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: ForgotPasswordErrorKind
Kind of error that occurred.
Implementations
Creates a new ForgotPasswordError
.
Creates the ForgotPasswordError::Unhandled
variant from any error type.
Creates the ForgotPasswordError::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 ForgotPasswordErrorKind::CodeDeliveryFailureException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InternalErrorException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InvalidEmailRoleAccessPolicyException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InvalidLambdaResponseException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InvalidParameterException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InvalidSmsRoleAccessPolicyException
.
Returns true
if the error kind is ForgotPasswordErrorKind::InvalidSmsRoleTrustRelationshipException
.
Returns true
if the error kind is ForgotPasswordErrorKind::LimitExceededException
.
Returns true
if the error kind is ForgotPasswordErrorKind::NotAuthorizedException
.
Returns true
if the error kind is ForgotPasswordErrorKind::ResourceNotFoundException
.
Returns true
if the error kind is ForgotPasswordErrorKind::TooManyRequestsException
.
Returns true
if the error kind is ForgotPasswordErrorKind::UnexpectedLambdaException
.
Returns true
if the error kind is ForgotPasswordErrorKind::UserLambdaValidationException
.
Returns true
if the error kind is ForgotPasswordErrorKind::UserNotConfirmedException
.
Returns true
if the error kind is ForgotPasswordErrorKind::UserNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ForgotPasswordError
impl Send for ForgotPasswordError
impl Sync for ForgotPasswordError
impl Unpin for ForgotPasswordError
impl !UnwindSafe for ForgotPasswordError
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