Copyright | (c) 2013-2021 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 |
Aborts the upload of the specified document version that was previously initiated by InitiateDocumentVersionUpload. The client should make this call only when it no longer intends to upload the document version, or fails to do so.
Synopsis
- data AbortDocumentVersionUpload = AbortDocumentVersionUpload' {
- authenticationToken :: Maybe (Sensitive Text)
- documentId :: Text
- versionId :: Text
- newAbortDocumentVersionUpload :: Text -> Text -> AbortDocumentVersionUpload
- abortDocumentVersionUpload_authenticationToken :: Lens' AbortDocumentVersionUpload (Maybe Text)
- abortDocumentVersionUpload_documentId :: Lens' AbortDocumentVersionUpload Text
- abortDocumentVersionUpload_versionId :: Lens' AbortDocumentVersionUpload Text
- data AbortDocumentVersionUploadResponse = AbortDocumentVersionUploadResponse' {
- newAbortDocumentVersionUploadResponse :: AbortDocumentVersionUploadResponse
Creating a Request
data AbortDocumentVersionUpload Source #
See: newAbortDocumentVersionUpload
smart constructor.
AbortDocumentVersionUpload' | |
|
Instances
newAbortDocumentVersionUpload Source #
:: Text | |
-> Text | |
-> AbortDocumentVersionUpload |
Create a value of AbortDocumentVersionUpload
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:authenticationToken:AbortDocumentVersionUpload'
, abortDocumentVersionUpload_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:documentId:AbortDocumentVersionUpload'
, abortDocumentVersionUpload_documentId
- The ID of the document.
$sel:versionId:AbortDocumentVersionUpload'
, abortDocumentVersionUpload_versionId
- The ID of the version.
Request Lenses
abortDocumentVersionUpload_authenticationToken :: Lens' AbortDocumentVersionUpload (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
abortDocumentVersionUpload_documentId :: Lens' AbortDocumentVersionUpload Text Source #
The ID of the document.
abortDocumentVersionUpload_versionId :: Lens' AbortDocumentVersionUpload Text Source #
The ID of the version.
Destructuring the Response
data AbortDocumentVersionUploadResponse Source #
See: newAbortDocumentVersionUploadResponse
smart constructor.
Instances
newAbortDocumentVersionUploadResponse :: AbortDocumentVersionUploadResponse Source #
Create a value of AbortDocumentVersionUploadResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.