#[non_exhaustive]
pub enum UpdateDocumentVersionErrorKind {
ConcurrentModificationException(ConcurrentModificationException),
EntityNotExistsException(EntityNotExistsException),
FailedDependencyException(FailedDependencyException),
InvalidOperationException(InvalidOperationException),
ProhibitedStateException(ProhibitedStateException),
ServiceUnavailableException(ServiceUnavailableException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the UpdateDocumentVersion
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConcurrentModificationException(ConcurrentModificationException)
The resource hierarchy is changing.
EntityNotExistsException(EntityNotExistsException)
The resource does not exist.
FailedDependencyException(FailedDependencyException)
The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the organization is failing, such as a connected Active Directory.
InvalidOperationException(InvalidOperationException)
The operation is invalid.
ProhibitedStateException(ProhibitedStateException)
The specified document version is not in the INITIALIZED state.
ServiceUnavailableException(ServiceUnavailableException)
One or more of the dependencies is unavailable.
UnauthorizedOperationException(UnauthorizedOperationException)
The operation is not permitted.
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException)
The caller does not have access to perform the action on the resource.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UpdateDocumentVersionErrorKind
impl Send for UpdateDocumentVersionErrorKind
impl Sync for UpdateDocumentVersionErrorKind
impl Unpin for UpdateDocumentVersionErrorKind
impl !UnwindSafe for UpdateDocumentVersionErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more