#[non_exhaustive]
pub enum PutUserPermissionsBoundaryErrorKind {
InvalidInputException(InvalidInputException),
NoSuchEntityException(NoSuchEntityException),
PolicyNotAttachableException(PolicyNotAttachableException),
ServiceFailureException(ServiceFailureException),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the PutUserPermissionsBoundary operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidInputException(InvalidInputException)
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
NoSuchEntityException(NoSuchEntityException)
The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.
PolicyNotAttachableException(PolicyNotAttachableException)
The request failed because Amazon Web Services service role policies can only be attached to the service-linked role for that service.
ServiceFailureException(ServiceFailureException)
The request processing has failed because of an unknown error, exception or failure.
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.