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