#[non_exhaustive]
pub enum PutRolePermissionsBoundaryErrorKind {
InvalidInputException(InvalidInputException),
NoSuchEntityException(NoSuchEntityException),
PolicyNotAttachableException(PolicyNotAttachableException),
ServiceFailureException(ServiceFailureException),
UnmodifiableEntityException(UnmodifiableEntityException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the PutRolePermissionsBoundary 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.
UnmodifiableEntityException(UnmodifiableEntityException)
The request was rejected because only the service that depends on the service-linked role can modify or delete the role on your behalf. The error message includes the name of the service that depends on this service-linked role. You must request the change through that service.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code