aws_sdk_wickr/client/update_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 [`UpdateBot`](crate::operation::update_bot::builders::UpdateBotFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`network_id(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::network_id) / [`set_network_id(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_network_id):<br>required: **true**<br><p>The ID of the Wickr network containing the bot to update.</p><br>
7 /// - [`bot_id(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::bot_id) / [`set_bot_id(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_bot_id):<br>required: **true**<br><p>The unique identifier of the bot to update.</p><br>
8 /// - [`display_name(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_display_name):<br>required: **false**<br><p>The new display name for the bot.</p><br>
9 /// - [`group_id(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::group_id) / [`set_group_id(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_group_id):<br>required: **false**<br><p>The ID of the new security group to assign the bot to.</p><br>
10 /// - [`challenge(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::challenge) / [`set_challenge(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_challenge):<br>required: **false**<br><p>The new password for the bot account.</p><br>
11 /// - [`suspend(bool)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::suspend) / [`set_suspend(Option<bool>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_suspend):<br>required: **false**<br><p>Set to true to suspend the bot or false to unsuspend it. Omit this field for standard updates that don't affect suspension status.</p><br>
12 /// - On success, responds with [`UpdateBotOutput`](crate::operation::update_bot::UpdateBotOutput) with field(s):
13 /// - [`message(Option<String>)`](crate::operation::update_bot::UpdateBotOutput::message): <p>A message indicating the result of the bot update operation.</p>
14 /// - On failure, responds with [`SdkError<UpdateBotError>`](crate::operation::update_bot::UpdateBotError)
15 pub fn update_bot(&self) -> crate::operation::update_bot::builders::UpdateBotFluentBuilder {
16 crate::operation::update_bot::builders::UpdateBotFluentBuilder::new(self.handle.clone())
17 }
18}