#[non_exhaustive]
pub enum DescribeUsersErrorKind {
EntityNotExistsException(EntityNotExistsException),
FailedDependencyException(FailedDependencyException),
InvalidArgumentException(InvalidArgumentException),
RequestedEntityTooLargeException(RequestedEntityTooLargeException),
ServiceUnavailableException(ServiceUnavailableException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the DescribeUsers
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.
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.
InvalidArgumentException(InvalidArgumentException)
The pagination marker or limit fields are not valid.
RequestedEntityTooLargeException(RequestedEntityTooLargeException)
The response is too large to return. The request must include a filter to reduce the size of the response.
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 DescribeUsersErrorKind
impl Send for DescribeUsersErrorKind
impl Sync for DescribeUsersErrorKind
impl Unpin for DescribeUsersErrorKind
impl !UnwindSafe for DescribeUsersErrorKind
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