aws_sdk_workdocs/client/
restore_document_versions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RestoreDocumentVersions`](crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder::set_authentication_token):<br>required: **false**<br><p>Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.</p><br>
    ///   - [`document_id(impl Into<String>)`](crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder::set_document_id):<br>required: **true**<br><p>The ID of the document.</p><br>
    /// - On success, responds with [`RestoreDocumentVersionsOutput`](crate::operation::restore_document_versions::RestoreDocumentVersionsOutput)
    /// - On failure, responds with [`SdkError<RestoreDocumentVersionsError>`](crate::operation::restore_document_versions::RestoreDocumentVersionsError)
    pub fn restore_document_versions(&self) -> crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder {
        crate::operation::restore_document_versions::builders::RestoreDocumentVersionsFluentBuilder::new(self.handle.clone())
    }
}