aws_sdk_workdocs/client/
abort_document_version_upload.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AbortDocumentVersionUpload`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`authentication_token(impl Into<String>)`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::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::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::document_id) / [`set_document_id(Option<String>)`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::set_document_id):<br>required: **true**<br><p>The ID of the document.</p><br>
    ///   - [`version_id(impl Into<String>)`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::version_id) / [`set_version_id(Option<String>)`](crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::set_version_id):<br>required: **true**<br><p>The ID of the version.</p><br>
    /// - On success, responds with [`AbortDocumentVersionUploadOutput`](crate::operation::abort_document_version_upload::AbortDocumentVersionUploadOutput)
    /// - On failure, responds with [`SdkError<AbortDocumentVersionUploadError>`](crate::operation::abort_document_version_upload::AbortDocumentVersionUploadError)
    pub fn abort_document_version_upload(
        &self,
    ) -> crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder {
        crate::operation::abort_document_version_upload::builders::AbortDocumentVersionUploadFluentBuilder::new(self.handle.clone())
    }
}