aws_sdk_macie2/client/get_invitations_count.rs
// 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(Option<i64>)`](crate::operation::get_invitations_count::GetInvitationsCountOutput::invitations_count): <p>The total number of invitations that were received by the 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())
}
}