aws_sdk_qconnect/client/list_content_associations.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`ListContentAssociations`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - On success, responds with [`ListContentAssociationsOutput`](crate::operation::list_content_associations::ListContentAssociationsOutput) with field(s):
12 /// - [`content_association_summaries(Vec::<ContentAssociationSummary>)`](crate::operation::list_content_associations::ListContentAssociationsOutput::content_association_summaries): <p>Summary information about content associations.</p>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<ListContentAssociationsError>`](crate::operation::list_content_associations::ListContentAssociationsError)
15 pub fn list_content_associations(&self) -> crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder {
16 crate::operation::list_content_associations::builders::ListContentAssociationsFluentBuilder::new(self.handle.clone())
17 }
18}