aws_sdk_bedrockagent/client/
list_agent_action_groups.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 [`ListAgentActionGroups`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`agent_id(impl Into<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::agent_id) / [`set_agent_id(Option<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::set_agent_id):<br>required: **true**<br><p>The unique identifier of the agent.</p><br>
8    ///   - [`agent_version(impl Into<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::agent_version) / [`set_agent_version(Option<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::set_agent_version):<br>required: **true**<br><p>The version of the agent.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p><br>
10    ///   - [`next_token(impl Into<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::set_next_token):<br>required: **false**<br><p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p><br>
11    /// - On success, responds with [`ListAgentActionGroupsOutput`](crate::operation::list_agent_action_groups::ListAgentActionGroupsOutput) with field(s):
12    ///   - [`action_group_summaries(Vec::<ActionGroupSummary>)`](crate::operation::list_agent_action_groups::ListAgentActionGroupsOutput::action_group_summaries): <p>A list of objects, each of which contains information about an action group.</p>
13    ///   - [`next_token(Option<String>)`](crate::operation::list_agent_action_groups::ListAgentActionGroupsOutput::next_token): <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
14    /// - On failure, responds with [`SdkError<ListAgentActionGroupsError>`](crate::operation::list_agent_action_groups::ListAgentActionGroupsError)
15    pub fn list_agent_action_groups(&self) -> crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder {
16        crate::operation::list_agent_action_groups::builders::ListAgentActionGroupsFluentBuilder::new(self.handle.clone())
17    }
18}