#[non_exhaustive]
pub enum CreateLabelsErrorKind {
EntityNotExistsException(EntityNotExistsException),
FailedDependencyException(FailedDependencyException),
ServiceUnavailableException(ServiceUnavailableException),
TooManyLabelsException(TooManyLabelsException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateLabels
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.
ServiceUnavailableException(ServiceUnavailableException)
One or more of the dependencies is unavailable.
TooManyLabelsException(TooManyLabelsException)
The limit has been reached on the number of labels for the specified resource.
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 CreateLabelsErrorKind
impl Send for CreateLabelsErrorKind
impl Sync for CreateLabelsErrorKind
impl Unpin for CreateLabelsErrorKind
impl !UnwindSafe for CreateLabelsErrorKind
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