Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Recovers a deleted version of an Amazon WorkDocs document.
Synopsis
- data RestoreDocumentVersions = RestoreDocumentVersions' {}
- newRestoreDocumentVersions :: Text -> RestoreDocumentVersions
- restoreDocumentVersions_authenticationToken :: Lens' RestoreDocumentVersions (Maybe Text)
- restoreDocumentVersions_documentId :: Lens' RestoreDocumentVersions Text
- data RestoreDocumentVersionsResponse = RestoreDocumentVersionsResponse' {
- newRestoreDocumentVersionsResponse :: RestoreDocumentVersionsResponse
Creating a Request
data RestoreDocumentVersions Source #
See: newRestoreDocumentVersions
smart constructor.
RestoreDocumentVersions' | |
|
Instances
newRestoreDocumentVersions Source #
Create a value of RestoreDocumentVersions
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:RestoreDocumentVersions'
, restoreDocumentVersions_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:documentId:RestoreDocumentVersions'
, restoreDocumentVersions_documentId
- The ID of the document.
Request Lenses
restoreDocumentVersions_authenticationToken :: Lens' RestoreDocumentVersions (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
restoreDocumentVersions_documentId :: Lens' RestoreDocumentVersions Text Source #
The ID of the document.
Destructuring the Response
data RestoreDocumentVersionsResponse Source #
See: newRestoreDocumentVersionsResponse
smart constructor.
Instances
newRestoreDocumentVersionsResponse :: RestoreDocumentVersionsResponse Source #
Create a value of RestoreDocumentVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.