aws_sdk_wickr/client/get_data_retention_bot.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetDataRetentionBot`](crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetDataRetentionBotOutput`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput) with field(s):
8 /// - [`bot_name(Option<String>)`](crate::operation::get_data_retention_bot::GetDataRetentionBotOutput::bot_name): <p>The name of the data retention bot.</p>
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - [`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>
13 /// - [`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>
14 /// - On failure, responds with [`SdkError<GetDataRetentionBotError>`](crate::operation::get_data_retention_bot::GetDataRetentionBotError)
15 pub fn get_data_retention_bot(&self) -> crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder {
16 crate::operation::get_data_retention_bot::builders::GetDataRetentionBotFluentBuilder::new(self.handle.clone())
17 }
18}