aws-sdk-wickr 1.8.0

AWS SDK for AWS Wickr Admin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetUsersCount`](crate::operation::get_users_count::builders::GetUsersCountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl Into<String>)`](crate::operation::get_users_count::builders::GetUsersCountFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::get_users_count::builders::GetUsersCountFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network for which to retrieve user counts.</p><br>
    /// - On success, responds with [`GetUsersCountOutput`](crate::operation::get_users_count::GetUsersCountOutput) with field(s):
    ///   - [`pending(i32)`](crate::operation::get_users_count::GetUsersCountOutput::pending): <p>The number of users with pending status (invited but not yet accepted).</p>
    ///   - [`active(i32)`](crate::operation::get_users_count::GetUsersCountOutput::active): <p>The number of users with active status in the network.</p>
    ///   - [`rejected(i32)`](crate::operation::get_users_count::GetUsersCountOutput::rejected): <p>The number of users who have rejected network invitations.</p>
    ///   - [`remaining(i32)`](crate::operation::get_users_count::GetUsersCountOutput::remaining): <p>The number of additional users that can be added to the network while maintaining premium free trial eligibility.</p>
    ///   - [`total(i32)`](crate::operation::get_users_count::GetUsersCountOutput::total): <p>The total number of users in the network (active and pending combined).</p>
    /// - On failure, responds with [`SdkError<GetUsersCountError>`](crate::operation::get_users_count::GetUsersCountError)
    pub fn get_users_count(&self) -> crate::operation::get_users_count::builders::GetUsersCountFluentBuilder {
        crate::operation::get_users_count::builders::GetUsersCountFluentBuilder::new(self.handle.clone())
    }
}