aws_sdk_wickr/client/create_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 [`CreateDataRetentionBot`](crate::operation::create_data_retention_bot::builders::CreateDataRetentionBotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_id(impl Into<String>)`](crate::operation::create_data_retention_bot::builders::CreateDataRetentionBotFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::create_data_retention_bot::builders::CreateDataRetentionBotFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network where the data retention bot will be created.</p><br>
7 /// - On success, responds with [`CreateDataRetentionBotOutput`](crate::operation::create_data_retention_bot::CreateDataRetentionBotOutput) with field(s):
8 /// - [`message(Option<String>)`](crate::operation::create_data_retention_bot::CreateDataRetentionBotOutput::message): <p>A message indicating that the data retention bot was successfully provisioned.</p>
9 /// - On failure, responds with [`SdkError<CreateDataRetentionBotError>`](crate::operation::create_data_retention_bot::CreateDataRetentionBotError)
10 pub fn create_data_retention_bot(&self) -> crate::operation::create_data_retention_bot::builders::CreateDataRetentionBotFluentBuilder {
11 crate::operation::create_data_retention_bot::builders::CreateDataRetentionBotFluentBuilder::new(self.handle.clone())
12 }
13}