// 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.
///
/// - The fluent builder is configurable:
/// - [`aws_account_id(impl Into<String>)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_agents::builders::ListAgentsFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the agents.</p><br>
/// - [`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><p>The maximum number of results to return.</p><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><p>The token for the next set of results, or null if there are no more results.</p><br>
/// - On success, responds with [`ListAgentsOutput`](crate::operation::list_agents::ListAgentsOutput) with field(s):
/// - [`request_id(Option<String>)`](crate::operation::list_agents::ListAgentsOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
/// - [`agent_summaries(Vec::<AgentSummary>)`](crate::operation::list_agents::ListAgentsOutput::agent_summaries): <p>A list of agent summaries.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_agents::ListAgentsOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
/// - 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())
}
}