1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAgents`](crate::operation::list_agents::builders::ListAgentsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::set_max_results):<br>required: **false**<br>Max Results.<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::set_next_token):<br>required: **false**<br>Opaque continuation token of previous paginated response.<br>
    /// - On success, responds with [`ListAgentsOutput`](crate::operation::list_agents::ListAgentsOutput) with field(s):
    ///   - [`agent_summaries(Vec::<AgentSummary>)`](crate::operation::list_agents::ListAgentsOutput::agent_summaries): List of AgentSummary.
    ///   - [`next_token(Option<String>)`](crate::operation::list_agents::ListAgentsOutput::next_token): Opaque continuation token of previous paginated response.
    /// - On failure, responds with [`SdkError<ListAgentsError>`](crate::operation::list_agents::ListAgentsError)
    pub fn list_agents(&self) -> crate::operation::list_agents::builders::ListAgentsFluentBuilder {
        crate::operation::list_agents::builders::ListAgentsFluentBuilder::new(self.handle.clone())
    }
}