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 [`ListRetrievers`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the Amazon Q Business application using the retriever.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::set_next_token):<br>required: **false**<br><p>If the number of retrievers returned exceeds <code>maxResults</code>, Amazon Q Business returns a next token as a pagination token to retrieve the next set of retrievers.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of retrievers returned.</p><br>
    /// - On success, responds with [`ListRetrieversOutput`](crate::operation::list_retrievers::ListRetrieversOutput) with field(s):
    ///   - [`retrievers(Option<Vec::<Retriever>>)`](crate::operation::list_retrievers::ListRetrieversOutput::retrievers): <p>An array of summary information for one or more retrievers.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_retrievers::ListRetrieversOutput::next_token): <p>If the response is truncated, Amazon Q Business returns this token, which you can use in a later request to list the next set of retrievers.</p>
    /// - On failure, responds with [`SdkError<ListRetrieversError>`](crate::operation::list_retrievers::ListRetrieversError)
    pub fn list_retrievers(&self) -> crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder {
        crate::operation::list_retrievers::builders::ListRetrieversFluentBuilder::new(self.handle.clone())
    }
}