Struct aws_sdk_workmail::error::ResetPasswordError
source ·
[−]#[non_exhaustive]pub struct ResetPasswordError {
pub kind: ResetPasswordErrorKind,
// some fields omitted
}Expand description
Error type for the ResetPassword 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: ResetPasswordErrorKindKind of error that occurred.
Implementations
Creates a new ResetPasswordError.
Creates the ResetPasswordError::Unhandled variant from any error type.
Creates the ResetPasswordError::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 ResetPasswordErrorKind::DirectoryServiceAuthenticationFailedException.
Returns true if the error kind is ResetPasswordErrorKind::DirectoryUnavailableException.
Returns true if the error kind is ResetPasswordErrorKind::EntityNotFoundException.
Returns true if the error kind is ResetPasswordErrorKind::EntityStateException.
Returns true if the error kind is ResetPasswordErrorKind::InvalidParameterException.
Returns true if the error kind is ResetPasswordErrorKind::InvalidPasswordException.
Returns true if the error kind is ResetPasswordErrorKind::OrganizationNotFoundException.
Returns true if the error kind is ResetPasswordErrorKind::OrganizationStateException.
Returns true if the error kind is ResetPasswordErrorKind::UnsupportedOperationException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ResetPasswordError
impl Send for ResetPasswordError
impl Sync for ResetPasswordError
impl Unpin for ResetPasswordError
impl !UnwindSafe for ResetPasswordError
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
