aws-sdk-wickr 1.12.0

AWS SDK for AWS Wickr Admin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetBotsCount`](crate::operation::get_bots_count::builders::GetBotsCountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl Into<String>)`](crate::operation::get_bots_count::builders::GetBotsCountFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::get_bots_count::builders::GetBotsCountFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network for which to retrieve bot counts.</p><br>
    /// - On success, responds with [`GetBotsCountOutput`](crate::operation::get_bots_count::GetBotsCountOutput) with field(s):
    ///   - [`pending(i32)`](crate::operation::get_bots_count::GetBotsCountOutput::pending): <p>The number of bots with pending status (invited but not yet activated).</p>
    ///   - [`active(i32)`](crate::operation::get_bots_count::GetBotsCountOutput::active): <p>The number of bots with active status.</p>
    ///   - [`total(i32)`](crate::operation::get_bots_count::GetBotsCountOutput::total): <p>The total number of bots in the network (active and pending).</p>
    /// - On failure, responds with [`SdkError<GetBotsCountError>`](crate::operation::get_bots_count::GetBotsCountError)
    pub fn get_bots_count(&self) -> crate::operation::get_bots_count::builders::GetBotsCountFluentBuilder {
        crate::operation::get_bots_count::builders::GetBotsCountFluentBuilder::new(self.handle.clone())
    }
}