#[non_exhaustive]
pub enum GetResourcesErrorKind {
FailedDependencyException(FailedDependencyException),
InvalidArgumentException(InvalidArgumentException),
ServiceUnavailableException(ServiceUnavailableException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the GetResources
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
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.
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.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.