aws_sdk_qconnect/client/
update_knowledge_base_template_uri.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateKnowledgeBaseTemplateUri`](crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
7    ///   - [`template_uri(impl Into<String>)`](crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder::template_uri) / [`set_template_uri(Option<String>)`](crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder::set_template_uri):<br>required: **true**<br><p>The template URI to update.</p><br>
8    /// - On success, responds with [`UpdateKnowledgeBaseTemplateUriOutput`](crate::operation::update_knowledge_base_template_uri::UpdateKnowledgeBaseTemplateUriOutput) with field(s):
9    ///   - [`knowledge_base(Option<KnowledgeBaseData>)`](crate::operation::update_knowledge_base_template_uri::UpdateKnowledgeBaseTemplateUriOutput::knowledge_base): <p>The knowledge base to update.</p>
10    /// - On failure, responds with [`SdkError<UpdateKnowledgeBaseTemplateUriError>`](crate::operation::update_knowledge_base_template_uri::UpdateKnowledgeBaseTemplateUriError)
11    pub fn update_knowledge_base_template_uri(
12        &self,
13    ) -> crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder {
14        crate::operation::update_knowledge_base_template_uri::builders::UpdateKnowledgeBaseTemplateUriFluentBuilder::new(self.handle.clone())
15    }
16}