1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`SearchContent`](crate::operation::search_content::builders::SearchContentFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::search_content::builders::SearchContentFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::set_next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
    ///   - [`max_results(i32)`](crate::operation::search_content::builders::SearchContentFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::set_max_results): <p>The maximum number of results to return per page.</p>
    ///   - [`knowledge_base_id(impl Into<String>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::set_knowledge_base_id): <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
    ///   - [`search_expression(SearchExpression)`](crate::operation::search_content::builders::SearchContentFluentBuilder::search_expression) / [`set_search_expression(Option<SearchExpression>)`](crate::operation::search_content::builders::SearchContentFluentBuilder::set_search_expression): <p>The search expression to filter results.</p>
    /// - On success, responds with [`SearchContentOutput`](crate::operation::search_content::SearchContentOutput) with field(s):
    ///   - [`content_summaries(Option<Vec<ContentSummary>>)`](crate::operation::search_content::SearchContentOutput::content_summaries): <p>Summary information about the content.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::search_content::SearchContentOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
    /// - On failure, responds with [`SdkError<SearchContentError>`](crate::operation::search_content::SearchContentError)
    pub fn search_content(
        &self,
    ) -> crate::operation::search_content::builders::SearchContentFluentBuilder {
        crate::operation::search_content::builders::SearchContentFluentBuilder::new(
            self.handle.clone(),
        )
    }
}