1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAgentKnowledgeBase`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_id(impl Into<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent with which the knowledge base is associated.</p><br>
    ///   - [`agent_version(impl Into<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::set_agent_version):<br>required: **true**<br><p>The version of the agent with which the knowledge base is associated.</p><br>
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The unique identifier of the knowledge base associated with the agent.</p><br>
    /// - On success, responds with [`GetAgentKnowledgeBaseOutput`](crate::operation::get_agent_knowledge_base::GetAgentKnowledgeBaseOutput) with field(s):
    ///   - [`agent_knowledge_base(Option<AgentKnowledgeBase>)`](crate::operation::get_agent_knowledge_base::GetAgentKnowledgeBaseOutput::agent_knowledge_base): <p>Contains details about a knowledge base attached to an agent.</p>
    /// - On failure, responds with [`SdkError<GetAgentKnowledgeBaseError>`](crate::operation::get_agent_knowledge_base::GetAgentKnowledgeBaseError)
    pub fn get_agent_knowledge_base(&self) -> crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder {
        crate::operation::get_agent_knowledge_base::builders::GetAgentKnowledgeBaseFluentBuilder::new(self.handle.clone())
    }
}