1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBot`](crate::operation::update_bot::builders::UpdateBotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
    ///   - [`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 bot ID.</p><br>
    ///   - [`disabled(bool)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::disabled) / [`set_disabled(Option<bool>)`](crate::operation::update_bot::builders::UpdateBotFluentBuilder::set_disabled):<br>required: **false**<br><p>When true, stops the specified bot from running in your account.</p><br>
    /// - On success, responds with [`UpdateBotOutput`](crate::operation::update_bot::UpdateBotOutput) with field(s):
    ///   - [`bot(Option<Bot>)`](crate::operation::update_bot::UpdateBotOutput::bot): <p>The updated bot details.</p>
    /// - On failure, responds with [`SdkError<UpdateBotError>`](crate::operation::update_bot::UpdateBotError)
    pub fn update_bot(&self) -> crate::operation::update_bot::builders::UpdateBotFluentBuilder {
        crate::operation::update_bot::builders::UpdateBotFluentBuilder::new(self.handle.clone())
    }
}