AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Creates a new document object and version object.
The client specifies the parent folder ID and name of the document to upload. The ID is optionally specified when creating a new version of an existing document. This is the first step to upload a document. Next, upload the document to the URL returned from the call, and then call UpdateDocumentVersion.
To cancel the document upload, call AbortDocumentVersionUpload.
For .NET Core and PCL this operation is only available in asynchronous form. Please refer to InitiateDocumentVersionUploadAsync.
public virtual InitiateDocumentVersionUploadResponse InitiateDocumentVersionUpload( InitiateDocumentVersionUploadRequest request )
Container for the necessary parameters to execute the InitiateDocumentVersionUpload service method.
|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.|
|EntityAlreadyExistsException||The resource already exists.|
|EntityNotExistsException||The resource does not exist.|
|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.|
|ProhibitedStateException||The specified document version is not in the INITIALIZED state.|
|ResourceAlreadyCheckedOutException||The resource is already checked out.|
|ServiceUnavailableException||One or more of the dependencies is unavailable.|
|StorageLimitExceededException||The storage limit has been exceeded.|
|StorageLimitWillExceedException||The storage limit will be exceeded.|
|UnauthorizedOperationException||The operation is not permitted.|
|UnauthorizedResourceAccessException||The caller does not have access to perform the action on the resource.|
Supported in: 4.5, 4.0, 3.5
Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms