aws_sdk_workdocs/client/update_document_version.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateDocumentVersion`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::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::update_document_version::builders::UpdateDocumentVersionFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::set_document_id):<br>required: **true**<br><p>The ID of the document.</p><br>
/// - [`version_id(impl Into<String>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::set_version_id):<br>required: **true**<br><p>The version ID of the document.</p><br>
/// - [`version_status(DocumentVersionStatus)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::version_status) / [`set_version_status(Option<DocumentVersionStatus>)`](crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::set_version_status):<br>required: **false**<br><p>The status of the version.</p><br>
/// - On success, responds with [`UpdateDocumentVersionOutput`](crate::operation::update_document_version::UpdateDocumentVersionOutput)
/// - On failure, responds with [`SdkError<UpdateDocumentVersionError>`](crate::operation::update_document_version::UpdateDocumentVersionError)
pub fn update_document_version(&self) -> crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder {
crate::operation::update_document_version::builders::UpdateDocumentVersionFluentBuilder::new(self.handle.clone())
}
}