aws_sdk_wickr/client/
delete_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 [`DeleteDataRetentionBot`](crate::operation::delete_data_retention_bot::builders::DeleteDataRetentionBotFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`network_id(impl Into<String>)`](crate::operation::delete_data_retention_bot::builders::DeleteDataRetentionBotFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::delete_data_retention_bot::builders::DeleteDataRetentionBotFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network from which the data retention bot will be deleted.</p><br>
7    /// - On success, responds with [`DeleteDataRetentionBotOutput`](crate::operation::delete_data_retention_bot::DeleteDataRetentionBotOutput) with field(s):
8    ///   - [`message(Option<String>)`](crate::operation::delete_data_retention_bot::DeleteDataRetentionBotOutput::message): <p>A message indicating that the data retention bot and all associated data were successfully deleted.</p>
9    /// - On failure, responds with [`SdkError<DeleteDataRetentionBotError>`](crate::operation::delete_data_retention_bot::DeleteDataRetentionBotError)
10    pub fn delete_data_retention_bot(&self) -> crate::operation::delete_data_retention_bot::builders::DeleteDataRetentionBotFluentBuilder {
11        crate::operation::delete_data_retention_bot::builders::DeleteDataRetentionBotFluentBuilder::new(self.handle.clone())
12    }
13}