aws-sdk-devopsagent 1.4.0

AWS SDK for AWS DevOps Agent Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListChats`](crate::operation::list_chats::builders::ListChatsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`agent_space_id(impl Into<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::agent_space_id) / [`set_agent_space_id(Option<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::set_agent_space_id):<br>required: **true**<br>Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)<br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::set_user_id):<br>required: **false**<br>The user identifier to list chats for. This field is deprecated and will be ignored — the service resolves user identity from the authenticated session.<br>
    ///   - [`max_results(i32)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::set_max_results):<br>required: **false**<br>Maximum number of results to return<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_chats::builders::ListChatsFluentBuilder::set_next_token):<br>required: **false**<br>Token for pagination<br>
    /// - On success, responds with [`ListChatsOutput`](crate::operation::list_chats::ListChatsOutput) with field(s):
    ///   - [`executions(Vec::<ChatExecution>)`](crate::operation::list_chats::ListChatsOutput::executions): List of recent chat executions
    ///   - [`next_token(Option<String>)`](crate::operation::list_chats::ListChatsOutput::next_token): Token for retrieving the next page of results
    /// - On failure, responds with [`SdkError<ListChatsError>`](crate::operation::list_chats::ListChatsError)
    pub fn list_chats(&self) -> crate::operation::list_chats::builders::ListChatsFluentBuilder {
        crate::operation::list_chats::builders::ListChatsFluentBuilder::new(self.handle.clone())
    }
}