aws_sdk_mpa/client/list_approval_teams.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 [`ListApprovalTeams`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`max_results(i32)`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of items to return in the response. If more results exist than the specified <code>MaxResults</code> value, a token is included in the response so that you can retrieve the remaining results.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::set_next_token):<br>required: **false**<br><p>If present, indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a next call to the operation to get more output. You can repeat this until the <code>NextToken</code> response element returns <code>null</code>.</p><br>
9 /// - On success, responds with [`ListApprovalTeamsOutput`](crate::operation::list_approval_teams::ListApprovalTeamsOutput) with field(s):
10 /// - [`next_token(Option<String>)`](crate::operation::list_approval_teams::ListApprovalTeamsOutput::next_token): <p>If present, indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a next call to the operation to get more output. You can repeat this until the <code>NextToken</code> response element returns <code>null</code>.</p>
11 /// - [`approval_teams(Option<Vec::<ListApprovalTeamsResponseApprovalTeam>>)`](crate::operation::list_approval_teams::ListApprovalTeamsOutput::approval_teams): <p>An array of <code>ListApprovalTeamsResponseApprovalTeam</code> objects. Contains details for approval teams.</p>
12 /// - On failure, responds with [`SdkError<ListApprovalTeamsError>`](crate::operation::list_approval_teams::ListApprovalTeamsError)
13 pub fn list_approval_teams(&self) -> crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder {
14 crate::operation::list_approval_teams::builders::ListApprovalTeamsFluentBuilder::new(self.handle.clone())
15 }
16}