aws_sdk_wisdom/client/search_content.rs
// 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):<br>required: **false**<br><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><br>
/// - [`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):<br>required: **false**<br><p>The maximum number of results to return per page.</p><br>
/// - [`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):<br>required: **true**<br><p>The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base if you're storing Wisdom Content resource to it. Can be either the ID or the ARN. URLs cannot contain the ARN.</p><br>
/// - [`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):<br>required: **true**<br><p>The search expression to filter results.</p><br>
/// - On success, responds with [`SearchContentOutput`](crate::operation::search_content::SearchContentOutput) with field(s):
/// - [`content_summaries(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())
}
}