pub enum DescribeDocumentVersionsError {
EntityNotExists(String),
FailedDependency(String),
InvalidArgument(String),
ProhibitedState(String),
ServiceUnavailable(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by DescribeDocumentVersions
Variants§
EntityNotExists(String)
The resource does not exist.
FailedDependency(String)
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.
InvalidArgument(String)
The pagination marker or limit fields are not valid.
ProhibitedState(String)
The specified document version is not in the INITIALIZED state.
One or more of the dependencies is unavailable.
The operation is not permitted.
The caller does not have access to perform the action on the resource.
Implementations§
Trait Implementations§
Source§impl Error for DescribeDocumentVersionsError
impl Error for DescribeDocumentVersionsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for DescribeDocumentVersionsError
impl PartialEq for DescribeDocumentVersionsError
Source§fn eq(&self, other: &DescribeDocumentVersionsError) -> bool
fn eq(&self, other: &DescribeDocumentVersionsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DescribeDocumentVersionsError
Auto Trait Implementations§
impl Freeze for DescribeDocumentVersionsError
impl RefUnwindSafe for DescribeDocumentVersionsError
impl Send for DescribeDocumentVersionsError
impl Sync for DescribeDocumentVersionsError
impl Unpin for DescribeDocumentVersionsError
impl UnwindSafe for DescribeDocumentVersionsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more