| 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 |
Amazonka.WorkDocs.RestoreDocumentVersions
Description
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.
Constructors
| RestoreDocumentVersions' | |
Fields
| |
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.
Constructors
| RestoreDocumentVersionsResponse' | |
Instances
| Generic RestoreDocumentVersionsResponse Source # | |
Defined in Amazonka.WorkDocs.RestoreDocumentVersions Associated Types type Rep RestoreDocumentVersionsResponse :: Type -> Type # | |
| Read RestoreDocumentVersionsResponse Source # | |
| Show RestoreDocumentVersionsResponse Source # | |
Defined in Amazonka.WorkDocs.RestoreDocumentVersions Methods showsPrec :: Int -> RestoreDocumentVersionsResponse -> ShowS # | |
| NFData RestoreDocumentVersionsResponse Source # | |
Defined in Amazonka.WorkDocs.RestoreDocumentVersions Methods rnf :: RestoreDocumentVersionsResponse -> () # | |
| Eq RestoreDocumentVersionsResponse Source # | |
| type Rep RestoreDocumentVersionsResponse Source # | |
Defined in Amazonka.WorkDocs.RestoreDocumentVersions | |
newRestoreDocumentVersionsResponse :: RestoreDocumentVersionsResponse Source #
Create a value of RestoreDocumentVersionsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.