1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteSpace`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::set_name):<br>required: **true**<br><p>The name of the space. To retrieve a list of space names, use <code>ListSpaces</code>.</p><br>
    /// - On success, responds with [`DeleteSpaceOutput`](crate::operation::delete_space::DeleteSpaceOutput) with field(s):
    ///   - [`name(String)`](crate::operation::delete_space::DeleteSpaceOutput::name): <p>The name of the space.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::delete_space::DeleteSpaceOutput::display_name): <p>The friendly name of the space displayed to users of the space in Amazon CodeCatalyst.</p>
    /// - On failure, responds with [`SdkError<DeleteSpaceError>`](crate::operation::delete_space::DeleteSpaceError)
    pub fn delete_space(&self) -> crate::operation::delete_space::builders::DeleteSpaceFluentBuilder {
        crate::operation::delete_space::builders::DeleteSpaceFluentBuilder::new(self.handle.clone())
    }
}