1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateThesaurus`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the thesaurus you want to update.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_name):<br>required: **false**<br><p>A new name for the thesaurus.</p><br>
    ///   - [`index_id(impl Into<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index for the thesaurus.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_description):<br>required: **false**<br><p>A new description for the thesaurus.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_role_arn):<br>required: **false**<br><p>An IAM role that gives Amazon Kendra permissions to access thesaurus file specified in <code>SourceS3Path</code>.</p><br>
    ///   - [`source_s3_path(S3Path)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::source_s3_path) / [`set_source_s3_path(Option<S3Path>)`](crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::set_source_s3_path):<br>required: **false**<br><p>Information required to find a specific file in an Amazon S3 bucket.</p><br>
    /// - On success, responds with [`UpdateThesaurusOutput`](crate::operation::update_thesaurus::UpdateThesaurusOutput)
    /// - On failure, responds with [`SdkError<UpdateThesaurusError>`](crate::operation::update_thesaurus::UpdateThesaurusError)
    pub fn update_thesaurus(&self) -> crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder {
        crate::operation::update_thesaurus::builders::UpdateThesaurusFluentBuilder::new(self.handle.clone())
    }
}