aws-sdk-wickr 1.1.0

AWS SDK for AWS Wickr Admin API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`UpdateBotOutput`](crate::operation::update_bot::UpdateBotOutput) with field(s):
    ///   - [`message(Option<String>)`](crate::operation::update_bot::UpdateBotOutput::message): <p>A message indicating the result of the bot update operation.</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())
    }
}