aws_sdk_chatbot/client/list_associations.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListAssociations`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`chat_configuration(impl Into<String>)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::chat_configuration) / [`set_chat_configuration(Option<String>)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::set_chat_configuration):<br>required: **true**<br><p>The channel configuration to list associations for.</p><br>
/// - [`max_results(i32)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_associations::builders::ListAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p><br>
/// - On success, responds with [`ListAssociationsOutput`](crate::operation::list_associations::ListAssociationsOutput) with field(s):
/// - [`associations(Vec::<AssociationListing>)`](crate::operation::list_associations::ListAssociationsOutput::associations): <p>The resources associated with this channel configuration.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_associations::ListAssociationsOutput::next_token): <p>An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.</p>
/// - On failure, responds with [`SdkError<ListAssociationsError>`](crate::operation::list_associations::ListAssociationsError)
pub fn list_associations(&self) -> crate::operation::list_associations::builders::ListAssociationsFluentBuilder {
crate::operation::list_associations::builders::ListAssociationsFluentBuilder::new(self.handle.clone())
}
}