aws_sdk_workdocs/client/initiate_document_version_upload.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`InitiateDocumentVersionUpload`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`authentication_token(impl Into<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::authentication_token) / [`set_authentication_token(Option<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::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>
/// - [`id(impl Into<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_id):<br>required: **false**<br><p>The ID of the document.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_name):<br>required: **false**<br><p>The name of the document.</p><br>
/// - [`content_created_timestamp(DateTime)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::content_created_timestamp) / [`set_content_created_timestamp(Option<DateTime>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_content_created_timestamp):<br>required: **false**<br><p>The timestamp when the content of the document was originally created.</p><br>
/// - [`content_modified_timestamp(DateTime)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::content_modified_timestamp) / [`set_content_modified_timestamp(Option<DateTime>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_content_modified_timestamp):<br>required: **false**<br><p>The timestamp when the content of the document was modified.</p><br>
/// - [`content_type(impl Into<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::content_type) / [`set_content_type(Option<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_content_type):<br>required: **false**<br><p>The content type of the document.</p><br>
/// - [`document_size_in_bytes(i64)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::document_size_in_bytes) / [`set_document_size_in_bytes(Option<i64>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_document_size_in_bytes):<br>required: **false**<br><p>The size of the document, in bytes.</p><br>
/// - [`parent_folder_id(impl Into<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::parent_folder_id) / [`set_parent_folder_id(Option<String>)`](crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::set_parent_folder_id):<br>required: **false**<br><p>The ID of the parent folder.</p><br>
/// - On success, responds with [`InitiateDocumentVersionUploadOutput`](crate::operation::initiate_document_version_upload::InitiateDocumentVersionUploadOutput) with field(s):
/// - [`metadata(Option<DocumentMetadata>)`](crate::operation::initiate_document_version_upload::InitiateDocumentVersionUploadOutput::metadata): <p>The document metadata.</p>
/// - [`upload_metadata(Option<UploadMetadata>)`](crate::operation::initiate_document_version_upload::InitiateDocumentVersionUploadOutput::upload_metadata): <p>The upload metadata.</p>
/// - On failure, responds with [`SdkError<InitiateDocumentVersionUploadError>`](crate::operation::initiate_document_version_upload::InitiateDocumentVersionUploadError)
pub fn initiate_document_version_upload(
&self,
) -> crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder {
crate::operation::initiate_document_version_upload::builders::InitiateDocumentVersionUploadFluentBuilder::new(self.handle.clone())
}
}