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