aws-sdk-wickr 1.6.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
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetDataRetentionBot`](crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`network_id(impl Into<String>)`](crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network containing the data retention bot.</p><br>
    /// - On success, responds with [`GetDataRetentionBotOutput`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput) with field(s):
    ///   - [`bot_name(Option<String>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::bot_name): <p>The name of the data retention bot.</p>
    ///   - [`bot_exists(Option<bool>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::bot_exists): <p>Indicates whether a data retention bot exists in the network.</p>
    ///   - [`is_bot_active(Option<bool>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::is_bot_active): <p>Indicates whether the data retention bot is active and operational.</p>
    ///   - [`is_data_retention_bot_registered(Option<bool>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::is_data_retention_bot_registered): <p>Indicates whether the data retention bot has been registered with the network.</p>
    ///   - [`is_data_retention_service_enabled(Option<bool>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::is_data_retention_service_enabled): <p>Indicates whether the data retention service is enabled for the network.</p>
    ///   - [`is_pubkey_msg_acked(Option<bool>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::is_pubkey_msg_acked): <p>Indicates whether the public key message has been acknowledged by the bot.</p>
    /// - On failure, responds with [`SdkError<GetDataRetentionBotError>`](crate::operation::get_data_retention_bot::GetDataRetentionBotError)
    pub fn get_data_retention_bot(&self) -> crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder {
        crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder::new(self.handle.clone())
    }
}