Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Changes the status of the document version to ACTIVE.
Amazon WorkDocs also sets its document container to ACTIVE. This is the last step in a document upload, after the client uploads the document to an S3-presigned URL returned by InitiateDocumentVersionUpload
.
- updateDocumentVersion :: Text -> Text -> UpdateDocumentVersion
- data UpdateDocumentVersion
- udvAuthenticationToken :: Lens' UpdateDocumentVersion (Maybe Text)
- udvVersionStatus :: Lens' UpdateDocumentVersion (Maybe DocumentVersionStatus)
- udvDocumentId :: Lens' UpdateDocumentVersion Text
- udvVersionId :: Lens' UpdateDocumentVersion Text
- updateDocumentVersionResponse :: UpdateDocumentVersionResponse
- data UpdateDocumentVersionResponse
Creating a Request
updateDocumentVersion Source #
Creates a value of UpdateDocumentVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udvAuthenticationToken
- Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.udvVersionStatus
- The status of the version.udvDocumentId
- The ID of the document.udvVersionId
- The version ID of the document.
data UpdateDocumentVersion Source #
See: updateDocumentVersion
smart constructor.
Request Lenses
udvAuthenticationToken :: Lens' UpdateDocumentVersion (Maybe Text) Source #
Amazon WorkDocs authentication token. This field should not be set when using administrative API actions, as in accessing the API using AWS credentials.
udvVersionStatus :: Lens' UpdateDocumentVersion (Maybe DocumentVersionStatus) Source #
The status of the version.
udvDocumentId :: Lens' UpdateDocumentVersion Text Source #
The ID of the document.
udvVersionId :: Lens' UpdateDocumentVersion Text Source #
The version ID of the document.
Destructuring the Response
updateDocumentVersionResponse :: UpdateDocumentVersionResponse Source #
Creates a value of UpdateDocumentVersionResponse
with the minimum fields required to make a request.
data UpdateDocumentVersionResponse Source #
See: updateDocumentVersionResponse
smart constructor.