pub enum InitiateDocumentVersionUploadError {
DraftUploadOutOfSync(String),
EntityAlreadyExists(String),
EntityNotExists(String),
FailedDependency(String),
ProhibitedState(String),
ResourceAlreadyCheckedOut(String),
ServiceUnavailable(String),
StorageLimitExceeded(String),
StorageLimitWillExceed(String),
UnauthorizedOperation(String),
UnauthorizedResourceAccess(String),
}
Expand description
Errors returned by InitiateDocumentVersionUpload
Variants§
DraftUploadOutOfSync(String)
This exception is thrown when a valid checkout ID is not presented on document version upload calls for a document that has been checked out from Web client.
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.
ProhibitedState(String)
The specified document version is not in the INITIALIZED state.
ResourceAlreadyCheckedOut(String)
The resource is already checked out.
One or more of the dependencies is unavailable.
StorageLimitExceeded(String)
The storage limit has been exceeded.
StorageLimitWillExceed(String)
The storage limit will be exceeded.
The operation is not permitted.
The caller does not have access to perform the action on the resource.
Implementations§
Trait Implementations§
Source§impl Error for InitiateDocumentVersionUploadError
impl Error for InitiateDocumentVersionUploadError
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 InitiateDocumentVersionUploadError
impl PartialEq for InitiateDocumentVersionUploadError
Source§fn eq(&self, other: &InitiateDocumentVersionUploadError) -> bool
fn eq(&self, other: &InitiateDocumentVersionUploadError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InitiateDocumentVersionUploadError
Auto Trait Implementations§
impl Freeze for InitiateDocumentVersionUploadError
impl RefUnwindSafe for InitiateDocumentVersionUploadError
impl Send for InitiateDocumentVersionUploadError
impl Sync for InitiateDocumentVersionUploadError
impl Unpin for InitiateDocumentVersionUploadError
impl UnwindSafe for InitiateDocumentVersionUploadError
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