1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInvitationsCount`](crate::operation::get_invitations_count::builders::GetInvitationsCountFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::get_invitations_count::builders::GetInvitationsCountFluentBuilder::send) it.
    /// - On success, responds with [`GetInvitationsCountOutput`](crate::operation::get_invitations_count::GetInvitationsCountOutput) with field(s):
    ///   - [`invitations_count(i32)`](crate::operation::get_invitations_count::GetInvitationsCountOutput::invitations_count): <p>The number of all membership invitations sent to this Security Hub member account, not including the currently accepted invitation.</p>
    /// - On failure, responds with [`SdkError<GetInvitationsCountError>`](crate::operation::get_invitations_count::GetInvitationsCountError)
    pub fn get_invitations_count(&self) -> crate::operation::get_invitations_count::builders::GetInvitationsCountFluentBuilder {
        crate::operation::get_invitations_count::builders::GetInvitationsCountFluentBuilder::new(self.handle.clone())
    }
}