1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListContentAssociations`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::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::list_content_associations::builders::ListContentAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::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::list_content_associations::builders::ListContentAssociationsFluentBuilder::knowledge_base_id) / [`set_knowledge_base_id(Option<String>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::set_knowledge_base_id):<br>required: **true**<br><p>The identifier of the knowledge base.</p><br>
    ///   - [`content_id(impl Into<String>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::content_id) / [`set_content_id(Option<String>)`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::set_content_id):<br>required: **true**<br><p>The identifier of the content.</p><br>
    /// - On success, responds with [`ListContentAssociationsOutput`](crate::operation::list_content_associations::ListContentAssociationsOutput) with field(s):
    ///   - [`content_association_summaries(Vec::<ContentAssociationSummary>)`](crate::operation::list_content_associations::ListContentAssociationsOutput::content_association_summaries): <p>Summary information about content associations.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_content_associations::ListContentAssociationsOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListContentAssociationsError>`](crate::operation::list_content_associations::ListContentAssociationsError)
    pub fn list_content_associations(&self) -> crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder {
        crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::new(self.handle.clone())
    }
}