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 [`CreateBot`](crate::operation::create_bot::builders::CreateBotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::set_account_id):<br>required: **true**<br><p>The Amazon Chime account ID.</p><br>
    ///   - [`display_name(impl Into<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::set_display_name):<br>required: **true**<br><p>The bot display name.</p><br>
    ///   - [`domain(impl Into<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::create_bot::builders::CreateBotFluentBuilder::set_domain):<br>required: **false**<br><p>The domain of the Amazon Chime Enterprise account.</p><br>
    /// - On success, responds with [`CreateBotOutput`](crate::operation::create_bot::CreateBotOutput) with field(s):
    ///   - [`bot(Option<Bot>)`](crate::operation::create_bot::CreateBotOutput::bot): <p>The bot details.</p>
    /// - On failure, responds with [`SdkError<CreateBotError>`](crate::operation::create_bot::CreateBotError)
    pub fn create_bot(&self) -> crate::operation::create_bot::builders::CreateBotFluentBuilder {
        crate::operation::create_bot::builders::CreateBotFluentBuilder::new(self.handle.clone())
    }
}