aws_sdk_codecatalyst/client/delete_project.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteProject`](crate::operation::delete_project::builders::DeleteProjectFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`DeleteProjectOutput`](crate::operation::delete_project::DeleteProjectOutput) with field(s):
9 /// - [`space_name(String)`](crate::operation::delete_project::DeleteProjectOutput::space_name): <p>The name of the space.</p>
10 /// - [`name(String)`](crate::operation::delete_project::DeleteProjectOutput::name): <p>The name of the project in the space.</p>
11 /// - [`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>
12 /// - On failure, responds with [`SdkError<DeleteProjectError>`](crate::operation::delete_project::DeleteProjectError)
13 pub fn delete_project(&self) -> crate::operation::delete_project::builders::DeleteProjectFluentBuilder {
14 crate::operation::delete_project::builders::DeleteProjectFluentBuilder::new(self.handle.clone())
15 }
16}