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 [`CreateSpace`](crate::operation::create_space::builders::CreateSpaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_id(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::domain_id) / [`set_domain_id(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_domain_id): <p>The ID of the associated Domain.</p>
    ///   - [`space_name(impl Into<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::space_name) / [`set_space_name(Option<String>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_space_name): <p>The name of the space.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_tags): <p>Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for each resource. Tags are searchable using the <code>Search</code> API.</p>
    ///   - [`space_settings(SpaceSettings)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::space_settings) / [`set_space_settings(Option<SpaceSettings>)`](crate::operation::create_space::builders::CreateSpaceFluentBuilder::set_space_settings): <p>A collection of space settings.</p>
    /// - On success, responds with [`CreateSpaceOutput`](crate::operation::create_space::CreateSpaceOutput) with field(s):
    ///   - [`space_arn(Option<String>)`](crate::operation::create_space::CreateSpaceOutput::space_arn): <p>The space's Amazon Resource Name (ARN).</p>
    /// - On failure, responds with [`SdkError<CreateSpaceError>`](crate::operation::create_space::CreateSpaceError)
    pub fn create_space(
        &self,
    ) -> crate::operation::create_space::builders::CreateSpaceFluentBuilder {
        crate::operation::create_space::builders::CreateSpaceFluentBuilder::new(self.handle.clone())
    }
}