aws_sdk_wickr/client/
delete_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 [`DeleteBot`](crate::operation::delete_bot::builders::DeleteBotFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`network_id(impl Into<String>)`](crate::operation::delete_bot::builders::DeleteBotFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::delete_bot::builders::DeleteBotFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network from which the bot will be deleted.</p><br>
7    ///   - [`bot_id(impl Into<String>)`](crate::operation::delete_bot::builders::DeleteBotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::delete_bot::builders::DeleteBotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot to be deleted.</p><br>
8    /// - On success, responds with [`DeleteBotOutput`](crate::operation::delete_bot::DeleteBotOutput) with field(s):
9    ///   - [`message(Option<String>)`](crate::operation::delete_bot::DeleteBotOutput::message): <p>A message indicating the result of the bot deletion operation.</p>
10    /// - On failure, responds with [`SdkError<DeleteBotError>`](crate::operation::delete_bot::DeleteBotError)
11    pub fn delete_bot(&self) -> crate::operation::delete_bot::builders::DeleteBotFluentBuilder {
12        crate::operation::delete_bot::builders::DeleteBotFluentBuilder::new(self.handle.clone())
13    }
14}