1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetAssistant`](crate::operation::get_assistant::builders::GetAssistantFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`assistant_id(impl Into<String>)`](crate::operation::get_assistant::builders::GetAssistantFluentBuilder::assistant_id) / [`set_assistant_id(Option<String>)`](crate::operation::get_assistant::builders::GetAssistantFluentBuilder::set_assistant_id):<br>required: **true**<br><p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
    /// - On success, responds with [`GetAssistantOutput`](crate::operation::get_assistant::GetAssistantOutput) with field(s):
    ///   - [`assistant(Option<AssistantData>)`](crate::operation::get_assistant::GetAssistantOutput::assistant): <p>Information about the assistant.</p>
    /// - On failure, responds with [`SdkError<GetAssistantError>`](crate::operation::get_assistant::GetAssistantError)
    pub fn get_assistant(&self) -> crate::operation::get_assistant::builders::GetAssistantFluentBuilder {
        crate::operation::get_assistant::builders::GetAssistantFluentBuilder::new(self.handle.clone())
    }
}