1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAgentStatuses`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::set_instance_id): <p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::set_next_token): <p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>
    ///   - [`max_results(i32)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::set_max_results): <p>The maximum number of results to return per page.</p>
    ///   - [`agent_status_types(Vec<AgentStatusType>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::agent_status_types) / [`set_agent_status_types(Option<Vec<AgentStatusType>>)`](crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::set_agent_status_types): <p>Available agent status types.</p>
    /// - On success, responds with [`ListAgentStatusesOutput`](crate::operation::list_agent_statuses::ListAgentStatusesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_agent_statuses::ListAgentStatusesOutput::next_token): <p>If there are additional results, this is the token for the next set of results.</p>
    ///   - [`agent_status_summary_list(Option<Vec<AgentStatusSummary>>)`](crate::operation::list_agent_statuses::ListAgentStatusesOutput::agent_status_summary_list): <p>A summary of agent statuses.</p>
    /// - On failure, responds with [`SdkError<ListAgentStatusesError>`](crate::operation::list_agent_statuses::ListAgentStatusesError)
    pub fn list_agent_statuses(
        &self,
    ) -> crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder {
        crate::operation::list_agent_statuses::builders::ListAgentStatusesFluentBuilder::new(
            self.handle.clone(),
        )
    }
}