1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateAccount`](crate::operation::create_account::builders::CreateAccountFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::create_account::builders::CreateAccountFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_account::builders::CreateAccountFluentBuilder::set_name): <p>The name of the Amazon Chime account.</p>
    /// - On success, responds with [`CreateAccountOutput`](crate::operation::create_account::CreateAccountOutput) with field(s):
    ///   - [`account(Option<Account>)`](crate::operation::create_account::CreateAccountOutput::account): <p>The Amazon Chime account details.</p>
    /// - On failure, responds with [`SdkError<CreateAccountError>`](crate::operation::create_account::CreateAccountError)
    pub fn create_account(
        &self,
    ) -> crate::operation::create_account::builders::CreateAccountFluentBuilder {
        crate::operation::create_account::builders::CreateAccountFluentBuilder::new(
            self.handle.clone(),
        )
    }
}