pub enum CreateFolderError {
ConflictingOperation(String),
EntityAlreadyExists(String),
EntityNotExists(String),
FailedDependency(String),
LimitExceeded(String),
ProhibitedState(String),
ServiceUnavailable(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by CreateFolder
Variants§
ConflictingOperation(String)
Another operation is in progress on the resource that conflicts with the current operation.
EntityAlreadyExists(String)
The resource already exists.
EntityNotExists(String)
The resource does not exist.
FailedDependency(String)
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.
LimitExceeded(String)
The maximum of 100,000 folders under the parent folder has been exceeded.
ProhibitedState(String)
The specified document version is not in the INITIALIZED state.
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.
Implementations§
Source§impl CreateFolderError
impl CreateFolderError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateFolderError>
Trait Implementations§
Source§impl Debug for CreateFolderError
impl Debug for CreateFolderError
Source§impl Display for CreateFolderError
impl Display for CreateFolderError
Source§impl Error for CreateFolderError
impl Error for CreateFolderError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CreateFolderError
impl PartialEq for CreateFolderError
impl StructuralPartialEq for CreateFolderError
Auto Trait Implementations§
impl Freeze for CreateFolderError
impl RefUnwindSafe for CreateFolderError
impl Send for CreateFolderError
impl Sync for CreateFolderError
impl Unpin for CreateFolderError
impl UnwindSafe for CreateFolderError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more