1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListInvitations`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`max_results(i32)`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::set_max_results): <p>The maximum number of invitations to return.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::set_next_token): <p>The pagination token that indicates the next set of results to retrieve.</p>
    /// - On success, responds with [`ListInvitationsOutput`](crate::operation::list_invitations::ListInvitationsOutput) with field(s):
    ///   - [`invitations(Option<Vec<Invitation>>)`](crate::operation::list_invitations::ListInvitationsOutput::invitations): <p>The invitations for the network.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_invitations::ListInvitationsOutput::next_token): <p>The pagination token that indicates the next set of results to retrieve.</p>
    /// - On failure, responds with [`SdkError<ListInvitationsError>`](crate::operation::list_invitations::ListInvitationsError)
    pub fn list_invitations(
        &self,
    ) -> crate::operation::list_invitations::builders::ListInvitationsFluentBuilder {
        crate::operation::list_invitations::builders::ListInvitationsFluentBuilder::new(
            self.handle.clone(),
        )
    }
}