aws_sdk_wickr/client/create_data_retention_bot_challenge.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 [`CreateDataRetentionBotChallenge`](crate::operation::create_data_retention_bot_challenge::builders::CreateDataRetentionBotChallengeFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_id(impl Into<String>)`](crate::operation::create_data_retention_bot_challenge::builders::CreateDataRetentionBotChallengeFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::create_data_retention_bot_challenge::builders::CreateDataRetentionBotChallengeFluentBuilder::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 [`CreateDataRetentionBotChallengeOutput`](crate::operation::create_data_retention_bot_challenge::CreateDataRetentionBotChallengeOutput) with field(s):
8 /// - [`challenge(String)`](crate::operation::create_data_retention_bot_challenge::CreateDataRetentionBotChallengeOutput::challenge): <p>The newly generated challenge password for the data retention bot.</p>
9 /// - On failure, responds with [`SdkError<CreateDataRetentionBotChallengeError>`](crate::operation::create_data_retention_bot_challenge::CreateDataRetentionBotChallengeError)
10 pub fn create_data_retention_bot_challenge(
11 &self,
12 ) -> crate::operation::create_data_retention_bot_challenge::builders::CreateDataRetentionBotChallengeFluentBuilder {
13 crate::operation::create_data_retention_bot_challenge::builders::CreateDataRetentionBotChallengeFluentBuilder::new(self.handle.clone())
14 }
15}