aws_sdk_qbusiness/client/
list_chat_response_configurations.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 [`ListChatResponseConfigurations`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`application_id(impl Into<String>)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application for which to list available chat response configurations.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of chat response configurations to return in a single response. This parameter helps control pagination of results when many configurations exist.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::set_next_token):<br>required: **false**<br><p>A pagination token used to retrieve the next set of results when the number of configurations exceeds the specified <code>maxResults</code> value.</p><br>
10    /// - On success, responds with [`ListChatResponseConfigurationsOutput`](crate::operation::list_chat_response_configurations::ListChatResponseConfigurationsOutput) with field(s):
11    ///   - [`chat_response_configurations(Option<Vec::<ChatResponseConfiguration>>)`](crate::operation::list_chat_response_configurations::ListChatResponseConfigurationsOutput::chat_response_configurations): <p>A list of chat response configuration summaries, each containing key information about an available configuration in the specified application.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_chat_response_configurations::ListChatResponseConfigurationsOutput::next_token): <p>A pagination token that can be used in a subsequent request to retrieve additional chat response configurations if the results were truncated due to the <code>maxResults</code> parameter.</p>
13    /// - On failure, responds with [`SdkError<ListChatResponseConfigurationsError>`](crate::operation::list_chat_response_configurations::ListChatResponseConfigurationsError)
14    pub fn list_chat_response_configurations(
15        &self,
16    ) -> crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder {
17        crate::operation::list_chat_response_configurations::builders::ListChatResponseConfigurationsFluentBuilder::new(self.handle.clone())
18    }
19}