1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRetriever`](crate::operation::get_retriever::builders::GetRetrieverFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::get_retriever::builders::GetRetrieverFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_retriever::builders::GetRetrieverFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business application using the retriever.</p><br>
    ///   - [`retriever_id(impl Into<String>)`](crate::operation::get_retriever::builders::GetRetrieverFluentBuilder::retriever_id) / [`set_retriever_id(Option<String>)`](crate::operation::get_retriever::builders::GetRetrieverFluentBuilder::set_retriever_id):<br>required: **true**<br><p>The identifier of the retriever.</p><br>
    /// - On success, responds with [`GetRetrieverOutput`](crate::operation::get_retriever::GetRetrieverOutput) with field(s):
    ///   - [`application_id(Option<String>)`](crate::operation::get_retriever::GetRetrieverOutput::application_id): <p>The identifier of the Amazon Q Business application using the retriever.</p>
    ///   - [`retriever_id(Option<String>)`](crate::operation::get_retriever::GetRetrieverOutput::retriever_id): <p>The identifier of the retriever.</p>
    ///   - [`retriever_arn(Option<String>)`](crate::operation::get_retriever::GetRetrieverOutput::retriever_arn): <p>The Amazon Resource Name (ARN) of the IAM role associated with the retriever.</p>
    ///   - [`r#type(Option<RetrieverType>)`](crate::operation::get_retriever::GetRetrieverOutput::type): <p>The type of the retriever.</p>
    ///   - [`status(Option<RetrieverStatus>)`](crate::operation::get_retriever::GetRetrieverOutput::status): <p>The status of the retriever.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::get_retriever::GetRetrieverOutput::display_name): <p>The name of the retriever.</p>
    ///   - [`configuration(Option<RetrieverConfiguration>)`](crate::operation::get_retriever::GetRetrieverOutput::configuration): <p>Provides information on how the retriever used for your Amazon Q Business application is configured.</p>
    ///   - [`role_arn(Option<String>)`](crate::operation::get_retriever::GetRetrieverOutput::role_arn): <p>The Amazon Resource Name (ARN) of the role with the permission to access the retriever and required resources.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_retriever::GetRetrieverOutput::created_at): <p>The Unix timestamp when the retriever was created.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::get_retriever::GetRetrieverOutput::updated_at): <p>The Unix timestamp when the retriever was last updated.</p>
    /// - On failure, responds with [`SdkError<GetRetrieverError>`](crate::operation::get_retriever::GetRetrieverError)
    pub fn get_retriever(&self) -> crate::operation::get_retriever::builders::GetRetrieverFluentBuilder {
        crate::operation::get_retriever::builders::GetRetrieverFluentBuilder::new(self.handle.clone())
    }
}