Enum aws_sdk_workdocs::error::InitiateDocumentVersionUploadErrorKind [−][src]
#[non_exhaustive]
pub enum InitiateDocumentVersionUploadErrorKind {
DraftUploadOutOfSyncException(DraftUploadOutOfSyncException),
EntityAlreadyExistsException(EntityAlreadyExistsException),
EntityNotExistsException(EntityNotExistsException),
FailedDependencyException(FailedDependencyException),
ProhibitedStateException(ProhibitedStateException),
ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException),
ServiceUnavailableException(ServiceUnavailableException),
StorageLimitExceededException(StorageLimitExceededException),
StorageLimitWillExceedException(StorageLimitWillExceedException),
UnauthorizedOperationException(UnauthorizedOperationException),
UnauthorizedResourceAccessException(UnauthorizedResourceAccessException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the InitiateDocumentVersionUpload
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
DraftUploadOutOfSyncException(DraftUploadOutOfSyncException)
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.
Tuple Fields of DraftUploadOutOfSyncException
EntityAlreadyExistsException(EntityAlreadyExistsException)
The resource already exists.
Tuple Fields of EntityAlreadyExistsException
EntityNotExistsException(EntityNotExistsException)
The resource does not exist.
Tuple Fields of EntityNotExistsException
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.
Tuple Fields of FailedDependencyException
ProhibitedStateException(ProhibitedStateException)
The specified document version is not in the INITIALIZED state.
Tuple Fields of ProhibitedStateException
ResourceAlreadyCheckedOutException(ResourceAlreadyCheckedOutException)
The resource is already checked out.
Tuple Fields of ResourceAlreadyCheckedOutException
One or more of the dependencies is unavailable.
StorageLimitExceededException(StorageLimitExceededException)
The storage limit has been exceeded.
Tuple Fields of StorageLimitExceededException
StorageLimitWillExceedException(StorageLimitWillExceedException)
The storage limit will be exceeded.
Tuple Fields of StorageLimitWillExceedException
The operation is not permitted.
Tuple Fields of UnauthorizedOperationException
The caller does not have access to perform the action on the resource.
Tuple Fields of UnauthorizedResourceAccessException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more