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